From 5e5c9c07291f6b09623d31c92b1fb61c4ede576e Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Thu, 22 Feb 2018 16:54:34 +0100 Subject: Applied clang-format on source --- src/icondelegate.h | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'src/icondelegate.h') diff --git a/src/icondelegate.h b/src/icondelegate.h index 39694481..c0c28388 100644 --- a/src/icondelegate.h +++ b/src/icondelegate.h @@ -21,31 +21,25 @@ along with Mod Organizer. If not, see . #define ICONDELEGATE_H #include "modinfo.h" -#include #include +#include - -class IconDelegate : public QStyledItemDelegate -{ - Q_OBJECT +class IconDelegate : public QStyledItemDelegate { + Q_OBJECT public: + explicit IconDelegate(QObject* parent = 0); - explicit IconDelegate(QObject *parent = 0); - - virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; + virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; signals: - + public slots: private: - - virtual QList getIcons(const QModelIndex &index) const = 0; - virtual size_t getNumIcons(const QModelIndex &index) const = 0; - + virtual QList getIcons(const QModelIndex& index) const = 0; + virtual size_t getNumIcons(const QModelIndex& index) const = 0; private: - }; #endif // ICONDELEGATE_H -- cgit v1.3.1