diff options
| author | Arno <arno@disconnect.de> | 2016-11-11 05:29:47 +0100 | 
|---|---|---|
| committer | Arno <arno@disconnect.de> | 2016-11-11 05:29:47 +0100 | 
| commit | 929a4bc23baf083effd11ec685f912f8b51591ff (patch) | |
| tree | 3b19c73958ef15c67e9eedab5830a525bf5468f4 /randomtab.h | |
| parent | f686dd4c13215bb02e456456e512daed076028a7 (diff) | |
| download | SheMov-929a4bc23baf083effd11ec685f912f8b51591ff.tar.gz SheMov-929a4bc23baf083effd11ec685f912f8b51591ff.tar.bz2 SheMov-929a4bc23baf083effd11ec685f912f8b51591ff.zip | |
Read and write settings / SelectionBehavior
Fixing selection behavior should have been a separate commit, but
well... Set it to ExtendedSelection and SelectRows.
Diffstat (limited to 'randomtab.h')
| -rw-r--r-- | randomtab.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/randomtab.h b/randomtab.h index 12d98c2..a4917a0 100644 --- a/randomtab.h +++ b/randomtab.h @@ -26,6 +26,7 @@ class RandomTab : public QWidget {          enum CustomRoles { IdRole = Qt::UserRole + 1, SizeRole = Qt::UserRole + 2, DurationRole = Qt::UserRole + 3, DvdNoRole = Qt::UserRole + 4 };          enum { ColumnCount = 6 };          explicit RandomTab(QWidget *parent = 0); +        virtual ~RandomTab();      public slots:          void setupModels(); @@ -36,6 +37,8 @@ class RandomTab : public QWidget {      private:          void setupGui(); +        void writeSettings(); +        void readSettings();          QStringList validDvdNos();          QComboBox *mGenre1;          QComboBox *mGenre2; | 
