Added start and finish text for route dialog.
[speedfreak] / Client / routedialog.h
index bea6150..85d4aad 100644 (file)
@@ -1,9 +1,10 @@
 /*
  * RouteDialog class
  *
- * @author     Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
- * @copyright  (c) 2010 Speed Freak team
- * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @author      Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
+ * @author      Toni Jussila   <toni.jussila@fudeco.com>
+ * @copyright   (c) 2010 Speed Freak team
+ * @license     http://opensource.org/licenses/gpl-license.php GNU Public License
  */
 
 #ifndef ROUTEDIALOG_H
@@ -17,6 +18,7 @@ namespace Ui {
 
 class RouteDialog : public QDialog {
     Q_OBJECT
+
 public:
     RouteDialog(QWidget *parent = 0);
     ~RouteDialog();
@@ -25,6 +27,11 @@ public:
     int getTop();
     int getRight();
     int getBottom();
+    void setLabelInfoToUser(QString infoText);
+    void setSendServerButtonEnabled();
+
+signals:
+    void sendroute();
 
 protected:
     void changeEvent(QEvent *e);
@@ -33,6 +40,7 @@ protected:
 private:
     Ui::RouteDialog *ui;
     int left, top, right, bottom;       // Limits in screen coordinates in route dialog
+    void checkLogin();
 
 private slots:
     void on_sendPushButton_clicked();