]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/informationpanelcontent.h
Merge branch 'release/21.12'
[dolphin.git] / src / panels / information / informationpanelcontent.h
index 7b83e5d41f1c9dff75211b1786429196d88a8c03..38383bd41c41ec64f5699edad8097de621becbec 100644 (file)
 class KFileItemList;
 class PhononWidget;
 class PixmapViewer;
-class PlacesItemModel;
 class QPixmap;
 class QDialogButtonBox;
 class QString;
 class QLabel;
 class QScrollArea;
+class QGestureEvent;
 
 namespace KIO {
   class PreviewJob;
@@ -75,11 +75,12 @@ public:
      */
     void setPreviewAutoPlay(bool autoPlay);
 
-signals:
+Q_SIGNALS:
     void urlActivated( const QUrl& url );
     void configurationFinished();
+    void contextMenuRequested(const QPoint& pos);
 
-public slots:
+public Q_SLOTS:
     /**
      * Is invoked after the file meta data configuration dialog has been
      * closed and refreshes the displayed meta data by the panel.
@@ -90,7 +91,9 @@ protected:
     /** @see QObject::eventFilter() */
     bool eventFilter(QObject* obj, QEvent* event) override;
 
-private slots:
+    bool event(QEvent * event) override;
+
+private Q_SLOTS:
     /**
      * Is invoked if no preview is available for the item. In this
      * case the icon will be shown.
@@ -131,6 +134,8 @@ private:
      */
     void refreshPixmapView();
 
+    bool gestureEvent(QGestureEvent* event);
+
 private:
     KFileItem m_item;
 
@@ -145,7 +150,6 @@ private:
     QLabel* m_configureLabel;
     QDialogButtonBox* m_configureButtons;
 
-    PlacesItemModel* m_placesItemModel;
     bool m_isVideo;
 };