┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/contextmenu/contextmenusettingspage.h
diff options
context:
space:
mode:
authorSerg Podtynnyi <[email protected]>2023-02-04 00:14:53 +0700
committerSerg Podtynnyi <[email protected]>2023-02-05 12:45:38 +0700
commit38c34eeca315c7be58e65d4d3fb72aaf7b866719 (patch)
tree886e53f20c9c43edc3eb7fe04789716a9bc98ebe /src/settings/contextmenu/contextmenusettingspage.h
parentffff8af851e3a386c44438337779d0ce7ca98a61 (diff)
Add clang-format and format code as in Frameworks
Diffstat (limited to 'src/settings/contextmenu/contextmenusettingspage.h')
-rw-r--r--src/settings/contextmenu/contextmenusettingspage.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/settings/contextmenu/contextmenusettingspage.h b/src/settings/contextmenu/contextmenusettingspage.h
index a8fae08f6..6bdda1eaf 100644
--- a/src/settings/contextmenu/contextmenusettingspage.h
+++ b/src/settings/contextmenu/contextmenusettingspage.h
@@ -25,9 +25,7 @@ class ContextMenuSettingsPage : public SettingsPageBase
Q_OBJECT
public:
- explicit ContextMenuSettingsPage(QWidget* parent,
- const KActionCollection* actions,
- const QStringList& actionIds);
+ explicit ContextMenuSettingsPage(QWidget *parent, const KActionCollection *actions, const QStringList &actionIds);
~ContextMenuSettingsPage() override;
/** @see SettingsPageBase::applySettings() */
@@ -37,7 +35,7 @@ public:
void restoreDefaults() override;
protected:
- void showEvent(QShowEvent* event) override;
+ void showEvent(QShowEvent *event) override;
private Q_SLOTS:
/**
@@ -56,21 +54,18 @@ private:
/**
* Adds a row to the model of m_listView.
*/
- void addRow(const QString &icon,
- const QString &text,
- const QString &value,
- bool checked);
- bool entryVisible(const QString& id);
- void setEntryVisible(const QString& id, bool visible);
+ void addRow(const QString &icon, const QString &text, const QString &value, bool checked);
+ bool entryVisible(const QString &id);
+ void setEntryVisible(const QString &id, bool visible);
private:
bool m_initialized;
ServiceModel *m_serviceModel;
QSortFilterProxyModel *m_sortModel;
- QListView* m_listView;
+ QListView *m_listView;
QLineEdit *m_searchLineEdit;
QStringList m_enabledVcsPlugins;
- const KActionCollection* m_actions;
+ const KActionCollection *m_actions;
const QStringList m_actionIds;
};