diff options
| author | Brian Munro <brian.alexander.munro@gmail.com> | 2018-02-23 06:38:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-23 06:38:12 +0200 |
| commit | 0a4fa10ca402c636b40124e0d1115c7b92a3d66d (patch) | |
| tree | 312024abbd7c3c100274f3a8031d49096480b654 /src/icondelegate.h | |
| parent | 28714f0eb800f2170acbf29dddce1582d20d6b8b (diff) | |
| parent | ea6292168a6acd4c263913f0ccd7dd64daf4f5cf (diff) | |
Merge pull request #237 from SuperSandro2000/new_vfs_library
Revert "Applied clang-format on source"
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
|
