X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fmainwindow.h;h=9a5854e292f6ac39398d81b828a5b9156779be46;hp=4fbdb0d3b5e66995eb65c38c8477df91f953bf98;hb=e5d88e68d49f961be9edd1ee1a390c6b0fb88094;hpb=69cb07ccffb899f28e122e1fe2ea1a94dce4a07a diff --git a/Client/mainwindow.h b/Client/mainwindow.h index 4fbdb0d..9a5854e 100644 --- a/Client/mainwindow.h +++ b/Client/mainwindow.h @@ -27,6 +27,7 @@ #include "resultdialog.h" #include "helpdialog.h" #include "custombutton.h" +#include "usersdialog.h" namespace Ui { @@ -48,6 +49,7 @@ public: TopResultDialog *topResultDialog; HttpClient *httpClient; HelpDialog *helpDialog; + UsersDialog *usersDialog; protected: void changeEvent(QEvent *e); @@ -59,14 +61,15 @@ private: CustomButton* customButtonAccelerate; CustomButton* customButtonRoute; CustomButton* customButtonResults; + CustomButton* customButtonSettings; + CustomButton* customButtonWWW; + CustomButton* customButtonHelp; private slots: - void on_pushButtonSettings_clicked(); - void on_pushButtonCredits_clicked(); - void on_pushButtonWWW_clicked(); + void on_pushButtonUsers_clicked(); void clientRequestCategoryList(); void clientRequestTopList(int index); - void clientSendRoute(); + void clientSendRoute(QString,QString,int); void clientRegUserToServer(); void clientUserLogin(); void clientSendResult(QString category, double result); @@ -77,7 +80,12 @@ private slots: void OpenAccStartDialog(); void OpenRouteDialog(); void OpenResultDialog(); - + void saveProfile(); + void OpenWWWPage(); + void OpenHelpDialog(); + void OpenSettingsDialog(); + void requestGetUserInfo(QString); + void requestGetUsers(); }; #endif // MAINWINDOW_H