summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oglobal.h
authorzecke <zecke>2004-04-04 23:14:28 (UTC)
committer zecke <zecke>2004-04-04 23:14:28 (UTC)
commit76a3fc46db5f097262d3cda9df49d757e96e660c (patch) (unidiff)
treee9f255a0561809e40626a9576bb77a6f86622b09 /libopie2/opiecore/oglobal.h
parent4068b42526afa8da95f1299c7f8f5f10081ae4b0 (diff)
downloadopie-76a3fc46db5f097262d3cda9df49d757e96e660c.zip
opie-76a3fc46db5f097262d3cda9df49d757e96e660c.tar.gz
opie-76a3fc46db5f097262d3cda9df49d757e96e660c.tar.bz2
Add Postroutines which seem to not work...
Create a Debug Backend on first invocation. Sad thing is we still need to get reconfiguration of the settings.. OpieConfigXT is needed
Diffstat (limited to 'libopie2/opiecore/oglobal.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oglobal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opiecore/oglobal.h b/libopie2/opiecore/oglobal.h
index e6a6c46..d79a218 100644
--- a/libopie2/opiecore/oglobal.h
+++ b/libopie2/opiecore/oglobal.h
@@ -78,31 +78,31 @@ public:
78 * 78 *
79 */ 79 */
80 //@{ 80 //@{
81 static bool isAppLnkFileName( const QString& str ); 81 static bool isAppLnkFileName( const QString& str );
82 static bool isDocumentFileName( const QString& file ); 82 static bool isDocumentFileName( const QString& file );
83 //@} 83 //@}
84 84
85 /** @name File Operations 85 /** @name File Operations
86 * File operations provided by OGlobal 86 * File operations provided by OGlobal
87 */ 87 */
88 //@{ 88 //@{
89 /** the content of TEMP 89 /** the content of TEMP
90 * reads the environment variable TEMP and returns the content. 90 * reads the environment variable TEMP and returns the content.
91 * if not set returns "/tmp" 91 * if not set returns "/tmp"
92 * @return a string containing a dir without trailing slash! 92 * @return a string containing a dir without trailing slash!
93 */ 93 */
94 static QString tempDirPath(); 94 static QString tempDirPath();
95 /** the content of HOME 95 /** the content of HOME
96 * reads the environment variable HOME and returns the content. 96 * reads the environment variable HOME and returns the content.
97 * if not set returns "/" 97 * if not set returns "/"
98 * @return a string containing a dir without trailing slash! 98 * @return a string containing a dir without trailing slash!
99 */ 99 */
100 static QString homeDirPath(); 100 static QString homeDirPath();
101 static QString tempFileName( const QString& ); 101 static QString tempFileName( const QString& );
102 static bool renameFile( const QString& from, const QString& to ); 102 static bool renameFile( const QString& from, const QString& to );
103 static bool truncateFile( QFile &f, off_t size ); 103 static bool truncateFile( QFile &f, off_t size );
104 //@} 104 //@}
105 105
106 106
107 static QString generateUuid(); 107 static QString generateUuid();
108 108
@@ -140,20 +140,21 @@ public:
140 140
141 141
142 static void setWeekStartsOnMonday( bool ); 142 static void setWeekStartsOnMonday( bool );
143 static void setUseAMPM( bool ); 143 static void setUseAMPM( bool );
144 //@} 144 //@}
145 145
146 //@{ 146 //@{
147 static Global::Command* builtinCommands(); 147 static Global::Command* builtinCommands();
148 static QGuardedPtr<QWidget>* builtinRunning(); 148 static QGuardedPtr<QWidget>* builtinRunning();
149 //@} 149 //@}
150 150
151private: 151private:
152 static void clean_up();
152 static OConfig* _config; 153 static OConfig* _config;
153 static OConfig* _qpe_config; 154 static OConfig* _qpe_config;
154 class Private; 155 class Private;
155 Private *d; 156 Private *d;
156}; 157};
157} 158}
158} 159}
159#endif // OGLOBAL_H 160#endif // OGLOBAL_H