diff options
| author | Arno <arno@disconnect.de> | 2016-11-11 06:27:40 +0100 | 
|---|---|---|
| committer | Arno <arno@disconnect.de> | 2016-11-11 06:27:40 +0100 | 
| commit | d44cada7cd8eee4a0967da2649a8332bdb12346f (patch) | |
| tree | 1c6aca450199f3d902c70c677594fe32b60dcf58 /randomtab.h | |
| parent | bed21d975fd36338d9d84be1306dd4720ef8c632 (diff) | |
| download | SheMov-d44cada7cd8eee4a0967da2649a8332bdb12346f.tar.gz SheMov-d44cada7cd8eee4a0967da2649a8332bdb12346f.tar.bz2 SheMov-d44cada7cd8eee4a0967da2649a8332bdb12346f.zip  | |
Actually play movies!
Finally do something with the random selection!
Implement playAll and playSelected.
Diffstat (limited to 'randomtab.h')
| -rw-r--r-- | randomtab.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/randomtab.h b/randomtab.h index a66ee10..3f400e8 100644 --- a/randomtab.h +++ b/randomtab.h @@ -24,6 +24,7 @@ class RandomTab : public QWidget {      Q_OBJECT      public:          enum CustomRoles { IdRole = Qt::UserRole + 1, SizeRole = Qt::UserRole + 2, DurationRole = Qt::UserRole + 3, DvdNoRole = Qt::UserRole + 4 }; +        enum Columns { FileName = 0, Size = 1, Duration = 2, Md5 = 3, Location = 4, FullPath = 5 };          enum { ColumnCount = 6 };          explicit RandomTab(QWidget *parent = 0);          virtual ~RandomTab(); @@ -35,6 +36,7 @@ class RandomTab : public QWidget {          void select();          void playAll();          void playSelected(); +        void play(const QStringList &files);          void logMessage(const QString &msg);      private:  | 
