summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/addcontactwizard/addcontactwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/addcontactwizard/addcontactwizard.cpp')
-rw-r--r--kopete/kopete/addcontactwizard/addcontactwizard.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/kopete/addcontactwizard/addcontactwizard.cpp b/kopete/kopete/addcontactwizard/addcontactwizard.cpp
index 7198d53c..82da868a 100644
--- a/kopete/kopete/addcontactwizard/addcontactwizard.cpp
+++ b/kopete/kopete/addcontactwizard/addcontactwizard.cpp
@@ -71,8 +71,8 @@
#include "kopeteaccount.h"
#include "kopetegroup.h"
-AddContactWizard::AddContactWizard( TQWidget *parent, const char *name )
-: AddContactWizard_Base( parent, name )
+AddContactWizard::AddContactWizard( TQWidget *tqparent, const char *name )
+: AddContactWizard_Base( tqparent, name )
{
//TQVBox *kabcPageVbox = new TQVBox(this->page(1));
m_addressbookSelectorWidget = new Kopete::UI::AddressBookSelectorWidget(this->page(1));
@@ -96,7 +96,7 @@ AddContactWizard::AddContactWizard( TQWidget *parent, const char *name )
for(Kopete::Account *i=accounts.first() ; i; i=accounts.next() )
{
accountLVI= new TQCheckListItem( protocolListView, i->accountLabel(), TQCheckListItem::CheckBox);
- accountLVI->setText(1,i->protocol()->displayName() + TQString::fromLatin1(" ") );
+ accountLVI->setText(1,i->protocol()->displayName() + TQString::tqfromLatin1(" ") );
//FIXME - I'm not sure the column 1 is a right place for the colored icon -Olivier
accountLVI->setPixmap( 1, i->accountIcon() );
m_accountItems.insert(accountLVI,i);
@@ -202,7 +202,7 @@ void AddContactWizard::accept()
TQCheckListItem *check = dynamic_cast<TQCheckListItem *>( it.current() );
if ( check && check->isOn() )
{
- if(m_groupItems.contains(check))
+ if(m_groupItems.tqcontains(check))
metaContact->addToGroup(m_groupItems[check]);
else //it's a new group
metaContact->addToGroup( Kopete::ContactList::self()->findGroup( check->text() ) );
@@ -271,7 +271,7 @@ void AddContactWizard::next()
usedAccounts.append( i->protocol()->pluginId() + i->accountId() );
- if(protocolPages.contains(i))
+ if(protocolPages.tqcontains(i))
continue;
AddContactPage *addPage = i->protocol()->createAddContactWidget(this, i );
@@ -283,7 +283,7 @@ void AddContactWizard::next()
addPage->show();
insertPage( addPage, i18n( "The user has to select the contact to add to the given account name",
- "Choose New Contact For %1 Account <b>%2</b>" ).arg( i->protocol()->displayName() ).arg( item->text(0) ), indexOf( finis ) );
+ "Choose New Contact For %1 Account <b>%2</b>" ).tqarg( i->protocol()->displayName() ).tqarg( item->text(0) ), indexOf( finis ) );
protocolPages.insert( i , addPage );
}
}
@@ -293,7 +293,7 @@ void AddContactWizard::next()
for ( it = protocolPages.begin(); it != protocolPages.end(); ++it )
{
Kopete::Account *i=it.key();
- if( !i || !usedAccounts.contains( i->protocol()->pluginId() + i->accountId() ) )
+ if( !i || !usedAccounts.tqcontains( i->protocol()->pluginId() + i->accountId() ) )
{
delete it.data();
protocolPages.remove(it);