summaryrefslogtreecommitdiffstats
path: root/kioslaves/mbox
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/mbox')
-rw-r--r--kioslaves/mbox/readmbox.cc4
-rw-r--r--kioslaves/mbox/stat.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/kioslaves/mbox/readmbox.cc b/kioslaves/mbox/readmbox.cc
index f762bf3ed..f2af8716b 100644
--- a/kioslaves/mbox/readmbox.cc
+++ b/kioslaves/mbox/readmbox.cc
@@ -29,7 +29,7 @@
#include <tqfile.h>
#include <tqfileinfo.h>
#include <tqstring.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@@ -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();
}
diff --git a/kioslaves/mbox/stat.cc b/kioslaves/mbox/stat.cc
index 00285b149..6d5bf75a6 100644
--- a/kioslaves/mbox/stat.cc
+++ b/kioslaves/mbox/stat.cc
@@ -50,7 +50,7 @@ KIO::UDSEntry Stat::stat( ReadMBox& mbox, const UrlInfo& info )
Stat::addAtom( entry, KIO::UDS_FILE_TYPE, S_IFREG );
Stat::addAtom( entry, KIO::UDS_MIME_TYPE, "message/rfc822" );
- url = TQString( "mbox:%1/%2" ).arg( info.filename(), mbox.currentID() );
+ url = TQString( "mbox:%1/%2" ).tqarg( info.filename(), mbox.currentID() );
Stat::addAtom( entry, KIO::UDS_URL, url );
if( mbox.currentID().isEmpty() )
Stat::addAtom( entry, KIO::UDS_NAME, "foobar" );
@@ -79,7 +79,7 @@ KIO::UDSEntry Stat::statMessage( const UrlInfo& info )
{
kdDebug() << "statMessage( " << info.url() << " )" << endl;
KIO::UDSEntry entry;
- TQString url = TQString( "mbox:%1" ).arg( info.url() );
+ TQString url = TQString( "mbox:%1" ).tqarg( info.url() );
//Specific things for a message
Stat::addAtom( entry, KIO::UDS_FILE_TYPE, S_IFREG );