X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Froutedialog.h;h=85d4aadc519959f1a29899f2868c9b26513f0ae2;hp=ce4a6a5a4b7ec8833c438f812eff0a41a2df859c;hb=aa40ce55230787b7a57cc0588cd7e56d30a89dd2;hpb=d58f01b3442d74543b993d2f7ed3d8947a1542b6 diff --git a/Client/routedialog.h b/Client/routedialog.h index ce4a6a5..85d4aad 100644 --- a/Client/routedialog.h +++ b/Client/routedialog.h @@ -1,3 +1,12 @@ +/* + * RouteDialog class + * + * @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 @@ -9,10 +18,20 @@ namespace Ui { class RouteDialog : public QDialog { Q_OBJECT + public: RouteDialog(QWidget *parent = 0); ~RouteDialog(); bool readRouteFromFile( QString &routeFile); + int getLeft(); + int getTop(); + int getRight(); + int getBottom(); + void setLabelInfoToUser(QString infoText); + void setSendServerButtonEnabled(); + +signals: + void sendroute(); protected: void changeEvent(QEvent *e); @@ -21,9 +40,11 @@ protected: private: Ui::RouteDialog *ui; int left, top, right, bottom; // Limits in screen coordinates in route dialog + void checkLogin(); private slots: - void on_closePushButton_clicked(); + void on_sendPushButton_clicked(); + void on_newPushButton_clicked(); }; #endif // ROUTEDIALOG_H