X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fmainwindow.h;h=4a995823e73ea770c40c7e6b34cf1c167f0767d8;hp=58975a44f522a3123a0453299eaaeb5dd169fdda;hb=aa40ce55230787b7a57cc0588cd7e56d30a89dd2;hpb=7db3fabf2f976bb7f68b24ed852f4b8cc733c6a4;ds=sidebyside diff --git a/Client/mainwindow.h b/Client/mainwindow.h index 58975a4..4a99582 100644 --- a/Client/mainwindow.h +++ b/Client/mainwindow.h @@ -1,7 +1,8 @@ /* * Mainwindow for speedFreak project * - * @author Rikhard Kuutti + * @author Rikhard Kuutti + * @author Toni Jussila * @copyright (c) 2010 Speed Freak team * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ @@ -14,7 +15,7 @@ #include #include #include -#include "creditsdialog.h" +//#include "creditsdialog.h" #include "routesavedialog.h" #include "routedialog.h" #include "welcomedialog.h" @@ -24,6 +25,7 @@ #include "httpclient.h" #include "routedialog.h" #include "resultdialog.h" +#include "helpdialog.h" namespace Ui { @@ -36,15 +38,15 @@ public: MainWindow(QWidget *parent = 0); ~MainWindow(); - CreditsDialog *creditsDialog; + //CreditsDialog *creditsDialog; RouteSaveDialog *routeSaveDialog; - RouteDialog *routeDialog; + //RouteDialog *routeDialog; WelcomeDialog *welcomeDialog; SettingsDialog *settingsDialog; accelerationstart* accstart; TopResultDialog *topResultDialog; HttpClient *httpClient; - ResultDialog *resultDialog; + HelpDialog *helpDialog; protected: void changeEvent(QEvent *e); @@ -65,9 +67,12 @@ private slots: void clientSendRoute(); void clientRegUserToServer(); void clientUserLogin(); - void clientSendResult(double result); + void clientSendResult(QString category, double result); void setCategoryCompoBox(); void showTop10(); + void killDialog(); + void setUsernameToMainPanel(); + }; #endif // MAINWINDOW_H