diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-15 09:22:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-15 09:22:01 +0000 |
| commit | 2242b02f8156c33827a17ed281ce48c0c9664682 (patch) | |
| tree | e49966e61fc0a88b441c70e2b6008d02d0b87a38 /src/qmmpui/qmmpuisettings.h | |
| parent | 992cbd13d6888470b32a2897a290bd373432acdd (diff) | |
| download | qmmp-2242b02f8156c33827a17ed281ce48c0c9664682.tar.gz qmmp-2242b02f8156c33827a17ed281ce48c0c9664682.tar.bz2 qmmp-2242b02f8156c33827a17ed281ce48c0c9664682.zip | |
added timer for settings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3965 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/qmmpuisettings.h')
| -rw-r--r-- | src/qmmpui/qmmpuisettings.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/qmmpui/qmmpuisettings.h b/src/qmmpui/qmmpuisettings.h index c5b63f496..9df54b6ee 100644 --- a/src/qmmpui/qmmpuisettings.h +++ b/src/qmmpui/qmmpuisettings.h @@ -24,6 +24,8 @@ #include <QObject> #include <QStringList> +class QTimer; + /*! @brief The QmmpUiSettings class provides access to global libqmmpui library settings. * @author Ilya Kotov <forkotov02@hotmail.ru> */ @@ -202,10 +204,6 @@ signals: public slots: /*! - * Writes all unsaved settings to configuration file - */ - void sync(); - /*! * Prepares all playlists for repeatable playing (loop mode). * @param r State of the repeatable mode (\b true - enabled, \b false - disabled) */ @@ -232,6 +230,12 @@ public slots: */ void setNoPlayListAdvance(bool enabled); +private slots: + /*! + * Writes all unsaved settings to configuration file + */ + void sync(); + private: static QmmpUiSettings* m_instance; @@ -254,6 +258,8 @@ private: QString m_default_pl_name; //url dialog bool m_use_clipboard; + //timer + QTimer *m_timer; }; #endif // QMMPUISETTINGS_H |
