┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tooltips/tooltipmanager.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-06-20 16:49:04 +0000
committerPeter Penz <[email protected]>2009-06-20 16:49:04 +0000
commit419ad21309a69e5047624c09941c5d99d0be93c0 (patch)
tree5312283f2970ee631f83791ed257ba7a85ae6347 /src/tooltips/tooltipmanager.h
parent374f5674adb0807043fba24f685108796381032e (diff)
- Don't keep pointers to objects that are obtained and deleted by other objects.
- Simplify the API so that it is assured that no memory leaks are given. svn path=/trunk/KDE/kdebase/apps/; revision=984375
Diffstat (limited to 'src/tooltips/tooltipmanager.h')
-rw-r--r--src/tooltips/tooltipmanager.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tooltips/tooltipmanager.h b/src/tooltips/tooltipmanager.h
index 96df4819e..5cd01e820 100644
--- a/src/tooltips/tooltipmanager.h
+++ b/src/tooltips/tooltipmanager.h
@@ -68,7 +68,7 @@ private slots:
void previewFailed(const KFileItem& item);
private:
- void showToolTip(KToolTipItem* tip);
+ void showToolTip(const QIcon& icon, const QString& text);
QAbstractItemView* m_view;
DolphinModel* m_dolphinModel;
@@ -83,9 +83,7 @@ private:
bool m_generatingPreview;
bool m_previewIsLate;
int m_previewPass;
- KToolTipItem* m_emptyRenderedKToolTipItem;
QPixmap m_pix;
-
};
#endif