diff options
Diffstat (limited to 'tdecore/tdeglobalsettings.h')
-rw-r--r-- | tdecore/tdeglobalsettings.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tdecore/tdeglobalsettings.h b/tdecore/tdeglobalsettings.h index ec286d2e4..1570dc5a5 100644 --- a/tdecore/tdeglobalsettings.h +++ b/tdecore/tdeglobalsettings.h @@ -253,6 +253,29 @@ class TDECORE_EXPORT TDEGlobalSettings */ static TQString documentPath() { initStatic(); return *s_documentPath; } + /** + * The path where documents are stored of the current user. + * @return the path of the videos directory + */ + static TQString videosPath() { initStatic(); return *s_videosPath; } + + /** + * The path where documents are stored of the current user. + * @return the path of the music directory + */ + static TQString musicPath() { initStatic(); return *s_musicPath; } + + /** + * The path where documents are stored of the current user. + * @return the path of the downloads directory + */ + static TQString downloadPath() { initStatic(); return *s_downloadPath; } + + /** + * The path where documents are stored of the current user. + * @return the path of the pictures directory + */ + static TQString picturesPath() { initStatic(); return *s_picturesPath; } /** * The default color to use when highlighting toolbar buttons. @@ -560,6 +583,10 @@ private: static TQString* s_autostartPath; static TQString* s_trashPath; static TQString* s_documentPath; + static TQString* s_picturesPath; + static TQString* s_downloadPath; + static TQString* s_musicPath; + static TQString* s_videosPath; static TQFont *_generalFont; static TQFont *_fixedFont; static TQFont *_toolBarFont; |