summaryrefslogtreecommitdiffstats
path: root/kioslaves/mbox/mbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/mbox/mbox.cc')
-rw-r--r--kioslaves/mbox/mbox.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kioslaves/mbox/mbox.cc b/kioslaves/mbox/mbox.cc
index 3d56c09ff..0c4fca815 100644
--- a/kioslaves/mbox/mbox.cc
+++ b/kioslaves/mbox/mbox.cc
@@ -59,7 +59,7 @@ int kdemain( int argc, char * argv[] )
}
MBoxProtocol::MBoxProtocol( const TQCString& arg1, const TQCString& arg2 )
- : KIO::SlaveBase( "mbox2", arg1, arg2 ),
+ : TDEIO::SlaveBase( "mbox2", arg1, arg2 ),
m_errorState( true )
{
@@ -79,7 +79,7 @@ void MBoxProtocol::get( const KURL& url )
if( info.type() == UrlInfo::invalid && !m_errorState )
{
- error( KIO::ERR_DOES_NOT_EXIST, info.url() );
+ error( TDEIO::ERR_DOES_NOT_EXIST, info.url() );
return;
}
@@ -106,7 +106,7 @@ void MBoxProtocol::listDir( const KURL& url )
{
m_errorState = false;
- KIO::UDSEntry entry;
+ TDEIO::UDSEntry entry;
UrlInfo info( url, UrlInfo::directory );
ReadMBox mbox( &info, this, hasMetaData( "onlynew" ), hasMetaData( "savetime" ) );
@@ -115,7 +115,7 @@ void MBoxProtocol::listDir( const KURL& url )
if( info.type() != UrlInfo::directory )
{
- error( KIO::ERR_DOES_NOT_EXIST, info.url() );
+ error( TDEIO::ERR_DOES_NOT_EXIST, info.url() );
return;
}
@@ -126,7 +126,7 @@ void MBoxProtocol::listDir( const KURL& url )
listEntry( entry, false );
}
- listEntry( KIO::UDSEntry(), true );
+ listEntry( TDEIO::UDSEntry(), true );
finished();
}
@@ -135,7 +135,7 @@ void MBoxProtocol::stat( const KURL& url )
UrlInfo info( url );
if( info.type() == UrlInfo::invalid )
{
- error( KIO::ERR_DOES_NOT_EXIST, url.path() );
+ error( TDEIO::ERR_DOES_NOT_EXIST, url.path() );
return;
} else
{
@@ -154,7 +154,7 @@ void MBoxProtocol::mimetype( const KURL& url )
return;
if( info.type() == UrlInfo::invalid )
- error( KIO::ERR_DOES_NOT_EXIST, i18n( "Invalid URL" ) );
+ error( TDEIO::ERR_DOES_NOT_EXIST, i18n( "Invalid URL" ) );
else
mimeType( info.mimetype() );
finished();