summaryrefslogtreecommitdiffstats
path: root/examples/multimediawidgets/player/player.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-03-01 14:58:18 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-03-01 14:59:17 +0000
commit787211c1d2082874ea07be4c5987032221ee48fe (patch)
tree158e1fa111b47ca8c415a4e5b59ce15ac8be6f4c /examples/multimediawidgets/player/player.h
parent1816f89b6fc1f62ea2b97fabf43963b3312a7c08 (diff)
Polish the QtWidgets/Player example.
Point the file dialog to the Movies folder. Add command proper command line handling. Change the logic to use QUrl everywhere. Change-Id: I1e54e600187153f52a55e3a381a24e4f2eeda3ab Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'examples/multimediawidgets/player/player.h')
-rw-r--r--examples/multimediawidgets/player/player.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/multimediawidgets/player/player.h b/examples/multimediawidgets/player/player.h
index 61f3cff2..7f5d0881 100644
--- a/examples/multimediawidgets/player/player.h
+++ b/examples/multimediawidgets/player/player.h
@@ -69,6 +69,10 @@ public:
Player(QWidget *parent = 0);
~Player();
+ bool isPlayerAvailable() const;
+
+ void addToPlaylist(const QList<QUrl> urls);
+
signals:
void fullScreenChanged(bool fullScreen);
@@ -93,7 +97,6 @@ private slots:
#ifndef PLAYER_NO_COLOROPTIONS
void showColorDialog();
#endif
- void addToPlaylist(const QStringList &fileNames);
private:
void setTrackInfo(const QString &info);