]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/informationpanelcontent.h
Add click to play/pause feature on previews for audio/video
[dolphin.git] / src / panels / information / informationpanelcontent.h
index 43410ddfae9690cff3e5be39d9712eed09c56509..8daeb95b0c16479da827fde7ff58bd2610b5af10 100644 (file)
@@ -81,6 +81,13 @@ public:
      */
     void configureShownProperties();
 
+    /*
+     * Set the auto play media mode for the file previewed
+     * Eventually starting media playback when turning it on
+     * But not stopping it when turning it off
+     */
+    void setPreviewAutoPlay(bool autoPlay);
+
 signals:
     void urlActivated( const QUrl& url );
     void configurationFinished();
@@ -132,6 +139,11 @@ private:
      */
     void adjustWidgetSizes(int width);
 
+    /**
+     * Refreshes the image in the PixmapViewer
+     */
+    void refreshPixmapView();
+
 private:
     KFileItem m_item;
 
@@ -147,6 +159,7 @@ private:
     QDialogButtonBox* m_configureButtons;
 
     PlacesItemModel* m_placesItemModel;
+    bool m_isVideo;
 };
 
 #endif // INFORMATIONPANELCONTENT_H