summaryrefslogtreecommitdiffstats
path: root/kalarm/sounddlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:37:21 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kalarm/sounddlg.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/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;