-rw-r--r-- | library/qpeapplication.cpp | 4 | ||||
-rw-r--r-- | library/qpeapplication.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 71ec5b3..bf353d4 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -1070,13 +1070,13 @@ void QPEApplication::setDefaultRotation( int r ) | |||
1070 | #include <qgfx_qws.h> | 1070 | #include <qgfx_qws.h> |
1071 | #include <qwindowsystem_qws.h> | 1071 | #include <qwindowsystem_qws.h> |
1072 | #include <qpixmapcache.h> | 1072 | #include <qpixmapcache.h> |
1073 | 1073 | ||
1074 | extern void qws_clearLoadedFonts(); | 1074 | extern void qws_clearLoadedFonts(); |
1075 | 1075 | ||
1076 | inline void QPEApplication::setCurrentMode( int x, int y, int depth ) | 1076 | void QPEApplication::setCurrentMode( int x, int y, int depth ) |
1077 | { | 1077 | { |
1078 | // Reset the caches | 1078 | // Reset the caches |
1079 | qws_clearLoadedFonts(); | 1079 | qws_clearLoadedFonts(); |
1080 | QPixmapCache::clear(); | 1080 | QPixmapCache::clear(); |
1081 | 1081 | ||
1082 | // Change the screen mode | 1082 | // Change the screen mode |
@@ -1089,13 +1089,13 @@ inline void QPEApplication::setCurrentMode( int x, int y, int depth ) | |||
1089 | 1089 | ||
1090 | // Get all the running apps to reset | 1090 | // Get all the running apps to reset |
1091 | QCopEnvelope env( "QPE/System", "reset()" ); | 1091 | QCopEnvelope env( "QPE/System", "reset()" ); |
1092 | } | 1092 | } |
1093 | } | 1093 | } |
1094 | 1094 | ||
1095 | inline void QPEApplication::reset() { | 1095 | void QPEApplication::reset() { |
1096 | // Reconnect to the screen | 1096 | // Reconnect to the screen |
1097 | qt_screen->disconnect(); | 1097 | qt_screen->disconnect(); |
1098 | qt_screen->connect( QString::null ); | 1098 | qt_screen->connect( QString::null ); |
1099 | 1099 | ||
1100 | // Redraw everything | 1100 | // Redraw everything |
1101 | applyStyle(); | 1101 | applyStyle(); |
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 42810e8..69e0058 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h | |||
@@ -113,13 +113,13 @@ private slots: | |||
113 | void systemMessage( const QCString &msg, const QByteArray &data ); | 113 | void systemMessage( const QCString &msg, const QByteArray &data ); |
114 | void pidMessage( const QCString &msg, const QByteArray &data ); | 114 | void pidMessage( const QCString &msg, const QByteArray &data ); |
115 | void removeSenderFromStylusDict(); | 115 | void removeSenderFromStylusDict(); |
116 | void hideOrQuit(); | 116 | void hideOrQuit(); |
117 | 117 | ||
118 | private: | 118 | private: |
119 | inline QWidget *nextWidget( QWidgetList*, QWidget* ); | 119 | QWidget *nextWidget( QWidgetList*, QWidget* ); |
120 | 120 | ||
121 | protected: | 121 | protected: |
122 | bool qwsEventFilter( QWSEvent * ); | 122 | bool qwsEventFilter( QWSEvent * ); |
123 | void internalSetStyle( const QString &style ); | 123 | void internalSetStyle( const QString &style ); |
124 | void prepareForTermination(bool willrestart); | 124 | void prepareForTermination(bool willrestart); |
125 | virtual void restart(); | 125 | virtual void restart(); |