-rw-r--r-- | library/global.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/library/global.h b/library/global.h index fdf8754..1136b12 100644 --- a/library/global.h +++ b/library/global.h | |||
@@ -1,9 +1,8 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2002 Holger 'zecke' Freyther <freyther@kde.org> | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
4 | ** | 3 | ** |
5 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
6 | ** | 5 | ** |
7 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
8 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
9 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
@@ -45,10 +44,8 @@ public: | |||
45 | 44 | ||
46 | static void createDocDir(); | 45 | static void createDocDir(); |
47 | 46 | ||
48 | static void findDocuments(DocLnkSet* folder, const QString &mimefilter=QString::null); | 47 | static void findDocuments(DocLnkSet* folder, const QString &mimefilter=QString::null); |
49 | // we don't need a mimefilter. Same as above but this is fast as light speed or not ;) | ||
50 | //static void findNewDocuments( DocLnkSet* folder ); | ||
51 | 48 | ||
52 | static QString applicationFileName(const QString& appname, const QString& filename); | 49 | static QString applicationFileName(const QString& appname, const QString& filename); |
53 | 50 | ||
54 | struct Command { | 51 | struct Command { |
@@ -58,9 +55,8 @@ public: | |||
58 | bool documentary; | 55 | bool documentary; |
59 | }; | 56 | }; |
60 | static void setBuiltinCommands( Command* ); | 57 | static void setBuiltinCommands( Command* ); |
61 | 58 | ||
62 | static void invoke( const QString &exec); | ||
63 | static void execute( const QString &exec, const QString &document=QString::null ); | 59 | static void execute( const QString &exec, const QString &document=QString::null ); |
64 | static void setDocument( QWidget* receiver, const QString& document ); | 60 | static void setDocument( QWidget* receiver, const QString& document ); |
65 | static bool terminateBuiltin( const QString& ); | 61 | static bool terminateBuiltin( const QString& ); |
66 | static void terminate( const AppLnk* ); | 62 | static void terminate( const AppLnk* ); |
@@ -85,8 +81,9 @@ public: | |||
85 | static QStringList helpPath(); | 81 | static QStringList helpPath(); |
86 | #endif | 82 | #endif |
87 | 83 | ||
88 | private: | 84 | private: |
85 | static void invoke( const QString &exec); | ||
89 | static Command* builtin; | 86 | static Command* builtin; |
90 | static QGuardedPtr<QWidget> *running; | 87 | static QGuardedPtr<QWidget> *running; |
91 | }; | 88 | }; |
92 | 89 | ||