Persist size and treeview header state in preview dialog

- renamed variable m_headerState
 - renamed PreviewSelect class to PreviewSelectDialog
 - renamed previewselect files to previewselectdialog
This commit is contained in:
silver 2017-09-11 20:32:11 +02:00
commit 3b4fd35dde
No known key found for this signature in database
GPG key ID: 7AF60D549724DEEF
9 changed files with 84 additions and 40 deletions

View file

@ -90,7 +90,7 @@ class Preferences: public QObject
const QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const;
void setValue(const QString &key, const QVariant &value);
static Preferences* m_instance;
static Preferences *m_instance;
signals:
void changed();
@ -98,7 +98,7 @@ signals:
public:
static void initInstance();
static void freeInstance();
static Preferences* instance();
static Preferences *instance();
// General options
QString getLocale() const;
@ -328,7 +328,7 @@ public:
int getToolbarTextPosition() const;
void setToolbarTextPosition(const int position);
//From old RssSettings class
// From old RssSettings class
bool isRSSWidgetEnabled() const;
void setRSSWidgetVisible(const bool enabled);