X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Froutedialog.h;h=a82dbd190a718c34ce5ffe2dca2fb0be7f041471;hp=708e74a59f48f8425c881465345413a27fe12a99;hb=e540ab0821aef2b3c3a3e3d87f96b46eb6877090;hpb=9de94ffc9dac2ad13fda5703e58553737e1a0d42 diff --git a/Client/routedialog.h b/Client/routedialog.h index 708e74a..a82dbd1 100644 --- a/Client/routedialog.h +++ b/Client/routedialog.h @@ -1,15 +1,18 @@ /* * RouteDialog class * - * @author Olavi Pulkkinen - * @copyright (c) 2010 Speed Freak team - * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @author Olavi Pulkkinen + * @author Toni Jussila + * @copyright (c) 2010 Speed Freak team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ #ifndef ROUTEDIALOG_H #define ROUTEDIALOG_H #include +#include +class RouteSaveDialog; namespace Ui { class RouteDialog; @@ -17,8 +20,9 @@ namespace Ui { class RouteDialog : public QDialog { Q_OBJECT + public: - RouteDialog(QWidget *parent = 0); + RouteDialog(RouteSaveDialog *parent = 0); ~RouteDialog(); bool readRouteFromFile( QString &routeFile); int getLeft(); @@ -26,9 +30,12 @@ public: int getRight(); int getBottom(); void setLabelInfoToUser(QString infoText); + void setSendServerButtonEnabled(); + HelpRoutingDialog *helpRoutingDialog; signals: - void sendroute(); + void sendroute(QString,int); + void progressbar(int); protected: void changeEvent(QEvent *e); @@ -37,10 +44,13 @@ protected: private: Ui::RouteDialog *ui; int left, top, right, bottom; // Limits in screen coordinates in route dialog + void checkLogin(); + QString fileName; private slots: + void on_pushButtonInfo_clicked(); void on_sendPushButton_clicked(); - void on_newPushButton_clicked(); + void killHelpDialog(); }; #endif // ROUTEDIALOG_H