-rw-r--r-- | libopie2/opiecore/oapplication.cpp | 4 | ||||
-rw-r--r-- | libopie2/opiecore/oapplication.h | 9 | ||||
-rw-r--r-- | libopie2/opieui/oresource.cpp | 2 |
3 files changed, 5 insertions, 10 deletions
diff --git a/libopie2/opiecore/oapplication.cpp b/libopie2/opiecore/oapplication.cpp index 12f33cc..c3cacce 100644 --- a/libopie2/opiecore/oapplication.cpp +++ b/libopie2/opiecore/oapplication.cpp @@ -56,3 +56,3 @@ class OApplicationPrivate OApplication::OApplication( int& argc, char** argv, const QCString& rAppName ) - :OpieApplication( argc, argv ), + :QPEApplication( argc, argv ), _appname( rAppName ), @@ -110,3 +110,3 @@ void OApplication::showMainWidget( QWidget* widget, bool nomax ) { - OpieApplication::showMainWidget( widget, nomax ); + QPEApplication::showMainWidget( widget, nomax ); widget->setCaption( _appname ); diff --git a/libopie2/opiecore/oapplication.h b/libopie2/opiecore/oapplication.h index a3f2201..72a659e 100644 --- a/libopie2/opiecore/oapplication.h +++ b/libopie2/opiecore/oapplication.h @@ -36,3 +36,3 @@ -#include "opieapplication.h" +#include <qpe/qpeapplication.h> @@ -43,3 +43,3 @@ class OConfig; -class OApplication : public OpieApplication +class OApplication : public QPEApplication { @@ -94,7 +94,2 @@ class OApplication : public OpieApplication - /** - * see qpeDir() - */ - static QString opieDir() {return qpeDir();}; - protected: diff --git a/libopie2/opieui/oresource.cpp b/libopie2/opieui/oresource.cpp index d97307f..03b9d51 100644 --- a/libopie2/opieui/oresource.cpp +++ b/libopie2/opieui/oresource.cpp @@ -43,3 +43,3 @@ QPixmap loadPixmap( const QString& pix ) QString filename; - filename.sprintf( "%s/%s.png", (const char*) oApp->opieDir(), (const char*) pix ); + filename.sprintf( "%s/%s.png", (const char*) oApp->qpeDir(), (const char*) pix ); QPixmap pixmap( filename ); |