#include <qmmpuisettings.h>
List of all members.
Detailed Description
The QmmpUiSettings class provides access to global libqmmpui library settings.
- Author:
- Ilya Kotov <forkotov02@hotmail.ru>
Constructor & Destructor Documentation
Member Function Documentation
Return the current setting for the playlist auto-save option.
- Returns:
- true if the playlist should be saved automatically, false otherwise.
Return the current setting for the option to clear playlist when opening new one.
- Returns:
- true if the playlist should be saved automatically, false otherwise.
Returns state of the "Convert %20 to blanks" option (true - enabled, false - disabled).
Returns state of the "Convert underscores to blanks" option (true - enabled, false - disabled).
Returns default playlist name.
Returns a list of filters which should be excluded from incoming files while directory scanning.
Returns playlist group format.
Emitted when state of the "Group tracks" option has changed.
- Parameters:
-
state | New state of the "Group tracks" option (true - enabled, false disabled |
Returns true if the playlist groups are enabled. Otherwise returns false.
Returns true if "No playlist advance" option is enabled, otherwise returns false
Returns state of "Repeat All" option.
Returns true if "Repeate Track" option is enabled, otherwise returns false
Returns state of "Shuffle" option.
Emitted when state of the "No playlist advance" option changes.
- Parameters:
-
enabled | New state of this option (true - no playlist advance, false - normal playlist behaviour) |
Emitted when state of the "Repeat All" option has changed.
- Parameters:
-
state | New state of the "Repeat All" option (true - enabled, false disabled) |
Tracks current track repeat state;
- Parameters:
-
enabled | New repeate state of the current track (true - enabled, false - disabled) |
Returns a list of filters which should be used for directory scanning.
Returns true if option "Resume On Startup" is enabled, otherwise returns false
Enable/disable playlist auto-saving.
- Parameters:
-
enabled | New setting for the auto-save option (true to enable) |
Enable/disable feature to clear previous playlist when opening new one.
- Parameters:
-
enabled | New setting for this option (true to enable) |
Sets the "Convert %20 to blanks" option state to enabled
- Parameters:
-
enabled | Option state (true - enabled, false - disabled) |
Sets the "Convert underscores to blanks" option state to enabled
- Parameters:
-
enabled | Option state (true - enabled, false - disabled) |
Sets default playlist options.
- Parameters:
-
name | Default playlist name. |
enabled | Default playlist state (true - enabled, false - disabled). |
Sets a list of filters which should be excluded from incoming files while directory scanning.
- Parameters:
-
filters | A set of filters separated by semicolon (Example: *.cue,*.ogg). |
Enables or disables playlist groups *
- Parameters:
-
enabled | State of the groups (true - enabled, false - disabled) |
When finished playing a song, don't automatically advance to the next
- Parameters:
-
enabled | State of the 'No playlist advance' option (true - enabled, false - normal playback) |
Prepares all playlists for repeatable playing (loop mode).
- Parameters:
-
r | State of the repeatable mode (true - enabled, false - disabled) |
Toggles the current track repeat.
- Parameters:
-
enabled | Repeate state of the current track (true - to repeat, false - to stop repeating) |
Disables all builtin directory scanning filters and sets them to filters (Example: *.mp3,*.ogg).
Sets the "Resume on startup" option state to enabled
- Parameters:
-
enabled | Option state (true - enabled, false - disabled) |
Prepares all playlists for shuffle playing.
- Parameters:
-
s | State of the shuffle mode (true - enabled, false - disabled) |
Sets the "Use clipboard in the URL dialog" option state to enabled
- Parameters:
-
enabled | Option state (true - enabled, false - disabled) |
Sets metadata usage option state to enabled
- Parameters:
-
enabled | Option state (true - enabled, false - disabled) |
Emitted when state of the "Shuffle" option has changed.
- Parameters:
-
state | New state of the "Shuffle" option (true - enabled, false disabled) |
Returns true if option "Use clipboard in the URL dialog" is enabled, otherwise returns false
Returns true if defaut playlist is enabled, othewise returns false. Default playlist receives files from command line.
Returns the state of metadata usage (true - use, false - not use).
The documentation for this class was generated from the following file: