Debian Codegraph @

src/librssguard/dynamic-shortcuts/dynamicshortcutswidget.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/dynamic-shortcuts/dynamicshortcutswidget.h`/
2
3 #ifndef DYNAMICSHORTCUTSWIDGET_H
4 #define DYNAMICSHORTCUTSWIDGET_Hcxx . . $ `src/librssguard/dynamic-shortcuts/dynamicshortcutswidget.h:4:9`!
5
6 #include <QWidget>
7
8 class QGridLayoutcxx . . $ QGridLayout#;
9 class ShortcutCatchercxx . . $ ShortcutCatcher#;
10
11 class DynamicShortcutsWidgetcxx . . $ DynamicShortcutsWidget# : public QWidgetcxx . . $ QWidget# {
12 Q_OBJECTcxx . . $ DynamicShortcutsWidget#qt_staticMetaObjectStaticContent.
13
14 public:
15 explicit DynamicShortcutsWidgetcxx . . $ DynamicShortcutsWidget#DynamicShortcutsWidget(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = nullptr);
16 virtual ~cxx . . $ DynamicShortcutsWidget#`~DynamicShortcutsWidget`(ced63f7c635d850d).DynamicShortcutsWidgetcxx . . $ DynamicShortcutsWidget#();
17
18 // Updates shortcuts of all actions according to changes.
19 // NOTE: No access to settings is done here.
20 // Shortcuts are fetched from settings when applications starts
21 // and stored back to settings when application quits.
22 void updateShortcutscxx . . $ DynamicShortcutsWidget#updateShortcuts(49f6e7a06ebc5aa8).();
23
24 // Returns true if all shortcuts are unique,
25 // otherwise false.
26 bool areShortcutsUniquecxx . . $ DynamicShortcutsWidget#areShortcutsUnique(50ce9a9e25b4a850).() const;
27
28 // Populates this widget with shortcut widgets for given actions.
29 // NOTE: This gets initial shortcut for each action from its properties, NOT from
30 // the application settings, so shortcuts from settings need to be
31 // assigned to actions before calling this method.
32 void populatecxx . . $ DynamicShortcutsWidget#populate(b5518ac558724ab9).(QListcxx . . $ QList#<QActioncxx . . $ QAction#*> actions);
33
34 private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!:
35 void onShortcutChangedcxx . . $ DynamicShortcutsWidget#onShortcutChanged(462600f892e8a1ee).(const QKeySequencecxx . . $ QKeySequence#& sequence);
36
37 signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!:
38 void setupChangedcxx . . $ DynamicShortcutsWidget#setupChanged(49f6e7a06ebc5aa8).();
39
40 private:
41 QGridLayoutcxx . . $ QGridLayout#* m_layoutcxx . . $ DynamicShortcutsWidget#m_layout.;
42 QListcxx . . $ QList#<ShortcutCatchercxx . . $ ShortcutCatcher#*> m_actionBindingscxx . . $ DynamicShortcutsWidget#m_actionBindings.;
43 QHashcxx . . $ QHash#<QKeySequencecxx . . $ QKeySequence#, ShortcutCatchercxx . . $ ShortcutCatcher#*> m_assignedShortcutscxx . . $ DynamicShortcutsWidget#m_assignedShortcuts.;
44 };
45
46 #endif // DYNAMICSHORTCUTSOVERVIEW_H