-rw-r--r-- | library/qpeapplication.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 6486cad..7c99a9a 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h | |||
@@ -108,64 +108,66 @@ public: | |||
108 | AlwaysOff, | 108 | AlwaysOff, |
109 | AlwaysOn | 109 | AlwaysOn |
110 | }; | 110 | }; |
111 | 111 | ||
112 | enum screenSaverHint { | 112 | enum screenSaverHint { |
113 | Disable = 0, | 113 | Disable = 0, |
114 | DisableLightOff = 1, | 114 | DisableLightOff = 1, |
115 | DisableSuspend = 2, | 115 | DisableSuspend = 2, |
116 | Enable = 100 | 116 | Enable = 100 |
117 | }; | 117 | }; |
118 | 118 | ||
119 | static void setInputMethodHint( QWidget *, InputMethodHint ); | 119 | static void setInputMethodHint( QWidget *, InputMethodHint ); |
120 | static InputMethodHint inputMethodHint( QWidget * ); | 120 | static InputMethodHint inputMethodHint( QWidget * ); |
121 | 121 | ||
122 | void showMainWidget( QWidget*, bool nomax=FALSE ); | 122 | void showMainWidget( QWidget*, bool nomax=FALSE ); |
123 | void showMainDocumentWidget( QWidget*, bool nomax=FALSE ); | 123 | void showMainDocumentWidget( QWidget*, bool nomax=FALSE ); |
124 | 124 | ||
125 | static void showDialog( QDialog*, bool nomax=FALSE ) QPE_WEAK_SYMBOL; | 125 | static void showDialog( QDialog*, bool nomax=FALSE ) QPE_WEAK_SYMBOL; |
126 | static int execDialog ( QDialog*, bool nomax=FALSE ) QPE_WEAK_SYMBOL; | 126 | static int execDialog ( QDialog*, bool nomax=FALSE ) QPE_WEAK_SYMBOL; |
127 | static void showWidget( QWidget*, bool nomax=FALSE ) QPE_WEAK_SYMBOL; | 127 | static void showWidget( QWidget*, bool nomax=FALSE ) QPE_WEAK_SYMBOL; |
128 | /* Merge setTempScreenSaverMode */ | 128 | /* Merge setTempScreenSaverMode */ |
129 | #ifdef QTOPIA_INTERNAL_INITAPP | 129 | #ifdef QTOPIA_INTERNAL_INITAPP |
130 | void initApp( int argv, char **argv ); | 130 | void initApp( int argv, char **argv ); |
131 | #endif | 131 | #endif |
132 | 132 | ||
133 | static void setKeepRunning(); | 133 | static void setKeepRunning(); |
134 | bool keepRunning() const; | 134 | bool keepRunning() const; |
135 | 135 | ||
136 | bool keyboardGrabbed() const; | 136 | bool keyboardGrabbed() const; |
137 | 137 | ||
138 | int exec(); | 138 | int exec(); |
139 | 139 | ||
140 | static bool isSaveWindowsPos(); | ||
141 | |||
140 | signals: | 142 | signals: |
141 | void clientMoused(); | 143 | void clientMoused(); |
142 | void timeChanged(); | 144 | void timeChanged(); |
143 | void clockChanged( bool pm ); | 145 | void clockChanged( bool pm ); |
144 | void micChanged( bool muted ); | 146 | void micChanged( bool muted ); |
145 | void volumeChanged( bool muted ); | 147 | void volumeChanged( bool muted ); |
146 | void appMessage( const QCString& msg, const QByteArray& data); | 148 | void appMessage( const QCString& msg, const QByteArray& data); |
147 | void weekChanged( bool startOnMonday ); | 149 | void weekChanged( bool startOnMonday ); |
148 | void dateFormatChanged( DateFormat ); | 150 | void dateFormatChanged( DateFormat ); |
149 | void flush(); | 151 | void flush(); |
150 | void reload(); | 152 | void reload(); |
151 | /* linkChanged signal */ | 153 | /* linkChanged signal */ |
152 | 154 | ||
153 | private slots: | 155 | private slots: |
154 | void systemMessage( const QCString &msg, const QByteArray &data ); | 156 | void systemMessage( const QCString &msg, const QByteArray &data ); |
155 | void pidMessage( const QCString &msg, const QByteArray &data ); | 157 | void pidMessage( const QCString &msg, const QByteArray &data ); |
156 | void removeSenderFromStylusDict(); | 158 | void removeSenderFromStylusDict(); |
157 | void hideOrQuit(); | 159 | void hideOrQuit(); |
158 | 160 | ||
159 | protected: | 161 | protected: |
160 | bool qwsEventFilter( QWSEvent * ); | 162 | bool qwsEventFilter( QWSEvent * ); |
161 | void internalSetStyle( const QString &style ); | 163 | void internalSetStyle( const QString &style ); |
162 | void prepareForTermination(bool willrestart); | 164 | void prepareForTermination(bool willrestart); |
163 | virtual void restart(); | 165 | virtual void restart(); |
164 | virtual void shutdown(); | 166 | virtual void shutdown(); |
165 | bool eventFilter( QObject *, QEvent * ); | 167 | bool eventFilter( QObject *, QEvent * ); |
166 | void timerEvent( QTimerEvent * ); | 168 | void timerEvent( QTimerEvent * ); |
167 | bool raiseAppropriateWindow(); | 169 | bool raiseAppropriateWindow(); |
168 | virtual void tryQuit(); | 170 | virtual void tryQuit(); |
169 | private: | 171 | private: |
170 | void mapToDefaultAction( QWSKeyEvent *ke, int defKey ); | 172 | void mapToDefaultAction( QWSKeyEvent *ke, int defKey ); |
171 | void processQCopFile(); | 173 | void processQCopFile(); |