aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/qmmpuisettings.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-18 20:59:18 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-18 20:59:18 +0000
commit0ab7b051e4731dd0c2bb2e7769781bef74a81759 (patch)
tree9401b2f58cb72cad5839466a87161ff7e6041c5f /src/qmmpui/qmmpuisettings.h
parent5b878f53d3ab08dbebbde03fa74e906ac1ebab42 (diff)
downloadqmmp-0ab7b051e4731dd0c2bb2e7769781bef74a81759.tar.gz
qmmp-0ab7b051e4731dd0c2bb2e7769781bef74a81759.tar.bz2
qmmp-0ab7b051e4731dd0c2bb2e7769781bef74a81759.zip
added playlist transition option
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9230 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/qmmpuisettings.h')
-rw-r--r--src/qmmpui/qmmpuisettings.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/qmmpui/qmmpuisettings.h b/src/qmmpui/qmmpuisettings.h
index 569a2aa05..38b0ce94f 100644
--- a/src/qmmpui/qmmpuisettings.h
+++ b/src/qmmpui/qmmpuisettings.h
@@ -84,6 +84,10 @@ public:
*/
bool isNoPlayListAdvance() const;
/*!
+ * Returns \b true if transition between playlists is enabled, otherwise returns \b false
+ */
+ bool isPlayListTransitionEnabled() const;
+ /*!
* Sets the "Convert underscores to blanks" option state to \b enabled
* @param enabled Option state (\b true - enabled, \b false - disabled)
*/
@@ -217,6 +221,11 @@ signals:
* \b false - normal playlist behaviour)
*/
void noPlayListAdvanceChanged(bool enabled);
+ /*!
+ * Emitted when state of the "transition between playlists" option changes
+ * @param enabled State of transition (\b true - enabled, \b false - disabled)
+ */
+ void playListTransitionChanged(bool enabled) const;
public slots:
/*!
@@ -231,7 +240,7 @@ public slots:
void setShuffle(bool s);
/*!
* Enables or disables playlist groups
- * * @param enabled State of the groups (\b true - enabled, \b false - disabled)
+ * @param enabled State of the groups (\b true - enabled, \b false - disabled)
*/
void setGroupsEnabled(bool enabled);
/*!
@@ -245,6 +254,11 @@ public slots:
* (\b true - enabled, \b false - normal playback)
*/
void setNoPlayListAdvance(bool enabled);
+ /*!
+ * Enables or disables transition between playlists
+ * @param enabled State of transition (\b true - enabled, \b false - disabled)
+ */
+ void setPlayListTransitionEnabled(bool enabled);
private slots:
/*!
@@ -267,6 +281,7 @@ private:
bool m_no_pl_advance;
bool m_clear_prev_playlist;
bool m_read_metadata_for_playlist;
+ bool m_transit_between_playlists;
//general
bool m_resume_on_startup;
QStringList m_exclude_filters, m_restrict_filters;