summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu
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/gadu
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/gadu')
-rw-r--r--kopete/protocols/gadu/gaduaccount.cpp4
-rw-r--r--kopete/protocols/gadu/gaduaddcontactpage.cpp4
-rw-r--r--kopete/protocols/gadu/gaduaddcontactpage.h2
-rw-r--r--kopete/protocols/gadu/gaduaway.cpp4
-rw-r--r--kopete/protocols/gadu/gaduaway.h2
-rw-r--r--kopete/protocols/gadu/gaducommands.cpp24
-rw-r--r--kopete/protocols/gadu/gaducommands.h12
-rw-r--r--kopete/protocols/gadu/gaducontact.cpp4
-rw-r--r--kopete/protocols/gadu/gadudcc.cpp4
-rw-r--r--kopete/protocols/gadu/gadudcc.h2
-rw-r--r--kopete/protocols/gadu/gadudcctransaction.cpp4
-rw-r--r--kopete/protocols/gadu/gadueditaccount.cpp4
-rw-r--r--kopete/protocols/gadu/gadueditaccount.h2
-rw-r--r--kopete/protocols/gadu/gadueditcontact.cpp8
-rw-r--r--kopete/protocols/gadu/gadueditcontact.h4
-rw-r--r--kopete/protocols/gadu/gaduprotocol.cpp12
-rw-r--r--kopete/protocols/gadu/gaduprotocol.h6
-rw-r--r--kopete/protocols/gadu/gadupubdir.cpp8
-rw-r--r--kopete/protocols/gadu/gadupubdir.h4
-rw-r--r--kopete/protocols/gadu/gaduregisteraccount.cpp4
-rw-r--r--kopete/protocols/gadu/gadusession.cpp4
-rw-r--r--kopete/protocols/gadu/gadusession.h2
22 files changed, 62 insertions, 62 deletions
diff --git a/kopete/protocols/gadu/gaduaccount.cpp b/kopete/protocols/gadu/gaduaccount.cpp
index 767c7b1a..8575aeed 100644
--- a/kopete/protocols/gadu/gaduaccount.cpp
+++ b/kopete/protocols/gadu/gaduaccount.cpp
@@ -114,8 +114,8 @@ static const char* const servers_ip[] = {
#define NUM_SERVERS (sizeof(servers_ip)/sizeof(char*))
- GaduAccount::GaduAccount( Kopete::Protocol* tqparent, const TQString& accountID,const char* name )
-: Kopete::PasswordedAccount( tqparent, accountID, 0, name )
+ GaduAccount::GaduAccount( Kopete::Protocol* parent, const TQString& accountID,const char* name )
+: Kopete::PasswordedAccount( parent, accountID, 0, name )
{
TQHostAddress ip;
p = new GaduAccountPrivate;
diff --git a/kopete/protocols/gadu/gaduaddcontactpage.cpp b/kopete/protocols/gadu/gaduaddcontactpage.cpp
index 6cc671b0..99867508 100644
--- a/kopete/protocols/gadu/gaduaddcontactpage.cpp
+++ b/kopete/protocols/gadu/gaduaddcontactpage.cpp
@@ -43,8 +43,8 @@
#include <tqcombobox.h>
#include <krestrictedline.h>
-GaduAddContactPage::GaduAddContactPage( GaduAccount* owner, TQWidget* tqparent, const char* name )
-: AddContactPage( tqparent, name )
+GaduAddContactPage::GaduAddContactPage( GaduAccount* owner, TQWidget* parent, const char* name )
+: AddContactPage( parent, name )
{
account_ = owner;
( new TQVBoxLayout( this ) )->setAutoAdd( true );
diff --git a/kopete/protocols/gadu/gaduaddcontactpage.h b/kopete/protocols/gadu/gaduaddcontactpage.h
index 71ab9c6c..1ec333b9 100644
--- a/kopete/protocols/gadu/gaduaddcontactpage.h
+++ b/kopete/protocols/gadu/gaduaddcontactpage.h
@@ -40,7 +40,7 @@ class GaduAddContactPage : public AddContactPage
TQ_OBJECT
public:
- GaduAddContactPage( GaduAccount*, TQWidget* tqparent = 0, const char* name = 0 );
+ GaduAddContactPage( GaduAccount*, TQWidget* parent = 0, const char* name = 0 );
~GaduAddContactPage();
virtual bool validateData();
virtual bool apply( Kopete::Account* , Kopete::MetaContact * );
diff --git a/kopete/protocols/gadu/gaduaway.cpp b/kopete/protocols/gadu/gaduaway.cpp
index e100af2e..8785f08f 100644
--- a/kopete/protocols/gadu/gaduaway.cpp
+++ b/kopete/protocols/gadu/gaduaway.cpp
@@ -36,8 +36,8 @@
#include "gaduawayui.h"
#include "gaduaway.h"
-GaduAway::GaduAway( GaduAccount* account, TQWidget* tqparent, const char* name )
-: KDialogBase( tqparent, name, true, i18n( "Away Dialog" ),
+GaduAway::GaduAway( GaduAccount* account, TQWidget* parent, const char* name )
+: KDialogBase( parent, name, true, i18n( "Away Dialog" ),
KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Ok, true ), account_( account )
{
diff --git a/kopete/protocols/gadu/gaduaway.h b/kopete/protocols/gadu/gaduaway.h
index 0cf8eef7..6b1e0483 100644
--- a/kopete/protocols/gadu/gaduaway.h
+++ b/kopete/protocols/gadu/gaduaway.h
@@ -35,7 +35,7 @@ class GaduAway : public KDialogBase
TQ_OBJECT
public:
- GaduAway( GaduAccount*, TQWidget* tqparent = 0, const char* name = 0 );
+ GaduAway( GaduAccount*, TQWidget* parent = 0, const char* name = 0 );
int status() const;
TQString awayText() const;
diff --git a/kopete/protocols/gadu/gaducommands.cpp b/kopete/protocols/gadu/gaducommands.cpp
index 8f45f94c..fb5944f8 100644
--- a/kopete/protocols/gadu/gaducommands.cpp
+++ b/kopete/protocols/gadu/gaducommands.cpp
@@ -37,8 +37,8 @@
#include <errno.h>
-GaduCommand::GaduCommand( TQObject* tqparent, const char* name )
-: TQObject( tqparent, name ), read_( 0 ), write_( 0 )
+GaduCommand::GaduCommand( TQObject* parent, const char* name )
+: TQObject( parent, name ), read_( 0 ), write_( 0 )
{
}
@@ -114,13 +114,13 @@ GaduCommand::forwarder()
emit socketReady();
}
-RegisterCommand::RegisterCommand( TQObject* tqparent, const char* name )
-:GaduCommand( tqparent, name ), state( RegisterStateNoToken ), session_( 0 ), uin( 0 )
+RegisterCommand::RegisterCommand( TQObject* parent, const char* name )
+:GaduCommand( parent, name ), state( RegisterStateNoToken ), session_( 0 ), uin( 0 )
{
}
-RegisterCommand::RegisterCommand( const TQString& email, const TQString& password, TQObject* tqparent, const char* name )
-:GaduCommand( tqparent, name ), state( RegisterStateNoToken ), email_( email ), password_( password ), session_( 0 ), uin( 0 )
+RegisterCommand::RegisterCommand( const TQString& email, const TQString& password, TQObject* parent, const char* name )
+:GaduCommand( parent, name ), state( RegisterStateNoToken ), email_( email ), password_( password ), session_( 0 ), uin( 0 )
{
}
@@ -293,13 +293,13 @@ void RegisterCommand::watcher()
}
}
-RemindPasswordCommand::RemindPasswordCommand( TQObject* tqparent, const char* name )
-: GaduCommand( tqparent, name ), uin_( 0 ), session_( 0 )
+RemindPasswordCommand::RemindPasswordCommand( TQObject* parent, const char* name )
+: GaduCommand( parent, name ), uin_( 0 ), session_( 0 )
{
}
-RemindPasswordCommand::RemindPasswordCommand( uin_t uin, TQObject* tqparent, const char* name )
-: GaduCommand( tqparent, name ), uin_( uin ), session_( 0 )
+RemindPasswordCommand::RemindPasswordCommand( uin_t uin, TQObject* parent, const char* name )
+: GaduCommand( parent, name ), uin_( uin ), session_( 0 )
{
}
@@ -351,8 +351,8 @@ RemindPasswordCommand::watcher()
enableNotifiers( session_->check );
}
-ChangePasswordCommand::ChangePasswordCommand( TQObject* tqparent, const char* name )
-: GaduCommand( tqparent, name ), session_( 0 )
+ChangePasswordCommand::ChangePasswordCommand( TQObject* parent, const char* name )
+: GaduCommand( parent, name ), session_( 0 )
{
}
diff --git a/kopete/protocols/gadu/gaducommands.h b/kopete/protocols/gadu/gaducommands.h
index c0576b35..a9c78b35 100644
--- a/kopete/protocols/gadu/gaducommands.h
+++ b/kopete/protocols/gadu/gaducommands.h
@@ -41,7 +41,7 @@ class GaduCommand : public TQObject
TQ_OBJECT
public:
- GaduCommand( TQObject* tqparent = 0, const char* name = 0 );
+ GaduCommand( TQObject* parent = 0, const char* name = 0 );
virtual ~GaduCommand();
virtual void execute() = 0;
@@ -77,9 +77,9 @@ class RegisterCommand : public GaduCommand
TQ_OBJECT
public:
- RegisterCommand( TQObject* tqparent = 0, const char* name = 0 );
+ RegisterCommand( TQObject* parent = 0, const char* name = 0 );
RegisterCommand( const TQString& email, const TQString& password ,
- TQObject* tqparent = 0, const char* name = 0 );
+ TQObject* parent = 0, const char* name = 0 );
~RegisterCommand();
void setUserinfo( const TQString& email, const TQString& password, const TQString& token );
@@ -111,8 +111,8 @@ class RemindPasswordCommand : public GaduCommand
TQ_OBJECT
public:
- RemindPasswordCommand( uin_t uin, TQObject* tqparent = 0, const char* name = 0 );
- RemindPasswordCommand( TQObject* tqparent = 0, const char* name = 0 );
+ RemindPasswordCommand( uin_t uin, TQObject* parent = 0, const char* name = 0 );
+ RemindPasswordCommand( TQObject* parent = 0, const char* name = 0 );
~RemindPasswordCommand();
void setUIN( uin_t );
@@ -132,7 +132,7 @@ class ChangePasswordCommand : public GaduCommand
TQ_OBJECT
public:
- ChangePasswordCommand( TQObject* tqparent = 0, const char* name = 0 );
+ ChangePasswordCommand( TQObject* parent = 0, const char* name = 0 );
~ChangePasswordCommand();
void setInfo( uin_t uin, const TQString& passwd, const TQString& newpasswd,
diff --git a/kopete/protocols/gadu/gaducontact.cpp b/kopete/protocols/gadu/gaducontact.cpp
index 0b581a42..d7965d3b 100644
--- a/kopete/protocols/gadu/gaducontact.cpp
+++ b/kopete/protocols/gadu/gaducontact.cpp
@@ -44,8 +44,8 @@
using Kopete::UserInfoDialog;
-GaduContact::GaduContact( uin_t uin, const TQString& name, Kopete::Account* account, Kopete::MetaContact* tqparent )
-: Kopete::Contact( account, TQString::number( uin ), tqparent ), uin_( uin )
+GaduContact::GaduContact( uin_t uin, const TQString& name, Kopete::Account* account, Kopete::MetaContact* parent )
+: Kopete::Contact( account, TQString::number( uin ), parent ), uin_( uin )
{
msgManager_ = 0L;
account_ = static_cast<GaduAccount*>( account );
diff --git a/kopete/protocols/gadu/gadudcc.cpp b/kopete/protocols/gadu/gadudcc.cpp
index b44ba883..4235d4e3 100644
--- a/kopete/protocols/gadu/gadudcc.cpp
+++ b/kopete/protocols/gadu/gadudcc.cpp
@@ -50,8 +50,8 @@ static TQMutex initmutex;
typedef TQMap< unsigned int, GaduAccount* > gaduAccounts;
static gaduAccounts accounts;
-GaduDCC::GaduDCC( TQObject* tqparent, const char* name )
-:TQObject( tqparent, name )
+GaduDCC::GaduDCC( TQObject* parent, const char* name )
+:TQObject( parent, name )
{
}
diff --git a/kopete/protocols/gadu/gadudcc.h b/kopete/protocols/gadu/gadudcc.h
index 52f07750..465de8d4 100644
--- a/kopete/protocols/gadu/gadudcc.h
+++ b/kopete/protocols/gadu/gadudcc.h
@@ -37,7 +37,7 @@ class GaduDCC: public TQObject {
Q_OBJECT
TQ_OBJECT
public:
- GaduDCC( TQObject* tqparent, const char* name = NULL );
+ GaduDCC( TQObject* parent, const char* name = NULL );
~GaduDCC();
bool unregisterAccount();
bool registerAccount( GaduAccount* );
diff --git a/kopete/protocols/gadu/gadudcctransaction.cpp b/kopete/protocols/gadu/gadudcctransaction.cpp
index e95f80d1..2d0e45d4 100644
--- a/kopete/protocols/gadu/gadudcctransaction.cpp
+++ b/kopete/protocols/gadu/gadudcctransaction.cpp
@@ -44,8 +44,8 @@
#include "libgadu.h"
-GaduDCCTransaction::GaduDCCTransaction( GaduDCC* tqparent, const char* name )
-:TQObject( tqparent, name ), gaduDCC_( tqparent )
+GaduDCCTransaction::GaduDCCTransaction( GaduDCC* parent, const char* name )
+:TQObject( parent, name ), gaduDCC_( parent )
{
read_ = NULL;
write_ = NULL;
diff --git a/kopete/protocols/gadu/gadueditaccount.cpp b/kopete/protocols/gadu/gadueditaccount.cpp
index 244aee2a..08987c16 100644
--- a/kopete/protocols/gadu/gadueditaccount.cpp
+++ b/kopete/protocols/gadu/gadueditaccount.cpp
@@ -43,8 +43,8 @@
#include "kopetepasswordwidget.h"
-GaduEditAccount::GaduEditAccount( GaduProtocol* proto, Kopete::Account* ident, TQWidget* tqparent, const char* name )
-: GaduAccountEditUI( tqparent, name ), KopeteEditAccountWidget( ident ), protocol_( proto ), rcmd( 0 )
+GaduEditAccount::GaduEditAccount( GaduProtocol* proto, Kopete::Account* ident, TQWidget* parent, const char* name )
+: GaduAccountEditUI( parent, name ), KopeteEditAccountWidget( ident ), protocol_( proto ), rcmd( 0 )
{
#ifdef __GG_LIBGADU_HAVE_OPENSSL
diff --git a/kopete/protocols/gadu/gadueditaccount.h b/kopete/protocols/gadu/gadueditaccount.h
index c63ac450..23e230fd 100644
--- a/kopete/protocols/gadu/gadueditaccount.h
+++ b/kopete/protocols/gadu/gadueditaccount.h
@@ -38,7 +38,7 @@ class GaduEditAccount : public GaduAccountEditUI, public KopeteEditAccountWidget
TQ_OBJECT
public:
- GaduEditAccount( GaduProtocol*, Kopete::Account*, TQWidget* tqparent = 0, const char* name = 0 );
+ GaduEditAccount( GaduProtocol*, Kopete::Account*, TQWidget* parent = 0, const char* name = 0 );
virtual bool validateData();
Kopete::Account* apply();
diff --git a/kopete/protocols/gadu/gadueditcontact.cpp b/kopete/protocols/gadu/gadueditcontact.cpp
index 6c13f1ff..985a9874 100644
--- a/kopete/protocols/gadu/gadueditcontact.cpp
+++ b/kopete/protocols/gadu/gadueditcontact.cpp
@@ -46,8 +46,8 @@
// FIXME: this and gaduadcontactpage should have one base class, with some code duplicated in both.
GaduEditContact::GaduEditContact( GaduAccount* account, GaduContact* contact,
- TQWidget* tqparent, const char* name )
-: KDialogBase( tqparent, name, true, i18n( "Edit Contact's Properties" ),
+ TQWidget* parent, const char* name )
+: KDialogBase( parent, name, true, i18n( "Edit Contact's Properties" ),
KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Ok, true ), account_( account ), contact_( contact )
{
@@ -64,8 +64,8 @@ GaduEditContact::GaduEditContact( GaduAccount* account, GaduContact* contact,
}
GaduEditContact::GaduEditContact( GaduAccount* account, GaduContactsList::ContactLine* clin,
- TQWidget* tqparent , const char* name )
-: KDialogBase( tqparent, name, true, i18n( "Edit Contact's Properties" ),
+ TQWidget* parent , const char* name )
+: KDialogBase( parent, name, true, i18n( "Edit Contact's Properties" ),
KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Ok, true ), account_( account ), contact_( NULL )
{
diff --git a/kopete/protocols/gadu/gadueditcontact.h b/kopete/protocols/gadu/gadueditcontact.h
index a48bd697..48f95980 100644
--- a/kopete/protocols/gadu/gadueditcontact.h
+++ b/kopete/protocols/gadu/gadueditcontact.h
@@ -40,9 +40,9 @@ class GaduEditContact : public KDialogBase
public:
GaduEditContact( GaduAccount*, GaduContact*,
- TQWidget* tqparent = 0, const char* name = 0 );
+ TQWidget* parent = 0, const char* name = 0 );
GaduEditContact( GaduAccount*, GaduContactsList::ContactLine*,
- TQWidget* tqparent = 0, const char* name = 0 );
+ TQWidget* parent = 0, const char* name = 0 );
protected slots:
void slotApply();
void listClicked( TQListViewItem* );
diff --git a/kopete/protocols/gadu/gaduprotocol.cpp b/kopete/protocols/gadu/gaduprotocol.cpp
index 8336b6fd..517902f1 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* tqparent, const char* name, const TQStringList& )
-:Kopete::Protocol( GaduProtocolFactory::instance(), tqparent, name ),
+GaduProtocol::GaduProtocol( TQObject* parent, const char* name, const TQStringList& )
+:Kopete::Protocol( GaduProtocolFactory::instance(), parent, name ),
propFirstName(Kopete::Global::Properties::self()->firstName()),
propLastName(Kopete::Global::Properties::self()->lastName()),
propEmail(Kopete::Global::Properties::self()->emailAddress()),
@@ -99,9 +99,9 @@ GaduProtocol::protocol()
}
AddContactPage*
-GaduProtocol::createAddContactWidget( TQWidget* tqparent, Kopete::Account* account )
+GaduProtocol::createAddContactWidget( TQWidget* parent, Kopete::Account* account )
{
- return new GaduAddContactPage( static_cast<GaduAccount*>( account ), tqparent );
+ return new GaduAddContactPage( static_cast<GaduAccount*>( account ), parent );
}
void
@@ -235,9 +235,9 @@ GaduProtocol::createNewAccount( const TQString& accountId )
}
KopeteEditAccountWidget*
-GaduProtocol::createEditAccountWidget( Kopete::Account* account, TQWidget* tqparent )
+GaduProtocol::createEditAccountWidget( Kopete::Account* account, TQWidget* parent )
{
- return( new GaduEditAccount( this, account, tqparent ) );
+ return( new GaduEditAccount( this, account, parent ) );
}
#include "gaduprotocol.moc"
diff --git a/kopete/protocols/gadu/gaduprotocol.h b/kopete/protocols/gadu/gaduprotocol.h
index 99076f9d..5abae065 100644
--- a/kopete/protocols/gadu/gaduprotocol.h
+++ b/kopete/protocols/gadu/gaduprotocol.h
@@ -53,16 +53,16 @@ class GaduProtocol : public Kopete::Protocol
TQ_OBJECT
public:
- GaduProtocol( TQObject* tqparent, const char* name, const TQStringList& str);
+ GaduProtocol( TQObject* parent, const char* name, const TQStringList& str);
~GaduProtocol();
static GaduProtocol *protocol();
// Plugin reimplementation
// {
- AddContactPage* createAddContactWidget( TQWidget* tqparent, Kopete::Account* account );
+ AddContactPage* createAddContactWidget( TQWidget* parent, Kopete::Account* account );
Kopete::Account* createNewAccount( const TQString& accountId );
- KopeteEditAccountWidget *createEditAccountWidget( Kopete::Account* account, TQWidget* tqparent );
+ KopeteEditAccountWidget *createEditAccountWidget( Kopete::Account* account, TQWidget* parent );
bool canSendOffline() const { return true; }
virtual Kopete::Contact *deserializeContact( Kopete::MetaContact* metaContact,
diff --git a/kopete/protocols/gadu/gadupubdir.cpp b/kopete/protocols/gadu/gadupubdir.cpp
index 8c33aef2..570f2796 100644
--- a/kopete/protocols/gadu/gadupubdir.cpp
+++ b/kopete/protocols/gadu/gadupubdir.cpp
@@ -40,8 +40,8 @@
#include <klistview.h>
#include <klocale.h>
-GaduPublicDir::GaduPublicDir( GaduAccount* account, TQWidget* tqparent, const char* name )
-: KDialogBase( tqparent, name, false, TQString(), User1|User2|User3|Cancel, User2 )
+GaduPublicDir::GaduPublicDir( GaduAccount* account, TQWidget* parent, const char* name )
+: KDialogBase( parent, name, false, TQString(), User1|User2|User3|Cancel, User2 )
{
mAccount = account;
createWidget();
@@ -50,8 +50,8 @@ GaduPublicDir::GaduPublicDir( GaduAccount* account, TQWidget* tqparent, const ch
show();
}
-GaduPublicDir::GaduPublicDir( GaduAccount* account, int searchFor, TQWidget* tqparent, const char* name )
-: KDialogBase( tqparent, name, false, TQString(), User1|User2|User3|Cancel, User2 )
+GaduPublicDir::GaduPublicDir( GaduAccount* account, int searchFor, TQWidget* parent, const char* name )
+: KDialogBase( parent, name, false, TQString(), User1|User2|User3|Cancel, User2 )
{
ResLine rs;
diff --git a/kopete/protocols/gadu/gadupubdir.h b/kopete/protocols/gadu/gadupubdir.h
index 78e92e2f..42fed436 100644
--- a/kopete/protocols/gadu/gadupubdir.h
+++ b/kopete/protocols/gadu/gadupubdir.h
@@ -42,8 +42,8 @@ Q_OBJECT
TQ_OBJECT
public:
- GaduPublicDir( GaduAccount* , TQWidget *tqparent = 0, const char* name = "GaduPublicDir" );
- GaduPublicDir( GaduAccount* , int searchFor, TQWidget* tqparent = 0, const char* name = "GaduPublicDir" );
+ GaduPublicDir( GaduAccount* , TQWidget *parent = 0, const char* name = "GaduPublicDir" );
+ GaduPublicDir( GaduAccount* , int searchFor, TQWidget* parent = 0, const char* name = "GaduPublicDir" );
TQPixmap iconFortqStatus( uint status );
private slots:
diff --git a/kopete/protocols/gadu/gaduregisteraccount.cpp b/kopete/protocols/gadu/gaduregisteraccount.cpp
index 7baaa1bc..1b24575f 100644
--- a/kopete/protocols/gadu/gaduregisteraccount.cpp
+++ b/kopete/protocols/gadu/gaduregisteraccount.cpp
@@ -35,8 +35,8 @@
#include "gaduregisteraccount.h"
#include "gaducommands.h"
-GaduRegisterAccount::GaduRegisterAccount( TQWidget* tqparent, const char* name )
-: KDialogBase( tqparent, name, true, i18n( "Register New Account" ), KDialogBase::User1 | KDialogBase::Ok, KDialogBase::User1, true )
+GaduRegisterAccount::GaduRegisterAccount( TQWidget* parent, const char* name )
+: KDialogBase( parent, name, true, i18n( "Register New Account" ), KDialogBase::User1 | KDialogBase::Ok, KDialogBase::User1, true )
{
ui = new GaduRegisterAccountUI( this );
setMainWidget( ui );
diff --git a/kopete/protocols/gadu/gadusession.cpp b/kopete/protocols/gadu/gadusession.cpp
index 6490a1e3..345fdd07 100644
--- a/kopete/protocols/gadu/gadusession.cpp
+++ b/kopete/protocols/gadu/gadusession.cpp
@@ -38,8 +38,8 @@
#include <string.h>
#include <netinet/in.h>
-GaduSession::GaduSession( TQObject* tqparent, const char* name )
-: TQObject( tqparent, name ), session_( 0 ), searchSeqNr_( 0 )
+GaduSession::GaduSession( TQObject* parent, const char* name )
+: TQObject( parent, name ), session_( 0 ), searchSeqNr_( 0 )
{
textcodec = TQTextCodec::codecForName( "CP1250" );
rtf = new GaduRichTextFormat;
diff --git a/kopete/protocols/gadu/gadusession.h b/kopete/protocols/gadu/gadusession.h
index 4487b63a..7f732749 100644
--- a/kopete/protocols/gadu/gadusession.h
+++ b/kopete/protocols/gadu/gadusession.h
@@ -95,7 +95,7 @@ class GaduSession : public TQObject
TQ_OBJECT
public:
- GaduSession( TQObject* tqparent = 0, const char* name = 0 );
+ GaduSession( TQObject* parent = 0, const char* name = 0 );
virtual ~GaduSession();
bool isConnected() const;
int status() const;