diff options
| author | Peter Penz <[email protected]> | 2008-08-22 21:47:22 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-08-22 21:47:22 +0000 |
| commit | ad0a321b7dfd57d7d666ac87ef44813f8e16129e (patch) | |
| tree | 62927110bc4957fe22a330e7d780559b8ddc12e4 /src/dolphintooltip.h | |
| parent | aa3e271ce39e7cbbd546d5f9197a1f83ba53fcde (diff) | |
tooltip improvements (patch provided by Laurens Vanhove):
* do a slightly delayed generation of previews to avoid expensive thumbnail creation when shortly hovering items
* prevent a resizing of the tooltip if the preview cannot be generated within a specific timeout
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=851104
Diffstat (limited to 'src/dolphintooltip.h')
| -rw-r--r-- | src/dolphintooltip.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/dolphintooltip.h b/src/dolphintooltip.h index 5d36112e7..568e3ea78 100644 --- a/src/dolphintooltip.h +++ b/src/dolphintooltip.h @@ -31,16 +31,6 @@ class KFileItem; class QPixmap; -class DolphinToolTipItem : public QObject, public KToolTipItem -{ - Q_OBJECT -public: - DolphinToolTipItem(const KFileItem& fileItem); - virtual ~DolphinToolTipItem(); -private slots: - void setPreview(const KFileItem& fileItem, const QPixmap& preview); -}; - class DolphinBalloonTooltipDelegate : public KFormattedBalloonTipDelegate { public: @@ -50,4 +40,4 @@ public: virtual QSize sizeHint(const KStyleOptionToolTip* option, const KToolTipItem* item) const; virtual void paint(QPainter* painter, const KStyleOptionToolTip* option, const KToolTipItem* item) const; }; -#endif
\ No newline at end of file +#endif |
