aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2006-12-06 23:37:41 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 11:39:37 -0500
commit44ddc4f5673a62c9ecdbb7b502fe7b8206b0f945 (patch)
tree765c08d7886221247999b8c05f62db9664690c78 /scripts
parentcfd1893477fa94bb0915e39afa2f044ac978b5c6 (diff)
[PATCH] qconf: support old QT
Might make qconf compilable with qt-3.1 as well as qt-3.3 Cc: greg chesson <xtp@google.com> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/qconf.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 338bdea96541..f5628c57640b 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -798,7 +798,7 @@ void ConfigList::contextMenuEvent(QContextMenuEvent *e)
798 QAction *action; 798 QAction *action;
799 799
800 headerPopup = new QPopupMenu(this); 800 headerPopup = new QPopupMenu(this);
801 action = new QAction("Show Name", 0, this); 801 action = new QAction(NULL, "Show Name", 0, this);
802 action->setToggleAction(TRUE); 802 action->setToggleAction(TRUE);
803 connect(action, SIGNAL(toggled(bool)), 803 connect(action, SIGNAL(toggled(bool)),
804 parent(), SLOT(setShowName(bool))); 804 parent(), SLOT(setShowName(bool)));
@@ -806,7 +806,7 @@ void ConfigList::contextMenuEvent(QContextMenuEvent *e)
806 action, SLOT(setOn(bool))); 806 action, SLOT(setOn(bool)));
807 action->setOn(showName); 807 action->setOn(showName);
808 action->addTo(headerPopup); 808 action->addTo(headerPopup);
809 action = new QAction("Show Range", 0, this); 809 action = new QAction(NULL, "Show Range", 0, this);
810 action->setToggleAction(TRUE); 810 action->setToggleAction(TRUE);
811 connect(action, SIGNAL(toggled(bool)), 811 connect(action, SIGNAL(toggled(bool)),
812 parent(), SLOT(setShowRange(bool))); 812 parent(), SLOT(setShowRange(bool)));
@@ -814,7 +814,7 @@ void ConfigList::contextMenuEvent(QContextMenuEvent *e)
814 action, SLOT(setOn(bool))); 814 action, SLOT(setOn(bool)));
815 action->setOn(showRange); 815 action->setOn(showRange);
816 action->addTo(headerPopup); 816 action->addTo(headerPopup);
817 action = new QAction("Show Data", 0, this); 817 action = new QAction(NULL, "Show Data", 0, this);
818 action->setToggleAction(TRUE); 818 action->setToggleAction(TRUE);
819 connect(action, SIGNAL(toggled(bool)), 819 connect(action, SIGNAL(toggled(bool)),
820 parent(), SLOT(setShowData(bool))); 820 parent(), SLOT(setShowData(bool)));
@@ -1161,7 +1161,7 @@ void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char
1161QPopupMenu* ConfigInfoView::createPopupMenu(const QPoint& pos) 1161QPopupMenu* ConfigInfoView::createPopupMenu(const QPoint& pos)
1162{ 1162{
1163 QPopupMenu* popup = Parent::createPopupMenu(pos); 1163 QPopupMenu* popup = Parent::createPopupMenu(pos);
1164 QAction* action = new QAction("Show Debug Info", 0, popup); 1164 QAction* action = new QAction(NULL,"Show Debug Info", 0, popup);
1165 action->setToggleAction(TRUE); 1165 action->setToggleAction(TRUE);
1166 connect(action, SIGNAL(toggled(bool)), SLOT(setShowDebug(bool))); 1166 connect(action, SIGNAL(toggled(bool)), SLOT(setShowDebug(bool)));
1167 connect(this, SIGNAL(showDebugChanged(bool)), action, SLOT(setOn(bool))); 1167 connect(this, SIGNAL(showDebugChanged(bool)), action, SLOT(setOn(bool)));