diff options
Diffstat (limited to 'kunittest/runnergui.cpp')
-rw-r--r-- | kunittest/runnergui.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kunittest/runnergui.cpp b/kunittest/runnergui.cpp index 4644d0e5..c2d770f1 100644 --- a/kunittest/runnergui.cpp +++ b/kunittest/runnergui.cpp @@ -26,7 +26,7 @@ #include <tqmetaobject.h> #include <tqregexp.h> #include <tqpushbutton.h> -#include <tqtextedit.h> +#include <textedit.h> #include <tqlabel.h> #include <tqprogressbar.h> #include <tqcombobox.h> @@ -162,13 +162,13 @@ namespace KUnitTest if ( Runner::self()->numberOfTests() > 0 ) m_testerWidget->resultsLabel()->setText( TQString("Test cases: %1 | Tests performed: %5, Skipped: <font color=\"#f7a300\">%4</font> | Passed: <font color=\"#009900\">%2</font>, Failed: <font color=\"#990000\">%3</font>") - .tqarg(Runner::self()->numberOfTestCases()) - .tqarg(Runner::self()->numberOfPassedTests()) - .tqarg(Runner::self()->numberOfFailedTests()) - .tqarg(Runner::self()->numberOfSkippedTests()) - .tqarg(Runner::self()->numberOfTests()) ); + .arg(Runner::self()->numberOfTestCases()) + .arg(Runner::self()->numberOfPassedTests()) + .arg(Runner::self()->numberOfFailedTests()) + .arg(Runner::self()->numberOfSkippedTests()) + .arg(Runner::self()->numberOfTests()) ); else - m_testerWidget->resultsLabel()->setText(TQString("Test cases: %1").tqarg(Runner::self()->numberOfTestCases())); + m_testerWidget->resultsLabel()->setText(TQString("Test cases: %1").arg(Runner::self()->numberOfTestCases())); } void RunnerGUI::addTestResult(const char *name, Tester *test) @@ -211,7 +211,7 @@ namespace KUnitTest if ( test->inherits("KUnitTest::SlotTester") ) { - TQStrList allSlots = test->tqmetaObject()->slotNames(); + TQStrList allSlots = test->metaObject()->slotNames(); for ( char *sl = allSlots.first(); sl; sl = allSlots.next() ) { if ( TQString(sl).startsWith("test") ) |