author | harlekin <harlekin> | 2003-04-10 21:14:03 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-10 21:14:03 (UTC) |
commit | 6f7b120de8f4b883e709386882f3fe8ed925d0da (patch) (unidiff) | |
tree | 2935f95a527e146a78b8459dbb02711093864df1 | |
parent | 91867cb8a9a35c89a357bb6f20677f680709e357 (diff) | |
download | opie-6f7b120de8f4b883e709386882f3fe8ed925d0da.zip opie-6f7b120de8f4b883e709386882f3fe8ed925d0da.tar.gz opie-6f7b120de8f4b883e709386882f3fe8ed925d0da.tar.bz2 |
qpetoolbar and qpemenubar are depreciated
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 14 | ||||
-rw-r--r-- | noncore/settings/aqpkg/mainwin.h | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index b597e03..6ea619c 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp | |||
@@ -19,9 +19,9 @@ | |||
19 | #include <unistd.h> | 19 | #include <unistd.h> |
20 | 20 | ||
21 | #include <qpe/qcopenvelope_qws.h> | 21 | #include <qpe/qcopenvelope_qws.h> |
22 | #include <qpe/qpemenubar.h> | 22 | #include <qmenubar.h> |
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | #include <qpe/qpetoolbar.h> | 24 | #include <qtoolbar.h> |
25 | #include <qpe/config.h> | 25 | #include <qpe/config.h> |
26 | #include <qpe/resource.h> | 26 | #include <qpe/resource.h> |
27 | 27 | ||
@@ -65,14 +65,14 @@ MainWindow :: MainWindow() | |||
65 | // Build menu and tool bars | 65 | // Build menu and tool bars |
66 | setToolBarsMovable( FALSE ); | 66 | setToolBarsMovable( FALSE ); |
67 | 67 | ||
68 | QPEToolBar *bar = new QPEToolBar( this ); | 68 | QToolBar *bar = new QToolBar( this ); |
69 | bar->setHorizontalStretchable( TRUE ); | 69 | bar->setHorizontalStretchable( TRUE ); |
70 | QPEMenuBar *mb = new QPEMenuBar( bar ); | 70 | QMenuBar *mb = new QMenuBar( bar ); |
71 | mb->setMargin( 0 ); | 71 | mb->setMargin( 0 ); |
72 | bar = new QPEToolBar( this ); | 72 | bar = new QToolBar( this ); |
73 | 73 | ||
74 | // Find toolbar | 74 | // Find toolbar |
75 | findBar = new QPEToolBar( this ); | 75 | findBar = new QToolBar( this ); |
76 | addToolBar( findBar, QMainWindow::Top, true ); | 76 | addToolBar( findBar, QMainWindow::Top, true ); |
77 | findBar->setHorizontalStretchable( true ); | 77 | findBar->setHorizontalStretchable( true ); |
78 | findEdit = new QLineEdit( findBar ); | 78 | findEdit = new QLineEdit( findBar ); |
@@ -81,7 +81,7 @@ MainWindow :: MainWindow() | |||
81 | connect( findEdit, SIGNAL( textChanged( const QString & ) ), this, SLOT( findPackage( const QString & ) ) ); | 81 | connect( findEdit, SIGNAL( textChanged( const QString & ) ), this, SLOT( findPackage( const QString & ) ) ); |
82 | 82 | ||
83 | // Quick jump toolbar | 83 | // Quick jump toolbar |
84 | jumpBar = new QPEToolBar( this ); | 84 | jumpBar = new QToolBar( this ); |
85 | addToolBar( jumpBar, QMainWindow::Top, true ); | 85 | addToolBar( jumpBar, QMainWindow::Top, true ); |
86 | jumpBar->setHorizontalStretchable( true ); | 86 | jumpBar->setHorizontalStretchable( true ); |
87 | QWidget *w = new QWidget( jumpBar ); | 87 | QWidget *w = new QWidget( jumpBar ); |
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h index b2de871..4b044de 100644 --- a/noncore/settings/aqpkg/mainwin.h +++ b/noncore/settings/aqpkg/mainwin.h | |||
@@ -31,7 +31,7 @@ class QComboBox; | |||
31 | class QLabel; | 31 | class QLabel; |
32 | class QLineEdit; | 32 | class QLineEdit; |
33 | class QListView; | 33 | class QListView; |
34 | class QPEToolBar; | 34 | class QToolBar; |
35 | class QProgressBar; | 35 | class QProgressBar; |
36 | class QWidgetStack; | 36 | class QWidgetStack; |
37 | 37 | ||
@@ -51,8 +51,8 @@ private: | |||
51 | 51 | ||
52 | QWidgetStack *stack; | 52 | QWidgetStack *stack; |
53 | 53 | ||
54 | QPEToolBar *findBar; | 54 | QToolBar *findBar; |
55 | QPEToolBar *jumpBar; | 55 | QToolBar *jumpBar; |
56 | QLineEdit *findEdit; | 56 | QLineEdit *findEdit; |
57 | QAction *actionFindNext; | 57 | QAction *actionFindNext; |
58 | QAction *actionFilter; | 58 | QAction *actionFilter; |