summaryrefslogtreecommitdiffstats
path: root/shemov.pro
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-02-24 20:35:27 +0100
committerArno <am@disconnect.de>2012-02-24 20:35:27 +0100
commitb8e16c3bddb706ecc195e86eaafb89ed90f9bfc3 (patch)
treeb14578ba8f801f701777b73d3dbb22730570585a /shemov.pro
parente82af6117dfcf4ccbebb712caaf1b8f9c68599ba (diff)
downloadSheMov-b8e16c3bddb706ecc195e86eaafb89ed90f9bfc3.tar.gz
SheMov-b8e16c3bddb706ecc195e86eaafb89ed90f9bfc3.tar.bz2
SheMov-b8e16c3bddb706ecc195e86eaafb89ed90f9bfc3.zip
Implement MappingTreeWidget
This is a rather large commit. It implements MappingTreeWidget using MappingTreeModel unsurprisingly this uncovered some exciting bugs. Fixes the following bugs in MappingTreeModel: * use insertRows() and removeRows() when addings children, because dataChanged() won't do it. * don't use a prepared QSqlQuery when fetching children recursively. This won't work because the query is still active when we invoke ourselves again. Put the query on the stack instead * Keep the model sorted. Also add an entry for a MappingTreeEditor to the File-Menu.
Diffstat (limited to 'shemov.pro')
-rw-r--r--shemov.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/shemov.pro b/shemov.pro
index 16dadef..ef92490 100644
--- a/shemov.pro
+++ b/shemov.pro
@@ -36,7 +36,8 @@ SOURCES = main.cpp \
smdialog.cpp \
propertiesdialog.cpp \
dbanalyzer.cpp \
- mappingtreemodel.cpp
+ mappingtreemodel.cpp \
+ mappingtreewidget.cpp
HEADERS = listitem.h \
filesystemdirproxy.h \
filesystemwidget.h \
@@ -68,6 +69,7 @@ HEADERS = listitem.h \
smdialog.h \
propertiesdialog.h \
dbanalyzer.h \
- mappingtreemodel.h
+ mappingtreemodel.h \
+ mappingtreewidget.h
LIBS += -lmagic -lXfixes -lX11
RESOURCES = shemov.qrc