X-Git-Url: http://git.maemo.org/git/?p=scorecard;a=blobdiff_plain;f=src%2Fmain-window.h;h=abcaef7285aea434bd6470693812b894d157dc72;hp=7ba48c32312158467acd9da6584df189fd4d5643;hb=ee2b485238302c6a7dab52bfbc128a50d1a5d2f9;hpb=34f9fb402f8dfaeca523ef143f187880cabaa547 diff --git a/src/main-window.h b/src/main-window.h index 7ba48c3..abcaef7 100644 --- a/src/main-window.h +++ b/src/main-window.h @@ -10,7 +10,6 @@ #include "data.h" #include "table-model.h" -#include "tree-model.h" class MainWindow : public QMainWindow { @@ -21,7 +20,6 @@ public: void createLayout(QWidget *parent = 0); void createStatusBar(); void createTableView(QList &, QList &); - void createTreeView(QList &, QObject *parent = 0); void updateStatusBar(); void loadScoreFile(QString &fileName, QList &scoreList); void loadClubFile(QString &fileName, QList &clubList); @@ -37,7 +35,6 @@ private slots: void nextButtonClicked(); void prevButtonClicked(); - void updateTreeView(const QModelIndex & index); void newScore(); void editScore(); void newCourse(); @@ -52,7 +49,6 @@ private: QList clubList; ScoreTableModel *scoreTableModel; - ScoreTreeModel *scoreTreeModel; QAbstractItemModel *tableModel; QItemSelectionModel *selectionModel;