aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qmmpui/playlistmodel.h4
-rw-r--r--src/qmmpui/qmmpuisettings.h11
2 files changed, 13 insertions, 2 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index 0eb6ab09f..eff44313f 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -255,11 +255,11 @@ public:
*/
bool contains(const QString &url);
/*!
- * Enum of available sort modes
+ * Enum of the available sort modes
*/
enum SortMode
{
- TITLE, /*!< by title */
+ TITLE = 0, /*!< by title */
ALBUM, /*!< by album */
DISCNUMBER, /*!< by discnumber */
ARTIST, /*!< by artist */
diff --git a/src/qmmpui/qmmpuisettings.h b/src/qmmpui/qmmpuisettings.h
index 45e36feea..1e87e6702 100644
--- a/src/qmmpui/qmmpuisettings.h
+++ b/src/qmmpui/qmmpuisettings.h
@@ -42,6 +42,17 @@ public:
*/
virtual ~QmmpUiSettings();
/*!
+ * Enum of the available group formats
+ */
+ enum GroupFormat
+ {
+ NONE = 0, /*!< disable groups */
+ ARTIST_ALBUM, /*!< by artist/album */
+ ARTIST_DATE_ALBUM, /*!< by artist/date/album */
+ ARTIST, /*!< by artist */
+ CUSTOM /*!< by user defined formar */
+ };
+ /*!
* Returns state of the "Convert underscores to blanks" option (\b true - enabled, \b false - disabled).
*/
bool convertUnderscore() const;