diff options
Diffstat (limited to 'kopete/kopete/config')
-rw-r--r-- | kopete/kopete/config/accounts/kopeteaccountconfig.cpp | 20 | ||||
-rw-r--r-- | kopete/kopete/config/appearance/appearanceconfig.cpp | 174 | ||||
-rw-r--r-- | kopete/kopete/config/appearance/emoticonseditdialog.cpp | 10 | ||||
-rw-r--r-- | kopete/kopete/config/appearance/tooltipeditdialog.cpp | 22 | ||||
-rw-r--r-- | kopete/kopete/config/avdevice/avdeviceconfig.cpp | 24 | ||||
-rw-r--r-- | kopete/kopete/config/behavior/behaviorconfig.cpp | 136 | ||||
-rw-r--r-- | kopete/kopete/config/identity/kopeteidentityconfig.cpp | 40 | ||||
-rw-r--r-- | kopete/kopete/config/plugins/kopetepluginconfig.cpp | 6 |
8 files changed, 216 insertions, 216 deletions
diff --git a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp index 2ecac32f..943f4d08 100644 --- a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp +++ b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp @@ -63,15 +63,15 @@ KopeteAccountConfig::KopeteAccountConfig( TQWidget *parent, const char * /* name m_view->mButtonUp->setIconSet( SmallIconSet( "go-up" ) ); m_view->mButtonDown->setIconSet( SmallIconSet( "go-down" ) ); - connect( m_view->mButtonNew, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAddAccount() ) ); - connect( m_view->mButtonEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEditAccount() ) ); - connect( m_view->mButtonRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotRemoveAccount() ) ); - connect( m_view->mButtonUp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAccountUp() ) ); - connect( m_view->mButtonDown, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAccountDown() ) ); - connect( m_view->mAccountList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotItemSelected() ) ); - connect( m_view->mAccountList, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ), this, TQT_SLOT( slotEditAccount() ) ); - connect( m_view->mUseColor, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotColorChanged() ) ); - connect( m_view->mColorButton, TQT_SIGNAL( changed( const TQColor & ) ), this, TQT_SLOT( slotColorChanged() ) ); + connect( m_view->mButtonNew, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddAccount() ) ); + connect( m_view->mButtonEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEditAccount() ) ); + connect( m_view->mButtonRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemoveAccount() ) ); + connect( m_view->mButtonUp, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAccountUp() ) ); + connect( m_view->mButtonDown, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAccountDown() ) ); + connect( m_view->mAccountList, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( slotItemSelected() ) ); + connect( m_view->mAccountList, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ), this, TQ_SLOT( slotEditAccount() ) ); + connect( m_view->mUseColor, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotColorChanged() ) ); + connect( m_view->mColorButton, TQ_SIGNAL( changed( const TQColor & ) ), this, TQ_SLOT( slotColorChanged() ) ); m_view->mAccountList->setSorting(-1); @@ -181,7 +181,7 @@ void KopeteAccountConfig::slotAccountDown() void KopeteAccountConfig::slotAddAccount() { AddAccountWizard *m_addwizard = new AddAccountWizard( this, "addAccountWizard", true ); - connect( m_addwizard, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( slotAddWizardDone() ) ); + connect( m_addwizard, TQ_SIGNAL( destroyed( TQObject * ) ), this, TQ_SLOT( slotAddWizardDone() ) ); m_addwizard->show(); } diff --git a/kopete/kopete/config/appearance/appearanceconfig.cpp b/kopete/kopete/config/appearance/appearanceconfig.cpp index 555c36a1..704e8ab4 100644 --- a/kopete/kopete/config/appearance/appearanceconfig.cpp +++ b/kopete/kopete/config/appearance/appearanceconfig.cpp @@ -193,41 +193,41 @@ AppearanceConfig::AppearanceConfig(TQWidget *parent, const char* /*name*/, const // "Emoticons" TAB ========================================================== d->mPrfsEmoticons = new AppearanceConfig_Emoticons(d->mAppearanceTabCtl); - connect(d->mPrfsEmoticons->chkUseEmoticons, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsEmoticons->chkRequireSpaces, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsEmoticons->icon_theme_list, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectedEmoticonsThemeChanged())); - connect(d->mPrfsEmoticons->btnInstallTheme, TQT_SIGNAL(clicked()), - this, TQT_SLOT(installEmoticonTheme())); - - connect(d->mPrfsEmoticons->btnGetThemes, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotGetEmoticonThemes())); - connect(d->mPrfsEmoticons->btnRemoveTheme, TQT_SIGNAL(clicked()), - this, TQT_SLOT(removeSelectedEmoticonTheme())); - connect(d->mPrfsEmoticons->btnEditThemes, TQT_SIGNAL(clicked()), - this, TQT_SLOT(editSelectedEmoticonTheme())); + connect(d->mPrfsEmoticons->chkUseEmoticons, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsEmoticons->chkRequireSpaces, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsEmoticons->icon_theme_list, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectedEmoticonsThemeChanged())); + connect(d->mPrfsEmoticons->btnInstallTheme, TQ_SIGNAL(clicked()), + this, TQ_SLOT(installEmoticonTheme())); + + connect(d->mPrfsEmoticons->btnGetThemes, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotGetEmoticonThemes())); + connect(d->mPrfsEmoticons->btnRemoveTheme, TQ_SIGNAL(clicked()), + this, TQ_SLOT(removeSelectedEmoticonTheme())); + connect(d->mPrfsEmoticons->btnEditThemes, TQ_SIGNAL(clicked()), + this, TQ_SLOT(editSelectedEmoticonTheme())); d->mAppearanceTabCtl->addTab(d->mPrfsEmoticons, i18n("&Emoticons")); // "Chat Window" TAB ======================================================== d->mPrfsChatWindow = new AppearanceConfig_ChatWindow(d->mAppearanceTabCtl); - connect(d->mPrfsChatWindow->styleList, TQT_SIGNAL(selectionChanged(TQListBoxItem *)), - this, TQT_SLOT(slotChatStyleSelected())); - connect(d->mPrfsChatWindow->variantList, TQT_SIGNAL(activated(const TQString&)), - this, TQT_SLOT(slotChatStyleVariantSelected(const TQString &))); - connect(d->mPrfsChatWindow->deleteButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotDeleteChatStyle())); - connect(d->mPrfsChatWindow->installButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotInstallChatStyle())); - connect(d->mPrfsChatWindow->btnGetStyles, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotGetChatStyles())); - connect(d->mPrfsChatWindow->groupConsecutiveMessages, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); + connect(d->mPrfsChatWindow->styleList, TQ_SIGNAL(selectionChanged(TQListBoxItem *)), + this, TQ_SLOT(slotChatStyleSelected())); + connect(d->mPrfsChatWindow->variantList, TQ_SIGNAL(activated(const TQString&)), + this, TQ_SLOT(slotChatStyleVariantSelected(const TQString &))); + connect(d->mPrfsChatWindow->deleteButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotDeleteChatStyle())); + connect(d->mPrfsChatWindow->installButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotInstallChatStyle())); + connect(d->mPrfsChatWindow->btnGetStyles, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotGetChatStyles())); + connect(d->mPrfsChatWindow->groupConsecutiveMessages, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); // Show the available styles when the Manager has finish to load the styles. - connect(ChatWindowStyleManager::self(), TQT_SIGNAL(loadStylesFinished()), this, TQT_SLOT(slotLoadChatStyles())); + connect(ChatWindowStyleManager::self(), TQ_SIGNAL(loadStylesFinished()), this, TQ_SLOT(slotLoadChatStyles())); d->mPrfsChatWindow->htmlFrame->setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken); // Create the fake Chat Session @@ -252,30 +252,30 @@ AppearanceConfig::AppearanceConfig(TQWidget *parent, const char* /*name*/, const // "Contact List" TAB ======================================================= d->mPrfsContactList = new AppearanceConfig_ContactList(d->mAppearanceTabCtl); - connect(d->mPrfsContactList->mTreeContactList, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mSortByGroup, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mEditTooltips, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEditTooltips())); - connect(d->mPrfsContactList->mIndentContacts, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mDisplayMode, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mIconMode, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mThemeURL, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mAnimateChanges, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mFadeVisibility, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mFoldVisibility, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mAutoHide, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsContactList->mAutoHideTimeout, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(emitChanged())); + connect(d->mPrfsContactList->mTreeContactList, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mSortByGroup, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mEditTooltips, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEditTooltips())); + connect(d->mPrfsContactList->mIndentContacts, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mDisplayMode, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mIconMode, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mThemeURL, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mAnimateChanges, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mFadeVisibility, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mFoldVisibility, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mAutoHide, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsContactList->mAutoHideTimeout, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(emitChanged())); // don't enable the checkbox if XRender is not available #ifdef HAVE_XRENDER @@ -288,39 +288,39 @@ AppearanceConfig::AppearanceConfig(TQWidget *parent, const char* /*name*/, const // "Colors and Fonts" TAB =================================================== d->mPrfsColors = new AppearanceConfig_Colors(d->mAppearanceTabCtl); - connect(d->mPrfsColors->foregroundColor, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotHighlightChanged())); - connect(d->mPrfsColors->backgroundColor, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotHighlightChanged())); - connect(d->mPrfsColors->fontFace, TQT_SIGNAL(fontSelected(const TQFont &)), - this, TQT_SLOT(slotChangeFont())); - connect(d->mPrfsColors->textColor, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotUpdateChatPreview())); - connect(d->mPrfsColors->bgColor, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotUpdateChatPreview())); - connect(d->mPrfsColors->linkColor, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(slotUpdateChatPreview())); - connect(d->mPrfsColors->mGreyIdleMetaContacts, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->idleContactColor, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->mUseCustomFonts, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->mSmallFont, TQT_SIGNAL(fontSelected(const TQFont &)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->mNormalFont, TQT_SIGNAL(fontSelected(const TQFont &)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->mGroupFont, TQT_SIGNAL(fontSelected(const TQFont &)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->mGroupNameColor, TQT_SIGNAL(changed(const TQColor &)), - this, TQT_SLOT(emitChanged())); - - connect(d->mPrfsColors->mBgOverride, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->mFgOverride, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); - connect(d->mPrfsColors->mRtfOverride, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(emitChanged())); + connect(d->mPrfsColors->foregroundColor, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotHighlightChanged())); + connect(d->mPrfsColors->backgroundColor, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotHighlightChanged())); + connect(d->mPrfsColors->fontFace, TQ_SIGNAL(fontSelected(const TQFont &)), + this, TQ_SLOT(slotChangeFont())); + connect(d->mPrfsColors->textColor, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotUpdateChatPreview())); + connect(d->mPrfsColors->bgColor, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotUpdateChatPreview())); + connect(d->mPrfsColors->linkColor, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(slotUpdateChatPreview())); + connect(d->mPrfsColors->mGreyIdleMetaContacts, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->idleContactColor, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->mUseCustomFonts, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->mSmallFont, TQ_SIGNAL(fontSelected(const TQFont &)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->mNormalFont, TQ_SIGNAL(fontSelected(const TQFont &)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->mGroupFont, TQ_SIGNAL(fontSelected(const TQFont &)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->mGroupNameColor, TQ_SIGNAL(changed(const TQColor &)), + this, TQ_SLOT(emitChanged())); + + connect(d->mPrfsColors->mBgOverride, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->mFgOverride, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); + connect(d->mPrfsColors->mRtfOverride, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(emitChanged())); d->mAppearanceTabCtl->addTab(d->mPrfsColors, i18n("Colors && Fonts")); @@ -696,7 +696,7 @@ void AppearanceConfig::slotGetChatStyles() downloadDialog->setType( contentType ); // you have to do this by hand when providing your own Engine KNS::ProviderLoader *provider = new KNS::ProviderLoader( this ); - TQObject::connect( provider, TQT_SIGNAL( providersLoaded(Provider::List*) ), downloadDialog, TQT_SLOT( slotProviders (Provider::List *) ) ); + TQObject::connect( provider, TQ_SIGNAL( providersLoaded(Provider::List*) ), downloadDialog, TQ_SLOT( slotProviders (Provider::List *) ) ); provider->load( contentType, "https://www.trinitydesktop.org/ocs/providers.xml" ); downloadDialog->exec(); } @@ -869,7 +869,7 @@ void AppearanceConfig::slotGetEmoticonThemes() void AppearanceConfig::slotEditTooltips() { TooltipEditDialog *dlg = new TooltipEditDialog(this); - connect(dlg, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); + connect(dlg, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool))); dlg->exec(); delete dlg; } diff --git a/kopete/kopete/config/appearance/emoticonseditdialog.cpp b/kopete/kopete/config/appearance/emoticonseditdialog.cpp index 7bd23273..1432a328 100644 --- a/kopete/kopete/config/appearance/emoticonseditdialog.cpp +++ b/kopete/kopete/config/appearance/emoticonseditdialog.cpp @@ -60,7 +60,7 @@ void EditDialog::setupDlg() hb->addWidget(leText); vl->addLayout(hb); setMainWidget(wdg); - connect(btnIcon, TQT_SIGNAL(clicked()), this, TQT_SLOT(btnIconClicked())); + connect(btnIcon, TQ_SIGNAL(clicked()), this, TQ_SLOT(btnIconClicked())); } void EditDialog::btnIconClicked() @@ -134,10 +134,10 @@ EmoticonsEditDialog::EmoticonsEditDialog(TQWidget *parent, TQString theme, const mMainWidget->klvEmoticons->setColumnWidth(0, TQListView::Maximum); mMainWidget->klvEmoticons->setColumnWidth(1, TQListView::Maximum); - connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(slotOkClicked())); - connect(mMainWidget->btnAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddClicked())); - connect(mMainWidget->btnEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditClicked())); - connect(mMainWidget->btnRemove, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRemoveClicked())); + connect(this, TQ_SIGNAL(okClicked()), this, TQ_SLOT(slotOkClicked())); + connect(mMainWidget->btnAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddClicked())); + connect(mMainWidget->btnEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditClicked())); + connect(mMainWidget->btnRemove, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRemoveClicked())); } void EmoticonsEditDialog::slotOkClicked() diff --git a/kopete/kopete/config/appearance/tooltipeditdialog.cpp b/kopete/kopete/config/appearance/tooltipeditdialog.cpp index d23fbe74..eb6b6269 100644 --- a/kopete/kopete/config/appearance/tooltipeditdialog.cpp +++ b/kopete/kopete/config/appearance/tooltipeditdialog.cpp @@ -66,8 +66,8 @@ TooltipEditDialog::TooltipEditDialog(TQWidget *parent, const char* name) Kopete::Global::Properties::self()->templateMap()); TQStringList usedKeys = KopetePrefs::prefs()->toolTipContents(); - connect(mMainWidget->lstUnusedItems, TQT_SIGNAL(doubleClicked ( TQListViewItem *, const TQPoint &, int )), this, TQT_SLOT(slotAddButton())); - connect(mMainWidget->lstUsedItems, TQT_SIGNAL(doubleClicked ( TQListViewItem *, const TQPoint &, int )), this, TQT_SLOT(slotRemoveButton())); + connect(mMainWidget->lstUnusedItems, TQ_SIGNAL(doubleClicked ( TQListViewItem *, const TQPoint &, int )), this, TQ_SLOT(slotAddButton())); + connect(mMainWidget->lstUsedItems, TQ_SIGNAL(doubleClicked ( TQListViewItem *, const TQPoint &, int )), this, TQ_SLOT(slotRemoveButton())); // first fill the "used" list TQStringList::Iterator usedIt=usedKeys.end(); @@ -91,35 +91,35 @@ TooltipEditDialog::TooltipEditDialog(TQWidget *parent, const char* name) new TooltipItem(mMainWidget->lstUnusedItems, it.data().label(), it.key()); } - connect(mMainWidget->lstUnusedItems, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(slotUnusedSelected(TQListViewItem *))); - connect(mMainWidget->lstUsedItems, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(slotUsedSelected(TQListViewItem *))); + connect(mMainWidget->lstUnusedItems, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(slotUnusedSelected(TQListViewItem *))); + connect(mMainWidget->lstUsedItems, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(slotUsedSelected(TQListViewItem *))); TQIconSet iconSet; iconSet = SmallIconSet("go-up"); mMainWidget->tbUp->setIconSet(iconSet); mMainWidget->tbUp->setEnabled(false); mMainWidget->tbUp->setAutoRepeat(true); - connect(mMainWidget->tbUp, TQT_SIGNAL(clicked()), TQT_SLOT(slotUpButton())); + connect(mMainWidget->tbUp, TQ_SIGNAL(clicked()), TQ_SLOT(slotUpButton())); iconSet = SmallIconSet("go-down"); mMainWidget->tbDown->setIconSet(iconSet); mMainWidget->tbDown->setEnabled(false); mMainWidget->tbDown->setAutoRepeat(true); - connect(mMainWidget->tbDown, TQT_SIGNAL(clicked()), TQT_SLOT(slotDownButton())); + connect(mMainWidget->tbDown, TQ_SIGNAL(clicked()), TQ_SLOT(slotDownButton())); iconSet = TQApplication::reverseLayout() ? SmallIconSet("back") : SmallIconSet("forward"); mMainWidget->tbAdd->setIconSet(iconSet); mMainWidget->tbAdd->setEnabled(false); - connect(mMainWidget->tbAdd, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddButton())); + connect(mMainWidget->tbAdd, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddButton())); iconSet = TQApplication::reverseLayout() ? SmallIconSet("forward") : SmallIconSet("back"); mMainWidget->tbRemove->setIconSet(iconSet); mMainWidget->tbRemove->setEnabled(false); - connect(mMainWidget->tbRemove, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveButton())); + connect(mMainWidget->tbRemove, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveButton())); - connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(slotOkClicked())); + connect(this, TQ_SIGNAL(okClicked()), this, TQ_SLOT(slotOkClicked())); resize(TQSize(450, 450)); } diff --git a/kopete/kopete/config/avdevice/avdeviceconfig.cpp b/kopete/kopete/config/avdevice/avdeviceconfig.cpp index fe9c59aa..5add39fc 100644 --- a/kopete/kopete/config/avdevice/avdeviceconfig.cpp +++ b/kopete/kopete/config/avdevice/avdeviceconfig.cpp @@ -52,17 +52,17 @@ AVDeviceConfig::AVDeviceConfig(TQWidget *parent, const char * name , const TQSt // "Video" TAB ============================================================ mPrfsVideoDevice = new AVDeviceConfig_VideoDevice(mAVDeviceTabCtl); - connect(mPrfsVideoDevice->mDeviceKComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotDeviceKComboBoxChanged(int))); - connect(mPrfsVideoDevice->mInputKComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotInputKComboBoxChanged(int))); - connect(mPrfsVideoDevice->mStandardKComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotStandardKComboBoxChanged(int))); - connect(mPrfsVideoDevice->mBrightnessSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotBrightnessSliderChanged(int))); - connect(mPrfsVideoDevice->mContrastSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotContrastSliderChanged(int))); - connect(mPrfsVideoDevice->mSaturationSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSaturationSliderChanged(int))); - connect(mPrfsVideoDevice->mWhitenessSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotWhitenessSliderChanged(int))); - connect(mPrfsVideoDevice->mHueSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotHueSliderChanged(int))); - connect(mPrfsVideoDevice->mImageAutoBrightnessContrast, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotImageAutoBrightnessContrastChanged(bool))); - connect(mPrfsVideoDevice->mImageAutoColorCorrection, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotImageAutoColorCorrectionChanged(bool))); - connect(mPrfsVideoDevice->mImageAsMirror, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotImageAsMirrorChanged(bool))); + connect(mPrfsVideoDevice->mDeviceKComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotDeviceKComboBoxChanged(int))); + connect(mPrfsVideoDevice->mInputKComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotInputKComboBoxChanged(int))); + connect(mPrfsVideoDevice->mStandardKComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotStandardKComboBoxChanged(int))); + connect(mPrfsVideoDevice->mBrightnessSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotBrightnessSliderChanged(int))); + connect(mPrfsVideoDevice->mContrastSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotContrastSliderChanged(int))); + connect(mPrfsVideoDevice->mSaturationSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSaturationSliderChanged(int))); + connect(mPrfsVideoDevice->mWhitenessSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotWhitenessSliderChanged(int))); + connect(mPrfsVideoDevice->mHueSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotHueSliderChanged(int))); + connect(mPrfsVideoDevice->mImageAutoBrightnessContrast, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotImageAutoBrightnessContrastChanged(bool))); + connect(mPrfsVideoDevice->mImageAutoColorCorrection, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotImageAutoColorCorrectionChanged(bool))); + connect(mPrfsVideoDevice->mImageAsMirror, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotImageAsMirrorChanged(bool))); // why is this here? // mPrfsVideoDevice->mVideoImageLabel->setPixmap(qpixmap); @@ -81,7 +81,7 @@ AVDeviceConfig::AVDeviceConfig(TQWidget *parent, const char * name , const TQSt mVideoDevicePool->getImage(&qimage); if (qpixmap.convertFromImage(qimage,0) == true) mPrfsVideoDevice->mVideoImageLabel->setPixmap(qpixmap); - connect(&qtimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateImage()) ); + connect(&qtimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateImage()) ); qtimer.start(0,FALSE); } diff --git a/kopete/kopete/config/behavior/behaviorconfig.cpp b/kopete/kopete/config/behavior/behaviorconfig.cpp index e042c1d4..8f4e7de6 100644 --- a/kopete/kopete/config/behavior/behaviorconfig.cpp +++ b/kopete/kopete/config/behavior/behaviorconfig.cpp @@ -77,81 +77,81 @@ BehaviorConfig::BehaviorConfig(TQWidget *parent, const char * /* name */, const // "General" TAB ============================================================ - connect(mPrfsGeneral->mShowTrayChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsGeneral->mStartDockedChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsGeneral->mUseQueueChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsGeneral->mUseStackChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsGeneral->mQueueUnreadMessagesChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsGeneral->mAutoConnect, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); + connect(mPrfsGeneral->mShowTrayChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsGeneral->mStartDockedChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsGeneral->mUseQueueChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsGeneral->mUseStackChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsGeneral->mQueueUnreadMessagesChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsGeneral->mAutoConnect, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); // "Events" TAB ============================================================ - connect(mPrfsEvents->mQueueOnlyHighlightedMessagesInGroupChatsChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mQueueOnlyMessagesOnAnotherDesktopChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mBalloonNotifyChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mBalloonNotifyIgnoreClosesChatViewChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mCloseBalloonChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mBalloonCloseDelay, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotValueChanged(int))); - connect(mPrfsEvents->mTrayflashNotifyChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mTrayflashNotifyLeftClickOpensMessageChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mTrayflashNotifySetCurrentDesktopToChatViewChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mSoundIfAwayChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mEventIfActive, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect(mPrfsEvents->mRaiseMsgWindowChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mQueueOnlyHighlightedMessagesInGroupChatsChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mQueueOnlyMessagesOnAnotherDesktopChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mBalloonNotifyChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mBalloonNotifyIgnoreClosesChatViewChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mCloseBalloonChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mBalloonCloseDelay, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotValueChanged(int))); + connect(mPrfsEvents->mTrayflashNotifyChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mTrayflashNotifyLeftClickOpensMessageChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mTrayflashNotifySetCurrentDesktopToChatViewChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mSoundIfAwayChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mEventIfActive, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect(mPrfsEvents->mRaiseMsgWindowChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); // "Chat" TAB =============================================================== - connect( mPrfsChat->cb_ShowEventsChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mPrfsChat->highlightEnabled, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mPrfsChat->cb_SpellCheckChk, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mPrfsChat->cmbChatGroupingPolicy, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotValueChanged(int))); - connect( mPrfsChat->mChatViewBufferSize, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotValueChanged(int))); - connect( mPrfsChat->truncateContactNameEnabled, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mPrfsChat->mMaxContactNameLength, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotValueChanged(int))); - connect( mPrfsChat->viewPlugin, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotValueChanged(int))); - connect( mPrfsChat->viewPlugin, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotUpdatePluginLabel(int))); + connect( mPrfsChat->cb_ShowEventsChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mPrfsChat->highlightEnabled, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mPrfsChat->cb_SpellCheckChk, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mPrfsChat->cmbChatGroupingPolicy, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotValueChanged(int))); + connect( mPrfsChat->mChatViewBufferSize, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotValueChanged(int))); + connect( mPrfsChat->truncateContactNameEnabled, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mPrfsChat->mMaxContactNameLength, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotValueChanged(int))); + connect( mPrfsChat->viewPlugin, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotValueChanged(int))); + connect( mPrfsChat->viewPlugin, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotUpdatePluginLabel(int))); // "Away" TAB =============================================================== - connect( mAwayConfigUI->rememberedMessages, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotValueChanged(int))); - connect( mAwayConfigUI->mAutoAwayTimeout, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotValueChanged(int))); - connect( mAwayConfigUI->mGoAvailable, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mAwayConfigUI->mUseAutoAway, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mAwayConfigUI->mDisplayLastAwayMessage, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mAwayConfigUI->mDisplayCustomAwayMessage, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotSettingsChanged(bool))); - connect( mAwayConfigUI->mAutoAwayMessageEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotTextChanged(const TQString&))); + connect( mAwayConfigUI->rememberedMessages, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotValueChanged(int))); + connect( mAwayConfigUI->mAutoAwayTimeout, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotValueChanged(int))); + connect( mAwayConfigUI->mGoAvailable, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mAwayConfigUI->mUseAutoAway, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mAwayConfigUI->mDisplayLastAwayMessage, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mAwayConfigUI->mDisplayCustomAwayMessage, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotSettingsChanged(bool))); + connect( mAwayConfigUI->mAutoAwayMessageEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotTextChanged(const TQString&))); } void BehaviorConfig::save() diff --git a/kopete/kopete/config/identity/kopeteidentityconfig.cpp b/kopete/kopete/config/identity/kopeteidentityconfig.cpp index f57de188..c6419c13 100644 --- a/kopete/kopete/config/identity/kopeteidentityconfig.cpp +++ b/kopete/kopete/config/identity/kopeteidentityconfig.cpp @@ -129,28 +129,28 @@ KopeteIdentityConfig::KopeteIdentityConfig(TQWidget *parent, const char */*name* load(); // Load Configuration // Action signal/slots - connect(d->m_view->buttonChangeAddressee, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChangeAddressee())); - connect(d->m_view->comboSelectIdentity, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotUpdateCurrentIdentity(const TQString& ))); - connect(d->m_view->buttonNewIdentity, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewIdentity())); - connect(d->m_view->buttonCopyIdentity, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCopyIdentity())); - connect(d->m_view->buttonRenameIdentity, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRenameIdentity())); - connect(d->m_view->buttonRemoveIdentity, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRemoveIdentity())); - connect(d->m_view->comboPhotoURL, TQT_SIGNAL(urlSelected(const TQString& )), this, TQT_SLOT(slotChangePhoto(const TQString& ))); - connect(d->m_view->buttonClearPhoto, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearPhoto())); + connect(d->m_view->buttonChangeAddressee, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChangeAddressee())); + connect(d->m_view->comboSelectIdentity, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(slotUpdateCurrentIdentity(const TQString& ))); + connect(d->m_view->buttonNewIdentity, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewIdentity())); + connect(d->m_view->buttonCopyIdentity, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCopyIdentity())); + connect(d->m_view->buttonRenameIdentity, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRenameIdentity())); + connect(d->m_view->buttonRemoveIdentity, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRemoveIdentity())); + connect(d->m_view->comboPhotoURL, TQ_SIGNAL(urlSelected(const TQString& )), this, TQ_SLOT(slotChangePhoto(const TQString& ))); + connect(d->m_view->buttonClearPhoto, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearPhoto())); // Settings signal/slots - connect(d->m_view->radioNicknameContact, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(slotEnableAndDisableWidgets())); - connect(d->m_view->radioNicknameCustom, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(slotEnableAndDisableWidgets())); - connect(d->m_view->radioNicknameKABC, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(slotEnableAndDisableWidgets())); - - connect(d->m_view->radioPhotoContact, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(slotEnableAndDisableWidgets())); - connect(d->m_view->radioPhotoCustom, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(slotEnableAndDisableWidgets())); - connect(d->m_view->radioPhotoKABC, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(slotEnableAndDisableWidgets())); - - connect(d->m_view->checkSyncPhotoKABC, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(slotSettingsChanged())); - connect(d->m_view->lineNickname, TQT_SIGNAL(textChanged(const TQString& )), this, TQT_SLOT(slotSettingsChanged())); - connect(d->m_view->comboNameContact, TQT_SIGNAL(activated(int )), this, TQT_SLOT(slotSettingsChanged())); - connect(d->m_view->comboPhotoContact, TQT_SIGNAL(activated(int )), this, TQT_SLOT(slotEnableAndDisableWidgets())); + connect(d->m_view->radioNicknameContact, TQ_SIGNAL(toggled(bool )), this, TQ_SLOT(slotEnableAndDisableWidgets())); + connect(d->m_view->radioNicknameCustom, TQ_SIGNAL(toggled(bool )), this, TQ_SLOT(slotEnableAndDisableWidgets())); + connect(d->m_view->radioNicknameKABC, TQ_SIGNAL(toggled(bool )), this, TQ_SLOT(slotEnableAndDisableWidgets())); + + connect(d->m_view->radioPhotoContact, TQ_SIGNAL(toggled(bool )), this, TQ_SLOT(slotEnableAndDisableWidgets())); + connect(d->m_view->radioPhotoCustom, TQ_SIGNAL(toggled(bool )), this, TQ_SLOT(slotEnableAndDisableWidgets())); + connect(d->m_view->radioPhotoKABC, TQ_SIGNAL(toggled(bool )), this, TQ_SLOT(slotEnableAndDisableWidgets())); + + connect(d->m_view->checkSyncPhotoKABC, TQ_SIGNAL(toggled(bool )), this, TQ_SLOT(slotSettingsChanged())); + connect(d->m_view->lineNickname, TQ_SIGNAL(textChanged(const TQString& )), this, TQ_SLOT(slotSettingsChanged())); + connect(d->m_view->comboNameContact, TQ_SIGNAL(activated(int )), this, TQ_SLOT(slotSettingsChanged())); + connect(d->m_view->comboPhotoContact, TQ_SIGNAL(activated(int )), this, TQ_SLOT(slotEnableAndDisableWidgets())); } KopeteIdentityConfig::~KopeteIdentityConfig() diff --git a/kopete/kopete/config/plugins/kopetepluginconfig.cpp b/kopete/kopete/config/plugins/kopetepluginconfig.cpp index d54bc68a..a7ae332d 100644 --- a/kopete/kopete/config/plugins/kopetepluginconfig.cpp +++ b/kopete/kopete/config/plugins/kopetepluginconfig.cpp @@ -55,9 +55,9 @@ KopetePluginConfig::KopetePluginConfig( TQWidget *parent, const char *name ) ( new TQVBoxLayout( plainPage(), 0, 0 ) )->setAutoAdd( true ); d->pluginSelector = new KPluginSelector( plainPage() ); setMainWidget( d->pluginSelector ); - connect( d->pluginSelector, TQT_SIGNAL( changed( bool ) ), this, TQT_SLOT( setChanged( bool ) ) ); - connect( d->pluginSelector, TQT_SIGNAL( configCommitted( const TQCString & ) ), - KSettings::Dispatcher::self(), TQT_SLOT( reparseConfiguration( const TQCString & ) ) ); + connect( d->pluginSelector, TQ_SIGNAL( changed( bool ) ), this, TQ_SLOT( setChanged( bool ) ) ); + connect( d->pluginSelector, TQ_SIGNAL( configCommitted( const TQCString & ) ), + KSettings::Dispatcher::self(), TQ_SLOT( reparseConfiguration( const TQCString & ) ) ); d->pluginSelector->addPlugins( Kopete::PluginManager::self()->availablePlugins( "Plugins" ), i18n( "General Plugins" ), "Plugins" ); } |