X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/67ebd66f94356b4e66005b1072919cb7b5e858bb..e9bd295b:/src/panels/information/informationpanelcontent.h diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h index 7b83e5d41..38383bd41 100644 --- a/src/panels/information/informationpanelcontent.h +++ b/src/panels/information/informationpanelcontent.h @@ -17,12 +17,12 @@ 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; };