diff options
author | Arno <arno@disconnect.de> | 2016-09-05 02:57:54 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-09-05 02:57:54 +0200 |
commit | 2e65f581c67d75a2355de4c3906c0d862e0a9ab0 (patch) | |
tree | c13885aedde18c80155e41771aafbade6079efc3 /shemovcleaner.h | |
parent | 31847fb5125a60d8f54853f96205836790271ca3 (diff) | |
download | ShemovCleaner-2e65f581c67d75a2355de4c3906c0d862e0a9ab0.tar.gz ShemovCleaner-2e65f581c67d75a2355de4c3906c0d862e0a9ab0.tar.bz2 ShemovCleaner-2e65f581c67d75a2355de4c3906c0d862e0a9ab0.zip |
Make actions local
Define actions in their respective Widgets instead of MainWindow and fix
the menus and toolbars accordingly.
Diffstat (limited to 'shemovcleaner.h')
-rw-r--r-- | shemovcleaner.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/shemovcleaner.h b/shemovcleaner.h index c3485bf..c4abf84 100644 --- a/shemovcleaner.h +++ b/shemovcleaner.h @@ -7,8 +7,6 @@ class QTabWidget; class TorrentWidget; class FileWidget; class QLabel; -class QAction; -class QKeyEvent; class QProgressBar; class ShemovCleaner : public QMainWindow { @@ -30,7 +28,6 @@ class ShemovCleaner : public QMainWindow { private: void createStatusBar(); void createGlobalActions(); - void createActions(); void openDatabase(); QAction *createSeparator(); QLabel *mSelected; @@ -39,19 +36,6 @@ class ShemovCleaner : public QMainWindow { QTabWidget *mTab; TorrentWidget *mTorrentTab; FileWidget *mFileTab; - QAction *mTorRefreshA; - QAction *mTorDeleteA; - QAction *mTorMoveA; - QAction *mTorInfoA; - QAction *mTorDirA; - QAction *mTorCopyToClipA; - QAction *mFnThisCopyToClipA; - QAction *mFileRefreshA; - QAction *mFileDirA; - QAction *mFileUpA; - QAction *mFileBackDirA; - QAction *mFilePropertiesA; - QAction *mFileDeleteA; }; #endif // SHEMOVCLEANER_H |