]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/tooltips/tooltipmanager.h
allow to configure which meta data should be shown for tooltips
[dolphin.git] / src / tooltips / tooltipmanager.h
index e9b5cac6e4072116ba57e1c0a03ff4d2adaae558..e1f9770c3fda44cb067f5d2ec8edfedd3818a355 100644 (file)
@@ -30,7 +30,6 @@ class DolphinSortFilterProxyModel;
 class QAbstractItemView;
 class QModelIndex;
 class QTimer;
-class KToolTipItem;
 
 /**
  * @brief Manages the tooltips for an item view.
@@ -68,7 +67,13 @@ private slots:
     void previewFailed();
 
 private:
-    void showToolTip(const QIcon& icon, const QString& text);
+    void showToolTip(const QPixmap& pixmap);
+
+    /**
+     * Creates widget that represents the tip content having
+     * an icon and the meta data information.
+     */
+    QWidget* createTipContent(const QPixmap& pixmap) const;
 
     QAbstractItemView* m_view;
     DolphinModel* m_dolphinModel;