summaryrefslogtreecommitdiffstats
path: root/ksirc/messageReceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/messageReceiver.cpp')
-rw-r--r--ksirc/messageReceiver.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/messageReceiver.cpp b/ksirc/messageReceiver.cpp
index f2ac6ee0..e60d82e3 100644
--- a/ksirc/messageReceiver.cpp
+++ b/ksirc/messageReceiver.cpp
@@ -1,6 +1,6 @@
#include "messageReceiver.h"
-#include <qtextcodec.h>
+#include <tqtextcodec.h>
#include <kcharsets.h>
#include <kglobal.h>
#include <kdebug.h>
@@ -36,7 +36,7 @@ UnicodeMessageReceiver::UnicodeMessageReceiver( KSircProcess *process )
{
}
-void UnicodeMessageReceiver::sirc_receive( QCString str, bool broadcast )
+void UnicodeMessageReceiver::sirc_receive( TQCString str, bool broadcast )
{
assert( encoder() );
//kdDebug(5008) << "Encoder: " << encoder()->name() << endl;
@@ -44,23 +44,23 @@ void UnicodeMessageReceiver::sirc_receive( QCString str, bool broadcast )
sirc_receive( encoder()->toUnicode( str ), broadcast );
}
-void UnicodeMessageReceiver::setEncoding( const QString &encoding )
+void UnicodeMessageReceiver::setEncoding( const TQString &encoding )
{
m_encoding = encoding;
m_encoder = 0;
}
-QString UnicodeMessageReceiver::encoding() const
+TQString UnicodeMessageReceiver::encoding() const
{
if ( m_encoding.isEmpty() )
- return QTextCodec::codecForLocale()->mimeName();
+ return TQTextCodec::codecForLocale()->mimeName();
return m_encoding;
}
-QTextCodec *UnicodeMessageReceiver::encoder() const
+TQTextCodec *UnicodeMessageReceiver::encoder() const
{
if ( m_encoding.isEmpty() ) {
- return QTextCodec::codecForLocale();
+ return TQTextCodec::codecForLocale();
}
if ( !m_encoder ) {