X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/6862c3a617792bd04e3396b6afdb5df2199a67b2..d009bf5eae4760e4ced150ff08a6351fb96f640e:/src/tooltips/tooltipmanager.h diff --git a/src/tooltips/tooltipmanager.h b/src/tooltips/tooltipmanager.h index e9b5cac6e..e1f9770c3 100644 --- a/src/tooltips/tooltipmanager.h +++ b/src/tooltips/tooltipmanager.h @@ -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;