From 38c34eeca315c7be58e65d4d3fb72aaf7b866719 Mon Sep 17 00:00:00 2001 From: Serg Podtynnyi Date: Sat, 4 Feb 2023 00:14:53 +0700 Subject: Add clang-format and format code as in Frameworks --- src/settings/serviceitemdelegate.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/settings/serviceitemdelegate.h') diff --git a/src/settings/serviceitemdelegate.h b/src/settings/serviceitemdelegate.h index 5c516916f..74f7dfd6a 100644 --- a/src/settings/serviceitemdelegate.h +++ b/src/settings/serviceitemdelegate.h @@ -20,23 +20,19 @@ class ServiceItemDelegate : public KWidgetItemDelegate Q_OBJECT public: - explicit ServiceItemDelegate(QAbstractItemView* itemView, QObject* parent = nullptr); + explicit ServiceItemDelegate(QAbstractItemView *itemView, QObject *parent = nullptr); ~ServiceItemDelegate() override; - QSize sizeHint(const QStyleOptionViewItem &option, - const QModelIndex &index) const override; + QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override; - void paint(QPainter* painter, const QStyleOptionViewItem& option, - const QModelIndex& index) const override; + void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override; - QList createItemWidgets(const QModelIndex&) const override; + QList createItemWidgets(const QModelIndex &) const override; - void updateItemWidgets(const QList widgets, - const QStyleOptionViewItem& option, - const QPersistentModelIndex& index) const override; + void updateItemWidgets(const QList widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const override; Q_SIGNALS: - void requestServiceConfiguration(const QModelIndex& index); + void requestServiceConfiguration(const QModelIndex &index); private Q_SLOTS: void slotCheckBoxClicked(bool checked); -- cgit v1.3