summaryrefslogtreecommitdiff
authoralwin <alwin>2004-02-21 13:19:19 (UTC)
committer alwin <alwin>2004-02-21 13:19:19 (UTC)
commit814c3c8957f25d1436ce0b63c4201bbd2f340e7f (patch) (unidiff)
tree613d6b1bf12756d5fcb8dddc60bda63e30f97a8a
parent4024cfd1e32a43d82361d6ba9977fe64db88e3ce (diff)
downloadopie-814c3c8957f25d1436ce0b63c4201bbd2f340e7f.zip
opie-814c3c8957f25d1436ce0b63c4201bbd2f340e7f.tar.gz
opie-814c3c8957f25d1436ce0b63c4201bbd2f340e7f.tar.bz2
docs
Diffstat (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
@@ -78,13 +78,23 @@ public:
78 //@} 78 //@}
79 79
80 /** @name File Operations 80 /** @name File Operations
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 );
88 static bool truncateFile( QFile &f, off_t size ); 98 static bool truncateFile( QFile &f, off_t size );
89 //@} 99 //@}
90 100