summaryrefslogtreecommitdiffstats
path: root/kunittest/runnergui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kunittest/runnergui.cpp')
-rw-r--r--kunittest/runnergui.cpp14
1 files changed, 7 insertions, 7 deletions
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());