diff options
author | Arno <arno@disconnect.de> | 2017-12-26 19:01:42 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-12-26 19:01:42 +0100 |
commit | 9833de356989d06c2fdc9c0d407712e07048be61 (patch) | |
tree | c071985e6d7b57ab0f31e9ef9f9790b6cb14550e /shemov.h | |
parent | 20f9863c1d15fa4ea6d9ff5a6991a140c6a735d1 (diff) | |
download | SheMov-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); |