diff options
Diffstat (limited to 'libtdepim/addressesdialog.cpp')
-rw-r--r-- | libtdepim/addressesdialog.cpp | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/libtdepim/addressesdialog.cpp b/libtdepim/addressesdialog.cpp index e0071ef04..deb9d1f2c 100644 --- a/libtdepim/addressesdialog.cpp +++ b/libtdepim/addressesdialog.cpp @@ -241,8 +241,8 @@ AddresseeViewItem* AddressesDialog::selectedToItem() if ( !d->toItem ) { d->toItem = new AddresseeViewItem( d->ui->mSelectedView, i18n("To"), AddresseeViewItem::To ); - connect(d->toItem, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(d->toItem, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); } return d->toItem; } @@ -252,8 +252,8 @@ AddresseeViewItem* AddressesDialog::selectedCcItem() if ( !d->ccItem ) { d->ccItem = new AddresseeViewItem( d->ui->mSelectedView, i18n("CC"), AddresseeViewItem::CC ); - connect(d->ccItem, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(d->ccItem, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); } return d->ccItem; } @@ -263,8 +263,8 @@ AddresseeViewItem* AddressesDialog::selectedBccItem() if ( !d->bccItem ) { d->bccItem = new AddresseeViewItem( d->ui->mSelectedView, i18n("BCC"), AddresseeViewItem::BCC ); - connect(d->bccItem, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(d->bccItem, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); } return d->bccItem; } @@ -325,8 +325,8 @@ AddressesDialog::updateRecentAddresses() if ( !d->recent ) { d->recent = new AddresseeViewItem( d->ui->mAvailableView, recentGroup ); - connect(d->recent, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(availableAddressSelected(AddresseeViewItem*, bool))); + connect(d->recent, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(availableAddressSelected(AddresseeViewItem*, bool))); d->recent->setVisible( false ); d->groupDict.insert( recentGroup, d->recent ); } @@ -464,8 +464,8 @@ AddressesDialog::updateAvailableAddressees() static const TQString &personalGroup = TDEGlobal::staticQString( i18n( "Other Addresses" ) ); d->ui->mAvailableView->setRootIsDecorated( true ); d->personal = new AddresseeViewItem( d->ui->mAvailableView, personalGroup ); - //connect(d->personal, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - // this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + //connect(d->personal, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + // this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); d->personal->setVisible( false ); d->groupDict.insert( personalGroup, d->personal ); @@ -570,36 +570,36 @@ AddressesDialog::selectedAddressSelected( AddresseeViewItem* item, bool selected void AddressesDialog::initConnections() { - connect( d->ui->mFilterEdit, TQT_SIGNAL(textChanged(const TQString &)), - TQT_SLOT(filterChanged(const TQString &)) ); - connect( d->ui->mToButton, TQT_SIGNAL(clicked()), - TQT_SLOT(addSelectedTo()) ); - connect( d->ui->mCCButton, TQT_SIGNAL(clicked()), - TQT_SLOT(addSelectedCC()) ); - connect( d->ui->mBCCButton, TQT_SIGNAL(clicked()), - TQT_SLOT(addSelectedBCC()) ); - connect( d->ui->mSaveAs, TQT_SIGNAL(clicked()), - TQT_SLOT(saveAs()) ); - connect( d->ui->mLdapSearch, TQT_SIGNAL(clicked()), - TQT_SLOT(searchLdap()) ); - connect( d->ui->mRemoveButton, TQT_SIGNAL(clicked()), - TQT_SLOT(removeEntry()) ); - connect( d->ui->mAvailableView, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(availableSelectionChanged()) ); - connect( d->ui->mAvailableView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - TQT_SLOT(addSelectedTo()) ); - connect( d->ui->mSelectedView, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(selectedSelectionChanged()) ); - connect( d->ui->mSelectedView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - TQT_SLOT(removeEntry()) ); + connect( d->ui->mFilterEdit, TQ_SIGNAL(textChanged(const TQString &)), + TQ_SLOT(filterChanged(const TQString &)) ); + connect( d->ui->mToButton, TQ_SIGNAL(clicked()), + TQ_SLOT(addSelectedTo()) ); + connect( d->ui->mCCButton, TQ_SIGNAL(clicked()), + TQ_SLOT(addSelectedCC()) ); + connect( d->ui->mBCCButton, TQ_SIGNAL(clicked()), + TQ_SLOT(addSelectedBCC()) ); + connect( d->ui->mSaveAs, TQ_SIGNAL(clicked()), + TQ_SLOT(saveAs()) ); + connect( d->ui->mLdapSearch, TQ_SIGNAL(clicked()), + TQ_SLOT(searchLdap()) ); + connect( d->ui->mRemoveButton, TQ_SIGNAL(clicked()), + TQ_SLOT(removeEntry()) ); + connect( d->ui->mAvailableView, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(availableSelectionChanged()) ); + connect( d->ui->mAvailableView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + TQ_SLOT(addSelectedTo()) ); + connect( d->ui->mSelectedView, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(selectedSelectionChanged()) ); + connect( d->ui->mSelectedView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + TQ_SLOT(removeEntry()) ); #ifndef TDEPIM_NEW_DISTRLISTS - connect( TDEABC::DistributionListWatcher::self(), TQT_SIGNAL( changed() ), - this, TQT_SLOT( updateAvailableAddressees() ) ); + connect( TDEABC::DistributionListWatcher::self(), TQ_SIGNAL( changed() ), + this, TQ_SLOT( updateAvailableAddressees() ) ); #endif - connect( TDEABC::StdAddressBook::self( true ), TQT_SIGNAL( addressBookChanged(AddressBook*) ), - this, TQT_SLOT( updateAvailableAddressees() ) ); + connect( TDEABC::StdAddressBook::self( true ), TQ_SIGNAL( addressBookChanged(AddressBook*) ), + this, TQ_SLOT( updateAvailableAddressees() ) ); } void @@ -619,8 +619,8 @@ AddressesDialog::addAddresseeToAvailable( const TDEABC::Addressee& addr, Address for ( uint i = 0; i < addr.emails().count(); ++i ) { AddresseeViewItem* addressee = new AddresseeViewItem( d->groupDict[ *it ], addr, i ); - connect(addressee, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(availableAddressSelected(AddresseeViewItem*, bool))); + connect(addressee, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(availableAddressSelected(AddresseeViewItem*, bool))); } } } @@ -634,8 +634,8 @@ AddressesDialog::addAddresseeToAvailable( const TDEABC::Addressee& addr, Address if ( defaultParent && noCategory ) { // only non-categorized items here AddresseeViewItem* addressee = new AddresseeViewItem( defaultParent, addr ); - connect(addressee, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(availableAddressSelected(AddresseeViewItem*, bool))); + connect(addressee, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(availableAddressSelected(AddresseeViewItem*, bool))); } } @@ -653,8 +653,8 @@ AddressesDialog::addAddresseeToSelected( const TDEABC::Addressee& addr, Addresse myChild = static_cast<AddresseeViewItem*>( myChild->nextSibling() ); } AddresseeViewItem* addressee = new AddresseeViewItem( defaultParent, addr ); - connect(addressee, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(addressee, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); defaultParent->setOpen( true ); } @@ -701,8 +701,8 @@ AddressesDialog::addAddresseesToSelected( AddresseeViewItem *parent, address->setVisible( false ); selectedToAvailableMapping.insert(address, newItem); selectedToAvailableMapping.insert(newItem, address); - connect(newItem, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(newItem, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); } parent->setOpen( true ); @@ -725,8 +725,8 @@ AddressesDialog::addSelectedTo() if ( !d->toItem ) { d->toItem = new AddresseeViewItem( d->ui->mSelectedView, i18n("To"), AddresseeViewItem::To ); - connect(d->toItem, TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(d->toItem, TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); } addAddresseesToSelected( d->toItem, selectedAvailableAddresses ); @@ -746,8 +746,8 @@ AddressesDialog::addSelectedCC() if ( !d->ccItem ) { d->ccItem = new AddresseeViewItem( d->ui->mSelectedView, i18n("CC"), AddresseeViewItem::CC ); - connect(d->ccItem , TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(d->ccItem , TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); } addAddresseesToSelected( d->ccItem, selectedAvailableAddresses ); @@ -767,8 +767,8 @@ AddressesDialog::addSelectedBCC() if ( !d->bccItem ) { d->bccItem = new AddresseeViewItem( d->ui->mSelectedView, i18n("BCC"), AddresseeViewItem::BCC ); - connect(d->bccItem , TQT_SIGNAL(addressSelected(AddresseeViewItem*, bool)), - this, TQT_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); + connect(d->bccItem , TQ_SIGNAL(addressSelected(AddresseeViewItem*, bool)), + this, TQ_SLOT(selectedAddressSelected(AddresseeViewItem*, bool))); } addAddresseesToSelected( d->bccItem, selectedAvailableAddresses ); @@ -946,8 +946,8 @@ AddressesDialog::searchLdap() { if ( !d->ldapSearchDialog ) { d->ldapSearchDialog = new LDAPSearchDialog( this ); - connect( d->ldapSearchDialog, TQT_SIGNAL( addresseesAdded() ), - TQT_SLOT(ldapSearchResult() ) ); + connect( d->ldapSearchDialog, TQ_SIGNAL( addresseesAdded() ), + TQ_SLOT(ldapSearchResult() ) ); } d->ldapSearchDialog->show(); } @@ -1169,8 +1169,8 @@ AddressesDialog::addDistributionLists() AddresseeViewItem *item = new AddresseeViewItem( d->topdist, dlist.name() ); d->dists.append( item ); - connect( item, TQT_SIGNAL( addressSelected( AddresseeViewItem*, bool ) ), - this, TQT_SLOT( availableAddressSelected( AddresseeViewItem*, bool ) ) ); + connect( item, TQ_SIGNAL( addressSelected( AddresseeViewItem*, bool ) ), + this, TQ_SLOT( availableAddressSelected( AddresseeViewItem*, bool ) ) ); #ifdef TDEPIM_NEW_DISTRLISTS KPIM::DistributionList::Entry::List::Iterator itemIt; |