Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
System Settings
Commits
bbd1a085
Commit
bbd1a085
authored
Jan 17, 2021
by
Alexander Lohnau
💬
Browse files
Prevent clang-format uglification
parent
8b9e0e3e
Changes
4
Hide whitespace changes
Inline
Side-by-side
core/BaseMode.h
View file @
bbd1a085
...
...
@@ -62,7 +62,7 @@ public:
// Changes mainly the set of module listed on the left menu
enum
ApplicationMode
{
SystemSettings
=
0
,
InfoCenter
InfoCenter
,
};
Q_ENUM
(
ApplicationMode
);
...
...
@@ -86,7 +86,7 @@ public:
NoItems
=
0x1
,
/**< The Toolbar will not have any items added by System Settings */
Search
=
0x2
,
/**< The Toolbar will have the search bar added by System Settings */
Configure
=
0x4
,
/**< The Toolbar will have configure added by System Settings */
Quit
=
0x8
/**< The toolbar will have exit added by System Settings */
Quit
=
0x8
,
/**< The toolbar will have exit added by System Settings */
};
Q_DECLARE_FLAGS
(
ToolBarItems
,
ToolBarItemsFlags
)
...
...
core/MenuModel.h
View file @
bbd1a085
...
...
@@ -59,7 +59,7 @@ public:
IsKCMRole
,
DefaultIndicatorRole
DefaultIndicatorRole
,
};
/**
...
...
core/ModuleView.cpp
View file @
bbd1a085
...
...
@@ -190,9 +190,10 @@ ModuleView::ModuleView( QWidget * parent )
connect
(
d
->
mReset
,
&
QAbstractButton
::
clicked
,
this
,
&
ModuleView
::
moduleLoad
);
connect
(
d
->
mHelp
,
&
QAbstractButton
::
clicked
,
this
,
&
ModuleView
::
moduleHelp
);
connect
(
d
->
mDefault
,
&
QAbstractButton
::
clicked
,
this
,
&
ModuleView
::
moduleDefaults
);
connect
(
d
->
mPageWidget
,
SIGNAL
(
currentPageChanged
(
KPageWidgetItem
*
,
KPageWidgetItem
*
)),
this
,
SLOT
(
activeModuleChanged
(
KPageWidgetItem
*
,
KPageWidgetItem
*
))
);
// clang-format off
connect
(
d
->
mPageWidget
,
SIGNAL
(
currentPageChanged
(
KPageWidgetItem
*
,
KPageWidgetItem
*
)),
this
,
SLOT
(
activeModuleChanged
(
KPageWidgetItem
*
,
KPageWidgetItem
*
)));
// clang-format on
d
->
mApplyAuthorize
=
new
KAuth
::
ObjectDecorator
(
d
->
mApply
);
d
->
mApplyAuthorize
->
setAuthAction
(
KAuth
::
Action
()
);
}
...
...
sidebar/ToolTips/tooltipmanager.h
View file @
bbd1a085
...
...
@@ -39,7 +39,7 @@ class ToolTipManager : public QObject
public:
enum
ToolTipPosition
{
BottomCenter
,
Right
};
enum
ToolTipPosition
{
BottomCenter
,
Right
,
};
/**
* Standard constructor. The ToolTipManager will start handling ToolTip events on the provided
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment