X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/67ebd66f94356b4e66005b1072919cb7b5e858bb..9e8e58147:/src/panels/information/informationpanelcontent.h diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h index 7b83e5d41..78fcf3cd0 100644 --- a/src/panels/information/informationpanelcontent.h +++ b/src/panels/information/informationpanelcontent.h @@ -23,6 +23,7 @@ class QDialogButtonBox; class QString; class QLabel; class QScrollArea; +class QGestureEvent; namespace KIO { class PreviewJob; @@ -75,11 +76,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 +92,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 +135,8 @@ private: */ void refreshPixmapView(); + bool gestureEvent(QGestureEvent* event); + private: KFileItem m_item;