diff options
Diffstat (limited to 'libtdepim/addresseeselector.cpp')
-rw-r--r-- | libtdepim/addresseeselector.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/libtdepim/addresseeselector.cpp b/libtdepim/addresseeselector.cpp index 77f2be02..b89184e6 100644 --- a/libtdepim/addresseeselector.cpp +++ b/libtdepim/addresseeselector.cpp @@ -227,8 +227,8 @@ class SelectionViewItem : public TQListViewItem AddresseeSelector::AddresseeSelector( Selection *selection, TQWidget *parent, const char *name ) : TQWidget( parent, name ), mSelection( selection ), mManager( 0 ) { - mMoveMapper = new TQSignalMapper( TQT_TQOBJECT(this) ); - mRemoveMapper = new TQSignalMapper( TQT_TQOBJECT(this) ); + mMoveMapper = new TQSignalMapper( this ); + mRemoveMapper = new TQSignalMapper( this ); mAddressBookManager = new AddressBookManager(); @@ -250,17 +250,17 @@ AddresseeSelector::~AddresseeSelector() void AddresseeSelector::init() { - connect( TDEABC::StdAddressBook::self( true ), TQT_SIGNAL( addressBookChanged( AddressBook* ) ), - this, TQT_SLOT( reloadAddressBook() ) ); - connect( mAddresseeFilter, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( updateAddresseeView() ) ); - connect( mAddressBookCombo, TQT_SIGNAL( activated( int ) ), - this, TQT_SLOT( updateAddresseeView() ) ); - - connect( mMoveMapper, TQT_SIGNAL( mapped( int ) ), - this, TQT_SLOT( move( int ) ) ); - connect( mRemoveMapper, TQT_SIGNAL( mapped( int ) ), - this, TQT_SLOT( remove( int ) ) ); + connect( TDEABC::StdAddressBook::self( true ), TQ_SIGNAL( addressBookChanged( AddressBook* ) ), + this, TQ_SLOT( reloadAddressBook() ) ); + connect( mAddresseeFilter, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( updateAddresseeView() ) ); + connect( mAddressBookCombo, TQ_SIGNAL( activated( int ) ), + this, TQ_SLOT( updateAddresseeView() ) ); + + connect( mMoveMapper, TQ_SIGNAL( mapped( int ) ), + this, TQ_SLOT( move( int ) ) ); + connect( mRemoveMapper, TQ_SIGNAL( mapped( int ) ), + this, TQ_SLOT( remove( int ) ) ); reloadAddressBook(); } @@ -298,9 +298,9 @@ void AddresseeSelector::initGUI() listView->setFullWidth( true ); mSelectionViews.append( listView ); - connect( listView, TQT_SIGNAL( doubleClicked( TQListViewItem*, const TQPoint&, int ) ), - mRemoveMapper, TQT_SLOT( map() ) ); - mRemoveMapper->setMapping( TQT_TQOBJECT(listView), i ); + connect( listView, TQ_SIGNAL( doubleClicked( TQListViewItem*, const TQPoint&, int ) ), + mRemoveMapper, TQ_SLOT( map() ) ); + mRemoveMapper->setMapping( listView, i ); TQVBoxLayout *buttonLayout = new TQVBoxLayout( this ); buttonLayout->setAlignment( TQt::AlignBottom ); @@ -311,18 +311,18 @@ void AddresseeSelector::initGUI() moveButton->setIconSet( moveSet ); moveButton->setFixedSize( 30, 30 ); - connect( moveButton, TQT_SIGNAL( clicked() ), - mMoveMapper, TQT_SLOT( map() ) ); - mMoveMapper->setMapping( TQT_TQOBJECT(moveButton), i ); + connect( moveButton, TQ_SIGNAL( clicked() ), + mMoveMapper, TQ_SLOT( map() ) ); + mMoveMapper->setMapping( moveButton, i ); // remove button TQToolButton *removeButton = new TQToolButton( this ); removeButton->setIconSet( removeSet ); removeButton->setFixedSize( 30, 30 ); - connect( removeButton, TQT_SIGNAL( clicked() ), - mRemoveMapper, TQT_SLOT( map() ) ); - mRemoveMapper->setMapping( TQT_TQOBJECT(removeButton), i ); + connect( removeButton, TQ_SIGNAL( clicked() ), + mRemoveMapper, TQ_SLOT( map() ) ); + mRemoveMapper->setMapping( removeButton, i ); buttonLayout->addWidget( moveButton ); buttonLayout->addWidget( removeButton ); |