diff options
Diffstat (limited to 'kopete/protocols/jabber/jabbergroupchatmanager.cpp')
-rw-r--r-- | kopete/protocols/jabber/jabbergroupchatmanager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/jabber/jabbergroupchatmanager.cpp b/kopete/protocols/jabber/jabbergroupchatmanager.cpp index 7686ba8c..e098fdad 100644 --- a/kopete/protocols/jabber/jabbergroupchatmanager.cpp +++ b/kopete/protocols/jabber/jabbergroupchatmanager.cpp @@ -17,7 +17,7 @@ #include "jabbergroupchatmanager.h" -#include <qptrlist.h> +#include <tqptrlist.h> #include <kdebug.h> #include <klocale.h> #include "kopetechatsessionmanager.h" @@ -40,8 +40,8 @@ JabberGroupChatManager::JabberGroupChatManager ( JabberProtocol *protocol, const // make sure Kopete knows about this instance Kopete::ChatSessionManager::self()->registerChatSession ( this ); - connect ( this, SIGNAL ( messageSent ( Kopete::Message &, Kopete::ChatSession * ) ), - this, SLOT ( slotMessageSent ( Kopete::Message &, Kopete::ChatSession * ) ) ); + connect ( this, TQT_SIGNAL ( messageSent ( Kopete::Message &, Kopete::ChatSession * ) ), + this, TQT_SLOT ( slotMessageSent ( Kopete::Message &, Kopete::ChatSession * ) ) ); updateDisplayName (); } @@ -102,10 +102,10 @@ void JabberGroupChatManager::slotMessageSent ( Kopete::Message &message, Kopete: // please don't translate the following string jabberMessage.setBody ( i18n ( "This message is encrypted." ) ); - QString encryptedBody = message.plainBody (); + TQString encryptedBody = message.plainBody (); // remove PGP header and footer from message - encryptedBody.truncate ( encryptedBody.length () - QString("-----END PGP MESSAGE-----").length () - 2 ); + encryptedBody.truncate ( encryptedBody.length () - TQString("-----END PGP MESSAGE-----").length () - 2 ); encryptedBody = encryptedBody.right ( encryptedBody.length () - encryptedBody.find ( "\n\n" ) - 2 ); // assign payload to message @@ -135,7 +135,7 @@ void JabberGroupChatManager::slotMessageSent ( Kopete::Message &message, Kopete: } } -void JabberGroupChatManager::inviteContact( const QString & contactId ) +void JabberGroupChatManager::inviteContact( const TQString & contactId ) { if( account()->isConnected () ) { |