From patchwork Sun Apr 19 13:41:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Heidelberg X-Patchwork-Id: 18910 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3JDfNFb014470 for ; Sun, 19 Apr 2009 13:41:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758463AbZDSNl3 (ORCPT ); Sun, 19 Apr 2009 09:41:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760621AbZDSNl3 (ORCPT ); Sun, 19 Apr 2009 09:41:29 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:53344 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758463AbZDSNlW (ORCPT ); Sun, 19 Apr 2009 09:41:22 -0400 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id 0C9CD100412B6; Sun, 19 Apr 2009 15:41:21 +0200 (CEST) Received: from [89.59.103.102] (helo=localhost.localdomain) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1LvXGq-0002tO-05; Sun, 19 Apr 2009 15:41:20 +0200 From: Markus Heidelberg To: Roman Zippel Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Heidelberg Subject: [PATCH 06/10] kconfig qconf: fix namespace for Horizontal and Vertical enum values Date: Sun, 19 Apr 2009 15:41:23 +0200 Message-Id: <1240148487-27584-7-git-send-email-markus.heidelberg@web.de> X-Mailer: git-send-email 1.6.3.rc1.24.g467d50 In-Reply-To: <1240148487-27584-1-git-send-email-markus.heidelberg@web.de> References: <1240148487-27584-1-git-send-email-markus.heidelberg@web.de> X-Sender: markus.heidelberg@web.de X-Provags-ID: V01U2FsdGVkX1/Z5CPxO/BY3wyLZ45D2wMm7VW7P9CJt88Did+j 8LWnRKfMlWi9en1XEqeo5Aq/QkIiZ85gjd42VsmT7VW3zprbeg lPjMSdE7Z+qH+8NmD3Aw== Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org They were used as QSplitter::Horizontal resp. QSplitter::Vertical, but are defined in the 'Qt' namespace. Fixes the following compiler errors after a quick conversion with 'qt3to4', which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2. scripts/kconfig/qconf.cc: In constructor 'ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow*, const char*)': scripts/kconfig/qconf.cc:1213: error: 'Vertical' is not a member of 'QSplitter' scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()': scripts/kconfig/qconf.cc:1304: error: 'Horizontal' is not a member of 'QSplitter' scripts/kconfig/qconf.cc:1311: error: 'Vertical' is not a member of 'QSplitter' Signed-off-by: Markus Heidelberg --- scripts/kconfig/qconf.cc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 2bd6ed0..7433dac 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1199,7 +1199,7 @@ ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow* parent, const char *nam layout1->addLayout(layout2); split = new QSplitter(this); - split->setOrientation(QSplitter::Vertical); + split->setOrientation(Qt::Vertical); list = new ConfigView(split, name); list->list->mode = listMode; info = new ConfigInfoView(split, name); @@ -1290,14 +1290,14 @@ ConfigMainWindow::ConfigMainWindow(void) move(x, y); split1 = new QSplitter(this); - split1->setOrientation(QSplitter::Horizontal); + split1->setOrientation(Qt::Horizontal); setCentralWidget(split1); menuView = new ConfigView(split1, "menu"); menuList = menuView->list; split2 = new QSplitter(split1); - split2->setOrientation(QSplitter::Vertical); + split2->setOrientation(Qt::Vertical); // create config tree configView = new ConfigView(split2, "config");