summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit2bc1d72869b62af05ae4feafd878203b526da8c5 (patch)
tree2676903bb600bd9646644856e354940471ad84e2 /kopete/protocols/irc
parent937b2991d8e78166eea904c80ad04d34607017a4 (diff)
downloadtdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz
tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/irc')
-rw-r--r--kopete/protocols/irc/ircaddcontactpage.cpp2
-rw-r--r--kopete/protocols/irc/ircaddcontactpage.h2
-rw-r--r--kopete/protocols/irc/ircguiclient.cpp8
-rw-r--r--kopete/protocols/irc/ircguiclient.h2
-rw-r--r--kopete/protocols/irc/ircprotocol.cpp16
-rw-r--r--kopete/protocols/irc/ircprotocol.h6
-rw-r--r--kopete/protocols/irc/kcodecaction.cpp2
-rw-r--r--kopete/protocols/irc/kcodecaction.h2
-rw-r--r--kopete/protocols/irc/libkirc/kircengine.cpp4
-rw-r--r--kopete/protocols/irc/libkirc/kircengine.h2
-rw-r--r--kopete/protocols/irc/libkirc/kircengine_commands.cpp2
-rw-r--r--kopete/protocols/irc/libkirc/kirctransfer.cpp16
-rw-r--r--kopete/protocols/irc/libkirc/kirctransfer.h10
-rw-r--r--kopete/protocols/irc/libkirc/kirctransferserver.cpp12
-rw-r--r--kopete/protocols/irc/libkirc/kirctransferserver.h6
-rw-r--r--kopete/protocols/irc/libkirc/ksslsocket.cpp2
-rw-r--r--kopete/protocols/irc/ui/channellist.cpp10
-rw-r--r--kopete/protocols/irc/ui/channellist.h2
-rw-r--r--kopete/protocols/irc/ui/irceditaccountwidget.cpp4
-rw-r--r--kopete/protocols/irc/ui/irceditaccountwidget.h2
20 files changed, 56 insertions, 56 deletions
diff --git a/kopete/protocols/irc/ircaddcontactpage.cpp b/kopete/protocols/irc/ircaddcontactpage.cpp
index 85f2edfb..6b19721c 100644
--- a/kopete/protocols/irc/ircaddcontactpage.cpp
+++ b/kopete/protocols/irc/ircaddcontactpage.cpp
@@ -31,7 +31,7 @@
#include <klocale.h>
#include <kmessagebox.h>
-IRCAddContactPage::IRCAddContactPage( TQWidget *tqparent, IRCAccount *a ) : AddContactPage(tqparent, 0)
+IRCAddContactPage::IRCAddContactPage( TQWidget *parent, IRCAccount *a ) : AddContactPage(parent, 0)
{
(new TQVBoxLayout(this))->setAutoAdd(true);
ircdata = new ircAddUI(this);
diff --git a/kopete/protocols/irc/ircaddcontactpage.h b/kopete/protocols/irc/ircaddcontactpage.h
index 100886b4..a843f551 100644
--- a/kopete/protocols/irc/ircaddcontactpage.h
+++ b/kopete/protocols/irc/ircaddcontactpage.h
@@ -34,7 +34,7 @@ class IRCAddContactPage : public AddContactPage
Q_OBJECT
TQ_OBJECT
public:
- IRCAddContactPage(TQWidget *tqparent=0, IRCAccount* account = 0);
+ IRCAddContactPage(TQWidget *parent=0, IRCAccount* account = 0);
~IRCAddContactPage();
ircAddUI *ircdata;
diff --git a/kopete/protocols/irc/ircguiclient.cpp b/kopete/protocols/irc/ircguiclient.cpp
index 182670d7..d9d5f8e2 100644
--- a/kopete/protocols/irc/ircguiclient.cpp
+++ b/kopete/protocols/irc/ircguiclient.cpp
@@ -40,9 +40,9 @@
#include "ircaccount.h"
#include "irccontact.h"
-IRCGUIClient::IRCGUIClient( Kopete::ChatSession *tqparent ) : TQObject(tqparent) , KXMLGUIClient(tqparent)
+IRCGUIClient::IRCGUIClient( Kopete::ChatSession *parent ) : TQObject(parent) , KXMLGUIClient(parent)
{
- Kopete::ContactPtrList members = tqparent->members();
+ Kopete::ContactPtrList members = parent->members();
if( members.count() > 0 )
{
m_user = static_cast<IRCContact*>( members.first() );
@@ -53,7 +53,7 @@ IRCGUIClient::IRCGUIClient( Kopete::ChatSession *tqparent ) : TQObject(tqparent)
setXMLFile("ircchatui.rc");
unplugActionList( "irccontactactionlist" );
- TQPtrList<KAction> *actions = m_user->customContextMenuActions( tqparent );
+ TQPtrList<KAction> *actions = m_user->customContextMenuActions( parent );
plugActionList( "irccontactactionlist", *actions );
delete actions;
*/
@@ -62,7 +62,7 @@ IRCGUIClient::IRCGUIClient( Kopete::ChatSession *tqparent ) : TQObject(tqparent)
TQDomDocument doc = domDocument();
TQDomNode menu = doc.documentElement().firstChild().firstChild();
- TQPtrList<KAction> *actions = m_user->customContextMenuActions( tqparent );
+ TQPtrList<KAction> *actions = m_user->customContextMenuActions( parent );
if( actions )
{
for( KAction *a = actions->first(); a; a = actions->next() )
diff --git a/kopete/protocols/irc/ircguiclient.h b/kopete/protocols/irc/ircguiclient.h
index 10d691ad..4ab832ac 100644
--- a/kopete/protocols/irc/ircguiclient.h
+++ b/kopete/protocols/irc/ircguiclient.h
@@ -30,7 +30,7 @@ class IRCGUIClient : public TQObject , public KXMLGUIClient
Q_OBJECT
TQ_OBJECT
public:
- IRCGUIClient( Kopete::ChatSession *tqparent = 0 );
+ IRCGUIClient( Kopete::ChatSession *parent = 0 );
~IRCGUIClient();
private slots:
diff --git a/kopete/protocols/irc/ircprotocol.cpp b/kopete/protocols/irc/ircprotocol.cpp
index e30bfa90..a3906164 100644
--- a/kopete/protocols/irc/ircprotocol.cpp
+++ b/kopete/protocols/irc/ircprotocol.cpp
@@ -104,8 +104,8 @@ void IRCProtocolHandler::handleURL( const KURL &url ) const
newAccount->connect();
}
-IRCProtocol::IRCProtocol( TQObject *tqparent, const char *name, const TQStringList & /* args */ )
-: Kopete::Protocol( IRCProtocolFactory::instance(), tqparent, name ),
+IRCProtocol::IRCProtocol( TQObject *parent, const char *name, const TQStringList & /* args */ )
+: Kopete::Protocol( IRCProtocolFactory::instance(), parent, name ),
m_ServerStatusOnline(Kopete::OnlineStatus::Online,
100, this, OnlineServer, TQString(), i18n("Online")),
@@ -240,12 +240,12 @@ IRCProtocol::IRCProtocol( TQObject *tqparent, const char *name, const TQStringLi
Kopete::CommandHandler::commandHandler()->registerCommand( this, TQString::tqfromLatin1("ban"),
TQT_SLOT( slotBanCommand( const TQString &, Kopete::ChatSession*) ),
- i18n("USAGE: /ban <tqmask> - Add someone to this channel's ban list. (requires operator status)."),
+ i18n("USAGE: /ban <mask> - Add someone to this channel's ban list. (requires operator status)."),
1, 1 );
Kopete::CommandHandler::commandHandler()->registerAlias( this, TQString::tqfromLatin1("bannick"),
TQString::tqfromLatin1("ban %1!*@*"),
- i18n("USAGE: /bannick <nickname> - Add someone to this channel's ban list. Uses the hosttqmask nickname!*@* (requires operator status)."), Kopete::CommandHandler::SystemAlias, 1, 1 );
+ i18n("USAGE: /bannick <nickname> - Add someone to this channel's ban list. Uses the hostmask nickname!*@* (requires operator status)."), Kopete::CommandHandler::SystemAlias, 1, 1 );
Kopete::CommandHandler::commandHandler()->registerCommand( this, TQString::tqfromLatin1("op"),
TQT_SLOT( slotOpCommand( const TQString &, Kopete::ChatSession*) ),
@@ -399,14 +399,14 @@ TQPtrList<KAction> *IRCProtocol::customChatWindowPopupActions( const Kopete::Mes
return 0L;
}
-AddContactPage *IRCProtocol::createAddContactWidget(TQWidget *tqparent, Kopete::Account *account)
+AddContactPage *IRCProtocol::createAddContactWidget(TQWidget *parent, Kopete::Account *account)
{
- return new IRCAddContactPage(tqparent,static_cast<IRCAccount*>(account));
+ return new IRCAddContactPage(parent,static_cast<IRCAccount*>(account));
}
-KopeteEditAccountWidget *IRCProtocol::createEditAccountWidget(Kopete::Account *account, TQWidget *tqparent)
+KopeteEditAccountWidget *IRCProtocol::createEditAccountWidget(Kopete::Account *account, TQWidget *parent)
{
- return new IRCEditAccountWidget(this, static_cast<IRCAccount*>(account),tqparent);
+ return new IRCEditAccountWidget(this, static_cast<IRCAccount*>(account),parent);
}
Kopete::Account *IRCProtocol::createNewAccount(const TQString &accountId)
diff --git a/kopete/protocols/irc/ircprotocol.h b/kopete/protocols/irc/ircprotocol.h
index 61a810fd..725f078a 100644
--- a/kopete/protocols/irc/ircprotocol.h
+++ b/kopete/protocols/irc/ircprotocol.h
@@ -82,11 +82,11 @@ public:
OnlineServer = 32768 //! This server is online.
};
- IRCProtocol( TQObject *tqparent, const char *name, const TQStringList &args );
+ IRCProtocol( TQObject *parent, const char *name, const TQStringList &args );
~IRCProtocol();
/** Kopete::Protocol reimplementation */
- virtual AddContactPage *createAddContactWidget(TQWidget *tqparent, Kopete::Account *account);
+ virtual AddContactPage *createAddContactWidget(TQWidget *parent, Kopete::Account *account);
/**
* Deserialize contact data
@@ -94,7 +94,7 @@ public:
virtual Kopete::Contact *deserializeContact( Kopete::MetaContact *metaContact,
const TQMap<TQString, TQString> &serializedData, const TQMap<TQString, TQString> &addressBookData );
- virtual KopeteEditAccountWidget* createEditAccountWidget(Kopete::Account *account, TQWidget *tqparent);
+ virtual KopeteEditAccountWidget* createEditAccountWidget(Kopete::Account *account, TQWidget *parent);
virtual Kopete::Account* createNewAccount(const TQString &accountId);
diff --git a/kopete/protocols/irc/kcodecaction.cpp b/kopete/protocols/irc/kcodecaction.cpp
index 88306027..f7e4ee24 100644
--- a/kopete/protocols/irc/kcodecaction.cpp
+++ b/kopete/protocols/irc/kcodecaction.cpp
@@ -21,7 +21,7 @@
#include "kcodecaction.h"
KCodecAction::KCodecAction( const TQString &text, const KShortcut &cut,
- TQObject *tqparent, const char *name ) : KSelectAction( text, "", cut, tqparent, name )
+ TQObject *parent, const char *name ) : KSelectAction( text, "", cut, parent, name )
{
TQObject::connect( this, TQT_SIGNAL( activated( const TQString & ) ),
this, TQT_SLOT( slotActivated( const TQString & ) ) );
diff --git a/kopete/protocols/irc/kcodecaction.h b/kopete/protocols/irc/kcodecaction.h
index 1cd408ab..b2e4dd55 100644
--- a/kopete/protocols/irc/kcodecaction.h
+++ b/kopete/protocols/irc/kcodecaction.h
@@ -32,7 +32,7 @@ class KCodecAction : public KSelectAction
TQ_OBJECT
public:
KCodecAction( const TQString &text, const KShortcut &cut = KShortcut(),
- TQObject *tqparent = 0, const char *name = 0 );
+ TQObject *parent = 0, const char *name = 0 );
void setCodec( const TQTextCodec *codec );
diff --git a/kopete/protocols/irc/libkirc/kircengine.cpp b/kopete/protocols/irc/libkirc/kircengine.cpp
index 786b4594..da32d591 100644
--- a/kopete/protocols/irc/libkirc/kircengine.cpp
+++ b/kopete/protocols/irc/libkirc/kircengine.cpp
@@ -53,8 +53,8 @@ using namespace KIRC;
*/
const TQRegExp Engine::m_RemoveLinefeeds( TQString::tqfromLatin1("[\\r\\n]*$") );
-Engine::Engine(TQObject *tqparent, const char *name)
- : TQObject(tqparent, TQString::tqfromLatin1("[KIRC::Engine]%1").tqarg(name).latin1()),
+Engine::Engine(TQObject *parent, const char *name)
+ : TQObject(parent, TQString::tqfromLatin1("[KIRC::Engine]%1").tqarg(name).latin1()),
m_status(Idle),
m_FailedNickOnLogin(false),
m_useSSL(false),
diff --git a/kopete/protocols/irc/libkirc/kircengine.h b/kopete/protocols/irc/libkirc/kircengine.h
index ac3fb00c..d6b8c32b 100644
--- a/kopete/protocols/irc/libkirc/kircengine.h
+++ b/kopete/protocols/irc/libkirc/kircengine.h
@@ -106,7 +106,7 @@ public:
MessageOfTheDayCondensedMessage
};
- Engine( TQObject *tqparent = 0, const char* name = 0 );
+ Engine( TQObject *parent = 0, const char* name = 0 );
~Engine();
// TQString nick() const;
diff --git a/kopete/protocols/irc/libkirc/kircengine_commands.cpp b/kopete/protocols/irc/libkirc/kircengine_commands.cpp
index f8c3dcca..4295a2ee 100644
--- a/kopete/protocols/irc/libkirc/kircengine_commands.cpp
+++ b/kopete/protocols/irc/libkirc/kircengine_commands.cpp
@@ -227,7 +227,7 @@ void Engine::user(const TQString &newUserName, const TQString &hostname, const T
void Engine::user(const TQString &newUserName, TQ_UINT8 mode, const TQString &newRealName)
{
/* RFC2812: "<user> <mode> <unused> <realname>"
- * mode is a numeric value (from a bit tqmask).
+ * mode is a numeric value (from a bit mask).
* 0x00 normal
* 0x04 request +w
* 0x08 request +i */
diff --git a/kopete/protocols/irc/libkirc/kirctransfer.cpp b/kopete/protocols/irc/libkirc/kirctransfer.cpp
index 198009a3..3c6d1907 100644
--- a/kopete/protocols/irc/libkirc/kirctransfer.cpp
+++ b/kopete/protocols/irc/libkirc/kirctransfer.cpp
@@ -28,8 +28,8 @@ using namespace KIRC;
Transfer::Transfer( Engine *engine, TQString nick,// TQString nick_peer_adress
Type type,
- TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+ TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_engine(engine), m_nick(nick),
m_type(type), m_socket(0),
m_initiated(false),
@@ -41,8 +41,8 @@ Transfer::Transfer( Engine *engine, TQString nick,// TQString nick_peer_adress
Transfer::Transfer( Engine *engine, TQString nick,// TQString nick_peer_adress
Transfer::Type type,
TQString fileName, TQ_UINT32 fileSize, // put this in a TQVariant ?
- TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+ TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_engine(engine), m_nick(nick),
m_type(type), m_socket(0),
m_initiated(false),
@@ -55,8 +55,8 @@ Transfer::Transfer( Engine *engine, TQString nick,// TQString nick_peer_adress
TQHostAddress hostAdress, TQ_UINT16 port, // put this in a TQVariant ?
Transfer::Type type,
TQString fileName, TQ_UINT32 fileSize, // put this in a TQVariant ?
- TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+ TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_engine(engine), m_nick(nick),
m_type(type), m_socket(0),
m_initiated(false),
@@ -68,8 +68,8 @@ Transfer::Transfer( Engine *engine, TQString nick,// TQString nick_peer_adress
/*
Transfer::Transfer( Engine *engine, TQString nick,// TQString nick_peer_adress
Transfer::Type type, TQVariant properties,
- TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+ TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_engine(engine), m_nick(nick),
m_type(type), m_socket(properties[socket]),
m_initiated(false),
diff --git a/kopete/protocols/irc/libkirc/kirctransfer.h b/kopete/protocols/irc/libkirc/kirctransfer.h
index 3794e744..950c0e96 100644
--- a/kopete/protocols/irc/libkirc/kirctransfer.h
+++ b/kopete/protocols/irc/libkirc/kirctransfer.h
@@ -59,23 +59,23 @@ public:
public:
Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress
Type type = Unknown,
- TQObject *tqparent = 0L, const char *name = 0L );
+ TQObject *parent = 0L, const char *name = 0L );
Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress,
TQHostAddress peer_address, TQ_UINT16 peer_port,
Transfer::Type type,
- TQObject *tqparent = 0L, const char *name = 0L );
+ TQObject *parent = 0L, const char *name = 0L );
Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress,
Transfer::Type type,
TQString fileName, TQ_UINT32 fileSize,
- TQObject *tqparent = 0L, const char *name = 0L );
+ TQObject *parent = 0L, const char *name = 0L );
Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress,
TQHostAddress peer_address, TQ_UINT16 peer_port,
Transfer::Type type,
TQString fileName, TQ_UINT32 fileSize,
- TQObject *tqparent = 0L, const char *name = 0L );
+ TQObject *parent = 0L, const char *name = 0L );
/*
For a file transfer properties are:
@@ -91,7 +91,7 @@ public:
*//*
Transfer( KIRC *engine, TQString nick,// TQString nick_peer_adress,
Transfer::Type type, TQVariant properties,
- TQObject *tqparent = 0L, const char *name = 0L );
+ TQObject *parent = 0L, const char *name = 0L );
*/
~Transfer();
diff --git a/kopete/protocols/irc/libkirc/kirctransferserver.cpp b/kopete/protocols/irc/libkirc/kirctransferserver.cpp
index ee9e38c1..25b41ff9 100644
--- a/kopete/protocols/irc/libkirc/kirctransferserver.cpp
+++ b/kopete/protocols/irc/libkirc/kirctransferserver.cpp
@@ -25,16 +25,16 @@
using namespace KIRC;
/*
-TransferServer::TransferServer( TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+TransferServer::TransferServer( TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_socket( 0 ),
m_port( 0 ),
m_backlog( 1 )
{
}
*/
-TransferServer::TransferServer(TQ_UINT16 port, int backlog, TQObject *tqparent, const char *name)
- : TQObject( tqparent, name ),
+TransferServer::TransferServer(TQ_UINT16 port, int backlog, TQObject *parent, const char *name)
+ : TQObject( parent, name ),
m_socket( 0 ),
m_port( port ),
m_backlog( backlog )
@@ -44,8 +44,8 @@ TransferServer::TransferServer(TQ_UINT16 port, int backlog, TQObject *tqparent,
TransferServer::TransferServer(Engine *engine, TQString nick,// TQString nick_peer_adress,
Transfer::Type type,
TQString fileName, TQ_UINT32 fileSize,
- TQObject *tqparent, const char *name)
- : TQObject( tqparent, name ),
+ TQObject *parent, const char *name)
+ : TQObject( parent, name ),
m_socket(0),
m_port(0),
m_backlog(1),
diff --git a/kopete/protocols/irc/libkirc/kirctransferserver.h b/kopete/protocols/irc/libkirc/kirctransferserver.h
index a84000e2..e013d9db 100644
--- a/kopete/protocols/irc/libkirc/kirctransferserver.h
+++ b/kopete/protocols/irc/libkirc/kirctransferserver.h
@@ -37,12 +37,12 @@ class TransferServer
TQ_OBJECT
public:
-// TransferServer(TQObject *tqparent = 0, const char *name = 0);
- TransferServer(TQ_UINT16 port, int backlog = 1, TQObject *tqparent = 0, const char *name = 0);
+// TransferServer(TQObject *parent = 0, const char *name = 0);
+ TransferServer(TQ_UINT16 port, int backlog = 1, TQObject *parent = 0, const char *name = 0);
TransferServer(KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress,
Transfer::Type type,
TQString fileName, TQ_UINT32 fileSize,
- TQObject *tqparent = 0, const char *name = 0);
+ TQObject *parent = 0, const char *name = 0);
~TransferServer();
diff --git a/kopete/protocols/irc/libkirc/ksslsocket.cpp b/kopete/protocols/irc/libkirc/ksslsocket.cpp
index 4dcf9ce8..2bf3910a 100644
--- a/kopete/protocols/irc/libkirc/ksslsocket.cpp
+++ b/kopete/protocols/irc/libkirc/ksslsocket.cpp
@@ -326,7 +326,7 @@ int KSSLSocket::verifyCertificate()
setMetaData("ssl_action", "accept");
}
- // Since we're the tqparent, we need to teach the child.
+ // Since we're the parent, we need to teach the child.
setMetaData("ssl_parent_ip", ourIp );
setMetaData("ssl_parent_cert", pc.toString());
diff --git a/kopete/protocols/irc/ui/channellist.cpp b/kopete/protocols/irc/ui/channellist.cpp
index 2d5e0b13..6426224a 100644
--- a/kopete/protocols/irc/ui/channellist.cpp
+++ b/kopete/protocols/irc/ui/channellist.cpp
@@ -41,7 +41,7 @@
class ChannelListItem : public KListViewItem
{
public:
- ChannelListItem( KListView *tqparent, TQString arg1, TQString arg2, TQString arg3 );
+ ChannelListItem( KListView *parent, TQString arg1, TQString arg2, TQString arg3 );
virtual int compare( TQListViewItem *i, int col, bool ascending ) const;
virtual void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int align );
@@ -49,8 +49,8 @@ class ChannelListItem : public KListViewItem
KListView *parentList;
};
-ChannelListItem::ChannelListItem( KListView *tqparent, TQString arg1, TQString arg2, TQString arg3 ) :
- KListViewItem( tqparent, tqparent->lastItem() ), parentList( tqparent )
+ChannelListItem::ChannelListItem( KListView *parent, TQString arg1, TQString arg2, TQString arg3 ) :
+ KListViewItem( parent, parent->lastItem() ), parentList( parent )
{
setText(0, arg1);
setText(1, arg2);
@@ -165,8 +165,8 @@ void ChannelListItem::paintCell( TQPainter *p, const TQColorGroup &cg, int colum
p->drawPixmap( 0, 0, back );
}
-ChannelList::ChannelList( TQWidget* tqparent, KIRC::Engine *engine )
- : TQWidget( tqparent ), m_engine( engine )
+ChannelList::ChannelList( TQWidget* parent, KIRC::Engine *engine )
+ : TQWidget( parent ), m_engine( engine )
{
ChannelListLayout = new TQVBoxLayout( this, 11, 6, "ChannelListLayout");
diff --git a/kopete/protocols/irc/ui/channellist.h b/kopete/protocols/irc/ui/channellist.h
index d907efcb..a5963b6b 100644
--- a/kopete/protocols/irc/ui/channellist.h
+++ b/kopete/protocols/irc/ui/channellist.h
@@ -41,7 +41,7 @@ class ChannelList
TQ_OBJECT
public:
- ChannelList( TQWidget *tqparent, KIRC::Engine *engine );
+ ChannelList( TQWidget *parent, KIRC::Engine *engine );
public slots:
void search();
diff --git a/kopete/protocols/irc/ui/irceditaccountwidget.cpp b/kopete/protocols/irc/ui/irceditaccountwidget.cpp
index 6717bb21..8a7cdcfb 100644
--- a/kopete/protocols/irc/ui/irceditaccountwidget.cpp
+++ b/kopete/protocols/irc/ui/irceditaccountwidget.cpp
@@ -46,8 +46,8 @@
#include <tqlistbox.h>
#include <tqlineedit.h>
-IRCEditAccountWidget::IRCEditAccountWidget(IRCProtocol *proto, IRCAccount *ident, TQWidget *tqparent, const char * )
- : IRCEditAccountBase(tqparent), KopeteEditAccountWidget(ident)
+IRCEditAccountWidget::IRCEditAccountWidget(IRCProtocol *proto, IRCAccount *ident, TQWidget *parent, const char * )
+ : IRCEditAccountBase(parent), KopeteEditAccountWidget(ident)
{
mProtocol = proto;
diff --git a/kopete/protocols/irc/ui/irceditaccountwidget.h b/kopete/protocols/irc/ui/irceditaccountwidget.h
index 025dc5fb..ba2d334f 100644
--- a/kopete/protocols/irc/ui/irceditaccountwidget.h
+++ b/kopete/protocols/irc/ui/irceditaccountwidget.h
@@ -32,7 +32,7 @@ class IRCEditAccountWidget : public IRCEditAccountBase, public KopeteEditAccount
TQ_OBJECT
public:
- IRCEditAccountWidget(IRCProtocol *proto, IRCAccount *, TQWidget *tqparent=0, const char *name=0);
+ IRCEditAccountWidget(IRCProtocol *proto, IRCAccount *, TQWidget *parent=0, const char *name=0);
~IRCEditAccountWidget();
IRCAccount *account();