summaryrefslogtreecommitdiffstats
path: root/kaffeine/src/player-parts/xine-part/xine_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaffeine/src/player-parts/xine-part/xine_part.cpp')
-rw-r--r--kaffeine/src/player-parts/xine-part/xine_part.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp
index 2b11777..90d77b9 100644
--- a/kaffeine/src/player-parts/xine-part/xine_part.cpp
+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp
@@ -185,7 +185,7 @@ bool XinePart::openURL(const MRL& mrl)
{
kdDebug() << "XinePart: Check for kaffeine/noatun/m3u/pls/asx playlist\n";
TQString localFile;
- if (KIO::NetAccess::download(m_mrl.kurl(), localFile, widget()))
+ if (TDEIO::NetAccess::download(m_mrl.kurl(), localFile, widget()))
{
TQFile file(localFile);
file.open(IO_ReadOnly);
@@ -235,7 +235,7 @@ bool XinePart::openURL(const MRL& mrl)
}
}
else
- kdError() << "XinePart: " << KIO::NetAccess::lastErrorString() << endl;
+ kdError() << "XinePart: " << TDEIO::NetAccess::lastErrorString() << endl;
}
/* check for ram playlist */
if ( (ext == "ra") || (ext == "rm") || (ext == "ram") || (ext == "lsc") || (ext == "pl") )
@@ -321,7 +321,7 @@ void XinePart::slotPlay(bool forcePlay)
kdDebug() << "XinePart: Protocol not supported by xine, try to download it..." << endl;
TQString localFile;
- if (KIO::NetAccess::download(mrl.kurl(), localFile, widget()))
+ if (TDEIO::NetAccess::download(mrl.kurl(), localFile, widget()))
{
m_xine->clearQueue();
m_xine->appendToQueue(localFile);
@@ -334,7 +334,7 @@ void XinePart::slotPlay(bool forcePlay)
TQTimer::singleShot(0, TQT_TQOBJECT(m_xine), TQT_SLOT(slotPlay()));
}
else
- kdError() << "XinePart: " << KIO::NetAccess::lastErrorString() << endl;
+ kdError() << "XinePart: " << TDEIO::NetAccess::lastErrorString() << endl;
}
}
@@ -1487,7 +1487,7 @@ void XinePart::loadConfig()
{
kdDebug() << "XinePart: load config" << endl;
- KConfig* config = instance()->config();
+ TDEConfig* config = instance()->config();
config->setGroup("General Options");
if (m_xine->SoftwareMixing())
@@ -1538,7 +1538,7 @@ void XinePart::saveConfig()
kdDebug() << "XinePart: save config" << endl;
- KConfig* config = instance()->config();
+ TDEConfig* config = instance()->config();
config->setGroup("General Options");
config->writeEntry("Volume", m_volume->value());