diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /knode/utilities.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'knode/utilities.cpp')
-rw-r--r-- | knode/utilities.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/utilities.cpp b/knode/utilities.cpp index 4ed48ea90..31d36369c 100644 --- a/knode/utilities.cpp +++ b/knode/utilities.cpp @@ -147,7 +147,7 @@ KNSaveHelper::~KNSaveHelper() } else if (tmpFile) { // network location, initiate transaction tmpFile->close(); - if (KIO::NetAccess::upload(tmpFile->name(),url, 0) == false) + if (TDEIO::NetAccess::upload(tmpFile->name(),url, 0) == false) KNHelper::displayRemoteFileError(); tmpFile->unlink(); // delete temp file delete tmpFile; @@ -206,7 +206,7 @@ KNLoadHelper::~KNLoadHelper() { delete f_ile; if (!t_empName.isEmpty()) - KIO::NetAccess::removeTempFile(t_empName); + TDEIO::NetAccess::removeTempFile(t_empName); } @@ -239,7 +239,7 @@ KNFile* KNLoadHelper::setURL(KURL url) TQString fileName; if (!u_rl.isLocalFile()) { - if (KIO::NetAccess::download(u_rl, t_empName, 0)) + if (TDEIO::NetAccess::download(u_rl, t_empName, 0)) fileName = t_empName; } else fileName = u_rl.path(); @@ -297,7 +297,7 @@ int KNHelper::selectDialog(TQWidget *parent, const TQString &caption, const TQSt void KNHelper::saveWindowSize(const TQString &name, const TQSize &s) { - KConfig *c=knGlobals.config(); + TDEConfig *c=knGlobals.config(); c->setGroup("WINDOW_SIZES"); c->writeEntry(name, s); } @@ -305,7 +305,7 @@ void KNHelper::saveWindowSize(const TQString &name, const TQSize &s) void KNHelper::restoreWindowSize(const TQString &name, TQWidget *d, const TQSize &defaultSize) { - KConfig *c=knGlobals.config(); + TDEConfig *c=knGlobals.config(); c->setGroup("WINDOW_SIZES"); TQSize s=c->readSizeEntry(name,&defaultSize); |