summaryrefslogtreecommitdiffstats
path: root/kmouth/phrasebook
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:14 -0600
commit6379d18e0ec321e0e08a1389ee4a12f0eaa5992e (patch)
treedd3e6f3b6c190bc5ea47516ddbe04c6777fa6a04 /kmouth/phrasebook
parent0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4 (diff)
downloadtdeaccessibility-6379d18e0ec321e0e08a1389ee4a12f0eaa5992e.tar.gz
tdeaccessibility-6379d18e0ec321e0e08a1389ee4a12f0eaa5992e.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kmouth/phrasebook')
-rw-r--r--kmouth/phrasebook/phrasebook.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmouth/phrasebook/phrasebook.cpp b/kmouth/phrasebook/phrasebook.cpp
index f03cd96..8f51ba6 100644
--- a/kmouth/phrasebook/phrasebook.cpp
+++ b/kmouth/phrasebook/phrasebook.cpp
@@ -245,7 +245,7 @@ bool PhraseBook::save (const KURL &url, bool asPhrasebook) {
save (*tempFile.textStream(), asPhrasebook);
tempFile.close();
- return KIO::NetAccess::upload(tempFile.name(), url);
+ return TDEIO::NetAccess::upload(tempFile.name(), url);
}
}
@@ -273,7 +273,7 @@ int PhraseBook::save (TQWidget *parent, const TQString &title, KURL &url, bool p
return -1;
}
- if (KIO::NetAccess::exists(url)) {
+ if (TDEIO::NetAccess::exists(url)) {
if (KMessageBox::warningContinueCancel(0,TQString("<qt>%1</qt>").arg(i18n("The file %1 already exists. "
"Do you want to overwrite it?").arg(url.url())),i18n("File Exists"),i18n("&Overwrite"))==KMessageBox::Cancel) {
return 0;
@@ -334,7 +334,7 @@ bool PhraseBook::open (const KURL &url) {
fileUrl.setPath (url.url());
}
- if (KIO::NetAccess::download (fileUrl, tempFile)) {
+ if (TDEIO::NetAccess::download (fileUrl, tempFile)) {
TQStringList list = TQStringList();
// First: try to load it as a normal phrase book
@@ -362,7 +362,7 @@ bool PhraseBook::open (const KURL &url) {
else
error = true;
}
- KIO::NetAccess::removeTempFile (tempFile);
+ TDEIO::NetAccess::removeTempFile (tempFile);
return !error;
}