diff options
Diffstat (limited to 'kate/part/test_regression.cpp')
-rw-r--r-- | kate/part/test_regression.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/part/test_regression.cpp b/kate/part/test_regression.cpp index 4f4e5692d..cc1654cd6 100644 --- a/kate/part/test_regression.cpp +++ b/kate/part/test_regression.cpp @@ -365,7 +365,7 @@ KJS::Value OutputFunction::call(KJS::ExecState *exec, KJS::Object &thisObj, cons const char failureSnapshotPrefix[] = "testkateregressionrc-FS."; static TQString findMostRecentFailureSnapshot() { - TQDir dir(kapp->dirs()->saveLocation("config"), + TQDir dir(tdeApp->dirs()->saveLocation("config"), TQString(failureSnapshotPrefix)+"*", TQDir::Time, TQDir::Files); return dir[0].mid(sizeof failureSnapshotPrefix - 1); @@ -906,7 +906,7 @@ static void pause(int msec) TQTime t; t.start(); do { - kapp->processEvents(); + tdeApp->processEvents(); } while (t.elapsed() < msec); } @@ -1068,7 +1068,7 @@ void RegressionTest::testStaticFile(const TQString & filename, const TQStringLis if (!script_error) goto bail_out; - if (m_showGui) kapp->processEvents(); + if (m_showGui) tdeApp->processEvents(); if ( m_genOutput ) { reportResult(checkOutput(filename+"-result"), "result"); |