diff options
Diffstat (limited to 'tdecore/tdeglobalsettings.h')
-rw-r--r-- | tdecore/tdeglobalsettings.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tdecore/tdeglobalsettings.h b/tdecore/tdeglobalsettings.h index 1570dc5a5..18b59fc12 100644 --- a/tdecore/tdeglobalsettings.h +++ b/tdecore/tdeglobalsettings.h @@ -278,6 +278,18 @@ class TDECORE_EXPORT TDEGlobalSettings static TQString picturesPath() { initStatic(); return *s_picturesPath; } /** + * The path where templates are stored of the current user. + * @return the path of the templates directory + */ + static TQString templatesPath() { initStatic(); return *s_templatesPath; } + + /** + * The path of the public share of the current user. + * @return the path of the public share directory + */ + static TQString publicSharePath() { initStatic(); return *s_publicSharePath; } + + /** * The default color to use when highlighting toolbar buttons. * @return the toolbar highlight color */ @@ -584,6 +596,8 @@ private: static TQString* s_trashPath; static TQString* s_documentPath; static TQString* s_picturesPath; + static TQString* s_templatesPath; + static TQString* s_publicSharePath; static TQString* s_downloadPath; static TQString* s_musicPath; static TQString* s_videosPath; |