diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-07-26 20:33:45 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-07-26 20:33:45 (GMT) |
commit | fed11bbc3bffd383e097ea63bb92442ce2daf6ed (patch) | |
tree | 100109301e840a6aac4650acdfd1f19953db3c5e /Swift/QtUI/Roster/RosterDelegate.h | |
parent | 46e59e0e6bfceee216db3414680825cbdae60daf (diff) | |
download | swift-contrib-fed11bbc3bffd383e097ea63bb92442ce2daf6ed.zip swift-contrib-fed11bbc3bffd383e097ea63bb92442ce2daf6ed.tar.bz2 |
Now render an ugly default icon and default status text in the roster.
Diffstat (limited to 'Swift/QtUI/Roster/RosterDelegate.h')
-rw-r--r-- | Swift/QtUI/Roster/RosterDelegate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/RosterDelegate.h b/Swift/QtUI/Roster/RosterDelegate.h index 32bba80..a48b30f 100644 --- a/Swift/QtUI/Roster/RosterDelegate.h +++ b/Swift/QtUI/Roster/RosterDelegate.h @@ -4,7 +4,8 @@ namespace Swift { class RosterDelegate : public QStyledItemDelegate { + public: QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; - void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex index) const; + void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; }; }
\ No newline at end of file |