diff options
Diffstat (limited to 'kaddressbook/features/distributionlistwidget.cpp')
-rw-r--r-- | kaddressbook/features/distributionlistwidget.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kaddressbook/features/distributionlistwidget.cpp b/kaddressbook/features/distributionlistwidget.cpp index fc8af3abd..9001311d7 100644 --- a/kaddressbook/features/distributionlistwidget.cpp +++ b/kaddressbook/features/distributionlistwidget.cpp @@ -55,9 +55,9 @@ typedef KABC::DistributionList DistributionList; class DistributionListFactory : public KAB::ExtensionFactory { public: - KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *tqparent, const char *name ) + KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *parent, const char *name ) { - return new DistributionListWidget( core, tqparent, name ); + return new DistributionListWidget( core, parent, name ); } TQString identifier() const @@ -81,8 +81,8 @@ extern "C" { class DeletePressedCatcher : public TQObject { public: - DeletePressedCatcher( DistributionListWidget *tqparent ) - : TQObject( tqparent, "DeletePressedCatcher" ), mWidget( tqparent ) + DeletePressedCatcher( DistributionListWidget *parent ) + : TQObject( parent, "DeletePressedCatcher" ), mWidget( parent ) { } @@ -109,9 +109,9 @@ class DeletePressedCatcher : public TQObject class ContactItem : public TQListViewItem { public: - ContactItem( DistributionListView *tqparent, const KABC::Addressee &addressee, + ContactItem( DistributionListView *parent, const KABC::Addressee &addressee, const TQString &email = TQString() ) : - TQListViewItem( tqparent ), + TQListViewItem( parent ), mAddressee( addressee ), mEmail( email ) { @@ -146,9 +146,9 @@ class ContactItem : public TQListViewItem TQString mEmail; }; -DistributionListWidget::DistributionListWidget( KAB::Core *core, TQWidget *tqparent, +DistributionListWidget::DistributionListWidget( KAB::Core *core, TQWidget *parent, const char *name ) - : KAB::ExtensionWidget( core, tqparent, name ) + : KAB::ExtensionWidget( core, parent, name ) #ifndef KDEPIM_NEW_DISTRLISTS , mManager( 0 ) #endif @@ -590,8 +590,8 @@ void DistributionListWidget::changed() } #endif -DistributionListView::DistributionListView( TQWidget *tqparent, const char* name ) - : KListView( tqparent, name ) +DistributionListView::DistributionListView( TQWidget *parent, const char* name ) + : KListView( parent, name ) { setDragEnabled( true ); setAcceptDrops( true ); @@ -622,9 +622,9 @@ void DistributionListView::dropEvent( TQDropEvent *e ) EmailSelector::EmailSelector( const TQStringList &emails, - const TQString ¤t, TQWidget *tqparent ) + const TQString ¤t, TQWidget *parent ) : KDialogBase( KDialogBase::Plain, i18n("Select Email Address"), Ok|Cancel, Ok, - tqparent ) + parent ) { TQFrame *topFrame = plainPage(); TQBoxLayout *topLayout = new TQVBoxLayout( topFrame ); @@ -657,9 +657,9 @@ TQString EmailSelector::selected() const } TQString EmailSelector::getEmail( const TQStringList &emails, - const TQString ¤t, TQWidget *tqparent, bool &canceled ) + const TQString ¤t, TQWidget *parent, bool &canceled ) { - EmailSelector dlg( emails, current, tqparent ); + EmailSelector dlg( emails, current, parent ); if(dlg.exec()) { canceled = false; |