summaryrefslogtreecommitdiffstats
path: root/arts/kde/kplayobjectfactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'arts/kde/kplayobjectfactory.cc')
-rw-r--r--arts/kde/kplayobjectfactory.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/arts/kde/kplayobjectfactory.cc b/arts/kde/kplayobjectfactory.cc
index 29ee20e3d..1b6be9860 100644
--- a/arts/kde/kplayobjectfactory.cc
+++ b/arts/kde/kplayobjectfactory.cc
@@ -19,7 +19,7 @@
*/
-#include <kio/kmimetype.h>
+#include <tdeio/kmimetype.h>
#include "kplayobject.h"
#include "artskde.h"
#include "kplayobjectfactory.h"
@@ -33,7 +33,7 @@
#include <kdebug.h>
#include "kaudiomanagerplay.h"
#include <flowsystem.h>
-#include <kio/netaccess.h>
+#include <tdeio/netaccess.h>
using namespace std;
@@ -68,14 +68,14 @@ KPlayObject *KPlayObjectFactory::createPlayObject(const KURL& _url, const TQStri
// I hate it
// I hate it
// It sucks
- // kio_media please die
- KURL url = KIO::NetAccess::mostLocalURL(_url, 0);
+ // tdeio_media please die
+ KURL url = TDEIO::NetAccess::mostLocalURL(_url, 0);
if(!m_server.isNull())
{
if(mimetype == "application/octet-stream" && m_allowStreaming)
{
- Arts::KIOInputStream instream;
+ Arts::TDEIOInputStream instream;
instream.openURL(url.url().latin1());
m_stream = true;
@@ -139,8 +139,8 @@ KDE::PlayObject *KDE::PlayObjectFactory::createPlayObject(const KURL& _url, cons
// I hate it
// I hate it
// It sucks
- // kio_media please die
- KURL url = KIO::NetAccess::mostLocalURL(_url, 0);
+ // tdeio_media please die
+ KURL url = TDEIO::NetAccess::mostLocalURL(_url, 0);
// return a NULL playobject if the server is NULL
if ( d->server.isNull() || url.isEmpty() )
@@ -154,7 +154,7 @@ KDE::PlayObject *KDE::PlayObjectFactory::createPlayObject(const KURL& _url, cons
createBUS = false;
}
- // decide if it's a local file. mpeglib provides cdda reading and decoding, so we prefer that over kio_audiocd
+ // decide if it's a local file. mpeglib provides cdda reading and decoding, so we prefer that over tdeio_audiocd
if ( url.isLocalFile() || !d->allowStreaming || (url.protocol() == "audiocd" && mimetype == "application/x-cda" && mimeTypes().contains( "application/x-cda" ) ) )
{
// we rely on the delivered mimetype if it's a local file