summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-12-03 05:52:45 +0100
committerArno <arno@disconnect.de>2018-12-03 05:52:45 +0100
commit64673ef1f9936eb9b25fafb860852ca4c347d2fd (patch)
treed0b92083cef1ad3606f75c6d86d1aede0f99dd71 /mappingtreemodel.h
parentf9704767ed8bc325f9224c69b2dd18f564ee5cc0 (diff)
downloadSheMov-64673ef1f9936eb9b25fafb860852ca4c347d2fd.tar.gz
SheMov-64673ef1f9936eb9b25fafb860852ca4c347d2fd.tar.bz2
SheMov-64673ef1f9936eb9b25fafb860852ca4c347d2fd.zip
Add copyActor for new pics
If we already have an actor, get all mappings for all pics and fill the result view. This only makes sense for actors, but should also work for other items.
Diffstat (limited to 'mappingtreemodel.h')
-rw-r--r--mappingtreemodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mappingtreemodel.h b/mappingtreemodel.h
index bf3d583..59338a6 100644
--- a/mappingtreemodel.h
+++ b/mappingtreemodel.h
@@ -43,6 +43,7 @@ class MappingTreeModel : public SmTreeModel {
bool deleteChild(const QModelIndex &idx);
MappingData mappingDataFromIndex(QModelIndex &idx) const;
MappingData mappingDataFromItem(SmTreeItem *item) const;
+ QList<MappingData> siblingMappingDataFromId(int id);
const QSqlError &lastError() const { return mLastError; }
public slots: