summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp')
-rw-r--r--kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp b/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
index e52e707f..57c551aa 100644
--- a/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqsearchdialog.cpp
@@ -41,8 +41,8 @@
#include "icqcontact.h"
#include "icquserinfowidget.h"
-ICQSearchDialog::ICQSearchDialog( ICQAccount* account, TQWidget* parent, const char* name )
-: KDialogBase( parent, name, true, i18n( "ICQ User Search" ), 0, NoDefault )
+ICQSearchDialog::ICQSearchDialog( ICQAccount* account, TQWidget* tqparent, const char* name )
+: KDialogBase( tqparent, name, true, i18n( "ICQ User Search" ), 0, NoDefault )
{
m_account = account;
m_searchUI = new ICQSearchBase( this, name );
@@ -171,10 +171,10 @@ void ICQSearchDialog::stopSearch()
void ICQSearchDialog::addContact()
{
- ICQAddContactPage* iacp = dynamic_cast<ICQAddContactPage*>( parent() );
+ ICQAddContactPage* iacp = dynamic_cast<ICQAddContactPage*>( tqparent() );
if ( !iacp )
{
- kdDebug(OSCAR_ICQ_DEBUG) << k_funcinfo << "The ICQ ACP is not our parent!!" << endl;
+ kdDebug(OSCAR_ICQ_DEBUG) << k_funcinfo << "The ICQ ACP is not our tqparent!!" << endl;
}
else
{
@@ -296,13 +296,13 @@ void ICQSearchDialog::searchFinished( int numLeft )
void ICQSearchDialog::clearFields()
{
- m_searchUI->uin->setText( TQString::null );
+ m_searchUI->uin->setText( TQString() );
- m_searchUI->firstName->setText( TQString::null );
- m_searchUI->lastName->setText( TQString::null );
- m_searchUI->nickName->setText( TQString::null );
- m_searchUI->email->setText( TQString::null );
- m_searchUI->city->setText( TQString::null );
+ m_searchUI->firstName->setText( TQString() );
+ m_searchUI->lastName->setText( TQString() );
+ m_searchUI->nickName->setText( TQString() );
+ m_searchUI->email->setText( TQString() );
+ m_searchUI->city->setText( TQString() );
m_searchUI->gender->setCurrentItem( 0 ); // Unspecified
m_searchUI->country->setCurrentItem( 0 );
m_searchUI->language->setCurrentItem( 0 );
@@ -315,6 +315,6 @@ void ICQSearchDialog::newSearch()
clearFields();
}
-//kate: indent-mode csands; space-indent off; replace-tabs off; tab-width 4;
+//kate: indent-mode csands; space-indent off; tqreplace-tabs off; tab-width 4;
#include "icqsearchdialog.moc"