summaryrefslogtreecommitdiff
path: root/library/global.h
Unidiff
Diffstat (limited to 'library/global.h') (more/less context) (show whitespace changes)
-rw-r--r--library/global.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/library/global.h b/library/global.h
index 1136b12..f32c498 100644
--- a/library/global.h
+++ b/library/global.h
@@ -18,25 +18,25 @@
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef GLOBAL_H 20#ifndef GLOBAL_H
21#define GLOBAL_H 21#define GLOBAL_H
22 22
23#include <qstringlist.h> 23#include <qstringlist.h>
24#include <qguardedptr.h> 24#include <qguardedptr.h>
25class QDawg; 25class QDawg;
26class QLabel; 26class QLabel;
27class QWidget; 27class QWidget;
28class AppLnk; 28class AppLnk;
29class DocLnkSet; 29class DocLnkSet;
30 30class QFile;
31class Global 31class Global
32{ 32{
33public: 33public:
34 Global(); 34 Global();
35 35
36 // Dictionaries 36 // Dictionaries
37 static const QDawg& fixedDawg(); 37 static const QDawg& fixedDawg();
38 static const QDawg& addedDawg(); 38 static const QDawg& addedDawg();
39 static const QDawg& dawg(const QString& name); 39 static const QDawg& dawg(const QString& name);
40 40
41 static void addWords(const QStringList& word); 41 static void addWords(const QStringList& word);
42 static void addWords(const QString& dictname, const QStringList& word); 42 static void addWords(const QString& dictname, const QStringList& word);
@@ -71,20 +71,24 @@ public:
71 static void hideInputMethod(); 71 static void hideInputMethod();
72 static void showInputMethod(); 72 static void showInputMethod();
73 73
74 static void writeHWClock(); 74 static void writeHWClock();
75 75
76 static QString shellQuote(const QString& s); 76 static QString shellQuote(const QString& s);
77 static QString stringQuote(const QString& s); 77 static QString stringQuote(const QString& s);
78 78
79#ifdef QTOPIA_INTERNAL_LANGLIST 79#ifdef QTOPIA_INTERNAL_LANGLIST
80 static QStringList languageList(); 80 static QStringList languageList();
81 static QStringList helpPath(); 81 static QStringList helpPath();
82#endif 82#endif
83//#ifdef QTOPIA_INTERNAL_FILEOPERATIONS
84 static bool truncateFile(QFile &f, int size);
85 static QString tempDir( );
86//#endif
83 87
84private: 88private:
85 static void invoke( const QString &exec); 89 static void invoke( const QString &exec);
86 static Command* builtin; 90 static Command* builtin;
87 static QGuardedPtr<QWidget> *running; 91 static QGuardedPtr<QWidget> *running;
88}; 92};
89 93
90#endif 94#endif