* The paint() method in QAbstractItemDelegate is public, so make the implementation of it in
Plasma::Delegate public too. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821071
This commit is contained in:
parent
d5b4ede232
commit
d6b4396d7a
@ -69,6 +69,9 @@ public:
|
||||
|
||||
int roleMapping(SpecificRoles role) const;
|
||||
|
||||
//Reimplemented
|
||||
virtual void paint(QPainter *painter,const QStyleOptionViewItem& option,const QModelIndex& index) const;
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Returns the empty area after the title.
|
||||
@ -100,9 +103,6 @@ protected:
|
||||
*/
|
||||
QRect emptyRect(const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
||||
|
||||
//Reimplemented
|
||||
virtual void paint(QPainter *painter,const QStyleOptionViewItem& option,const QModelIndex& index) const;
|
||||
|
||||
virtual QSize sizeHint(const QStyleOptionViewItem& option , const QModelIndex& index) const;
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user