From ea6292168a6acd4c263913f0ccd7dd64daf4f5cf Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Fri, 23 Feb 2018 01:45:58 +0100 Subject: Revert "Applied clang-format on source" This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e. --- src/icondelegate.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'src/icondelegate.h') diff --git a/src/icondelegate.h b/src/icondelegate.h index c0c28388..39694481 100644 --- a/src/icondelegate.h +++ b/src/icondelegate.h @@ -21,25 +21,31 @@ 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); - virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + explicit IconDelegate(QObject *parent = 0); -signals: + 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