summaryrefslogtreecommitdiffstats
path: root/kaddressbook/features/resourceselection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/features/resourceselection.cpp')
-rw-r--r--kaddressbook/features/resourceselection.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/kaddressbook/features/resourceselection.cpp b/kaddressbook/features/resourceselection.cpp
index 1d80c915a..4a16c5988 100644
--- a/kaddressbook/features/resourceselection.cpp
+++ b/kaddressbook/features/resourceselection.cpp
@@ -142,19 +142,19 @@ ResourceSelection::ResourceSelection( KAB::Core *core, TQWidget *parent, const c
AddressBookWrapper *wrapper = static_cast<AddressBookWrapper*>( core->addressBook() );
mManager = wrapper->getResourceManager();
- connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( add() ) );
- connect( mEditButton, TQT_SIGNAL( clicked() ), TQT_SLOT( edit() ) );
- connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( remove() ) );
+ connect( mAddButton, TQ_SIGNAL( clicked() ), TQ_SLOT( add() ) );
+ connect( mEditButton, TQ_SIGNAL( clicked() ), TQ_SLOT( edit() ) );
+ connect( mRemoveButton, TQ_SIGNAL( clicked() ), TQ_SLOT( remove() ) );
- connect( mListView, TQT_SIGNAL( clicked( TQListViewItem* ) ),
- TQT_SLOT( currentChanged( TQListViewItem* ) ) );
+ connect( mListView, TQ_SIGNAL( clicked( TQListViewItem* ) ),
+ TQ_SLOT( currentChanged( TQListViewItem* ) ) );
- connect( mListView, TQT_SIGNAL( contextMenuRequested ( TQListViewItem *,
+ connect( mListView, TQ_SIGNAL( contextMenuRequested ( TQListViewItem *,
const TQPoint &, int ) ),
- TQT_SLOT( contextMenuRequested( TQListViewItem *, const TQPoint &,
+ TQ_SLOT( contextMenuRequested( TQListViewItem *, const TQPoint &,
int ) ) );
- TQTimer::singleShot( 0, this, TQT_SLOT( updateView() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( updateView() ) );
}
ResourceSelection::~ResourceSelection()
@@ -167,24 +167,24 @@ void ResourceSelection::contextMenuRequested ( TQListViewItem *i,
ResourceItem *item = static_cast<ResourceItem *>( i );
TQPopupMenu *menu = new TQPopupMenu( this );
- connect( menu, TQT_SIGNAL( aboutToHide() ), menu, TQT_SLOT( deleteLater() ) );
+ connect( menu, TQ_SIGNAL( aboutToHide() ), menu, TQ_SLOT( deleteLater() ) );
if ( item ) {
int reloadId = menu->insertItem( i18n("Re&load"), this,
- TQT_SLOT( reloadResource() ) );
+ TQ_SLOT( reloadResource() ) );
menu->setItemEnabled( reloadId, item->resource()->isActive() );
int saveId = menu->insertItem( i18n("&Save"), this,
- TQT_SLOT( saveResource() ) );
+ TQ_SLOT( saveResource() ) );
menu->setItemEnabled( saveId, item->resource()->isActive() );
menu->insertSeparator();
-// menu->insertItem( i18n("Show &Info"), this, TQT_SLOT( showInfo() ) );
+// menu->insertItem( i18n("Show &Info"), this, TQ_SLOT( showInfo() ) );
- menu->insertItem( i18n("&Edit..."), this, TQT_SLOT( edit() ) );
- menu->insertItem( i18n("&Remove"), this, TQT_SLOT( remove() ) );
+ menu->insertItem( i18n("&Edit..."), this, TQ_SLOT( edit() ) );
+ menu->insertItem( i18n("&Remove"), this, TQ_SLOT( remove() ) );
menu->insertSeparator();
}
- menu->insertItem( i18n("&Add..."), this, TQT_SLOT( add() ) );
+ menu->insertItem( i18n("&Add..."), this, TQ_SLOT( add() ) );
menu->popup( pos );
}
@@ -368,23 +368,23 @@ void ResourceSelection::updateView()
KPIM::ResourceABC* resource = dynamic_cast<KPIM::ResourceABC *>( *it );
if ( resource ) {
disconnect( resource, 0, this, 0 );
- connect( resource, TQT_SIGNAL( signalSubresourceAdded( KPIM::ResourceABC *,
+ connect( resource, TQ_SIGNAL( signalSubresourceAdded( KPIM::ResourceABC *,
const TQString &, const TQString & ) ),
- TQT_SLOT( slotSubresourceAdded( KPIM::ResourceABC *,
+ TQ_SLOT( slotSubresourceAdded( KPIM::ResourceABC *,
const TQString &, const TQString & ) ) );
- connect( resource, TQT_SIGNAL( signalSubresourceRemoved( KPIM::ResourceABC *,
+ connect( resource, TQ_SIGNAL( signalSubresourceRemoved( KPIM::ResourceABC *,
const TQString &, const TQString & ) ),
- TQT_SLOT( slotSubresourceRemoved( KPIM::ResourceABC *,
+ TQ_SLOT( slotSubresourceRemoved( KPIM::ResourceABC *,
const TQString &, const TQString & ) ) );
- connect( resource, TQT_SIGNAL( signalSubresourceChanged( KPIM::ResourceABC *,
+ connect( resource, TQ_SIGNAL( signalSubresourceChanged( KPIM::ResourceABC *,
const TQString &, const TQString & ) ),
- TQT_SLOT( slotSubresourceChanged( KPIM::ResourceABC *,
+ TQ_SLOT( slotSubresourceChanged( KPIM::ResourceABC *,
const TQString &, const TQString & ) ) );
- //connect( resource, TQT_SIGNAL( resourceSaved( KPIM::ResourceABC * ) ),
- // TQT_SLOT( closeResource( KPIM::ResourceABC * ) ) );
+ //connect( resource, TQ_SIGNAL( resourceSaved( KPIM::ResourceABC * ) ),
+ // TQ_SLOT( closeResource( KPIM::ResourceABC * ) ) );
item->createSubresourceItems();
}
}