diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-23 01:45:58 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-23 01:45:58 +0100 |
| commit | ea6292168a6acd4c263913f0ccd7dd64daf4f5cf (patch) | |
| tree | 312024abbd7c3c100274f3a8031d49096480b654 /src/icondelegate.h | |
| parent | 5e5c9c07291f6b09623d31c92b1fb61c4ede576e (diff) | |
Revert "Applied clang-format on source"
This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
Diffstat (limited to 'src/icondelegate.h')
| -rw-r--r-- | src/icondelegate.h | 22 |
1 files changed, 14 insertions, 8 deletions
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 <http://www.gnu.org/licenses/>. #define ICONDELEGATE_H
#include "modinfo.h"
-#include <QAbstractProxyModel>
#include <QStyledItemDelegate>
+#include <QAbstractProxyModel>
-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<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
|
