-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 | |||
@@ -55,5 +55,5 @@ class OApplicationPrivate | |||
55 | 55 | ||
56 | OApplication::OApplication( int& argc, char** argv, const QCString& rAppName ) | 56 | OApplication::OApplication( int& argc, char** argv, const QCString& rAppName ) |
57 | :OpieApplication( argc, argv ), | 57 | :QPEApplication( argc, argv ), |
58 | _appname( rAppName ), | 58 | _appname( rAppName ), |
59 | _config( 0 ) | 59 | _config( 0 ) |
@@ -109,5 +109,5 @@ void OApplication::init() | |||
109 | void OApplication::showMainWidget( QWidget* widget, bool nomax ) | 109 | void OApplication::showMainWidget( QWidget* widget, bool nomax ) |
110 | { | 110 | { |
111 | OpieApplication::showMainWidget( widget, nomax ); | 111 | QPEApplication::showMainWidget( widget, nomax ); |
112 | widget->setCaption( _appname ); | 112 | widget->setCaption( _appname ); |
113 | } | 113 | } |
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 | |||
@@ -35,5 +35,5 @@ | |||
35 | 35 | ||
36 | 36 | ||
37 | #include "opieapplication.h" | 37 | #include <qpe/qpeapplication.h> |
38 | 38 | ||
39 | 39 | ||
@@ -42,5 +42,5 @@ class OConfig; | |||
42 | 42 | ||
43 | 43 | ||
44 | class OApplication : public OpieApplication | 44 | class OApplication : public QPEApplication |
45 | { | 45 | { |
46 | Q_OBJECT | 46 | Q_OBJECT |
@@ -93,9 +93,4 @@ class OApplication : public OpieApplication | |||
93 | virtual void setTitle( const QString& title = QString::null ) const; | 93 | virtual void setTitle( const QString& title = QString::null ) const; |
94 | 94 | ||
95 | /** | ||
96 | * see qpeDir() | ||
97 | */ | ||
98 | static QString opieDir() {return qpeDir();}; | ||
99 | |||
100 | protected: | 95 | protected: |
101 | void init(); | 96 | void init(); |
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 | |||
@@ -42,5 +42,5 @@ QPixmap loadPixmap( const QString& pix ) | |||
42 | { | 42 | { |
43 | QString filename; | 43 | QString filename; |
44 | filename.sprintf( "%s/%s.png", (const char*) oApp->opieDir(), (const char*) pix ); | 44 | filename.sprintf( "%s/%s.png", (const char*) oApp->qpeDir(), (const char*) pix ); |
45 | QPixmap pixmap( filename ); | 45 | QPixmap pixmap( filename ); |
46 | if ( pixmap.isNull() ) | 46 | if ( pixmap.isNull() ) |