Diffstat (limited to 'libopie2/opiecore/oapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/oapplication.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libopie2/opiecore/oapplication.h b/libopie2/opiecore/oapplication.h index d34e6b1..709d73a 100644 --- a/libopie2/opiecore/oapplication.h +++ b/libopie2/opiecore/oapplication.h | |||
@@ -92,24 +92,35 @@ class OApplication : public QPEApplication | |||
92 | /** | 92 | /** |
93 | * Shows the main @a widget and sets the name of the application as window caption. | 93 | * Shows the main @a widget and sets the name of the application as window caption. |
94 | */ | 94 | */ |
95 | virtual void showMainWidget( QWidget* widget, bool nomax = false ); | 95 | virtual void showMainWidget( QWidget* widget, bool nomax = false ); |
96 | /** | 96 | /** |
97 | * Set the application title. The application title will be concatenated | 97 | * Set the application title. The application title will be concatenated |
98 | * to the application name given in the constructor. | 98 | * to the application name given in the constructor. |
99 | * | 99 | * |
100 | * @param title the title. If not given, resets caption to appname | 100 | * @param title the title. If not given, resets caption to appname |
101 | */ | 101 | */ |
102 | virtual void setTitle( const QString& title = QString::null ) const; | 102 | virtual void setTitle( const QString& title = QString::null ) const; |
103 | 103 | ||
104 | signals: | ||
105 | |||
106 | /** | ||
107 | * Emit signals when messages are received on QPE/System | ||
108 | * QCOP Channel. | ||
109 | * | ||
110 | * @param msg The QCOP Message | ||
111 | * @param data The QCOP Data | ||
112 | */ | ||
113 | void systemMessageSignal(const QCString& msg, const QByteArray& data); | ||
114 | |||
104 | protected: | 115 | protected: |
105 | void init(); | 116 | void init(); |
106 | 117 | ||
107 | private: | 118 | private: |
108 | const QCString _appname; | 119 | const QCString _appname; |
109 | static OApplication* _instance; | 120 | static OApplication* _instance; |
110 | OConfig* _config; | 121 | OConfig* _config; |
111 | Internal::OApplicationPrivate* d; | 122 | Internal::OApplicationPrivate* d; |
112 | }; | 123 | }; |
113 | 124 | ||
114 | } // Core | 125 | } // Core |
115 | } // Opie | 126 | } // Opie |