]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/mainwindow.h
import/search schedule dialog implemented
[toast/confclerk.git] / src / gui / mainwindow.h
index 1d7fcf7fe8196a13e2f7e87cf63beb945c31977b..dd9e24e6aea2e8a8a72a1ef3827a5eed3299ecd1 100644 (file)
@@ -6,27 +6,28 @@
 #include <ui_mainwindow.h>
 
 class SqlEngine;
-class ScheduleXmlParser;
 
 class MainWindow : public QMainWindow, private Ui::MainWindow
 {
     Q_OBJECT
 public:
-    MainWindow(QWidget *parent = 0);
+    // aEventId is used to inform widget to automatically open
+    // Event dialog for given Event ID
+    MainWindow(int aEventId = 0, QWidget *aParent = NULL);
     ~MainWindow();
 private slots:
     void importSchedule();
-    void showParsingProgress(int aStatus);
     void aboutApp();
     void updateDayView(const QDate &aDate);
     void updateTab(const int n);
-    /*void updateFavViewComplete();*/
-    void updateActivitiesDayView(const QDate &aDate);
-    void itemDoubleClicked(const QModelIndex &aIndex);
+    void updateTracksView(const QDate &aDate);
+    void updateFavouritesView(const QDate &aDate);
+    void updateSearchView(const QDate &aDate);
+    void itemClicked(const QModelIndex &aIndex);
     void displayMap(const QModelIndex &aIndex);
+    void searchClicked();
 private:
     SqlEngine *mSqlEngine;
-    ScheduleXmlParser *mXmlParser;
 };
 
 #endif // MAINWINDOW_H