summaryrefslogtreecommitdiffstats
path: root/kioslaves/mbox/readmbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/mbox/readmbox.cc')
-rw-r--r--kioslaves/mbox/readmbox.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kioslaves/mbox/readmbox.cc b/kioslaves/mbox/readmbox.cc
index 7cf67e32..32f52d5b 100644
--- a/kioslaves/mbox/readmbox.cc
+++ b/kioslaves/mbox/readmbox.cc
@@ -37,12 +37,12 @@
#include <utime.h>
-ReadMBox::ReadMBox( const UrlInfo* info, MBoxProtocol* parent, bool onlynew, bool savetime )
- : MBoxFile( info, parent ),
+ReadMBox::ReadMBox( const UrlInfo* info, MBoxProtocol* tqparent, bool onlynew, bool savetime )
+ : MBoxFile( info, tqparent ),
m_file( 0 ),
m_stream( 0 ),
- m_current_line( new TQString( TQString::null ) ),
- m_current_id( new TQString( TQString::null ) ),
+ m_current_line( new TQString( TQString() ) ),
+ m_current_id( new TQString( TQString() ) ),
m_atend( true ),
m_prev_time( 0 ),
m_only_new( onlynew ),
@@ -88,7 +88,7 @@ bool ReadMBox::nextLine()
m_atend = m_current_line->isNull();
if( m_atend ) // Cursor was at EOF
{
- *m_current_id = TQString::null;
+ *m_current_id = TQString();
m_prev_status = m_status;
return true;
}
@@ -103,7 +103,7 @@ bool ReadMBox::nextLine()
return true;
} else if( m_only_new )
{
- if( m_header && m_current_line->left( 7 ) == "Status:" &&
+ if( m_header && m_current_line->left( 7 ) == "tqStatus:" &&
! m_current_line->tqcontains( "U" ) && ! m_current_line->tqcontains( "N" ) )
{
m_status = false;
@@ -145,7 +145,7 @@ void ReadMBox::rewind()
if( !m_stream )
return; //Rewinding not possible
- m_stream->device()->reset();
+ m_stream->tqdevice()->reset();
m_atend = m_stream->atEnd();
}