mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
Replaced std::string by QString in GetStartedDialog for easier translation and to prevent problems with utf8 chars.
Fixed german translation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b3de0cd06d
commit
91809abd56
6 changed files with 454 additions and 357 deletions
|
@ -31,61 +31,57 @@
|
|||
|
||||
class GetStartedDialog : public MainPage
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/** Default Constructor */
|
||||
GetStartedDialog(QWidget *parent = 0);
|
||||
/** Default Destructor */
|
||||
~GetStartedDialog();
|
||||
public:
|
||||
/** Default Constructor */
|
||||
GetStartedDialog(QWidget *parent = 0);
|
||||
/** Default Destructor */
|
||||
~GetStartedDialog();
|
||||
|
||||
// Single Point for (English) Text of the Invitation.
|
||||
// This is used by other classes.
|
||||
static std::string GetInviteText();
|
||||
static std::string GetCutBelowText();
|
||||
// Single Point for (English) Text of the Invitation.
|
||||
// This is used by other classes.
|
||||
static QString GetInviteText();
|
||||
static QString GetCutBelowText();
|
||||
|
||||
/*** signals: ***/
|
||||
|
||||
protected:
|
||||
// Overloaded to get first show!
|
||||
virtual void showEvent ( QShowEvent * event );
|
||||
virtual void changeEvent(QEvent *e);
|
||||
virtual void showEvent ( QShowEvent * event );
|
||||
virtual void changeEvent(QEvent *e);
|
||||
|
||||
private slots:
|
||||
void tickInviteChanged();
|
||||
void tickAddChanged();
|
||||
void tickConnectChanged();
|
||||
void tickFirewallChanged();
|
||||
|
||||
void tickInviteChanged();
|
||||
void tickAddChanged();
|
||||
void tickConnectChanged();
|
||||
void tickFirewallChanged();
|
||||
void addFriends();
|
||||
void inviteFriends();
|
||||
|
||||
void addFriends();
|
||||
void inviteFriends();
|
||||
void emailFeedback();
|
||||
void emailSupport();
|
||||
void emailSubscribe();
|
||||
void emailUnsubscribe();
|
||||
|
||||
void emailFeedback();
|
||||
void emailSupport();
|
||||
void emailSubscribe();
|
||||
void emailUnsubscribe();
|
||||
|
||||
void OpenFAQ();
|
||||
void OpenForums();
|
||||
void OpenWebsite();
|
||||
void OpenFAQ();
|
||||
void OpenForums();
|
||||
void OpenWebsite();
|
||||
|
||||
private:
|
||||
void updateFromUserLevel();
|
||||
|
||||
void updateFromUserLevel();
|
||||
|
||||
|
||||
bool mFirstShow;
|
||||
bool mFirstShow;
|
||||
|
||||
private:
|
||||
|
||||
QTimer *mTimer;
|
||||
QTimer *mInviteTimer;
|
||||
QTimer *mTimer;
|
||||
QTimer *mInviteTimer;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::GetStartedDialog ui;
|
||||
Ui::GetStartedDialog ui;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue