diff options
Diffstat (limited to 'kopete/protocols/winpopup/wpprotocol.cpp')
-rw-r--r-- | kopete/protocols/winpopup/wpprotocol.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/winpopup/wpprotocol.cpp b/kopete/protocols/winpopup/wpprotocol.cpp index 610cb598..a6805a7e 100644 --- a/kopete/protocols/winpopup/wpprotocol.cpp +++ b/kopete/protocols/winpopup/wpprotocol.cpp @@ -48,8 +48,8 @@ typedef KGenericFactory<WPProtocol> WPProtocolFactory; K_EXPORT_COMPONENT_FACTORY( kopete_wp, WPProtocolFactory( "kopete_wp" ) ) // WP Protocol -WPProtocol::WPProtocol( TQObject *tqparent, const char *name, const TQStringList & /* args */ ) -: Kopete::Protocol( WPProtocolFactory::instance(), tqparent, name ), +WPProtocol::WPProtocol( TQObject *parent, const char *name, const TQStringList & /* args */ ) +: Kopete::Protocol( WPProtocolFactory::instance(), parent, name ), WPOnline( Kopete::OnlineStatus::Online, 25, this, 0, TQString(), i18n("Online"), i18n("Online")), WPAway( Kopete::OnlineStatus::Away, 20, this, 1, "wp_away", i18n("Away"), i18n("Away")), WPOffline( Kopete::OnlineStatus::Offline, 0, this, 2, TQString(), i18n("Offline"), i18n("Offline")) @@ -79,11 +79,11 @@ WPProtocol::~WPProtocol() sProtocol = 0; } -AddContactPage *WPProtocol::createAddContactWidget(TQWidget *tqparent, Kopete::Account *theAccount) +AddContactPage *WPProtocol::createAddContactWidget(TQWidget *parent, Kopete::Account *theAccount) { -// kdDebug(14170) << "WPProtocol::createAddContactWidget(<tqparent>, " << theAccount << ")" << endl; +// kdDebug(14170) << "WPProtocol::createAddContactWidget(<parent>, " << theAccount << ")" << endl; - return new WPAddContact(tqparent, dynamic_cast<WPAccount *>(theAccount)); + return new WPAddContact(parent, dynamic_cast<WPAccount *>(theAccount)); } Kopete::Contact *WPProtocol::deserializeContact( Kopete::MetaContact *metaContact, @@ -108,9 +108,9 @@ Kopete::Contact *WPProtocol::deserializeContact( Kopete::MetaContact *metaContac return theAccount->contacts()[contactId]; } -KopeteEditAccountWidget *WPProtocol::createEditAccountWidget(Kopete::Account *account, TQWidget *tqparent) +KopeteEditAccountWidget *WPProtocol::createEditAccountWidget(Kopete::Account *account, TQWidget *parent) { - return new WPEditAccount(tqparent, account); + return new WPEditAccount(parent, account); } Kopete::Account *WPProtocol::createNewAccount(const TQString &accountId) |