summaryrefslogtreecommitdiffstats
path: root/kalarm/kamail.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kalarm/kamail.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kalarm/kamail.cpp')
-rw-r--r--kalarm/kamail.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kalarm/kamail.cpp b/kalarm/kamail.cpp
index a9eabaf49..e0c50d3cf 100644
--- a/kalarm/kamail.cpp
+++ b/kalarm/kamail.cpp
@@ -443,8 +443,8 @@ TQString KAMail::appendBodyAttachments(TQString& message, const KAEvent& event)
TQString attachment = (*at).local8Bit();
KURL url(attachment);
url.cleanPath();
- KIO::UDSEntry uds;
- if (!KIO::NetAccess::stat(url, uds, MainWindow::mainMainWindow())) {
+ TDEIO::UDSEntry uds;
+ if (!TDEIO::NetAccess::stat(url, uds, MainWindow::mainMainWindow())) {
kdError(5950) << "KAMail::appendBodyAttachments(): not found: " << attachment << endl;
return i18n("Attachment not found:\n%1").arg(attachment);
}
@@ -470,7 +470,7 @@ TQString KAMail::appendBodyAttachments(TQString& message, const KAEvent& event)
// Read the file contents
TQString tmpFile;
- if (!KIO::NetAccess::download(url, tmpFile, MainWindow::mainMainWindow())) {
+ if (!TDEIO::NetAccess::download(url, tmpFile, MainWindow::mainMainWindow())) {
kdError(5950) << "KAMail::appendBodyAttachments(): load failure: " << attachment << endl;
return attachError.arg(attachment);
}
@@ -831,8 +831,8 @@ int KAMail::checkAttachment(TQString& attachment, KURL* url)
*/
bool KAMail::checkAttachment(const KURL& url)
{
- KIO::UDSEntry uds;
- if (!KIO::NetAccess::stat(url, uds, MainWindow::mainMainWindow()))
+ TDEIO::UDSEntry uds;
+ if (!TDEIO::NetAccess::stat(url, uds, MainWindow::mainMainWindow()))
return false; // doesn't exist
KFileItem fi(uds, url);
if (fi.isDir() || !fi.isReadable())