-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 @@ -1064,44 +1064,44 @@ void QPEApplication::setDefaultRotation( int r ) } #endif } } #include <qgfx_qws.h> #include <qwindowsystem_qws.h> #include <qpixmapcache.h> extern void qws_clearLoadedFonts(); -inline void QPEApplication::setCurrentMode( int x, int y, int depth ) +void QPEApplication::setCurrentMode( int x, int y, int depth ) { // Reset the caches qws_clearLoadedFonts(); QPixmapCache::clear(); // Change the screen mode qt_screen->setMode(x, y, depth); if ( qApp->type() == GuiServer ) { // Reconfigure the GuiServer qwsServer->beginDisplayReconfigure(); qwsServer->endDisplayReconfigure(); // Get all the running apps to reset QCopEnvelope env( "QPE/System", "reset()" ); } } -inline void QPEApplication::reset() { +void QPEApplication::reset() { // Reconnect to the screen qt_screen->disconnect(); qt_screen->connect( QString::null ); // Redraw everything applyStyle(); } /*! \internal */ void QPEApplication::applyStyle() diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 42810e8..69e0058 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h @@ -107,25 +107,25 @@ signals: void dateFormatChanged( DateFormat ); void flush(); void reload(); /* linkChanged signal */ private slots: void systemMessage( const QCString &msg, const QByteArray &data ); void pidMessage( const QCString &msg, const QByteArray &data ); void removeSenderFromStylusDict(); void hideOrQuit(); private: - inline QWidget *nextWidget( QWidgetList*, QWidget* ); + QWidget *nextWidget( QWidgetList*, QWidget* ); protected: bool qwsEventFilter( QWSEvent * ); void internalSetStyle( const QString &style ); void prepareForTermination(bool willrestart); virtual void restart(); virtual void shutdown(); bool eventFilter( QObject *, QEvent * ); void timerEvent( QTimerEvent * ); bool raiseAppropriateWindow(); virtual void tryQuit(); #if QT_VERSION > 233 |