diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 10:03:43 +0900 |
commit | a4241b7911d2e0b36edfb02f616b8b282050c0ec (patch) | |
tree | 316c9a3298857645d5da57b682fce707c8e2a907 /kcontrol/ebrowsing/plugins/ikws | |
parent | f9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff) | |
download | tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/ebrowsing/plugins/ikws')
-rw-r--r-- | kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp | 58 | ||||
-rw-r--r-- | kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp | 6 |
2 files changed, 32 insertions, 32 deletions
diff --git a/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp b/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp index eb96f682a..507af5993 100644 --- a/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp @@ -147,35 +147,35 @@ void FilterOptions::load( bool useDefaults ) m_dlg->lvSearchProviders->setSelected(m_dlg->lvSearchProviders->firstChild(), true); // Connect all the signals/slots... - connect(m_dlg->cbEnableShortcuts, TQT_SIGNAL(clicked()), this, - TQT_SLOT(setWebShortcutState())); - connect(m_dlg->cbEnableShortcuts, TQT_SIGNAL(clicked()), this, - TQT_SLOT(configChanged())); - - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(updateSearchProvider())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - this, TQT_SLOT(changeSearchProvider())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(returnPressed(TQListViewItem *)), - this, TQT_SLOT(changeSearchProvider())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(executed(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(spacePressed(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(pressed(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(clicked(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - - - connect(m_dlg->cmbDefaultEngine, TQT_SIGNAL(activated(const TQString &)), this, - TQT_SLOT(configChanged())); - connect(m_dlg->cmbDelimiter, TQT_SIGNAL(activated(const TQString &)), this, - TQT_SLOT(configChanged())); - - connect(m_dlg->pbNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(addSearchProvider())); - connect(m_dlg->pbChange, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeSearchProvider())); - connect(m_dlg->pbDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteSearchProvider())); + connect(m_dlg->cbEnableShortcuts, TQ_SIGNAL(clicked()), this, + TQ_SLOT(setWebShortcutState())); + connect(m_dlg->cbEnableShortcuts, TQ_SIGNAL(clicked()), this, + TQ_SLOT(configChanged())); + + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(updateSearchProvider())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + this, TQ_SLOT(changeSearchProvider())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(returnPressed(TQListViewItem *)), + this, TQ_SLOT(changeSearchProvider())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(executed(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(spacePressed(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(pressed(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(clicked(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + + + connect(m_dlg->cmbDefaultEngine, TQ_SIGNAL(activated(const TQString &)), this, + TQ_SLOT(configChanged())); + connect(m_dlg->cmbDelimiter, TQ_SIGNAL(activated(const TQString &)), this, + TQ_SLOT(configChanged())); + + connect(m_dlg->pbNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(addSearchProvider())); + connect(m_dlg->pbChange, TQ_SIGNAL(clicked()), this, TQ_SLOT(changeSearchProvider())); + connect(m_dlg->pbDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteSearchProvider())); emit changed( useDefaults ); } diff --git a/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp b/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp index a1f6ca619..b6029cf36 100644 --- a/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp @@ -45,9 +45,9 @@ SearchProviderDialog::SearchProviderDialog(SearchProvider *provider, m_dlg->leQuery->setMinimumWidth(kapp->fontMetrics().maxWidth() * 40); - connect(m_dlg->leName, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); - connect(m_dlg->leQuery, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); - connect(m_dlg->leShortcut, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); + connect(m_dlg->leName, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotChanged())); + connect(m_dlg->leQuery, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotChanged())); + connect(m_dlg->leShortcut, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotChanged())); // Data init TQStringList charsets = TDEGlobal::charsets()->availableEncodingNames(); |