aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/qmmpuisettings.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-11-12 21:47:42 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-11-12 21:47:42 +0000
commita3c742d104f03cc7c86b112bee7a0e54e5ea67a9 (patch)
tree33ca780ad7434db995778404d2a1700e90931ade /src/qmmpui/qmmpuisettings.h
parent762952cbe88701a9fb71475768a18f32b199617e (diff)
downloadqmmp-a3c742d104f03cc7c86b112bee7a0e54e5ea67a9.tar.gz
qmmp-a3c742d104f03cc7c86b112bee7a0e54e5ea67a9.tar.bz2
qmmp-a3c742d104f03cc7c86b112bee7a0e54e5ea67a9.zip
feature to disable tag reading while loading a playlist(#925)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8419 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/qmmpuisettings.h')
-rw-r--r--src/qmmpui/qmmpuisettings.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/qmmpui/qmmpuisettings.h b/src/qmmpui/qmmpuisettings.h
index 685122ccb..36e0f930a 100644
--- a/src/qmmpui/qmmpuisettings.h
+++ b/src/qmmpui/qmmpuisettings.h
@@ -159,7 +159,7 @@ public:
*/
void setAutoSavePlayList(bool enabled);
/*!
- * Return the current setting for the playlist auto-save option.
+ * Returns the current setting for the playlist auto-save option.
* @return \b true if the playlist should be saved automatically, \b false
* otherwise.
*/
@@ -170,12 +170,22 @@ public:
*/
void setClearPreviousPlayList(bool enabled);
/*!
- * Return the current setting for the option to clear playlist when opening new one.
+ * Returns the current setting for the option to clear playlist when opening new one.
* @return \b true if the playlist should be saved automatically, \b false
* otherwise.
*/
bool clearPreviousPlayList() const;
/*!
+ * Returns the current setting for the option to read tags when loading a playlist.
+ * \return \b true if tag reading is enabled, \b false otherwise.
+ */
+ bool readMetaDataForPlayLists() const;
+ /*!
+ * Enable/disable tag reading when loading a playlist.
+ * @param enabled New setting for this option (\b true to enable)
+ */
+ void setReadMetaDataForPlayLists(bool enabled);
+ /*!
* Returns a pointer to the QmmpUiSettings instance.
*/
static QmmpUiSettings* instance();
@@ -256,6 +266,7 @@ private:
bool m_repeat_track;
bool m_no_pl_advance;
bool m_clear_prev_playlist;
+ bool m_read_metadata_for_playlist;
//general
bool m_resume_on_startup;
QStringList m_exclude_filters, m_restrict_filters;