summaryrefslogtreecommitdiffstats
path: root/mappingtreewidget.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-10-27 13:02:16 +0200
committerArno <am@disconnect.de>2012-10-27 13:02:16 +0200
commitdc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e (patch)
tree30de1f390ad33f067ba1cb9872f994df620fd8c6 /mappingtreewidget.h
parenta4054f1c7b38e5996081efd7583c06ebf7758e61 (diff)
downloadSheMov-dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e.tar.gz
SheMov-dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e.tar.bz2
SheMov-dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e.zip
Fix archiving pictures
Well, what can I say. Lost in recursion and parent pointers. This commit actually boils down to using the proper database tables and inserting the right values. 'Nuff said...
Diffstat (limited to 'mappingtreewidget.h')
-rw-r--r--mappingtreewidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mappingtreewidget.h b/mappingtreewidget.h
index 600c6d5..50bbddf 100644
--- a/mappingtreewidget.h
+++ b/mappingtreewidget.h
@@ -23,6 +23,7 @@ class QStringListModel;
class QAction;
class MappingTreeResultModel;
+// defined in mappingtreemodel.h
struct MappingData;
class MappingTreeWidget : public QWidget {
@@ -84,7 +85,7 @@ class MappingEditWidget : public QWidget {
Q_OBJECT
public:
explicit MappingEditWidget(QWidget *parent = 0);
- QList<int> mappingIds() const;
+ const MappingTreeResultModel *model() const { return mResultModel; }
public slots:
void addMapping();