diff options
Diffstat (limited to 'kaddressbook/addresseditwidget.cpp')
-rw-r--r-- | kaddressbook/addresseditwidget.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/addresseditwidget.cpp b/kaddressbook/addresseditwidget.cpp index 61b8ec90b..a23c4436b 100644 --- a/kaddressbook/addresseditwidget.cpp +++ b/kaddressbook/addresseditwidget.cpp @@ -57,8 +57,8 @@ class TabPressEater : public TQObject { public: - TabPressEater( TQObject *tqparent ) - : TQObject( tqparent, "TabPressEater" ) + TabPressEater( TQObject *parent ) + : TQObject( parent, "TabPressEater" ) { } @@ -68,7 +68,7 @@ class TabPressEater : public TQObject if ( event->type() == TQEvent::KeyPress ) { TQKeyEvent *keyEvent = (TQKeyEvent*)event; if ( keyEvent->key() == TQt::Key_Tab ) { - TQApplication::sendEvent( tqparent(), event ); + TQApplication::sendEvent( parent(), event ); return true; } else return false; @@ -79,8 +79,8 @@ class TabPressEater : public TQObject }; -AddressEditWidget::AddressEditWidget( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +AddressEditWidget::AddressEditWidget( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { TQBoxLayout *tqlayout = new TQVBoxLayout( this, 4, 2 ); tqlayout->setSpacing( KDialog::spacingHint() ); @@ -257,10 +257,10 @@ void AddressEditWidget::updateAddressEdit() } AddressEditDialog::AddressEditDialog( const KABC::Address::List &list, - int selected, TQWidget *tqparent, + int selected, TQWidget *parent, const char *name ) : KDialogBase( Plain, i18n( "street/postal", "Edit Address" ), Ok | Cancel, Ok, - tqparent, name, true, true ), + parent, name, true, true ), mPreviousAddress( 0 ) { mAddressList = list; @@ -599,9 +599,9 @@ void AddressEditDialog::fillCountryCombo() } -AddressTypeDialog::AddressTypeDialog( int type, TQWidget *tqparent ) +AddressTypeDialog::AddressTypeDialog( int type, TQWidget *parent ) : KDialogBase( Plain, i18n( "street/postal", "Edit Address Type" ), Ok | Cancel, Ok, - tqparent, "AddressTypeDialog" ) + parent, "AddressTypeDialog" ) { TQWidget *page = plainPage(); TQVBoxLayout *tqlayout = new TQVBoxLayout( page ); |