comparison DataController.hpp @ 9:b5943e4bf676

Fix up header includes. Introduce outer catch. Fix coding style. Remove spurious debug output.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Wed, 22 Aug 2012 18:48:07 +0200
parents 5e4985407feb
children fda70a362ed5
comparison
equal deleted inserted replaced
8:d7b384b4a834 9:b5943e4bf676
1 #ifndef DATACONTROLLER_HPP 1 #ifndef DATACONTROLLER_HPP
2 #define DATACONTROLLER_HPP 2 #define DATACONTROLLER_HPP
3 3
4 #include <QtCore/QObject>
5 #include <QtCore/QDir>
6
7 #include "FileDBLink.hpp" 4 #include "FileDBLink.hpp"
8 5
6 #include <QtCore/QDir>
7 #include <QtCore/QObject>
8
9 class QAction;
9 class QMainWindow; 10 class QMainWindow;
11 class QMenu;
12 class QPoint;
13 class QSpinBox;
14 class QTimer;
10 class QTreeWidget; 15 class QTreeWidget;
11 class QTreeWidgetItem; 16 class QTreeWidgetItem;
12 class QAction;
13 class QSpinBox;
14 class QTimer;
15 class QPoint;
16 class QTreeWidgetItem;
17 class QMenu;
18 17
19 class DataController : QObject { 18 class DataController : QObject {
20 private: 19 private:
21 Q_OBJECT 20 Q_OBJECT
22 21
33 32
34 public: 33 public:
35 void buildDB(const QDir& dir); 34 void buildDB(const QDir& dir);
36 35
37 public slots: 36 public slots:
38 //void cellClicked(int row, int column);
39 void cellDoubleClicked(int row, int column); 37 void cellDoubleClicked(int row, int column);
40 bool toggleShowFullPath(); 38 bool toggleShowFullPath();
41 void setShowFullPath(bool); 39 void setShowFullPath(bool);
42 void populate(); 40 void populate();
43 void delayPopulate(); 41 void delayPopulate();