2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

Port xconfig to Qt5 - Use QMainWindow, QToolBar

Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
This commit is contained in:
Boris Barbulovski 2015-09-22 11:36:02 -07:00 committed by Michal Marek
parent 8328447af8
commit b1f8a45bfe
2 changed files with 5 additions and 4 deletions

View File

@ -5,7 +5,7 @@
#include <qglobal.h>
#include <q3mainwindow.h>
#include <QMainWindow>
#include <q3vbox.h>
#include <q3valuelist.h>
#include <q3textbrowser.h>
@ -1303,7 +1303,7 @@ ConfigMainWindow::ConfigMainWindow(void)
configList->setFocus();
menu = menuBar();
toolBar = new Q3ToolBar("Tools", this);
toolBar = new QToolBar("Tools", this);
backAction = new Q3Action("Back", QPixmap(xpm_back), _("Back"), 0, this);
connect(backAction, SIGNAL(activated()), SLOT(goBack()));

View File

@ -4,6 +4,7 @@
*/
#include <q3listview.h>
#include <QMainWindow>
#include <qsettings.h>
class ConfigView;
@ -281,7 +282,7 @@ protected:
struct symbol **result;
};
class ConfigMainWindow : public Q3MainWindow {
class ConfigMainWindow : public QMainWindow {
Q_OBJECT
static Q3Action *saveAction;
@ -313,7 +314,7 @@ protected:
ConfigView *configView;
ConfigList *configList;
ConfigInfoView *helpText;
Q3ToolBar *toolBar;
QToolBar *toolBar;
Q3Action *backAction;
QSplitter* split1;
QSplitter* split2;