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.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kioslaves/mbox/mbox.cc b/kioslaves/mbox/mbox.cc
index 8ad8d09ab..1828401b6 100644
--- a/kioslaves/mbox/mbox.cc
+++ b/kioslaves/mbox/mbox.cc
@@ -22,8 +22,8 @@
#include "stat.h"
#include "urlinfo.h"
-#include <qstring.h>
-#include <qcstring.h>
+#include <tqstring.h>
+#include <tqcstring.h>
#include <kdebug.h>
#include <klocale.h>
@@ -58,7 +58,7 @@ int kdemain( int argc, char * argv[] )
return 0;
}
-MBoxProtocol::MBoxProtocol( const QCString& arg1, const QCString& arg2 )
+MBoxProtocol::MBoxProtocol( const TQCString& arg1, const TQCString& arg2 )
: KIO::SlaveBase( "mbox2", arg1, arg2 ),
m_errorState( true )
{
@@ -74,8 +74,8 @@ void MBoxProtocol::get( const KURL& url )
m_errorState = false;
UrlInfo info( url, UrlInfo::message );
- QString line;
- QByteArray ba_line;
+ TQString line;
+ TQByteArray ba_line;
if( info.type() == UrlInfo::invalid && !m_errorState )
{
@@ -89,7 +89,7 @@ void MBoxProtocol::get( const KURL& url )
{
line = mbox.currentLine();
line += '\n';
- ba_line = QCString( line.utf8() );
+ ba_line = TQCString( line.utf8() );
ba_line.truncate( ba_line.size() - 1 ); //Removing training '\0'
data( ba_line );
mbox.nextLine();
@@ -97,7 +97,7 @@ void MBoxProtocol::get( const KURL& url )
if( !m_errorState )
{
- data( QByteArray() );
+ data( TQByteArray() );
finished();
}
}
@@ -160,7 +160,7 @@ void MBoxProtocol::mimetype( const KURL& url )
finished();
}
-void MBoxProtocol::emitError( int errno, const QString& arg )
+void MBoxProtocol::emitError( int errno, const TQString& arg )
{
m_errorState = true;
error( errno, arg );