Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2015-08-11 12:30:58 +0300
committerChristian Kamm <mail@ckamm.de>2015-08-11 12:33:04 +0300
commit0dd20ccf3b7dcf1c8fee47ddf1bc7772f77451f6 (patch)
treeaddd71e15f8322059ef69b64b0867baafe11ef9e /src/gui/settingsdialog.h
parent9698324c4e30e8ef819a097cc5c7cae5e8625e86 (diff)
Remove deleted accounts from tool bar #3583
Diffstat (limited to 'src/gui/settingsdialog.h')
-rw-r--r--src/gui/settingsdialog.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gui/settingsdialog.h b/src/gui/settingsdialog.h
index 54748a3cd..46d0b55e2 100644
--- a/src/gui/settingsdialog.h
+++ b/src/gui/settingsdialog.h
@@ -20,6 +20,8 @@
#include "progressdispatcher.h"
class QAction;
+class QActionGroup;
+class QToolBar;
class QStandardItemModel;
namespace OCC {
@@ -62,7 +64,15 @@ private slots:
private:
Ui::SettingsDialog * const _ui;
- QHash<QAction*, QWidget*> _actions;
+
+ QActionGroup* _actionGroup;
+ // Maps the actions from the action group to the corresponding widgets
+ QHash<QAction*, QWidget*> _actionGroupWidgets;
+
+ QToolBar* _toolBar;
+ // Maps the actions from the action group to the toolbar actions
+ QHash<QAction*, QAction*> _toolbarActions;
+
QAction * _protocolAction;
ownCloudGui *_gui;
};