summaryrefslogtreecommitdiffstats
path: root/tdeio/tests/jobtest.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-13 23:01:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-15 16:22:14 +0900
commitb71912fbcb90d5504aad9f17530c94169a661fed (patch)
treee9039e4a956fb8af5ba2878db5320236eb0f93b1 /tdeio/tests/jobtest.cpp
parent8ee06ec529e375693eaefa6fb68dc496d36fd367 (diff)
downloadtdelibs-b71912fbcb90d5504aad9f17530c94169a661fed.tar.gz
tdelibs-b71912fbcb90d5504aad9f17530c94169a661fed.zip
Rename TDEApplication::kApplication() to TDEApplication::tdeApplication() and kapp to tdeApp.rename/kapp-tdeapp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeio/tests/jobtest.cpp')
-rw-r--r--tdeio/tests/jobtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeio/tests/jobtest.cpp b/tdeio/tests/jobtest.cpp
index 15770c941..8a17b2aec 100644
--- a/tdeio/tests/jobtest.cpp
+++ b/tdeio/tests/jobtest.cpp
@@ -197,7 +197,7 @@ void JobTest::get()
TDEIO::StoredTransferJob* job = TDEIO::storedGet( u );
connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ),
this, TQ_SLOT( slotGetResult( TDEIO::Job* ) ) );
- kapp->eventLoop()->enterLoop();
+ tdeApp->eventLoop()->enterLoop();
assert( m_result == 0 ); // no error
assert( m_data.size() == 11 );
assert( memcmp (m_data, "Hello world", m_data.size()) == 0 ); // m_data is not null-terminated
@@ -207,7 +207,7 @@ void JobTest::slotGetResult( TDEIO::Job* job )
{
m_result = job->error();
m_data = static_cast<TDEIO::StoredTransferJob *>(job)->data();
- kapp->eventLoop()->exitLoop();
+ tdeApp->eventLoop()->exitLoop();
}
////