summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kabcore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kabcore.cpp')
-rw-r--r--kaddressbook/kabcore.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 0e5d1020..de847b0e 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -354,7 +354,7 @@ void KABCore::setContactSelected( const TQString &uid )
KABC::Addressee addr = mAddressBook->findByUid( uid );
if ( !mDetailsViewer->isHidden() )
mDetailsViewer->setAddressee( addr );
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
if ( !mSelectedDistributionList.isNull() && mDistListEntryView->isShown() ) {
showDistributionListEntry( uid );
}
@@ -439,7 +439,7 @@ void KABCore::setContactSelected( const TQString &uid )
#endif
mActionPaste->setEnabled( !list.isEmpty() );
}
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
mAddDistListButton->setEnabled( writable );
mRemoveDistListButton->setEnabled( someSelected && writable );
#endif
@@ -709,7 +709,7 @@ void KABCore::contactModified( const KABC::Addressee &addr )
void KABCore::newDistributionList()
{
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
KABC::Resource *resource = requestResource( mWidget );
if ( !resource )
return;
@@ -1230,7 +1230,7 @@ void KABCore::initGUI()
mViewManager = new ViewManager( this, viewWidget );
viewLayout->addWidget( mViewManager, 1 );
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
mDistListButtonWidget = new TQWidget( viewWidget );
TQHBoxLayout *buttonLayout = new TQHBoxLayout( mDistListButtonWidget );
buttonLayout->setSpacing( KDialog::spacingHint() );
@@ -1604,7 +1604,7 @@ bool KABCore::handleCommandLine( KAddressBookIface* iface )
void KABCore::removeSelectedContactsFromDistList()
{
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
KPIM::DistributionList dist = KPIM::DistributionList::findByName( addressBook(), mSelectedDistributionList );
if ( dist.isEmpty() )
@@ -1656,7 +1656,7 @@ void KABCore::removeSelectedContactsFromDistList()
void KABCore::sendMailToDistributionList( const TQString &name )
{
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
KPIM::DistributionList dist = KPIM::DistributionList::findByName( addressBook(), name );
if ( dist.isEmpty() )
return;
@@ -1671,7 +1671,7 @@ void KABCore::sendMailToDistributionList( const TQString &name )
void KABCore::editSelectedDistributionList()
{
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
editDistributionList( KPIM::DistributionList::findByName( addressBook(), mSelectedDistributionList ) );
#endif
}
@@ -1679,12 +1679,12 @@ void KABCore::editSelectedDistributionList()
void KABCore::editDistributionList( const TQString &name )
{
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
editDistributionList( KPIM::DistributionList::findByName( addressBook(), name ) );
#endif
}
-#ifdef KDEPIM_NEW_DISTRLISTS
+#ifdef TDEPIM_NEW_DISTRLISTS
void KABCore::showDistributionListEntry( const TQString& uid )
{