diff options
Diffstat (limited to 'kopete/kopete/contactlist')
-rw-r--r-- | kopete/kopete/contactlist/customnotificationprops.cpp | 2 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetecontactlistview.cpp | 108 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetegrouplistaction.cpp | 8 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetegroupviewitem.cpp | 12 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetelviprops.cpp | 60 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetemetacontactlvi.cpp | 72 | ||||
-rw-r--r-- | kopete/kopete/contactlist/tdeabcexport.cpp | 6 |
7 files changed, 134 insertions, 134 deletions
diff --git a/kopete/kopete/contactlist/customnotificationprops.cpp b/kopete/kopete/contactlist/customnotificationprops.cpp index 82851eb4..b322c726 100644 --- a/kopete/kopete/contactlist/customnotificationprops.cpp +++ b/kopete/kopete/contactlist/customnotificationprops.cpp @@ -58,7 +58,7 @@ CustomNotificationProps::CustomNotificationProps( TQWidget *parent, Kopete::Noti m_eventList = contactSpecificEvents; slotEventsComboChanged( m_notifyWidget->cmbEvents->currentItem() ); // we have to do this after adding items - connect( m_notifyWidget->cmbEvents, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotEventsComboChanged( int ) ) ); + connect( m_notifyWidget->cmbEvents, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotEventsComboChanged( int ) ) ); } void CustomNotificationProps::slotEventsComboChanged( int itemNo ) diff --git a/kopete/kopete/contactlist/kopetecontactlistview.cpp b/kopete/kopete/contactlist/kopetecontactlistview.cpp index adf8ea32..7b060d3d 100644 --- a/kopete/kopete/contactlist/kopetecontactlistview.cpp +++ b/kopete/kopete/contactlist/kopetecontactlistview.cpp @@ -411,38 +411,38 @@ KopeteContactListView::KopeteContactListView( TQWidget *parent, const char *name setFullWidth( true ); - connect( this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), - TQT_SLOT( slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); - connect( this, TQT_SIGNAL( expanded( TQListViewItem * ) ), - TQT_SLOT( slotExpanded( TQListViewItem * ) ) ); - connect( this, TQT_SIGNAL( collapsed( TQListViewItem * ) ), - TQT_SLOT( slotCollapsed( TQListViewItem * ) ) ); - connect( this, TQT_SIGNAL( executed( TQListViewItem *, const TQPoint &, int ) ), - TQT_SLOT( slotExecuted( TQListViewItem *, const TQPoint &, int ) ) ); - connect( this, TQT_SIGNAL( selectionChanged() ), TQT_SLOT( slotViewSelectionChanged() ) ); - connect( this, TQT_SIGNAL( itemRenamed( TQListViewItem * ) ), - TQT_SLOT( slotItemRenamed( TQListViewItem * ) ) ); - - connect( KopetePrefs::prefs(), TQT_SIGNAL( saved() ), TQT_SLOT( slotSettingsChanged() ) ); - - connect( Kopete::ContactList::self(), TQT_SIGNAL( selectionChanged() ), - TQT_SLOT( slotListSelectionChanged() ) ); + connect( this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), + TQ_SLOT( slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); + connect( this, TQ_SIGNAL( expanded( TQListViewItem * ) ), + TQ_SLOT( slotExpanded( TQListViewItem * ) ) ); + connect( this, TQ_SIGNAL( collapsed( TQListViewItem * ) ), + TQ_SLOT( slotCollapsed( TQListViewItem * ) ) ); + connect( this, TQ_SIGNAL( executed( TQListViewItem *, const TQPoint &, int ) ), + TQ_SLOT( slotExecuted( TQListViewItem *, const TQPoint &, int ) ) ); + connect( this, TQ_SIGNAL( selectionChanged() ), TQ_SLOT( slotViewSelectionChanged() ) ); + connect( this, TQ_SIGNAL( itemRenamed( TQListViewItem * ) ), + TQ_SLOT( slotItemRenamed( TQListViewItem * ) ) ); + + connect( KopetePrefs::prefs(), TQ_SIGNAL( saved() ), TQ_SLOT( slotSettingsChanged() ) ); + + connect( Kopete::ContactList::self(), TQ_SIGNAL( selectionChanged() ), + TQ_SLOT( slotListSelectionChanged() ) ); connect( Kopete::ContactList::self(), - TQT_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), - TQT_SLOT( slotMetaContactAdded( Kopete::MetaContact * ) ) ); + TQ_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), + TQ_SLOT( slotMetaContactAdded( Kopete::MetaContact * ) ) ); connect( Kopete::ContactList::self(), - TQT_SIGNAL( metaContactRemoved( Kopete::MetaContact * ) ), - TQT_SLOT( slotMetaContactDeleted( Kopete::MetaContact * ) ) ); - connect( Kopete::ContactList::self(), TQT_SIGNAL( groupAdded( Kopete::Group * ) ), - TQT_SLOT( slotGroupAdded( Kopete::Group * ) ) ); + TQ_SIGNAL( metaContactRemoved( Kopete::MetaContact * ) ), + TQ_SLOT( slotMetaContactDeleted( Kopete::MetaContact * ) ) ); + connect( Kopete::ContactList::self(), TQ_SIGNAL( groupAdded( Kopete::Group * ) ), + TQ_SLOT( slotGroupAdded( Kopete::Group * ) ) ); - connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( newEvent( Kopete::MessageEvent * ) ), - this, TQT_SLOT( slotNewMessageEvent( Kopete::MessageEvent * ) ) ); + connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( newEvent( Kopete::MessageEvent * ) ), + this, TQ_SLOT( slotNewMessageEvent( Kopete::MessageEvent * ) ) ); - connect( this, TQT_SIGNAL( dropped( TQDropEvent *, TQListViewItem *, TQListViewItem * ) ), - this, TQT_SLOT( slotDropped( TQDropEvent *, TQListViewItem *, TQListViewItem * ) ) ); + connect( this, TQ_SIGNAL( dropped( TQDropEvent *, TQListViewItem *, TQListViewItem * ) ), + this, TQ_SLOT( slotDropped( TQDropEvent *, TQListViewItem *, TQListViewItem * ) ) ); - connect( &undoTimer, TQT_SIGNAL(timeout()) , this, TQT_SLOT (slotTimeout() ) ); + connect( &undoTimer, TQ_SIGNAL(timeout()) , this, TQ_SLOT (slotTimeout() ) ); addColumn( i18n( "Contacts" ), 0 ); //add an unique colums to add every contact header()->hide(); // and hide the ugly header which show the single word "Contacts" @@ -461,33 +461,33 @@ KopeteContactListView::KopeteContactListView( TQWidget *parent, const char *name void KopeteContactListView::initActions( TDEActionCollection *ac ) { - actionUndo = KStdAction::undo( this , TQT_SLOT( slotUndo() ) , ac ); - actionRedo = KStdAction::redo( this , TQT_SLOT( slotRedo() ) , ac ); + actionUndo = KStdAction::undo( this , TQ_SLOT( slotUndo() ) , ac ); + actionRedo = KStdAction::redo( this , TQ_SLOT( slotRedo() ) , ac ); actionUndo->setEnabled(false); actionRedo->setEnabled(false); - new TDEAction( i18n( "Create New Group..." ), 0, 0, this, TQT_SLOT( addGroup() ), + new TDEAction( i18n( "Create New Group..." ), 0, 0, this, TQ_SLOT( addGroup() ), ac, "AddGroup" ); actionSendMessage = KopeteStdAction::sendMessage( - this, TQT_SLOT( slotSendMessage() ), ac, "contactSendMessage" ); - actionStartChat = KopeteStdAction::chat( this, TQT_SLOT( slotStartChat() ), + this, TQ_SLOT( slotSendMessage() ), ac, "contactSendMessage" ); + actionStartChat = KopeteStdAction::chat( this, TQ_SLOT( slotStartChat() ), ac, "contactStartChat" ); actionMove = new KopeteGroupListAction( i18n( "&Move To" ), TQString::fromLatin1( "edit-cut" ), - 0, this, TQT_SLOT( slotMoveToGroup() ), ac, "contactMove" ); + 0, this, TQ_SLOT( slotMoveToGroup() ), ac, "contactMove" ); actionCopy = new KopeteGroupListAction( i18n( "&Copy To" ), TQString::fromLatin1( "edit-copy" ), 0, - this, TQT_SLOT( slotCopyToGroup() ), ac, "contactCopy" ); + this, TQ_SLOT( slotCopyToGroup() ), ac, "contactCopy" ); - actionRemove = KopeteStdAction::deleteContact( this, TQT_SLOT( slotRemove() ), + actionRemove = KopeteStdAction::deleteContact( this, TQ_SLOT( slotRemove() ), ac, "contactRemove" ); actionSendEmail = new TDEAction( i18n( "Send Email..." ), TQString::fromLatin1( "mail_generic" ), - 0, this, TQT_SLOT( slotSendEmail() ), ac, "contactSendEmail" ); + 0, this, TQ_SLOT( slotSendEmail() ), ac, "contactSendEmail" ); /* this actionRename is buggy, and useless with properties, removed in kopeteui.rc*/ actionRename = new TDEAction( i18n( "Rename" ), "document-save-as", 0, - this, TQT_SLOT( slotRename() ), ac, "contactRename" ); - actionSendFile = KopeteStdAction::sendFile( this, TQT_SLOT( slotSendFile() ), + this, TQ_SLOT( slotRename() ), ac, "contactRename" ); + actionSendFile = KopeteStdAction::sendFile( this, TQ_SLOT( slotSendFile() ), ac, "contactSendFile" ); actionAddContact = new TDEActionMenu( i18n( "&Add Contact" ), @@ -495,15 +495,15 @@ void KopeteContactListView::initActions( TDEActionCollection *ac ) actionAddContact->popupMenu()->insertTitle( i18n("Select Account") ); actionAddTemporaryContact = new TDEAction( i18n( "Add to Your Contact List" ), "add_user", 0, - this, TQT_SLOT( slotAddTemporaryContact() ), ac, "contactAddTemporaryContact" ); + this, TQ_SLOT( slotAddTemporaryContact() ), ac, "contactAddTemporaryContact" ); - connect( Kopete::ContactList::self(), TQT_SIGNAL( metaContactSelected( bool ) ), this, TQT_SLOT( slotMetaContactSelected( bool ) ) ); + connect( Kopete::ContactList::self(), TQ_SIGNAL( metaContactSelected( bool ) ), this, TQ_SLOT( slotMetaContactSelected( bool ) ) ); - connect( Kopete::AccountManager::self(), TQT_SIGNAL(accountRegistered( Kopete::Account* )), TQT_SLOT(slotAddSubContactActionNewAccount(Kopete::Account*))); - connect( Kopete::AccountManager::self(), TQT_SIGNAL(accountUnregistered( const Kopete::Account* )), TQT_SLOT(slotAddSubContactActionAccountDeleted(const Kopete::Account *))); + connect( Kopete::AccountManager::self(), TQ_SIGNAL(accountRegistered( Kopete::Account* )), TQ_SLOT(slotAddSubContactActionNewAccount(Kopete::Account*))); + connect( Kopete::AccountManager::self(), TQ_SIGNAL(accountUnregistered( const Kopete::Account* )), TQ_SLOT(slotAddSubContactActionAccountDeleted(const Kopete::Account *))); actionProperties = new TDEAction( i18n( "&Properties" ), "edit_user", TQt::Key_Alt + TQt::Key_Return, - this, TQT_SLOT( slotProperties() ), ac, "contactProperties" ); + this, TQ_SLOT( slotProperties() ), ac, "contactProperties" ); // Update enabled/disabled actions slotViewSelectionChanged(); @@ -516,7 +516,7 @@ KopeteContactListView::~KopeteContactListView() void KopeteContactListView::slotAddSubContactActionNewAccount(Kopete::Account* account) { - TDEAction *action = new TDEAction( account->accountLabel(), account->accountIcon(), 0 , this, TQT_SLOT(slotAddContact()), account); + TDEAction *action = new TDEAction( account->accountLabel(), account->accountIcon(), 0 , this, TQ_SLOT(slotAddContact()), account); m_accountAddContactMap.insert( account, action); actionAddContact->insert( action ); } @@ -536,14 +536,14 @@ void KopeteContactListView::slotMetaContactAdded( Kopete::MetaContact *mc ) { d->viewStrategy->addMetaContact( mc ); - connect( mc, TQT_SIGNAL( addedToGroup( Kopete::MetaContact *, Kopete::Group * ) ), - TQT_SLOT( slotAddedToGroup( Kopete::MetaContact *, Kopete::Group * ) ) ); - connect( mc, TQT_SIGNAL( removedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ), - TQT_SLOT( slotRemovedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ) ); - connect( mc, TQT_SIGNAL( movedToGroup( Kopete::MetaContact *, Kopete::Group *, Kopete::Group * ) ), - TQT_SLOT( slotMovedToGroup( Kopete::MetaContact *, Kopete::Group *, Kopete::Group * ) ) ); - connect( mc, TQT_SIGNAL( onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType ) ), - TQT_SLOT( slotContactStatusChanged( Kopete::MetaContact * ) ) ); + connect( mc, TQ_SIGNAL( addedToGroup( Kopete::MetaContact *, Kopete::Group * ) ), + TQ_SLOT( slotAddedToGroup( Kopete::MetaContact *, Kopete::Group * ) ) ); + connect( mc, TQ_SIGNAL( removedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ), + TQ_SLOT( slotRemovedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ) ); + connect( mc, TQ_SIGNAL( movedToGroup( Kopete::MetaContact *, Kopete::Group *, Kopete::Group * ) ), + TQ_SLOT( slotMovedToGroup( Kopete::MetaContact *, Kopete::Group *, Kopete::Group * ) ) ); + connect( mc, TQ_SIGNAL( onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType ) ), + TQ_SLOT( slotContactStatusChanged( Kopete::MetaContact * ) ) ); } void KopeteContactListView::slotMetaContactDeleted( Kopete::MetaContact *mc ) @@ -678,7 +678,7 @@ void KopeteContactListView::slotContextMenu( TDEListView * /*listview*/, if ( c ) { TDEPopupMenu *p = c->popupMenu(); - connect( p, TQT_SIGNAL( aboutToHide() ), p, TQT_SLOT( deleteLater() ) ); + connect( p, TQ_SIGNAL( aboutToHide() ), p, TQ_SLOT( deleteLater() ) ); p->popup( point ); } else @@ -710,7 +710,7 @@ void KopeteContactListView::slotContextMenu( TDEListView * /*listview*/, } TDEPopupMenu *contactMenu = it.current()->popupMenu(); - connect( popup, TQT_SIGNAL( aboutToHide() ), contactMenu, TQT_SLOT( deleteLater() ) ); + connect( popup, TQ_SIGNAL( aboutToHide() ), contactMenu, TQ_SLOT( deleteLater() ) ); TQString nick=c->property(Kopete::Global::Properties::self()->nickName()).value().toString(); TQString text= nick.isEmpty() ? c->contactId() : i18n( "Translators: format: '<displayName> (<id>)'", "%2 <%1>" ). arg( c->contactId(), nick ); text=text.replace("&","&&"); // cf BUG 115449 diff --git a/kopete/kopete/contactlist/kopetegrouplistaction.cpp b/kopete/kopete/contactlist/kopetegrouplistaction.cpp index 5936af4f..6bf4805f 100644 --- a/kopete/kopete/contactlist/kopetegrouplistaction.cpp +++ b/kopete/kopete/contactlist/kopetegrouplistaction.cpp @@ -33,11 +33,11 @@ KopeteGroupListAction::KopeteGroupListAction( const TQString &text, const TQStri const char *slot, TQObject *parent, const char *name ) : TDEListAction( text, pix, cut, parent, name ) { - connect( this, TQT_SIGNAL( activated() ), receiver, slot ); + connect( this, TQ_SIGNAL( activated() ), receiver, slot ); - connect( Kopete::ContactList::self(), TQT_SIGNAL( groupAdded( Kopete::Group * ) ), this, TQT_SLOT( slotUpdateList() ) ); - connect( Kopete::ContactList::self(), TQT_SIGNAL( groupRemoved( Kopete::Group * ) ), this, TQT_SLOT( slotUpdateList() ) ); - connect( Kopete::ContactList::self(), TQT_SIGNAL( groupRenamed(Kopete::Group*, const TQString& ) ), this, TQT_SLOT( slotUpdateList() ) ); + connect( Kopete::ContactList::self(), TQ_SIGNAL( groupAdded( Kopete::Group * ) ), this, TQ_SLOT( slotUpdateList() ) ); + connect( Kopete::ContactList::self(), TQ_SIGNAL( groupRemoved( Kopete::Group * ) ), this, TQ_SLOT( slotUpdateList() ) ); + connect( Kopete::ContactList::self(), TQ_SIGNAL( groupRenamed(Kopete::Group*, const TQString& ) ), this, TQ_SLOT( slotUpdateList() ) ); slotUpdateList(); } diff --git a/kopete/kopete/contactlist/kopetegroupviewitem.cpp b/kopete/kopete/contactlist/kopetegroupviewitem.cpp index 0e50c24f..55f4165f 100644 --- a/kopete/kopete/contactlist/kopetegroupviewitem.cpp +++ b/kopete/kopete/contactlist/kopetegroupviewitem.cpp @@ -105,14 +105,14 @@ void KopeteGroupViewItem::initLVI() d->name->setToolTipSource( d->toolTipSource.get() ); d->count->setToolTipSource( d->toolTipSource.get() ); - connect( m_group, TQT_SIGNAL( displayNameChanged( Kopete::Group*, const TQString& ) ), - this, TQT_SLOT( refreshDisplayName() ) ); + connect( m_group, TQ_SIGNAL( displayNameChanged( Kopete::Group*, const TQString& ) ), + this, TQ_SLOT( refreshDisplayName() ) ); - connect( KopetePrefs::prefs(), TQT_SIGNAL( contactListAppearanceChanged() ), - TQT_SLOT( slotConfigChanged() ) ); - connect( kapp, TQT_SIGNAL( appearanceChanged() ), TQT_SLOT( slotConfigChanged() ) ); + connect( KopetePrefs::prefs(), TQ_SIGNAL( contactListAppearanceChanged() ), + TQ_SLOT( slotConfigChanged() ) ); + connect( kapp, TQ_SIGNAL( appearanceChanged() ), TQ_SLOT( slotConfigChanged() ) ); - connect( m_group, TQT_SIGNAL( iconAppearanceChanged() ), TQT_SLOT( updateIcon() ) ); + connect( m_group, TQ_SIGNAL( iconAppearanceChanged() ), TQ_SLOT( updateIcon() ) ); refreshDisplayName(); slotConfigChanged(); diff --git a/kopete/kopete/contactlist/kopetelviprops.cpp b/kopete/kopete/contactlist/kopetelviprops.cpp index 64fb1233..e1472bd4 100644 --- a/kopete/kopete/contactlist/kopetelviprops.cpp +++ b/kopete/kopete/contactlist/kopetelviprops.cpp @@ -92,13 +92,13 @@ KopeteGVIProps::KopeteGVIProps(KopeteGroupViewItem *gvi, TQWidget *parent, const mainWidget->icnbOpen->setIcon( openName ); mainWidget->icnbClosed->setIcon( closeName ); - connect( this, TQT_SIGNAL(okClicked()), this, TQT_SLOT( slotOkClicked() ) ); - connect( mainWidget->chkUseCustomIcons, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotUseCustomIconsToggled( bool ) ) ); - connect( mainWidget->icnbOpen, TQT_SIGNAL( iconChanged( TQString ) ), - TQT_SLOT( slotIconChanged() ) ); - connect( mainWidget->icnbClosed, TQT_SIGNAL( iconChanged( TQString ) ), - TQT_SLOT( slotIconChanged() ) ); + connect( this, TQ_SIGNAL(okClicked()), this, TQ_SLOT( slotOkClicked() ) ); + connect( mainWidget->chkUseCustomIcons, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotUseCustomIconsToggled( bool ) ) ); + connect( mainWidget->icnbOpen, TQ_SIGNAL( iconChanged( TQString ) ), + TQ_SLOT( slotIconChanged() ) ); + connect( mainWidget->icnbClosed, TQ_SIGNAL( iconChanged( TQString ) ), + TQ_SLOT( slotIconChanged() ) ); slotUseCustomIconsToggled( mainWidget->chkUseCustomIcons->isChecked() ); } @@ -170,19 +170,19 @@ KopeteMetaLVIProps::KopeteMetaLVIProps(KopeteMetaContactLVI *lvi, TQWidget *pare setMainWidget( mainWidget ); item = lvi; - connect( mainWidget->radioNameKABC, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableAndDisableWidgets())); - connect( mainWidget->radioNameContact, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableAndDisableWidgets())); - connect( mainWidget->radioNameCustom, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableAndDisableWidgets())); - connect( mainWidget->radioPhotoKABC, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableAndDisableWidgets())); - connect( mainWidget->radioPhotoContact, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableAndDisableWidgets())); - connect( mainWidget->radioPhotoCustom, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnableAndDisableWidgets())); - connect( mainWidget->cmbPhotoUrl, TQT_SIGNAL(urlSelected(const TQString &)), TQT_SLOT(slotEnableAndDisableWidgets())); - connect( mainWidget->cmbAccountPhoto, TQT_SIGNAL(activated ( int )), TQT_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->radioNameKABC, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->radioNameContact, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->radioNameCustom, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->radioPhotoKABC, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->radioPhotoContact, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->radioPhotoCustom, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->cmbPhotoUrl, TQ_SIGNAL(urlSelected(const TQString &)), TQ_SLOT(slotEnableAndDisableWidgets())); + connect( mainWidget->cmbAccountPhoto, TQ_SIGNAL(activated ( int )), TQ_SLOT(slotEnableAndDisableWidgets())); mainWidget->btnClearPhoto->setIconSet( SmallIconSet( TQApplication::reverseLayout() ? "locationbar_erase" : "clear_left" ) ); - connect( mainWidget->btnClearPhoto, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotClearPhotoClicked() ) ); - connect( mainWidget->widAddresseeLink, TQT_SIGNAL( addresseeChanged( const TDEABC::Addressee & ) ), TQT_SLOT( slotAddresseeChanged( const TDEABC::Addressee & ) ) ); + connect( mainWidget->btnClearPhoto, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClearPhotoClicked() ) ); + connect( mainWidget->widAddresseeLink, TQ_SIGNAL( addresseeChanged( const TDEABC::Addressee & ) ), TQ_SLOT( slotAddresseeChanged( const TDEABC::Addressee & ) ) ); mainWidget->chkUseCustomIcons->setChecked( item->metaContact()->useCustomIcon() ); TQString offlineName = item->metaContact()->icon( Kopete::ContactListElement::Offline ); @@ -232,17 +232,17 @@ KopeteMetaLVIProps::KopeteMetaLVIProps(KopeteMetaContactLVI *lvi, TQWidget *pare slotLoadNameSources(); slotLoadPhotoSources(); - connect( this, TQT_SIGNAL(okClicked()), this, TQT_SLOT( slotOkClicked() ) ); - connect( mainWidget->chkUseCustomIcons, TQT_SIGNAL( toggled( bool ) ), - this, TQT_SLOT( slotUseCustomIconsToggled( bool ) ) ); - connect( mainWidget->btnImportKABC, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotImportClicked() ) ); - connect( mainWidget->btnExportKABC, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotExportClicked() ) ); - connect( mFromKABC, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotFromKABCClicked() ) ); - connect( mNotificationProps->widget()->customSound, TQT_SIGNAL( openFileDialog( KURLRequester * )), - TQT_SLOT( slotOpenSoundDialog( KURLRequester * ))); + connect( this, TQ_SIGNAL(okClicked()), this, TQ_SLOT( slotOkClicked() ) ); + connect( mainWidget->chkUseCustomIcons, TQ_SIGNAL( toggled( bool ) ), + this, TQ_SLOT( slotUseCustomIconsToggled( bool ) ) ); + connect( mainWidget->btnImportKABC, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotImportClicked() ) ); + connect( mainWidget->btnExportKABC, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotExportClicked() ) ); + connect( mFromKABC, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotFromKABCClicked() ) ); + connect( mNotificationProps->widget()->customSound, TQ_SIGNAL( openFileDialog( KURLRequester * )), + TQ_SLOT( slotOpenSoundDialog( KURLRequester * ))); slotUseCustomIconsToggled( mainWidget->chkUseCustomIcons->isChecked() ); slotEnableAndDisableWidgets(); @@ -523,8 +523,8 @@ void KopeteMetaLVIProps::slotOpenSoundDialog( KURLRequester *requester ) { // taken from tdelibs/tdeio/tdefile/knotifydialog.cpp // only need to init this once - requester->disconnect( TQT_SIGNAL( openFileDialog( KURLRequester * )), - this, TQT_SLOT( slotOpenSoundDialog( KURLRequester * ))); + requester->disconnect( TQ_SIGNAL( openFileDialog( KURLRequester * )), + this, TQ_SLOT( slotOpenSoundDialog( KURLRequester * ))); KFileDialog *fileDialog = requester->fileDialog(); //fileDialog->setCaption( i18n("Select Sound File") ); diff --git a/kopete/kopete/contactlist/kopetemetacontactlvi.cpp b/kopete/kopete/contactlist/kopetemetacontactlvi.cpp index 21cad8d2..a4f162d2 100644 --- a/kopete/kopete/contactlist/kopetemetacontactlvi.cpp +++ b/kopete/kopete/contactlist/kopetemetacontactlvi.cpp @@ -214,43 +214,43 @@ void KopeteMetaContactLVI::initLVI() m_oldStatus = m_metaContact->status(); - connect( m_metaContact, TQT_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), - TQT_SLOT( slotDisplayNameChanged() ) ); + connect( m_metaContact, TQ_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), + TQ_SLOT( slotDisplayNameChanged() ) ); - connect( m_metaContact, TQT_SIGNAL( photoChanged() ), - TQT_SLOT( slotPhotoChanged() ) ); + connect( m_metaContact, TQ_SIGNAL( photoChanged() ), + TQ_SLOT( slotPhotoChanged() ) ); - connect( m_metaContact, TQT_SIGNAL( onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType ) ), - TQT_SLOT( slotPhotoChanged() ) ); + connect( m_metaContact, TQ_SIGNAL( onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType ) ), + TQ_SLOT( slotPhotoChanged() ) ); - connect( m_metaContact, TQT_SIGNAL( onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType ) ), - this, TQT_SLOT(slotIdleStateChanged( ) ) ); + connect( m_metaContact, TQ_SIGNAL( onlineStatusChanged( Kopete::MetaContact *, Kopete::OnlineStatus::StatusType ) ), + this, TQ_SLOT(slotIdleStateChanged( ) ) ); - connect( m_metaContact, TQT_SIGNAL( contactStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus & ) ), - TQT_SLOT( slotContactStatusChanged( Kopete::Contact * ) ) ); + connect( m_metaContact, TQ_SIGNAL( contactStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus & ) ), + TQ_SLOT( slotContactStatusChanged( Kopete::Contact * ) ) ); - connect( m_metaContact, TQT_SIGNAL( contactAdded( Kopete::Contact * ) ), - TQT_SLOT( slotContactAdded( Kopete::Contact * ) ) ); + connect( m_metaContact, TQ_SIGNAL( contactAdded( Kopete::Contact * ) ), + TQ_SLOT( slotContactAdded( Kopete::Contact * ) ) ); - connect( m_metaContact, TQT_SIGNAL( contactRemoved( Kopete::Contact * ) ), - TQT_SLOT( slotContactRemoved( Kopete::Contact * ) ) ); + connect( m_metaContact, TQ_SIGNAL( contactRemoved( Kopete::Contact * ) ), + TQ_SLOT( slotContactRemoved( Kopete::Contact * ) ) ); - connect( m_metaContact, TQT_SIGNAL( iconAppearanceChanged() ), - TQT_SLOT( slotUpdateMetaContact() ) ); + connect( m_metaContact, TQ_SIGNAL( iconAppearanceChanged() ), + TQ_SLOT( slotUpdateMetaContact() ) ); - connect( m_metaContact, TQT_SIGNAL( useCustomIconChanged( bool ) ), - TQT_SLOT( slotUpdateMetaContact() ) ); + connect( m_metaContact, TQ_SIGNAL( useCustomIconChanged( bool ) ), + TQ_SLOT( slotUpdateMetaContact() ) ); - connect( m_metaContact, TQT_SIGNAL( contactIdleStateChanged( Kopete::Contact * ) ), - TQT_SLOT( slotIdleStateChanged( Kopete::Contact * ) ) ); + connect( m_metaContact, TQ_SIGNAL( contactIdleStateChanged( Kopete::Contact * ) ), + TQ_SLOT( slotIdleStateChanged( Kopete::Contact * ) ) ); - connect( KopetePrefs::prefs(), TQT_SIGNAL( contactListAppearanceChanged() ), - TQT_SLOT( slotConfigChanged() ) ); + connect( KopetePrefs::prefs(), TQ_SIGNAL( contactListAppearanceChanged() ), + TQ_SLOT( slotConfigChanged() ) ); - connect( kapp, TQT_SIGNAL( appearanceChanged() ), TQT_SLOT( slotConfigChanged() ) ); + connect( kapp, TQ_SIGNAL( appearanceChanged() ), TQ_SLOT( slotConfigChanged() ) ); mBlinkTimer = new TQTimer( this, "mBlinkTimer" ); - connect( mBlinkTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotBlink() ) ); + connect( mBlinkTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotBlink() ) ); mIsBlinkIcon = false; //if ( !mBlinkIcon ) @@ -439,11 +439,11 @@ void KopeteMetaContactLVI::slotContactStatusChanged( Kopete::Contact *c ) break; case signedIn: connect(KNotification::event(m_metaContact, "kopete_contact_online", text, m_metaContact->photo(), KopeteSystemTray::systemTray(), i18n( "Chat" )) , - TQT_SIGNAL(activated(unsigned int )) , this, TQT_SLOT( execute() ) ); + TQ_SIGNAL(activated(unsigned int )) , this, TQ_SLOT( execute() ) ); break; case changedStatus: connect(KNotification::event(m_metaContact, "kopete_contact_status_change", text, m_metaContact->photo(), KopeteSystemTray::systemTray(), i18n( "Chat" )) , - TQT_SIGNAL(activated(unsigned int )) , this, TQT_SLOT( execute() )); + TQ_SIGNAL(activated(unsigned int )) , this, TQ_SLOT( execute() )); break; case signedOut: KNotification::event(m_metaContact, "kopete_contact_offline", text, m_metaContact->photo(), KopeteSystemTray::systemTray()); @@ -736,8 +736,8 @@ void KopeteMetaContactLVI::setDisplayMode( int mode, int iconmode ) new VSpacerComponent( imageBox ); if(!metaContact()->photoSource() && !Kopete::KABCPersistence::self()->addressBook()->findByUid( metaContact()->metaContactId() ).isEmpty() ) { //if the photo is the one of the kaddressbook, track every change in the adressbook, it might be the photo of our contact. - connect( Kopete::KABCPersistence::self()->addressBook() , TQT_SIGNAL(addressBookChanged (AddressBook *) ) , - this , TQT_SLOT(slotPhotoChanged())); + connect( Kopete::KABCPersistence::self()->addressBook() , TQ_SIGNAL(addressBookChanged (AddressBook *) ) , + this , TQ_SLOT(slotPhotoChanged())); } } else { d->metaContactIcon = new FaceComponent( hbox ); @@ -847,11 +847,11 @@ void KopeteMetaContactLVI::slotContactPropertyChanged( Kopete::Contact *contact, void KopeteMetaContactLVI::slotContactAdded( Kopete::Contact *c ) { - connect( c, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, + connect( c, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), - this, TQT_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, + this, TQ_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) ); - connect( c->account() , TQT_SIGNAL( colorChanged(const TQColor& ) ) , this, TQT_SLOT( updateContactIcons() ) ); + connect( c->account() , TQ_SIGNAL( colorChanged(const TQColor& ) ) , this, TQ_SLOT( updateContactIcons() ) ); updateContactIcon( c ); @@ -861,11 +861,11 @@ void KopeteMetaContactLVI::slotContactAdded( Kopete::Contact *c ) void KopeteMetaContactLVI::slotContactRemoved( Kopete::Contact *c ) { - disconnect( c, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, + disconnect( c, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), - this, TQT_SLOT( slotContactPropertyChanged( Kopete::Contact *, + this, TQ_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) ); - disconnect( c->account() , TQT_SIGNAL( colorChanged(const TQColor& ) ) , this, TQT_SLOT( updateContactIcons() ) ); + disconnect( c->account() , TQ_SIGNAL( colorChanged(const TQColor& ) ) , this, TQ_SLOT( updateContactIcons() ) ); if ( ListView::Component *comp = contactComponent( c ) ) delete comp; @@ -1019,8 +1019,8 @@ void KopeteMetaContactLVI::catchEvent( Kopete::MessageEvent *event ) { d->events.append( event ); - connect( event, TQT_SIGNAL( done( Kopete::MessageEvent* ) ), - this, TQT_SLOT( slotEventDone( Kopete::MessageEvent * ) ) ); + connect( event, TQ_SIGNAL( done( Kopete::MessageEvent* ) ), + this, TQ_SLOT( slotEventDone( Kopete::MessageEvent * ) ) ); if ( mBlinkTimer->isActive() ) mBlinkTimer->stop(); diff --git a/kopete/kopete/contactlist/tdeabcexport.cpp b/kopete/kopete/contactlist/tdeabcexport.cpp index 12589fa9..6e67be96 100644 --- a/kopete/kopete/contactlist/tdeabcexport.cpp +++ b/kopete/kopete/contactlist/tdeabcexport.cpp @@ -58,10 +58,10 @@ class ContactLVI : public TQCheckListItem KabcExportWizard::KabcExportWizard( TQWidget *parent, const char *name ) : KabcExportWizard_Base( parent, name ) { - connect( m_addrBooks, TQT_SIGNAL( selectionChanged( TQListBoxItem * ) ), TQT_SLOT( slotResourceSelectionChanged( TQListBoxItem * ) ) ); + connect( m_addrBooks, TQ_SIGNAL( selectionChanged( TQListBoxItem * ) ), TQ_SLOT( slotResourceSelectionChanged( TQListBoxItem * ) ) ); - connect( m_btnSelectAll, TQT_SIGNAL( clicked() ), TQT_SLOT( slotSelectAll() ) ); - connect( m_btnDeselectAll, TQT_SIGNAL( clicked() ), TQT_SLOT( slotDeselectAll() ) ); + connect( m_btnSelectAll, TQ_SIGNAL( clicked() ), TQ_SLOT( slotSelectAll() ) ); + connect( m_btnDeselectAll, TQ_SIGNAL( clicked() ), TQ_SLOT( slotDeselectAll() ) ); // fill resource selector m_addressBook = Kopete::KABCPersistence::self()->addressBook(); |