summaryrefslogtreecommitdiffstats
path: root/ksirc/messageReceiver.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/messageReceiver.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ) {