┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectionmode/actionwithwidget.h
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2022-04-24 13:18:30 +0200
committerFelix Ernst <[email protected]>2022-08-14 14:42:40 +0000
commit8e55f2c2409fd6ca9ebc66a6568f4d3bcbef7576 (patch)
treeabc2aa68ceb8f79addf0f74615e91efa08a44172 /src/selectionmode/actionwithwidget.h
parent402b4a5698f3d12d1848b298c38828d509abfd0d (diff)
Better separation of classes
Make obvious when actions trigger selection mode.
Diffstat (limited to 'src/selectionmode/actionwithwidget.h')
-rw-r--r--src/selectionmode/actionwithwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/selectionmode/actionwithwidget.h b/src/selectionmode/actionwithwidget.h
index 62dad0fc1..cf7b8bc35 100644
--- a/src/selectionmode/actionwithwidget.h
+++ b/src/selectionmode/actionwithwidget.h
@@ -14,6 +14,9 @@
class QAbstractButton;
+namespace SelectionMode
+{
+
/**
* @brief Small wrapper/helper class that contains an action and its widget.
*
@@ -83,4 +86,6 @@ QAbstractButton *newButtonForAction(QAction *action, QWidget *parent);
*/
void copyActionDataToButton(QAbstractButton *button, QAction *action);
+}
+
#endif // ACTIONWITHWIDGET_H