summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/offlinemessagestask.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 /kopete/protocols/oscar/liboscar/offlinemessagestask.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 'kopete/protocols/oscar/liboscar/offlinemessagestask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/offlinemessagestask.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/oscar/liboscar/offlinemessagestask.cpp b/kopete/protocols/oscar/liboscar/offlinemessagestask.cpp
index d97da7a3..88d41a84 100644
--- a/kopete/protocols/oscar/liboscar/offlinemessagestask.cpp
+++ b/kopete/protocols/oscar/liboscar/offlinemessagestask.cpp
@@ -108,10 +108,10 @@ void OfflineMessagesTask::handleOfflineMessage()
BYTE flags = buffer->getByte(); // msg flags
WORD msgLength = buffer->getLEWord();
- QByteArray msg = buffer->getBlock( msgLength );
+ TQByteArray msg = buffer->getBlock( msgLength );
- QDate date(year, month, day);
- QTime time(hour,minute);
+ TQDate date(year, month, day);
+ TQTime time(hour,minute);
#ifndef HAVE_TM_GMTOFF
int tz = -( ::timezone );
#else
@@ -125,10 +125,10 @@ void OfflineMessagesTask::handleOfflineMessage()
#endif
time = time.addSecs( tz );
- QDateTime hackyTime( date, time );
+ TQDateTime hackyTime( date, time );
Oscar::Message message( Oscar::Message::UserDefined, msg, type, flags, hackyTime );
- message.setSender( QString::number( senderUin ) );
- message.setReceiver( QString::number( receiverUin ) );
+ message.setSender( TQString::number( senderUin ) );
+ message.setReceiver( TQString::number( receiverUin ) );
kdDebug( OSCAR_RAW_DEBUG ) << k_funcinfo << "Received offline message '" << msg.data() << "' from " << senderUin << endl;