Fixed minor bugs
[speedfreak] / Client / routedialog.h
index 85d4aad..a82dbd1 100644 (file)
@@ -11,6 +11,8 @@
 #define ROUTEDIALOG_H
 
 #include <QDialog>
+#include <helproutingdialog.h>
+class RouteSaveDialog;
 
 namespace Ui {
     class RouteDialog;
@@ -20,7 +22,7 @@ class RouteDialog : public QDialog {
     Q_OBJECT
 
 public:
-    RouteDialog(QWidget *parent = 0);
+    RouteDialog(RouteSaveDialog *parent = 0);
     ~RouteDialog();
     bool readRouteFromFile( QString &routeFile);
     int getLeft();
@@ -29,9 +31,11 @@ public:
     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);
@@ -41,10 +45,12 @@ 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