diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/irc/ircguiclient.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/irc/ircguiclient.cpp')
-rw-r--r-- | kopete/protocols/irc/ircguiclient.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/irc/ircguiclient.cpp b/kopete/protocols/irc/ircguiclient.cpp index b4c36973..d9d5f8e2 100644 --- a/kopete/protocols/irc/ircguiclient.cpp +++ b/kopete/protocols/irc/ircguiclient.cpp @@ -30,9 +30,9 @@ // ------------------------------------------------------------ #endif -#include <qptrlist.h> +#include <tqptrlist.h> #include <kdebug.h> -#include <qdom.h> +#include <tqdom.h> #include "kopetechatsession.h" #include "kcodecaction.h" @@ -40,7 +40,7 @@ #include "ircaccount.h" #include "irccontact.h" -IRCGUIClient::IRCGUIClient( Kopete::ChatSession *parent ) : QObject(parent) , KXMLGUIClient(parent) +IRCGUIClient::IRCGUIClient( Kopete::ChatSession *parent ) : TQObject(parent) , KXMLGUIClient(parent) { Kopete::ContactPtrList members = parent->members(); if( members.count() > 0 ) @@ -53,22 +53,22 @@ IRCGUIClient::IRCGUIClient( Kopete::ChatSession *parent ) : QObject(parent) , KX setXMLFile("ircchatui.rc"); unplugActionList( "irccontactactionlist" ); - QPtrList<KAction> *actions = m_user->customContextMenuActions( parent ); + TQPtrList<KAction> *actions = m_user->customContextMenuActions( parent ); plugActionList( "irccontactactionlist", *actions ); delete actions; */ setXMLFile("ircchatui.rc"); - QDomDocument doc = domDocument(); - QDomNode menu = doc.documentElement().firstChild().firstChild(); - QPtrList<KAction> *actions = m_user->customContextMenuActions( parent ); + TQDomDocument doc = domDocument(); + TQDomNode menu = doc.documentElement().firstChild().firstChild(); + TQPtrList<KAction> *actions = m_user->customContextMenuActions( parent ); if( actions ) { for( KAction *a = actions->first(); a; a = actions->next() ) { actionCollection()->insert( a ); - QDomElement newNode = doc.createElement( "Action" ); + TQDomElement newNode = doc.createElement( "Action" ); newNode.setAttribute( "name", a->name() ); menu.appendChild( newNode ); } @@ -92,7 +92,7 @@ IRCGUIClient::~IRCGUIClient() { } -void IRCGUIClient::slotSelectCodec( const QTextCodec *codec ) +void IRCGUIClient::slotSelectCodec( const TQTextCodec *codec ) { m_user->setCodec( codec ); } |