diff options
Diffstat (limited to 'kdecore/kglobalsettings.h')
-rw-r--r-- | kdecore/kglobalsettings.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kdecore/kglobalsettings.h b/kdecore/kglobalsettings.h index b4bf0497f..0ef6e1883 100644 --- a/kdecore/kglobalsettings.h +++ b/kdecore/kglobalsettings.h @@ -278,6 +278,18 @@ class KDECORE_EXPORT KGlobalSettings 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; |