summaryrefslogtreecommitdiffstats
path: root/src/likeback.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:18:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:18:28 -0600
commit934db26c3f8efe148a5680c22f965ee10f818a61 (patch)
tree4a47cbb3ef398d11fa9283b5afdcd0a8d84fad7c /src/likeback.cpp
parenta1fb52e00e362130a46b34570e53f2c1f322f373 (diff)
downloadbasket-934db26c3f8efe148a5680c22f965ee10f818a61.tar.gz
basket-934db26c3f8efe148a5680c22f965ee10f818a61.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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()) + '&' +