Sayonara Player
Namespaces | Classes | Macros | Enumerations
Settings classes

Detailed Description

the Settings framework

Namespaces

 Set
 Set namespace defines the setting: Which key and which type.
 
 SettingRegistry
 The SettingRegistry class.
 

Classes

class  AbstrSetting
 The AbstrSetting class
Every setting needs a key and a value The SettingKey is only used inside the setting mechanism. More...
 
class  Setting< T, SC >
 The Setting class
T is the pure value type e.g. QString. More...
 
class  SettingConverter< T >
 The SettingConverter class. More...
 
class  SettingConverter< bool >
 The SettingConverter<bool> class. More...
 
class  SettingConverter< int >
 The SettingConverter<int> class. More...
 
class  SettingConverter< QStringList >
 The SettingConverter<QStringList> class. More...
 
class  SettingConverter< QString >
 The SettingConverter<QString> class. More...
 
class  SettingConverter< QSize >
 The SettingConverter<QSize> class. More...
 
class  SettingConverter< QPoint >
 The SettingConverter<QPoint> class. More...
 
class  SettingConverter< QByteArray >
 The SettingConverter<QByteArray> class. More...
 
class  SettingConverter< QList< T > >
 The SettingConverter<QList<T> > class. More...
 
class  SettingConverter< BoolList >
 The SettingConverter<QList<T> > class. More...
 
class  SettingConverter< QPair< A, B > >
 The SettingConverter<QPair<A, B> > class. More...
 
class  Settings
 The Settings class. More...
 

Macros

#define INST(type, settingkey)   static const SettingIdentifier<type, SettingKey:: settingkey> settingkey
 MACRO INST use this macro to declare a setting:
INST(boo, LFM_Active) is expanded to
typedef SettingKey<bool, SK::LFM_Active> LFM_Active_t; const LFM_Active_t LFM_Active.
 

Enumerations

enum  SettingKey : unsigned short {
  LFM_Active =0,
  LFM_ScrobbleTimeSec,
  LFM_Login,
  LFM_Corrections,
  LFM_ShowErrors,
  LFM_SessionKey,
  Eq_Last,
  Eq_List,
  Eq_Gauss,
  Lib_Show,
  Lib_Path,
  Lib_ColsTitle,
  Lib_ColsArtist,
  Lib_ColsAlbum,
  Lib_LiveSearch,
  Lib_Sorting,
  Lib_CurPlugin,
  Lib_SplitterStateArtist,
  Lib_SplitterStateTrack,
  Lib_SplitterStateGenre,
  Lib_SplitterStateDate,
  Lib_OldWidth,
  Lib_DC_DoNothing,
  Lib_DC_PlayIfStopped,
  Lib_DC_PlayImmediately,
  Lib_DD_DoNothing,
  Lib_DD_PlayIfStoppedAndEmpty,
  Lib_FontSize,
  Lib_FontBold,
  Lib_SearchMode,
  Lib_AutoUpdate,
  Lib_ShowAlbumArtists,
  Lib_ShowAlbumCovers,
  Lib_CoverZoom,
  Lib_CoverShowUtils,
  Lib_GenreTree,
  Lib_LastIndex,
  Lib_AllLibraries,
  Lib_UseViewClearButton,
  Dir_ShowTracks,
  Dir_SplitterDirFile,
  Dir_SplitterTracks,
  Player_Version,
  Player_Language,
  Player_FontName,
  Player_FontSize,
  Player_Style,
  Player_Size,
  Player_Pos,
  Player_Fullscreen,
  Player_Maximized,
  Player_ShownPlugin,
  Player_OneInstance,
  Player_Min2Tray,
  Player_StartInTray,
  Player_ShowTrayIcon,
  Player_NotifyNewVersion,
  Player_SplitterState,
  Player_Shortcuts,
  PL_Playlist,
  PL_LoadSavedPlaylists,
  PL_LoadTemporaryPlaylists,
  PL_LoadLastTrack,
  PL_RememberTime,
  PL_StartPlaying,
  PL_LastTrack,
  PL_LastPlaylist,
  PL_Mode,
  PL_ShowNumbers,
  PL_EntryLook,
  PL_FontSize,
  PL_ShowClearButton,
  PL_RememberTrackAfterStop,
  Notification_Show,
  Notification_Timeout,
  Notification_Name,
  Engine_Name,
  Engine_Vol,
  Engine_Mute,
  Engine_ConvertQuality,
  Engine_CovertTargetPath,
  Engine_SpectrumBins,
  Engine_ShowSpectrum,
  Engine_ShowLevel,
  Engine_CurTrackPos_s,
  Engine_CrossFaderActive,
  Engine_CrossFaderTime,
  Engine_Pitch,
  Engine_PreservePitch,
  Engine_Speed,
  Engine_SpeedActive,
  Engine_Sink,
  Engine_SR_Active,
  Engine_SR_Warning,
  Engine_SR_Path,
  Engine_SR_SessionPath,
  Engine_SR_SessionPathTemplate,
  Engine_SR_AutoRecord,
  Spectrum_Style,
  Level_Style,
  Broadcast_Active,
  Broadcast_Prompt,
  Broadcast_Port,
  MP3enc_found,
  Pitch_found,
  Player_Quit,
  Remote_Active,
  Remote_Port,
  Stream_NewTab,
  Stream_ShowHistory,
  Lyrics_Zoom,
  Lyrics_Server,
  Cover_Server,
  Cover_LoadFromFile,
  Icon_Theme,
  Icon_ForceInDarkTheme,
  Proxy_Active,
  Proxy_Username,
  Proxy_Password,
  Proxy_Hostname,
  Proxy_Port,
  Proxy_SavePw,
  Num_Setting_Keys
}
 The SK namespace is used to access setting keys.