diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kioslaves/mbox/mbox.cc | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kioslaves/mbox/mbox.cc')
-rw-r--r-- | kioslaves/mbox/mbox.cc | 14 |
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(); |