]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/tooltips/filemetadatatooltip.h
Port tooltips to KToolTipWidget
[dolphin.git] / src / views / tooltips / filemetadatatooltip.h
index 379b025c8e33e3f9404b857ca6be3cef5d278b4a..1738e386cf8013c3ec058aef8acc22bac304e908 100644 (file)
@@ -37,8 +37,8 @@ namespace Baloo {
 #endif
 
 /**
- * @brief Tooltip, that shows the meta information and a preview of one
- *        or more files.
+ * @brief Widget that shows the meta information and a preview of one
+ *        or more files inside a KToolTipWidget.
  */
 class FileMetaDataToolTip : public QWidget
 {
@@ -69,10 +69,6 @@ signals:
      */
     void metaDataRequestFinished(const KFileItemList& items);
 
-protected:
-    virtual void paintEvent(QPaintEvent* event) Q_DECL_OVERRIDE;
-    virtual void showEvent(QShowEvent *) Q_DECL_OVERRIDE;
-
 private:
     QLabel* m_preview;
     QLabel* m_name;