diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /kopete/protocols/irc/ircprotocol.cpp | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-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/ircprotocol.cpp')
-rw-r--r-- | kopete/protocols/irc/ircprotocol.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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) |