diff options
Diffstat (limited to 'qt-ui/modeldelegates.h')
-rw-r--r-- | qt-ui/modeldelegates.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/modeldelegates.h b/qt-ui/modeldelegates.h index 0a56d14d6..baf7d50c3 100644 --- a/qt-ui/modeldelegates.h +++ b/qt-ui/modeldelegates.h @@ -6,9 +6,9 @@ class StarWidgetsDelegate : public QStyledItemDelegate { Q_OBJECT public: - explicit StarWidgetsDelegate(QWidget* parent = 0); - virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; - virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; + explicit StarWidgetsDelegate(QWidget* parent = 0); + virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; private: QWidget *parentWidget; }; @@ -16,8 +16,8 @@ private: class TankInfoDelegate : public QStyledItemDelegate{ Q_OBJECT public: - explicit TankInfoDelegate(QObject* parent = 0); - virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; + explicit TankInfoDelegate(QObject* parent = 0); + virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; }; #endif |