From 22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kunittest/runnergui.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kunittest/runnergui.cpp') diff --git a/kunittest/runnergui.cpp b/kunittest/runnergui.cpp index 64fbd27a..73e888e4 100644 --- a/kunittest/runnergui.cpp +++ b/kunittest/runnergui.cpp @@ -95,7 +95,7 @@ namespace KUnitTest RunnerGUI *m_rg; }; - RunnerGUI::RunnerGUI(TQWidget *tqparent) : TQHBox(tqparent) + RunnerGUI::RunnerGUI(TQWidget *parent) : TQHBox(parent) { m_dcop = new RunnerGUIDCOPImpl(this); @@ -222,7 +222,7 @@ namespace KUnitTest TQListViewItem *RunnerGUI::getItem(const TQString &name, TQListViewItem *item /*= 0L*/) { - TQListViewItem *tqparent = item; + TQListViewItem *parent = item; if ( item == 0L ) item = m_testerWidget->resultList()->firstChild(); else item = item->firstChild(); @@ -233,10 +233,10 @@ namespace KUnitTest // item not found, create it if ( item == 0L ) { - if ( tqparent == 0L ) + if ( parent == 0L ) item = new TQListViewItem(m_testerWidget->resultList()); else - item = new TQListViewItem(tqparent); + item = new TQListViewItem(parent); item->setText(g_nameColumn, name); } @@ -288,13 +288,13 @@ namespace KUnitTest bool passed = (item->text(g_failedColumn).toInt(&ok) + item->text(g_xfailedColumn).toInt(&ok)) == 0; item->setPixmap(g_nameColumn, passed ? SmallIcon("button_ok") : SmallIcon("button_cancel") ); - setSummary(item->tqparent(), res); + setSummary(item->parent(), res); } TQString RunnerGUI::fullName(TQListViewItem *item) { TQString name = item->text(g_nameColumn); - while ( (item = item->tqparent()) != 0L ) + while ( (item = item->parent()) != 0L ) name = item->text(g_nameColumn) + "::" + name; return name; @@ -358,7 +358,7 @@ namespace KUnitTest if ( item == 0L ) return; TQString name = fullName(item); - if ( name.endsWith("()") ) name = fullName(item->tqparent()); + if ( name.endsWith("()") ) name = fullName(item->parent()); Tester *tester = Runner::self()->registry().find(name.local8Bit()); -- cgit v1.2.1