diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-17 16:21:22 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-17 16:21:22 +0000 |
| commit | 51f31d588dc227b06bd94b9a109592bcb0d3d239 (patch) | |
| tree | 48253c7e3f731d6749f50328e6df2e13760086df /src | |
| parent | 80298eeabade71a0969612d4b610cdc4fe3442e0 (diff) | |
| download | qmmp-51f31d588dc227b06bd94b9a109592bcb0d3d239.tar.gz qmmp-51f31d588dc227b06bd94b9a109592bcb0d3d239.tar.bz2 qmmp-51f31d588dc227b06bd94b9a109592bcb0d3d239.zip | |
added group enum
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3622 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 4 | ||||
| -rw-r--r-- | src/qmmpui/qmmpuisettings.h | 11 |
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; |
