diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-22 17:38:09 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-22 17:38:09 +0200 |
commit | 8bed00ab34e31f2b9c70026d418d923913325798 (patch) | |
tree | f289c15575415a36bc19c047a2037998e9b11ce8 /src/gui/kconfigskeleton.h | |
parent | 186755fd56b58dc97250846c5305ef89f9487f86 (diff) | |
download | kconfig-8bed00ab34e31f2b9c70026d418d923913325798.tar.gz kconfig-8bed00ab34e31f2b9c70026d418d923913325798.tar.bz2 |
Run clang-format on all cpp/h files
NO_CHANGELOG
Diffstat (limited to 'src/gui/kconfigskeleton.h')
-rw-r--r-- | src/gui/kconfigskeleton.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/gui/kconfigskeleton.h b/src/gui/kconfigskeleton.h index 8e88e8d8..3f0aec87 100644 --- a/src/gui/kconfigskeleton.h +++ b/src/gui/kconfigskeleton.h @@ -32,13 +32,11 @@ public: /** * Class for handling a color preferences item. */ - class KCONFIGGUI_EXPORT ItemColor: public KConfigSkeletonGenericItem < QColor > + class KCONFIGGUI_EXPORT ItemColor : public KConfigSkeletonGenericItem<QColor> { public: /** @copydoc KConfigSkeletonGenericItem::KConfigSkeletonGenericItem */ - ItemColor(const QString &_group, const QString &_key, - QColor &reference, - const QColor &defaultValue = QColor(128, 128, 128)); + ItemColor(const QString &_group, const QString &_key, QColor &reference, const QColor &defaultValue = QColor(128, 128, 128)); /** @copydoc KConfigSkeletonItem::readConfig(KConfig*) */ void readConfig(KConfig *config) override; @@ -56,12 +54,11 @@ public: /** * Class for handling a font preferences item. */ - class KCONFIGGUI_EXPORT ItemFont: public KConfigSkeletonGenericItem < QFont > + class KCONFIGGUI_EXPORT ItemFont : public KConfigSkeletonGenericItem<QFont> { public: /** @copydoc KConfigSkeletonGenericItem::KConfigSkeletonGenericItem */ - ItemFont(const QString &_group, const QString &_key, QFont &reference, - const QFont &defaultValue = QFont()); + ItemFont(const QString &_group, const QString &_key, QFont &reference, const QFont &defaultValue = QFont()); /** @copydoc KConfigSkeletonItem::readConfig(KConfig*) */ void readConfig(KConfig *config) override; @@ -103,9 +100,7 @@ public: * @param key Key used in config file. If key is null, name is used as key. * @return The created item */ - ItemColor *addItemColor(const QString &name, QColor &reference, - const QColor &defaultValue = QColor(128, 128, 128), - const QString &key = QString()); + ItemColor *addItemColor(const QString &name, QColor &reference, const QColor &defaultValue = QColor(128, 128, 128), const QString &key = QString()); /** * Register an item of type QFont. @@ -118,10 +113,7 @@ public: * @param key Key used in config file. If key is null, name is used as key. * @return The created item */ - ItemFont *addItemFont(const QString &name, QFont &reference, - const QFont &defaultValue = QFont(), - const QString &key = QString()); - + ItemFont *addItemFont(const QString &name, QFont &reference, const QFont &defaultValue = QFont(), const QString &key = QString()); }; #endif |