From c648101ca50a9782911b58b5158b31e1d0427ab3 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 07 Dec 2003 13:51:01 +0000 Subject: s/QPEMenuBar/QMenuBar: - remove usage of deprecated classses - makes it easier to migrate to OMenuBar in the future --- (limited to 'noncore/apps/opie-sheet') diff --git a/noncore/apps/opie-sheet/mainwindow.cpp b/noncore/apps/opie-sheet/mainwindow.cpp index 3915e52..fb2ca79 100644 --- a/noncore/apps/opie-sheet/mainwindow.cpp +++ b/noncore/apps/opie-sheet/mainwindow.cpp @@ -361,7 +361,7 @@ void MainWindow::initActions() void MainWindow::initMenu() { - menu=new QPEMenuBar(this); + menu=new QMenuBar(this); menuFile=new QPopupMenu; fileNew->addTo(menuFile); diff --git a/noncore/apps/opie-sheet/mainwindow.h b/noncore/apps/opie-sheet/mainwindow.h index 370d82e..4007f88 100644 --- a/noncore/apps/opie-sheet/mainwindow.h +++ b/noncore/apps/opie-sheet/mainwindow.h @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include #include @@ -40,7 +40,7 @@ class MainWindow: public QMainWindow // QPE objects DocLnk* currentDoc; - QPEMenuBar *menu; + QMenuBar *menu; QPEToolBar *toolbarFunctions, *toolbarEdit, *toolbarStandard; FileSelector *fileSelector; -- cgit v0.9.0.2