summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kabcore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kabcore.cpp')
-rw-r--r--kaddressbook/kabcore.cpp200
1 files changed, 100 insertions, 100 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 2f60f046..85b08976 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -94,7 +94,7 @@
KABCore::KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *parent,
const TQString &file, const char *name )
- : KAB::Core( client, TQT_TQOBJECT(parent), name ), mStatusBar( 0 ), mViewManager( 0 ),
+ : KAB::Core( client, parent, name ), mStatusBar( 0 ), mViewManager( 0 ),
mExtensionManager( 0 ), mJumpButtonBar( 0 ), mCategorySelectDialog( 0 ),
mCategoryEditDialog( 0 ), mLdapSearchDialog( 0 ), mReadWrite( readWrite ),
mModified( false )
@@ -104,8 +104,8 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *parent,
mIsPart = !parent->isA( "KAddressBookMain" );
mAddressBookChangedTimer = new TQTimer( this );
- connect( mAddressBookChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( addressBookChanged() ) );
+ connect( mAddressBookChangedTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( addressBookChanged() ) );
if ( file.isEmpty() ) {
mAddressBook = TDEABC::StdAddressBook::self( true );
@@ -140,51 +140,51 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *parent,
mAddressBook->addCustomField( i18n( "Blog" ), TDEABC::Field::Personal,
"BlogFeed", "KADDRESSBOOK" );
- mSearchManager = new KAB::SearchManager( mAddressBook, TQT_TQOBJECT(parent) );
+ mSearchManager = new KAB::SearchManager( mAddressBook, parent );
- connect( mSearchManager, TQT_SIGNAL( contactsUpdated() ),
- this, TQT_SLOT( slotContactsUpdated() ) );
+ connect( mSearchManager, TQ_SIGNAL( contactsUpdated() ),
+ this, TQ_SLOT( slotContactsUpdated() ) );
initGUI();
- connect( mAddressBook, TQT_SIGNAL( addressBookChanged( AddressBook* ) ),
- TQT_SLOT( delayedAddressBookChanged() ) );
- connect( mAddressBook, TQT_SIGNAL( loadingFinished( Resource* ) ),
- TQT_SLOT( delayedAddressBookChanged() ) );
+ connect( mAddressBook, TQ_SIGNAL( addressBookChanged( AddressBook* ) ),
+ TQ_SLOT( delayedAddressBookChanged() ) );
+ connect( mAddressBook, TQ_SIGNAL( loadingFinished( Resource* ) ),
+ TQ_SLOT( delayedAddressBookChanged() ) );
mIncSearchWidget->setFocus();
- connect( mViewManager, TQT_SIGNAL( selected( const TQString& ) ),
- TQT_SLOT( setContactSelected( const TQString& ) ) );
- connect( mViewManager, TQT_SIGNAL( executed( const TQString& ) ),
- TQT_SLOT( editContact( const TQString& ) ) );
- connect( mViewManager, TQT_SIGNAL( modified() ),
- TQT_SLOT( setModified() ) );
- connect( mViewManager, TQT_SIGNAL( urlDropped( const KURL& ) ),
- mXXPortManager, TQT_SLOT( importVCard( const KURL& ) ) );
- connect( mViewManager, TQT_SIGNAL( viewFieldsChanged() ),
- TQT_SLOT( updateIncSearchWidget() ) );
- connect( mExtensionManager, TQT_SIGNAL( modified( const TDEABC::Addressee::List& ) ),
- this, TQT_SLOT( extensionModified( const TDEABC::Addressee::List& ) ) );
- connect( mExtensionManager, TQT_SIGNAL( deleted( const TQStringList& ) ),
- this, TQT_SLOT( extensionDeleted( const TQStringList& ) ) );
-
- connect( mXXPortManager, TQT_SIGNAL( modified() ),
- TQT_SLOT( setModified() ) );
-
- connect( mDetailsViewer, TQT_SIGNAL( highlightedMessage( const TQString& ) ),
- TQT_SLOT( detailsHighlighted( const TQString& ) ) );
-
- connect( mIncSearchWidget, TQT_SIGNAL( scrollUp() ),
- mViewManager, TQT_SLOT( scrollUp() ) );
- connect( mIncSearchWidget, TQT_SIGNAL( scrollDown() ),
- mViewManager, TQT_SLOT( scrollDown() ) );
+ connect( mViewManager, TQ_SIGNAL( selected( const TQString& ) ),
+ TQ_SLOT( setContactSelected( const TQString& ) ) );
+ connect( mViewManager, TQ_SIGNAL( executed( const TQString& ) ),
+ TQ_SLOT( editContact( const TQString& ) ) );
+ connect( mViewManager, TQ_SIGNAL( modified() ),
+ TQ_SLOT( setModified() ) );
+ connect( mViewManager, TQ_SIGNAL( urlDropped( const KURL& ) ),
+ mXXPortManager, TQ_SLOT( importVCard( const KURL& ) ) );
+ connect( mViewManager, TQ_SIGNAL( viewFieldsChanged() ),
+ TQ_SLOT( updateIncSearchWidget() ) );
+ connect( mExtensionManager, TQ_SIGNAL( modified( const TDEABC::Addressee::List& ) ),
+ this, TQ_SLOT( extensionModified( const TDEABC::Addressee::List& ) ) );
+ connect( mExtensionManager, TQ_SIGNAL( deleted( const TQStringList& ) ),
+ this, TQ_SLOT( extensionDeleted( const TQStringList& ) ) );
+
+ connect( mXXPortManager, TQ_SIGNAL( modified() ),
+ TQ_SLOT( setModified() ) );
+
+ connect( mDetailsViewer, TQ_SIGNAL( highlightedMessage( const TQString& ) ),
+ TQ_SLOT( detailsHighlighted( const TQString& ) ) );
+
+ connect( mIncSearchWidget, TQ_SIGNAL( scrollUp() ),
+ mViewManager, TQ_SLOT( scrollUp() ) );
+ connect( mIncSearchWidget, TQ_SIGNAL( scrollDown() ),
+ mViewManager, TQ_SLOT( scrollDown() ) );
mAddressBookService = new KAddressBookService( this );
mCommandHistory = new KCommandHistory( actionCollection(), true );
- connect( mCommandHistory, TQT_SIGNAL( commandExecuted() ),
- mSearchManager, TQT_SLOT( reload() ) );
+ connect( mCommandHistory, TQ_SIGNAL( commandExecuted() ),
+ mSearchManager, TQ_SLOT( reload() ) );
mSearchManager->reload();
@@ -1026,10 +1026,10 @@ void KABCore::openLDAPDialog()
if ( !mLdapSearchDialog ) {
mLdapSearchDialog = new LDAPSearchDialog( mAddressBook, this, mWidget );
- connect( mLdapSearchDialog, TQT_SIGNAL( addresseesAdded() ),
- TQT_SLOT( addressBookChanged() ) );
- connect( mLdapSearchDialog, TQT_SIGNAL( addresseesAdded() ),
- TQT_SLOT( setModified() ) );
+ connect( mLdapSearchDialog, TQ_SIGNAL( addresseesAdded() ),
+ TQ_SLOT( addressBookChanged() ) );
+ connect( mLdapSearchDialog, TQ_SIGNAL( addresseesAdded() ),
+ TQ_SLOT( setModified() ) );
} else
mLdapSearchDialog->restoreSettings();
@@ -1043,8 +1043,8 @@ void KABCore::configure()
saveSettings();
KCMultiDialog dlg( mWidget, "", true );
- connect( &dlg, TQT_SIGNAL( configCommitted() ),
- this, TQT_SLOT( configurationChanged() ) );
+ connect( &dlg, TQ_SIGNAL( configCommitted() ),
+ this, TQ_SLOT( configurationChanged() ) );
dlg.addModule( "kabconfig.desktop" );
dlg.addModule( "kabldapconfig.desktop" );
@@ -1157,10 +1157,10 @@ AddresseeEditorDialog *KABCore::createAddresseeEditorDialog( TQWidget *parent,
{
AddresseeEditorDialog *dialog = new AddresseeEditorDialog( this, parent,
name ? name : "editorDialog" );
- connect( dialog, TQT_SIGNAL( contactModified( const TDEABC::Addressee& ) ),
- TQT_SLOT( contactModified( const TDEABC::Addressee& ) ) );
- connect( dialog, TQT_SIGNAL( editorDestroyed( const TQString& ) ),
- TQT_SLOT( slotEditorDestroyed( const TQString& ) ) );
+ connect( dialog, TQ_SIGNAL( contactModified( const TDEABC::Addressee& ) ),
+ TQ_SLOT( contactModified( const TDEABC::Addressee& ) ) );
+ connect( dialog, TQ_SIGNAL( editorDestroyed( const TQString& ) ),
+ TQ_SLOT( slotEditorDestroyed( const TQString& ) ) );
return dialog;
}
@@ -1199,23 +1199,23 @@ void KABCore::initGUI()
searchTB->boxLayout()->setSpacing( KDialog::spacingHint() );
mIncSearchWidget = new IncSearchWidget( searchTB, "tde toolbar widget");
searchTB->setStretchableWidget( mIncSearchWidget );
- connect( mIncSearchWidget, TQT_SIGNAL( doSearch( const TQString& ) ),
- TQT_SLOT( incrementalTextSearch( const TQString& ) ) );
+ connect( mIncSearchWidget, TQ_SIGNAL( doSearch( const TQString& ) ),
+ TQ_SLOT( incrementalTextSearch( const TQString& ) ) );
mDetailsSplitter = new TQSplitter( mWidget );
mLeftSplitter = new TQSplitter( mDetailsSplitter );
- mLeftSplitter->setOrientation( KABPrefs::instance()->contactListAboveExtensions() ? Qt::Vertical : Qt::Horizontal );
+ mLeftSplitter->setOrientation( KABPrefs::instance()->contactListAboveExtensions() ? TQt::Vertical : TQt::Horizontal );
topLayout->addWidget( searchTB );
topLayout->addWidget( mDetailsSplitter );
mDetailsStack = new TQWidgetStack( mDetailsSplitter );
mExtensionManager = new ExtensionManager( new TQWidget( mLeftSplitter ), mDetailsStack, this, this );
- connect( mExtensionManager, TQT_SIGNAL( detailsWidgetDeactivated( TQWidget* ) ),
- this, TQT_SLOT( deactivateDetailsWidget( TQWidget* ) ) );
- connect( mExtensionManager, TQT_SIGNAL( detailsWidgetActivated( TQWidget* ) ),
- this, TQT_SLOT( activateDetailsWidget( TQWidget* ) ) );
+ connect( mExtensionManager, TQ_SIGNAL( detailsWidgetDeactivated( TQWidget* ) ),
+ this, TQ_SLOT( deactivateDetailsWidget( TQWidget* ) ) );
+ connect( mExtensionManager, TQ_SIGNAL( detailsWidgetActivated( TQWidget* ) ),
+ this, TQ_SLOT( activateDetailsWidget( TQWidget* ) ) );
TQWidget *viewWidget = new TQWidget( mLeftSplitter );
if ( KABPrefs::instance()->contactListAboveExtensions() )
@@ -1244,8 +1244,8 @@ void KABCore::initGUI()
i18n( "Click this button if you want to add more contacts to "
"the current distribution list. You will be shown a dialog that allows "
"to enter a list of existing contacts to this distribution list." ) );
- connect( mAddDistListButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( editSelectedDistributionList() ) );
+ connect( mAddDistListButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( editSelectedDistributionList() ) );
buttonLayout->addWidget( mAddDistListButton );
mDistListButtonWidget->setShown( false );
viewLayout->addWidget( mDistListButtonWidget );
@@ -1257,16 +1257,16 @@ void KABCore::initGUI()
TQWhatsThis::add( mRemoveDistListButton,
i18n( "Click this button if you want to remove the selected contacts from "
"the current distribution list." ) );
- connect( mRemoveDistListButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( removeSelectedContactsFromDistList() ) );
+ connect( mRemoveDistListButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( removeSelectedContactsFromDistList() ) );
buttonLayout->addWidget( mRemoveDistListButton );
#endif
mFilterSelectionWidget = new FilterSelectionWidget( searchTB , "tde toolbar widget" );
mViewManager->setFilterSelectionWidget( mFilterSelectionWidget );
- connect( mFilterSelectionWidget, TQT_SIGNAL( filterActivated( int ) ),
- mViewManager, TQT_SLOT( setActiveFilter( int ) ) );
+ connect( mFilterSelectionWidget, TQ_SIGNAL( filterActivated( int ) ),
+ mViewManager, TQ_SLOT( setActiveFilter( int ) ) );
mDetailsWidget = new TQWidget( mDetailsSplitter );
mDetailsLayout = new TQHBoxLayout( mDetailsWidget );
@@ -1280,19 +1280,19 @@ void KABCore::initGUI()
detailsPageLayout->addWidget( mDetailsViewer );
mDistListEntryView = new KAB::DistributionListEntryView( this, mWidget );
- connect( mDistListEntryView, TQT_SIGNAL( distributionListClicked( const TQString& ) ),
- this, TQT_SLOT( sendMailToDistributionList( const TQString& ) ) );
+ connect( mDistListEntryView, TQ_SIGNAL( distributionListClicked( const TQString& ) ),
+ this, TQ_SLOT( sendMailToDistributionList( const TQString& ) ) );
mDetailsStack->addWidget( mDistListEntryView );
mDetailsStack->addWidget( mDetailsWidget );
mDetailsStack->raiseWidget( mDetailsWidget );
mDetailsSplitter->moveToLast( mDetailsStack );
- connect( mDetailsViewer, TQT_SIGNAL( addressClicked( const TQString&) ),
- this, TQT_SLOT( showContactsAddress( const TQString& ) ) );
+ connect( mDetailsViewer, TQ_SIGNAL( addressClicked( const TQString&) ),
+ this, TQ_SLOT( showContactsAddress( const TQString& ) ) );
topLayout->setStretchFactor( mDetailsSplitter, 1 );
- mXXPortManager = new XXPortManager( this, TQT_TQOBJECT(mWidget) );
+ mXXPortManager = new XXPortManager( this, mWidget );
initActions();
}
@@ -1303,62 +1303,62 @@ void KABCore::createJumpButtonBar()
mDetailsLayout->addWidget( mJumpButtonBar );
mDetailsLayout->setStretchFactor( mJumpButtonBar, 1 );
- connect( mJumpButtonBar, TQT_SIGNAL( jumpToLetter( const TQString& ) ),
- TQT_SLOT( incrementalJumpButtonSearch( const TQString& ) ) );
- connect( mViewManager, TQT_SIGNAL( sortFieldChanged() ),
- mJumpButtonBar, TQT_SLOT( updateButtons() ) );
+ connect( mJumpButtonBar, TQ_SIGNAL( jumpToLetter( const TQString& ) ),
+ TQ_SLOT( incrementalJumpButtonSearch( const TQString& ) ) );
+ connect( mViewManager, TQ_SIGNAL( sortFieldChanged() ),
+ mJumpButtonBar, TQ_SLOT( updateButtons() ) );
}
void KABCore::initActions()
{
- connect( TQApplication::clipboard(), TQT_SIGNAL( dataChanged() ),
- TQT_SLOT( clipboardDataChanged() ) );
+ connect( TQApplication::clipboard(), TQ_SIGNAL( dataChanged() ),
+ TQ_SLOT( clipboardDataChanged() ) );
TDEAction *action;
// file menu
mActionMail = new TDEAction( i18n( "&Send Email to Contact..." ), "mail-send", 0,
- this, TQT_SLOT( sendMail() ), actionCollection(), "file_mail" );
- action = KStdAction::print( this, TQT_SLOT( print() ), actionCollection() );
+ this, TQ_SLOT( sendMail() ), actionCollection(), "file_mail" );
+ action = KStdAction::print( this, TQ_SLOT( print() ), actionCollection() );
mActionMail->setWhatsThis( i18n( "Send a mail to all selected contacts." ) );
action->setWhatsThis( i18n( "Print a special number of contacts." ) );
mActionSave = KStdAction::save( this,
- TQT_SLOT( save() ), actionCollection(), "file_sync" );
+ TQ_SLOT( save() ), actionCollection(), "file_sync" );
mActionSave->setWhatsThis( i18n( "Save all changes of the address book to the storage backend." ) );
action = new TDEAction( i18n( "&New Contact..." ), "identity", CTRL+Key_N, this,
- TQT_SLOT( newContact() ), actionCollection(), "file_new_contact" );
+ TQ_SLOT( newContact() ), actionCollection(), "file_new_contact" );
action->setWhatsThis( i18n( "Create a new contact<p>You will be presented with a dialog where you can add all data about a person, including addresses and phone numbers." ) );
action = new TDEAction( i18n( "&New Distribution List..." ), "kontact_contacts", 0, this,
- TQT_SLOT( newDistributionList() ), actionCollection(), "file_new_distributionlist" );
+ TQ_SLOT( newDistributionList() ), actionCollection(), "file_new_distributionlist" );
action->setWhatsThis( i18n( "Create a new distribution list<p>You will be presented with a dialog where you can create a new distribution list." ) );
mActionMailVCard = new TDEAction( i18n("Send &Contact..."), "mail_post_to", 0,
- this, TQT_SLOT( mailVCard() ),
+ this, TQ_SLOT( mailVCard() ),
actionCollection(), "file_mail_vcard" );
mActionMailVCard->setWhatsThis( i18n( "Send a mail with the selected contact as attachment." ) );
mActionChat = new TDEAction( i18n("Chat &With..."), 0,
- this, TQT_SLOT( startChat() ),
+ this, TQ_SLOT( startChat() ),
actionCollection(), "file_chat" );
mActionChat->setWhatsThis( i18n( "Start a chat with the selected contact." ) );
mActionEditAddressee = new TDEAction( i18n( "&Edit Contact..." ), "edit", 0,
- this, TQT_SLOT( editContact() ),
+ this, TQ_SLOT( editContact() ),
actionCollection(), "file_properties" );
mActionEditAddressee->setWhatsThis( i18n( "Edit a contact<p>You will be presented with a dialog where you can change all data about a person, including addresses and phone numbers." ) );
mActionMerge = new TDEAction( i18n( "&Merge Contacts" ), "", 0,
- this, TQT_SLOT( mergeContacts() ),
+ this, TQ_SLOT( mergeContacts() ),
actionCollection(), "edit_merge" );
// edit menu
- mActionCopy = KStdAction::copy( this, TQT_SLOT( copyContacts() ), actionCollection() );
- mActionCut = KStdAction::cut( this, TQT_SLOT( cutContacts() ), actionCollection() );
- mActionPaste = KStdAction::paste( this, TQT_SLOT( pasteContacts() ), actionCollection() );
- action = KStdAction::selectAll( this, TQT_SLOT( selectAllContacts() ), actionCollection() );
+ mActionCopy = KStdAction::copy( this, TQ_SLOT( copyContacts() ), actionCollection() );
+ mActionCut = KStdAction::cut( this, TQ_SLOT( cutContacts() ), actionCollection() );
+ mActionPaste = KStdAction::paste( this, TQ_SLOT( pasteContacts() ), actionCollection() );
+ action = KStdAction::selectAll( this, TQ_SLOT( selectAllContacts() ), actionCollection() );
mActionCopy->setWhatsThis( i18n( "Copy the currently selected contact(s) to system clipboard in vCard format." ) );
mActionCut->setWhatsThis( i18n( "Cuts the currently selected contact(s) to system clipboard in vCard format." ) );
mActionPaste->setWhatsThis( i18n( "Paste the previously cut or copied contacts from clipboard." ) );
@@ -1367,19 +1367,19 @@ void KABCore::initActions()
// mActionRedo->setWhatsThis( i18n( "Redoes the last <b>Cut</b>, <b>Copy</b> or <b>Paste</b>." ) );
mActionDelete = new TDEAction( i18n( "&Delete Contact" ), "edit-delete",
- Key_Delete, this, TQT_SLOT( deleteContacts() ),
+ Key_Delete, this, TQ_SLOT( deleteContacts() ),
actionCollection(), "edit_delete" );
mActionDelete->setWhatsThis( i18n( "Delete all selected contacts." ) );
mActionCopyAddresseeTo = new TDEAction( i18n( "&Copy Contact To..." ), "", 0,
- this, TQT_SLOT( copySelectedContactToResource() ),
+ this, TQ_SLOT( copySelectedContactToResource() ),
actionCollection(), "copy_contact_to" );
const TQString copyMoveWhatsThis = i18n( "Store a contact in a different Addressbook<p>You will be presented with a dialog where you can select a new storage place for this contact." );
mActionCopyAddresseeTo->setWhatsThis( copyMoveWhatsThis );
mActionMoveAddresseeTo = new TDEAction( i18n( "M&ove Contact To..." ), "", 0,
- this, TQT_SLOT( moveSelectedContactToResource() ),
+ this, TQ_SLOT( moveSelectedContactToResource() ),
actionCollection(), "move_contact_to" );
mActionMoveAddresseeTo->setWhatsThis( copyMoveWhatsThis );
@@ -1388,41 +1388,41 @@ void KABCore::initActions()
actionCollection(), "options_show_jump_bar" );
mActionJumpBar->setWhatsThis( i18n( "Toggle whether the jump button bar shall be visible." ) );
mActionJumpBar->setCheckedState( i18n( "Hide Jump Bar") );
- connect( mActionJumpBar, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( setJumpButtonBarVisible( bool ) ) );
+ connect( mActionJumpBar, TQ_SIGNAL( toggled( bool ) ), TQ_SLOT( setJumpButtonBarVisible( bool ) ) );
mActionDetails = new TDEToggleAction( i18n( "Show Details" ), 0, 0,
actionCollection(), "options_show_details" );
mActionDetails->setWhatsThis( i18n( "Toggle whether the details page shall be visible." ) );
mActionDetails->setCheckedState( i18n( "Hide Details") );
- connect( mActionDetails, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( setDetailsVisible( bool ) ) );
+ connect( mActionDetails, TQ_SIGNAL( toggled( bool ) ), TQ_SLOT( setDetailsVisible( bool ) ) );
if ( mIsPart )
action = new TDEAction( i18n( "&Configure Address Book..." ), "configure", 0,
- this, TQT_SLOT( configure() ), actionCollection(),
+ this, TQ_SLOT( configure() ), actionCollection(),
"kaddressbook_configure" );
else
- action = KStdAction::preferences( this, TQT_SLOT( configure() ), actionCollection() );
+ action = KStdAction::preferences( this, TQ_SLOT( configure() ), actionCollection() );
action->setWhatsThis( i18n( "You will be presented with a dialog, that offers you all possibilities to configure KAddressBook." ) );
// misc
action = new TDEAction( i18n( "&Lookup Addresses in LDAP Directory..." ), "edit-find", 0,
- this, TQT_SLOT( openLDAPDialog() ), actionCollection(), "ldap_lookup" );
+ this, TQ_SLOT( openLDAPDialog() ), actionCollection(), "ldap_lookup" );
action->setWhatsThis( i18n( "Search for contacts on a LDAP server<p>You will be presented with a dialog, where you can search for contacts and select the ones you want to add to your local address book." ) );
mActionWhoAmI = new TDEAction( i18n( "Set as Personal Contact Data" ), "preferences-desktop-personal", 0, this,
- TQT_SLOT( setWhoAmI() ), actionCollection(),
+ TQ_SLOT( setWhoAmI() ), actionCollection(),
"edit_set_personal" );
mActionWhoAmI->setWhatsThis( i18n( "Set the personal contact<p>The data of this contact will be used in many other TDE applications, so you do not have to input your personal data several times." ) );
mActionCategories = new TDEAction( i18n( "Select Categories..." ), 0, this,
- TQT_SLOT( setCategories() ), actionCollection(),
+ TQ_SLOT( setCategories() ), actionCollection(),
"edit_set_categories" );
mActionCategories->setWhatsThis( i18n( "Set the categories for all selected contacts." ) );
TDEAction *clearLocation = new TDEAction( i18n( "Clear Search Bar" ),
TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase",
- CTRL+Key_L, this, TQT_SLOT( slotClearSearchBar() ), actionCollection(), "clear_search" );
+ CTRL+Key_L, this, TQ_SLOT( slotClearSearchBar() ), actionCollection(), "clear_search" );
clearLocation->setWhatsThis( i18n( "Clear Search Bar<p>"
"Clears the content of the quick search bar." ) );
@@ -1490,9 +1490,9 @@ void KABCore::setCategories()
// Show the category dialog
if ( mCategorySelectDialog == 0 ) {
mCategorySelectDialog = new KPIM::CategorySelectDialog( KABPrefs::instance(), mWidget );
- connect( mCategorySelectDialog, TQT_SIGNAL( categoriesSelected( const TQStringList& ) ),
- TQT_SLOT( categoriesSelected( const TQStringList& ) ) );
- connect( mCategorySelectDialog, TQT_SIGNAL( editCategories() ), TQT_SLOT( editCategories() ) );
+ connect( mCategorySelectDialog, TQ_SIGNAL( categoriesSelected( const TQStringList& ) ),
+ TQ_SLOT( categoriesSelected( const TQStringList& ) ) );
+ connect( mCategorySelectDialog, TQ_SIGNAL( editCategories() ), TQ_SLOT( editCategories() ) );
}
mCategorySelectDialog->show();
@@ -1537,8 +1537,8 @@ void KABCore::editCategories()
{
if ( mCategoryEditDialog == 0 ) {
mCategoryEditDialog = new KPIM::CategoryEditDialog( KABPrefs::instance(), mWidget );
- connect( mCategoryEditDialog, TQT_SIGNAL( categoryConfigChanged() ),
- mCategorySelectDialog, TQT_SLOT( updateCategoryConfig() ) );
+ connect( mCategoryEditDialog, TQ_SIGNAL( categoryConfigChanged() ),
+ mCategorySelectDialog, TQ_SLOT( updateCategoryConfig() ) );
}
mCategoryEditDialog->show();