constify and build

svn path=/trunk/KDE/kdelibs/; revision=898199
This commit is contained in:
Aaron J. Seigo 2008-12-17 17:45:24 +00:00
parent 9a57b3105e
commit 3d4ccc37c2
2 changed files with 5 additions and 1 deletions

View File

@ -429,7 +429,7 @@ QSize Delegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &
return size;
}
bool Delegate::showToolTip()
bool Delegate::showToolTip() const
{
return d->m_showToolTip;
}

View File

@ -79,6 +79,10 @@ public:
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const;
/**
* @return true if a tooltip should be shown
*/
bool showToolTip() const;
protected:
/**