author | mickeyl <mickeyl> | 2003-12-07 14:06:21 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-12-07 14:06:21 (UTC) |
commit | 4518f62746143246d29eb9f08030e241ac33eeb7 (patch) (side-by-side diff) | |
tree | beda04d2c1ddadefd4d0dc2bb18774a15da03bf2 /noncore/multimedia | |
parent | c648101ca50a9782911b58b5158b31e1d0427ab3 (diff) | |
download | opie-4518f62746143246d29eb9f08030e241ac33eeb7.zip opie-4518f62746143246d29eb9f08030e241ac33eeb7.tar.gz opie-4518f62746143246d29eb9f08030e241ac33eeb7.tar.bz2 |
s/QPEToolBar/QToolBar:
- remove usage of deprecated classses
- makes it easier to migrate to OToolBar in the future
-rw-r--r-- | noncore/multimedia/opierec/helpwindow.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/showimg/showimg.cpp | 6 | ||||
-rw-r--r-- | noncore/multimedia/showimg/showimg.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/noncore/multimedia/opierec/helpwindow.cpp b/noncore/multimedia/opierec/helpwindow.cpp index 1ab6510..a3b29fa 100644 --- a/noncore/multimedia/opierec/helpwindow.cpp +++ b/noncore/multimedia/opierec/helpwindow.cpp @@ -37,5 +37,5 @@ HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* par if ( !home_.isEmpty() ) browser->setSource( home_ ); - QPEToolBar *toolbar = new QPEToolBar( this ); + QToolBar *toolbar = new QToolBar( this ); QAction *a = new QAction( tr( "Backward" ), Resource::loadPixmap( "back" ), QString::null, 0, this, 0 ); diff --git a/noncore/multimedia/showimg/showimg.cpp b/noncore/multimedia/showimg/showimg.cpp index b7754f7..ba76e57 100644 --- a/noncore/multimedia/showimg/showimg.cpp +++ b/noncore/multimedia/showimg/showimg.cpp @@ -37,5 +37,5 @@ #include <qfileinfo.h> #include <math.h> -#include <qpe/qpemenubar.h> +#include <qmenubar.h> #include <qwidgetstack.h> #include <qpe/qpetoolbar.h> @@ -229,5 +229,5 @@ ImageViewer::ImageViewer( QWidget *parent, const char *name, int wFlags ) setToolBarsMovable( FALSE ); - toolBar = new QPEToolBar( this ); + toolBar = new QToolBar( this ); toolBar->setHorizontalStretchable( TRUE ); @@ -315,5 +315,5 @@ ImageViewer::ImageViewer( QWidget *parent, const char *name, int wFlags ) slideAction->setEnabled( imageList.count() != 0); - iconToolBar = new QPEToolBar(this); + iconToolBar = new QToolBar(this); QAction *a; diff --git a/noncore/multimedia/showimg/showimg.h b/noncore/multimedia/showimg/showimg.h index da4c0b6..9cf9bfd 100644 --- a/noncore/multimedia/showimg/showimg.h +++ b/noncore/multimedia/showimg/showimg.h @@ -35,5 +35,5 @@ class QAction; -class QPEToolBar; +class QToolBar; class QMenuBar; class QPopupMenu; @@ -249,6 +249,6 @@ private: QPixmap pm; // the converted pixmap QPixmap pmScaled; // the scaled pixmap - QPEToolBar *toolBar; - QPEToolBar *iconToolBar; + QToolBar *toolBar; + QToolBar *iconToolBar; QMenuBar *menuBar; QMenuBar *current; |