summaryrefslogtreecommitdiffstats
path: root/mappingtreewidget.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-06-29 09:41:30 +0200
committerArno <am@disconnect.de>2014-06-29 09:41:30 +0200
commitf295cfb8672d97bb5c804499bdb311a9a0d8039b (patch)
tree77b54514e17d6bb453bd9431707f9f37954c9fc2 /mappingtreewidget.h
parentb5bd9cf0b981ee0c87ead9e20c36247932de7818 (diff)
downloadSheMov-f295cfb8672d97bb5c804499bdb311a9a0d8039b.tar.gz
SheMov-f295cfb8672d97bb5c804499bdb311a9a0d8039b.tar.bz2
SheMov-f295cfb8672d97bb5c804499bdb311a9a0d8039b.zip
Major rework of MappingTreeResultView + Model
Well, I hope this fixes the crashes for good. String comparison for looking up the parents really wasn't a prudent thing to do... Use the ParentIds instead.
Diffstat (limited to 'mappingtreewidget.h')
-rw-r--r--mappingtreewidget.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/mappingtreewidget.h b/mappingtreewidget.h
index 9fe5739..63145fa 100644
--- a/mappingtreewidget.h
+++ b/mappingtreewidget.h
@@ -36,7 +36,7 @@ class MappingTreeWidget : public QWidget {
void addType();
void deleteChild();
void deleteType();
- void selectPath(const QString &path);
+ void selectPath(const QList<int> &data);
protected:
virtual void hideEvent(QHideEvent *event);
@@ -45,7 +45,7 @@ class MappingTreeWidget : public QWidget {
void typeChanged(QString type);
void editChild();
void selectionChanged();
- void moveChild();
+ //void moveChild();
void filter();
void clearFilter();
@@ -67,7 +67,6 @@ class MappingTreeWidget : public QWidget {
QAction *mAddChildA;
QAction *mDeleteChildA;
QAction *mEditChildA;
- QAction *mMoveChildA;
};
class MappingTreeView : public SmTreeView {