Diffstat (limited to 'libopie2/opiecore/oapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/oapplication.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opiecore/oapplication.h b/libopie2/opiecore/oapplication.h index da5b905..a3f2201 100644 --- a/libopie2/opiecore/oapplication.h +++ b/libopie2/opiecore/oapplication.h | |||
@@ -83,23 +83,28 @@ class OApplication : public OpieApplication | |||
83 | /** | 83 | /** |
84 | * Shows the main @a widget and sets the name of the application as window caption. | 84 | * Shows the main @a widget and sets the name of the application as window caption. |
85 | */ | 85 | */ |
86 | virtual void showMainWidget( QWidget* widget, bool nomax = false ); | 86 | virtual void showMainWidget( QWidget* widget, bool nomax = false ); |
87 | /** | 87 | /** |
88 | * Set the application title. The application title will be concatenated | 88 | * Set the application title. The application title will be concatenated |
89 | * to the application name given in the constructor. | 89 | * to the application name given in the constructor. |
90 | * | 90 | * |
91 | * @param title the title. If not given, resets caption to appname | 91 | * @param title the title. If not given, resets caption to appname |
92 | */ | 92 | */ |
93 | virtual void setTitle( const QString& title = QString::null ) const; | 93 | virtual void setTitle( const QString& title = QString::null ) const; |
94 | 94 | ||
95 | /** | ||
96 | * see qpeDir() | ||
97 | */ | ||
98 | static QString opieDir() {return qpeDir();}; | ||
99 | |||
95 | protected: | 100 | protected: |
96 | void init(); | 101 | void init(); |
97 | 102 | ||
98 | private: | 103 | private: |
99 | const QCString _appname; | 104 | const QCString _appname; |
100 | static OApplication* _instance; | 105 | static OApplication* _instance; |
101 | OConfig* _config; | 106 | OConfig* _config; |
102 | OApplicationPrivate* d; | 107 | OApplicationPrivate* d; |
103 | }; | 108 | }; |
104 | 109 | ||
105 | #endif // OAPPLICATION_H | 110 | #endif // OAPPLICATION_H |