summaryrefslogtreecommitdiffstats
path: root/kalarm/sounddlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/sounddlg.cpp')
-rw-r--r--kalarm/sounddlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/sounddlg.cpp b/kalarm/sounddlg.cpp
index bb89711a3..1f386f30e 100644
--- a/kalarm/sounddlg.cpp
+++ b/kalarm/sounddlg.cpp
@@ -295,8 +295,8 @@ void SoundDlg::playSound()
return;
KURL url(mFileName);
MainWindow* mmw = MainWindow::mainMainWindow();
- if (!url.isValid() || !KIO::NetAccess::exists(url, true, mmw)
- || !KIO::NetAccess::download(url, mLocalAudioFile, mmw))
+ if (!url.isValid() || !TDEIO::NetAccess::exists(url, true, mmw)
+ || !TDEIO::NetAccess::download(url, mLocalAudioFile, mmw))
{
kdError(5950) << "SoundDlg::playAudio(): Open failure: " << mFileName << endl;
KMessageBox::error(this, i18n("Cannot open audio file:\n%1").arg(mFileName));
@@ -369,7 +369,7 @@ void SoundDlg::stopPlay()
delete mPlayTimer; mPlayTimer = 0;
if (!mLocalAudioFile.isEmpty())
{
- KIO::NetAccess::removeTempFile(mLocalAudioFile); // removes it only if it IS a temporary file
+ TDEIO::NetAccess::removeTempFile(mLocalAudioFile); // removes it only if it IS a temporary file
mLocalAudioFile = TQString();
}
mFilePlay->setPixmap(SmallIcon("player_play"));
@@ -400,7 +400,7 @@ bool SoundDlg::checkFile()
{
// It's an absolute path or URL.
// Only allow local files for KAudioPlayer.
- if (url.isLocalFile() && KIO::NetAccess::exists(url, true, this))
+ if (url.isLocalFile() && TDEIO::NetAccess::exists(url, true, this))
{
mFileName = url.path();
return true;
@@ -425,7 +425,7 @@ bool SoundDlg::checkFile()
{
url.setPath(*it);
url.addPath(mFileName);
- if (KIO::NetAccess::exists(url, true, this))
+ if (TDEIO::NetAccess::exists(url, true, this))
{
mFileName = url.path();
return true;
@@ -435,7 +435,7 @@ bool SoundDlg::checkFile()
}
url.setPath(TQDir::homeDirPath());
url.addPath(mFileName);
- if (KIO::NetAccess::exists(url, true, this))
+ if (TDEIO::NetAccess::exists(url, true, this))
{
mFileName = url.path();
return true;