X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fmainwindow.h;h=9a5854e292f6ac39398d81b828a5b9156779be46;hp=4a995823e73ea770c40c7e6b34cf1c167f0767d8;hb=e5d88e68d49f961be9edd1ee1a390c6b0fb88094;hpb=fc6980e03ca04773cb927560e46afc7193639894 diff --git a/Client/mainwindow.h b/Client/mainwindow.h index 4a99582..9a5854e 100644 --- a/Client/mainwindow.h +++ b/Client/mainwindow.h @@ -26,6 +26,8 @@ #include "routedialog.h" #include "resultdialog.h" #include "helpdialog.h" +#include "custombutton.h" +#include "usersdialog.h" namespace Ui { @@ -47,6 +49,7 @@ public: TopResultDialog *topResultDialog; HttpClient *httpClient; HelpDialog *helpDialog; + UsersDialog *usersDialog; protected: void changeEvent(QEvent *e); @@ -55,16 +58,18 @@ private: Ui::MainWindow *ui; void setListViewTopList(QString category, int size); + CustomButton* customButtonAccelerate; + CustomButton* customButtonRoute; + CustomButton* customButtonResults; + CustomButton* customButtonSettings; + CustomButton* customButtonWWW; + CustomButton* customButtonHelp; + private slots: - void on_pushButtonResults_clicked(); - void on_pushButtonAccelerate_clicked(); - void on_pushButtonSettings_clicked(); - void on_pushButtonRoute_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); @@ -72,7 +77,15 @@ private slots: void showTop10(); void killDialog(); void setUsernameToMainPanel(); - + void OpenAccStartDialog(); + void OpenRouteDialog(); + void OpenResultDialog(); + void saveProfile(); + void OpenWWWPage(); + void OpenHelpDialog(); + void OpenSettingsDialog(); + void requestGetUserInfo(QString); + void requestGetUsers(); }; #endif // MAINWINDOW_H