diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/gadu/gaduprotocol.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/gadu/gaduprotocol.cpp')
-rw-r--r-- | kopete/protocols/gadu/gaduprotocol.cpp | 16 |
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" |