diff options
Diffstat (limited to 'desktop-widgets/modeldelegates.h')
-rw-r--r-- | desktop-widgets/modeldelegates.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/desktop-widgets/modeldelegates.h b/desktop-widgets/modeldelegates.h index 95701775a..34012aa2a 100644 --- a/desktop-widgets/modeldelegates.h +++ b/desktop-widgets/modeldelegates.h @@ -90,16 +90,6 @@ slots: void revertModelData(QWidget *widget, QAbstractItemDelegate::EndEditHint hint); }; -/* ProfilePrintDelagate: - * this delegate is used to modify the look of the table that is printed - * bellow profiles. - */ -class ProfilePrintDelegate : public QStyledItemDelegate { -public: - explicit ProfilePrintDelegate(QObject *parent = 0); - void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; -}; - class SpinBoxDelegate : public QStyledItemDelegate { Q_OBJECT public: @@ -122,14 +112,6 @@ private: double step; }; -class HTMLDelegate : public ProfilePrintDelegate { - Q_OBJECT -public: - explicit HTMLDelegate(QObject *parent = 0); - virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; - virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const; -}; - class LocationFilterDelegate : public QStyledItemDelegate { Q_OBJECT public: |