summaryrefslogtreecommitdiffstats
path: root/randomtab.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-11-11 05:29:47 +0100
committerArno <arno@disconnect.de>2016-11-11 05:29:47 +0100
commit929a4bc23baf083effd11ec685f912f8b51591ff (patch)
tree3b19c73958ef15c67e9eedab5830a525bf5468f4 /randomtab.h
parentf686dd4c13215bb02e456456e512daed076028a7 (diff)
downloadSheMov-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.h3
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;