summaryrefslogtreecommitdiff
path: root/libopie2
Unidiff
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oglobal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libopie2/opiecore/oglobal.h b/libopie2/opiecore/oglobal.h
index 5b43f01..aeee75e 100644
--- a/libopie2/opiecore/oglobal.h
+++ b/libopie2/opiecore/oglobal.h
@@ -81,7 +81,17 @@ public:
81 * File operations provided by OGlobal 81 * File operations provided by OGlobal
82 */ 82 */
83 //@{ 83 //@{
84 /** the content of TEMP
85 * reads the environment variable TEMP and returns the content.
86 * if not set returns "/tmp"
87 * @return a string containing a dir without trailing slash!
88 */
84 static QString tempDirPath(); 89 static QString tempDirPath();
90 /** the content of HOME
91 * reads the environment variable HOME and returns the content.
92 * if not set returns "/"
93 * @return a string containing a dir without trailing slash!
94 */
85 static QString homeDirPath(); 95 static QString homeDirPath();
86 static QString tempFileName( const QString& ); 96 static QString tempFileName( const QString& );
87 static bool renameFile( const QString& from, const QString& to ); 97 static bool renameFile( const QString& from, const QString& to );