summaryrefslogtreecommitdiff
path: root/src/icondelegate.h
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2018-02-22 16:54:34 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2018-02-22 16:54:34 +0100
commit5e5c9c07291f6b09623d31c92b1fb61c4ede576e (patch)
tree0684c123db375336e0e03f0240155a12e744db16 /src/icondelegate.h
parent5ad912e1934061b38825801a27f7c12933878005 (diff)
Applied clang-format on source
Diffstat (limited to 'src/icondelegate.h')
-rw-r--r--src/icondelegate.h22
1 files changed, 8 insertions, 14 deletions
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 <http://www.gnu.org/licenses/>.
#define ICONDELEGATE_H
#include "modinfo.h"
-#include <QStyledItemDelegate>
#include <QAbstractProxyModel>
+#include <QStyledItemDelegate>
-
-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<QString> getIcons(const QModelIndex &index) const = 0;
- virtual size_t getNumIcons(const QModelIndex &index) const = 0;
-
+ virtual QList<QString> getIcons(const QModelIndex& index) const = 0;
+ virtual size_t getNumIcons(const QModelIndex& index) const = 0;
private:
-
};
#endif // ICONDELEGATE_H