[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1442946999-37018-3-git-send-email-thiago.macieira@intel.com>
Date: Tue, 22 Sep 2015 11:36:02 -0700
From: Thiago Macieira <thiago.macieira@...el.com>
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Michal Marek <mmarek@...e.com>,
Boris Barbulovski <bbarbulovski@...il.com>
Subject: [PATCH 02/39] Port xconfig to Qt5 - Use QMainWindow, QToolBar
From: Boris Barbulovski <bbarbulovski@...il.com>
Signed-off-by: Boris Barbulovski <bbarbulovski@...il.com>
Signed-off-by: Thiago Macieira <thiago.macieira@...el.com>
---
scripts/kconfig/qconf.h | 5 +++--
scripts/kconfig/qconf.cc | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h
index 703285d..db4b417 100644
--- a/scripts/kconfig/qconf.h
+++ b/scripts/kconfig/qconf.h
@@ -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;
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 0e18a9c..199934c 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -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()));
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists