summaryrefslogtreecommitdiffstats
path: root/knode/utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/utilities.cpp')
-rw-r--r--knode/utilities.cpp10
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);