summaryrefslogtreecommitdiffstats
path: root/shemov.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-12-26 19:01:42 +0100
committerArno <arno@disconnect.de>2017-12-26 19:01:42 +0100
commit9833de356989d06c2fdc9c0d407712e07048be61 (patch)
treec071985e6d7b57ab0f31e9ef9f9790b6cb14550e /shemov.h
parent20f9863c1d15fa4ea6d9ff5a6991a140c6a735d1 (diff)
downloadSheMov-9833de356989d06c2fdc9c0d407712e07048be61.tar.gz
SheMov-9833de356989d06c2fdc9c0d407712e07048be61.tar.bz2
SheMov-9833de356989d06c2fdc9c0d407712e07048be61.zip
Get rid of the headerMapper QSignalMapper
This one was a bit harder, because I made a function return the QSignalMapper, but I could reuse it with a signature change. Just provide the view, too, so we can make the connection inside the function, which now returns void.
Diffstat (limited to 'shemov.h')
-rw-r--r--shemov.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shemov.h b/shemov.h
index e8126ac..4f59379 100644
--- a/shemov.h
+++ b/shemov.h
@@ -19,6 +19,7 @@ class QActionGroup;
class NewMovieWizard;
class PicturesWidget;
class SmTreeModel;
+class SmTreeView;
class NewPicsDialog;
class ArchiveView;
class ArchiveBrowser;
@@ -65,7 +66,7 @@ class SheMov : public QMainWindow {
private:
QAction *createSeparator();
- QSignalMapper* createHeaderMapper(SmTreeModel *model, QActionGroup *group);
+ void createHeaderMapper(SmTreeModel *model, SmTreeView *view, QActionGroup *group);
void createStatusbar();
void createActions();
void createMenus();