From a5a2707ad816bb423b5ea1086bc1286d0b97e2a2 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 16 Aug 2013 15:03:18 +0000 Subject: added possibility to disable groups (not working yet) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3612 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmanager.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/qmmpui/playlistmanager.h') diff --git a/src/qmmpui/playlistmanager.h b/src/qmmpui/playlistmanager.h index d543e14fa..4f8447778 100644 --- a/src/qmmpui/playlistmanager.h +++ b/src/qmmpui/playlistmanager.h @@ -262,6 +262,11 @@ public slots: * This is a convenience function and is the same as calling \b selectedPlayList()->stopAfterSelected() */ void stopAfterSelected(); + /*! + * Enables or disables playlist groups + * * @param enabled State of the groups (\b true - enabled, \b false - disabled) + */ + void setGroupsEnabled(bool enabled); /*! * Read the relevant settings. */ @@ -277,6 +282,7 @@ private: PlayListModel *m_current; PlayListModel *m_selected; bool m_repeatable, m_shuffle, m_autosave_playlist; + bool m_groups_enabled; QTimer *m_timer; }; -- cgit v1.2.3-13-gbd6f