summaryrefslogtreecommitdiffstats
path: root/src/likeback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/likeback.cpp')
-rw-r--r--src/likeback.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/likeback.cpp b/src/likeback.cpp
index 33161fc..ee0c23c 100644
--- a/src/likeback.cpp
+++ b/src/likeback.cpp
@@ -583,9 +583,9 @@ bool LikeBack::isDevelopmentVersion(const TQString &version)
{
if (m_process)
return;
- m_process = new KProcess();
+ m_process = new TDEProcess();
*m_process << TQString::fromLatin1("kcmshell") << TQString::fromLatin1("kcm_useraccount");
- connect( m_process, TQT_SIGNAL(processExited(KProcess*)), TQT_SLOT(fetchUserEmail()) );
+ connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(fetchUserEmail()) );
if (!m_process->start()) {
kdDebug() << "Couldn't start kcmshell.." << endl;
delete m_process;
@@ -749,11 +749,11 @@ TQString LikeBackDialog::introductionText()
TQStringList locales = m_likeBack->acceptedLocales();
for (TQStringList::Iterator it = locales.begin(); it != locales.end(); ++it) {
TQString locale = *it;
- if (KGlobal::locale()->language().startsWith(locale))
+ if (TDEGlobal::locale()->language().startsWith(locale))
languagesMessage = "";
}
} else {
- if (!KGlobal::locale()->language().startsWith("en"))
+ if (!TDEGlobal::locale()->language().startsWith("en"))
languagesMessage = i18n("Please write in English.");
}
@@ -761,7 +761,7 @@ TQString LikeBackDialog::introductionText()
// TODO: Replace the URL with a localized one:
text += languagesMessage + " " +
i18n("You may be able to use an <a href=\"%1\">online translation tool</a>.")
- .arg("http://www.google.com/language_tools?hl=" + KGlobal::locale()->language())
+ .arg("http://www.google.com/language_tools?hl=" + TDEGlobal::locale()->language())
+ " ";
// If both "I Like" and "I Dislike" buttons are shown and one is clicked:
@@ -811,7 +811,7 @@ void LikeBackDialog::send()
"protocol=" + KURL::encode_string("1.0") + '&' +
"type=" + KURL::encode_string(type) + '&' +
"version=" + KURL::encode_string(m_likeBack->aboutData()->version()) + '&' +
- "locale=" + KURL::encode_string(KGlobal::locale()->language()) + '&' +
+ "locale=" + KURL::encode_string(TDEGlobal::locale()->language()) + '&' +
"window=" + KURL::encode_string(m_windowPath) + '&' +
"context=" + KURL::encode_string(m_context) + '&' +
"comment=" + KURL::encode_string(m_comment->text()) + '&' +