summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gaduprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/gadu/gaduprotocol.cpp')
-rw-r--r--kopete/protocols/gadu/gaduprotocol.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/gadu/gaduprotocol.cpp b/kopete/protocols/gadu/gaduprotocol.cpp
index 1a59f17f..8336b6fd 100644
--- a/kopete/protocols/gadu/gaduprotocol.cpp
+++ b/kopete/protocols/gadu/gaduprotocol.cpp
@@ -45,8 +45,8 @@ K_EXPORT_COMPONENT_FACTORY( kopete_gadu, KGenericFactory<GaduProtocol>( "kopete_
GaduProtocol* GaduProtocol::protocolStatic_ = 0L;
-GaduProtocol::GaduProtocol( TQObject* parent, const char* name, const TQStringList& )
-:Kopete::Protocol( GaduProtocolFactory::instance(), parent, name ),
+GaduProtocol::GaduProtocol( TQObject* tqparent, const char* name, const TQStringList& )
+:Kopete::Protocol( GaduProtocolFactory::instance(), tqparent, name ),
propFirstName(Kopete::Global::Properties::self()->firstName()),
propLastName(Kopete::Global::Properties::self()->lastName()),
propEmail(Kopete::Global::Properties::self()->emailAddress()),
@@ -68,7 +68,7 @@ GaduProtocol::GaduProtocol( TQObject* parent, const char* name, const TQStringLi
gaduStatusInvisibleDescr_(Kopete::OnlineStatus::Invisible, GG_STATUS_INVISIBLE_DESCR, this, GG_STATUS_INVISIBLE_DESCR,
TQStringList::split( '|', "contact_invisible_overlay|gg_description_overlay" ), i18n( "Invisible" ) , i18n( "I&nvisible" )),
gaduStatusAvail_(Kopete::OnlineStatus::Online, GG_STATUS_AVAIL, this, GG_STATUS_AVAIL,
- TQString::null, i18n( "Online" ) , i18n( "&Online" ) , Kopete::OnlineStatusManager::Online ),
+ TQString(), i18n( "Online" ) , i18n( "&Online" ) , Kopete::OnlineStatusManager::Online ),
gaduStatusAvailDescr_(Kopete::OnlineStatus::Online, GG_STATUS_AVAIL_DESCR, this, GG_STATUS_AVAIL_DESCR,
"gg_description_overlay", i18n( "Online" ) , i18n( "&Online" )),
gaduConnecting_(Kopete::OnlineStatus::Offline, GG_STATUS_CONNECTING, this, GG_STATUS_CONNECTING,
@@ -99,9 +99,9 @@ GaduProtocol::protocol()
}
AddContactPage*
-GaduProtocol::createAddContactWidget( TQWidget* parent, Kopete::Account* account )
+GaduProtocol::createAddContactWidget( TQWidget* tqparent, Kopete::Account* account )
{
- return new GaduAddContactPage( static_cast<GaduAccount*>( account ), parent );
+ return new GaduAddContactPage( static_cast<GaduAccount*>( account ), tqparent );
}
void
@@ -199,7 +199,7 @@ GaduProtocol::statusWithDescription( uint status )
}
Kopete::OnlineStatus
-GaduProtocol::convertStatus( uint status ) const
+GaduProtocol::converttqStatus( uint status ) const
{
switch( status ) {
case GG_STATUS_NOT_AVAIL:
@@ -235,9 +235,9 @@ GaduProtocol::createNewAccount( const TQString& accountId )
}
KopeteEditAccountWidget*
-GaduProtocol::createEditAccountWidget( Kopete::Account* account, TQWidget* parent )
+GaduProtocol::createEditAccountWidget( Kopete::Account* account, TQWidget* tqparent )
{
- return( new GaduEditAccount( this, account, parent ) );
+ return( new GaduEditAccount( this, account, tqparent ) );
}
#include "gaduprotocol.moc"