diff options
| author | Serg Podtynnyi <[email protected]> | 2023-02-04 00:14:53 +0700 |
|---|---|---|
| committer | Serg Podtynnyi <[email protected]> | 2023-02-05 12:45:38 +0700 |
| commit | 38c34eeca315c7be58e65d4d3fb72aaf7b866719 (patch) | |
| tree | 886e53f20c9c43edc3eb7fe04789716a9bc98ebe /src/kitemviews/private/kitemlistkeyboardsearchmanager.h | |
| parent | ffff8af851e3a386c44438337779d0ce7ca98a61 (diff) | |
Add clang-format and format code as in Frameworks
Diffstat (limited to 'src/kitemviews/private/kitemlistkeyboardsearchmanager.h')
| -rw-r--r-- | src/kitemviews/private/kitemlistkeyboardsearchmanager.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/kitemviews/private/kitemlistkeyboardsearchmanager.h b/src/kitemviews/private/kitemlistkeyboardsearchmanager.h index 80caea2ed..d370bc9ba 100644 --- a/src/kitemviews/private/kitemlistkeyboardsearchmanager.h +++ b/src/kitemviews/private/kitemlistkeyboardsearchmanager.h @@ -27,14 +27,13 @@ class DOLPHIN_EXPORT KItemListKeyboardSearchManager : public QObject Q_OBJECT public: - - explicit KItemListKeyboardSearchManager(QObject* parent = nullptr); + explicit KItemListKeyboardSearchManager(QObject *parent = nullptr); ~KItemListKeyboardSearchManager() override; /** * Add \a keys to the text buffer used for searching. */ - void addKeys(const QString& keys); + void addKeys(const QString &keys); /** * @returns true if the next call to addKeys() will trigger a new search. * Returns false if the next added key char will be added to the search string that was used previously. @@ -55,7 +54,7 @@ public: public Q_SLOTS: void slotCurrentChanged(int current, int previous); - void slotSelectionChanged(const KItemSet& current, const KItemSet& previous); + void slotSelectionChanged(const KItemSet ¤t, const KItemSet &previous); Q_SIGNALS: /** @@ -67,7 +66,7 @@ Q_SIGNALS: */ // TODO: Think about getting rid of the bool parameter // (see https://doc.qt.io/archives/qq/qq13-apis.html#thebooleanparametertrap) - void changeCurrentItem(const QString& string, bool searchFromNextItem); + void changeCurrentItem(const QString &string, bool searchFromNextItem); private: bool shouldClearSearchIfInputTimeReached(); @@ -82,5 +81,3 @@ private: }; #endif - - |
