comparison DataController.hpp @ 1:aae83c0a771d

Refactor: -Rename all Db to DB. Add setup script Add support for Sqlite3 in configuration.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Mon, 20 Aug 2012 17:32:58 +0200
parents a3834af36579
children 2833b7f8884a
comparison
equal deleted inserted replaced
0:a3834af36579 1:aae83c0a771d
1 #ifndef DATACONTROLLER_HPP 1 #ifndef DATACONTROLLER_HPP
2 #define DATACONTROLLER_HPP 2 #define DATACONTROLLER_HPP
3 3
4 #include <QtCore/QObject> 4 #include <QtCore/QObject>
5 5
6 #include "FileDbLink.hpp" 6 #include "FileDBLink.hpp"
7 7
8 class QMainWindow; 8 class QMainWindow;
9 class QTreeWidget; 9 class QTreeWidget;
10 class QTreeWidgetItem; 10 class QTreeWidgetItem;
11 class QAction; 11 class QAction;
35 private: 35 private:
36 void populate(bool showNameDups, bool showSizeDups, 36 void populate(bool showNameDups, bool showSizeDups,
37 bool showMTimeDups, bool showCheckSumDups, 37 bool showMTimeDups, bool showCheckSumDups,
38 float editDistanceCutoff); 38 float editDistanceCutoff);
39 39
40 QTreeWidgetItem* createItem(const FileDbLink::DBInfo& info); 40 QTreeWidgetItem* createItem(const FileDBLink::DBInfo& info);
41 41
42 bool showFullPath; 42 bool showFullPath;
43 QMainWindow* mw; 43 QMainWindow* mw;
44 QTreeWidget* tw; 44 QTreeWidget* tw;
45 45
46 FileDbLink* dblink; 46 FileDBLink* dblink;
47 47
48 QAction* nameFilter; 48 QAction* nameFilter;
49 QAction* sizeFilter; 49 QAction* sizeFilter;
50 QAction* mtimeFilter; 50 QAction* mtimeFilter;
51 QAction* checksumFilter; 51 QAction* checksumFilter;