diff options
Diffstat (limited to 'src/svnfrontend/tcontextlistener.cpp')
-rw-r--r-- | src/svnfrontend/tcontextlistener.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/svnfrontend/tcontextlistener.cpp b/src/svnfrontend/tcontextlistener.cpp index eaa4d14..8e43435 100644 --- a/src/svnfrontend/tcontextlistener.cpp +++ b/src/svnfrontend/tcontextlistener.cpp @@ -61,7 +61,7 @@ bool ThreadContextListener::contextGetLogin(const TQString& realm, TQString& use TQCustomEvent*ev = new TQCustomEvent(EVENT_THREAD_LOGIN_PROMPT); void*t = (void*)&_data; ev->setData(t); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); m_Data->m_trustpromptWait.wait(&m_WaitMutex); m_WaitMutex.unlock(); username = _data.user; @@ -84,7 +84,7 @@ bool ThreadContextListener::contextGetSavedLogin(const TQString & realm,TQString TQCustomEvent*ev = new TQCustomEvent(EVENT_THREAD_LOGIN_SAVED); void*t = (void*)&_data; ev->setData(t); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); m_Data->m_trustpromptWait.wait(&m_WaitMutex); m_WaitMutex.unlock(); username = _data.user; @@ -103,7 +103,7 @@ bool ThreadContextListener::contextGetLogMessage(TQString& msg,const svn::Commit TQCustomEvent*ev = new TQCustomEvent(EVENT_THREAD_LOGMSG_PROMPT); void*t = (void*)&log; ev->setData(t); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); m_Data->m_trustpromptWait.wait(&m_WaitMutex); m_WaitMutex.unlock(); msg = log.msg; @@ -120,7 +120,7 @@ bool ThreadContextListener::contextSslClientCertPrompt(TQString& certFile) scertf.certfile=""; TQCustomEvent*ev = new TQCustomEvent(EVENT_THREAD_CERT_SELECT_PROMPT); ev->setData((void*)&scertf); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); m_Data->m_trustpromptWait.wait(&m_WaitMutex); m_WaitMutex.unlock(); certFile = scertf.certfile; @@ -138,7 +138,7 @@ bool ThreadContextListener::contextSslClientCertPwPrompt(TQString& password, con scert_data.realm=realm; TQCustomEvent*ev = new TQCustomEvent(EVENT_THREAD_CERT_PW_PROMPT); ev->setData((void*)&scert_data); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); m_Data->m_trustpromptWait.wait(&m_WaitMutex); m_WaitMutex.unlock(); password = scert_data.password; @@ -155,7 +155,7 @@ svn::ContextListener::SslServerTrustAnswer ThreadContextListener::contextSslServ trust_answer.m_SslTrustAnswer=DONT_ACCEPT; trust_answer.m_Trustdata = &data; ev->setData((void*)&trust_answer); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); m_Data->m_trustpromptWait.wait(&m_WaitMutex); m_WaitMutex.unlock(); return trust_answer.m_SslTrustAnswer; @@ -169,7 +169,7 @@ void ThreadContextListener::contextNotify(const TQString&aMsg) ThreadContextListenerData::snotify* _notify = new ThreadContextListenerData::snotify(); _notify->msg = aMsg; ev->setData((void*)_notify); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); } /*! @@ -194,7 +194,7 @@ void ThreadContextListener::contextProgress(long long int current, long long int } _notify->msg = msg; ev->setData((void*)_notify); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); } void ThreadContextListener::sendTick() @@ -205,7 +205,7 @@ void ThreadContextListener::sendTick() ThreadContextListenerData::snotify* _notify = new ThreadContextListenerData::snotify(); _notify->msg = ""; ev->setData((void*)_notify); - kapp->postEvent(this,ev); + tdeApp->postEvent(this,ev); } /* methods below may only called from mainthread! (via event) */ |