From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/meanwhile/meanwhilesession.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kopete/protocols/meanwhile/meanwhilesession.cpp') diff --git a/kopete/protocols/meanwhile/meanwhilesession.cpp b/kopete/protocols/meanwhile/meanwhilesession.cpp index c7121875..5f367540 100644 --- a/kopete/protocols/meanwhile/meanwhilesession.cpp +++ b/kopete/protocols/meanwhile/meanwhilesession.cpp @@ -426,7 +426,7 @@ void MeanwhileSession::syncContactsToServer() if (contactgroup->type() == Kopete::Group::TopLevel) { stgroup = topstgroup; } else { - /* find (or create) a matching sametime list group */ + /* tqfind (or create) a matching sametime list group */ stgroup = mwSametimeList_findGroup(list, contactgroup->displayName().ascii()); if (stgroup == 0L) { @@ -473,7 +473,7 @@ void MeanwhileSession::slotSocketDataAvailable() { HERE; guchar *buf; - Q_LONG bytesRead; + TQ_LONG bytesRead; if (socket == 0L) return; @@ -548,17 +548,17 @@ void MeanwhileSession::resolveContactNickname(MeanwhileContact *contact) TQString MeanwhileSession::getNickName(struct mwLoginInfo *logininfo) { if (logininfo == 0L || logininfo->user_name == 0L) - return TQString::null; + return TQString(); return getNickName(logininfo->user_name); } TQString MeanwhileSession::getNickName(TQString name) { - int index = name.find(" - "); + int index = name.tqfind(" - "); if (index != -1) name = name.remove(0, index + 3); - index = name.find('/'); + index = name.tqfind('/'); if (index != -1) name = name.left(index); -- cgit v1.2.1