author | llornkcor <llornkcor> | 2006-07-09 18:56:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2006-07-09 18:56:40 (UTC) |
commit | 36dece4760b1ac1799929221b49eb3bee98c2367 (patch) (unidiff) | |
tree | a45f66d2d90bd9fbbff8e8903cd1cb9323c39f6e /library/global.h | |
parent | 604065c6e662cb3894acf03abadafacc3ab52913 (diff) | |
download | opie-36dece4760b1ac1799929221b49eb3bee98c2367.zip opie-36dece4760b1ac1799929221b49eb3bee98c2367.tar.gz opie-36dece4760b1ac1799929221b49eb3bee98c2367.tar.bz2 |
initial commit to add video4linux camera app from qtopia 2, needs more work
-rw-r--r-- | library/global.h | 6 |
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 | |||
@@ -22,17 +22,17 @@ | |||
22 | 22 | ||
23 | #include <qstringlist.h> | 23 | #include <qstringlist.h> |
24 | #include <qguardedptr.h> | 24 | #include <qguardedptr.h> |
25 | class QDawg; | 25 | class QDawg; |
26 | class QLabel; | 26 | class QLabel; |
27 | class QWidget; | 27 | class QWidget; |
28 | class AppLnk; | 28 | class AppLnk; |
29 | class DocLnkSet; | 29 | class DocLnkSet; |
30 | 30 | class QFile; | |
31 | class Global | 31 | class Global |
32 | { | 32 | { |
33 | public: | 33 | public: |
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(); |
@@ -75,16 +75,20 @@ public: | |||
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 | ||
84 | private: | 88 | private: |
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 |