summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerconfig.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /knewsticker/knewstickerconfig.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'knewsticker/knewstickerconfig.cpp')
-rw-r--r--knewsticker/knewstickerconfig.cpp62
1 files changed, 31 insertions, 31 deletions
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp
index 0e558a1c..96457c36 100644
--- a/knewsticker/knewstickerconfig.cpp
+++ b/knewsticker/knewstickerconfig.cpp
@@ -109,31 +109,31 @@ KNewsTickerConfig::KNewsTickerConfig(ConfigAccess *cfg, TQWidget *parent, const
m_child->lvNewsSources->viewport()->installEventFilter(this);
m_child->lvNewsSources->installEventFilter(this);
- connect(m_newsIconMgr, TQT_SIGNAL(gotIcon(const KURL &, const TQPixmap &)), TQT_SLOT(slotGotNewsIcon(const KURL &, const TQPixmap &)));
- connect(m_child->bChooseFont, TQT_SIGNAL(clicked()), TQT_SLOT(slotChooseFont()));
-
- connect(m_child->lvNewsSources, TQT_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint &)),
- TQT_SLOT(slotNewsSourceContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
- connect(m_child->lvNewsSources, TQT_SIGNAL(selectionChanged()),
- TQT_SLOT(slotNewsSourceSelectionChanged()));
- connect(m_child->lvNewsSources, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)),
- TQT_SLOT(slotModifyNewsSource(TQListViewItem *, const TQPoint &, int)));
- connect(m_child->bAddNewsSource, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddNewsSource()));
- connect(m_child->bRemoveNewsSource, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveNewsSource()));
- connect(m_child->bModifyNewsSource, TQT_SIGNAL(clicked()), TQT_SLOT(slotModifyNewsSource()));
-
- connect(m_child->lvFilters, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- TQT_SLOT(slotFilterSelectionChanged(TQListViewItem *)));
- connect(m_child->comboFilterAction, TQT_SIGNAL(activated(const TQString &)),
- TQT_SLOT(slotFilterActionChanged(const TQString &)));
- connect(m_child->comboFilterNewsSource, TQT_SIGNAL(activated(const TQString &)),
- TQT_SLOT(slotFilterNewsSourceChanged(const TQString &)));
- connect(m_child->comboFilterCondition, TQT_SIGNAL(activated(const TQString &)),
- TQT_SLOT(slotFilterConditionChanged(const TQString &)));
- connect(m_child->leFilterExpression, TQT_SIGNAL(textChanged(const TQString &)),
- TQT_SLOT(slotFilterExpressionChanged(const TQString &)));
- connect(m_child->bAddFilter, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddFilter()));
- connect(m_child->bRemoveFilter, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveFilter()));
+ connect(m_newsIconMgr, TQ_SIGNAL(gotIcon(const KURL &, const TQPixmap &)), TQ_SLOT(slotGotNewsIcon(const KURL &, const TQPixmap &)));
+ connect(m_child->bChooseFont, TQ_SIGNAL(clicked()), TQ_SLOT(slotChooseFont()));
+
+ connect(m_child->lvNewsSources, TQ_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint &)),
+ TQ_SLOT(slotNewsSourceContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
+ connect(m_child->lvNewsSources, TQ_SIGNAL(selectionChanged()),
+ TQ_SLOT(slotNewsSourceSelectionChanged()));
+ connect(m_child->lvNewsSources, TQ_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)),
+ TQ_SLOT(slotModifyNewsSource(TQListViewItem *, const TQPoint &, int)));
+ connect(m_child->bAddNewsSource, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddNewsSource()));
+ connect(m_child->bRemoveNewsSource, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveNewsSource()));
+ connect(m_child->bModifyNewsSource, TQ_SIGNAL(clicked()), TQ_SLOT(slotModifyNewsSource()));
+
+ connect(m_child->lvFilters, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ TQ_SLOT(slotFilterSelectionChanged(TQListViewItem *)));
+ connect(m_child->comboFilterAction, TQ_SIGNAL(activated(const TQString &)),
+ TQ_SLOT(slotFilterActionChanged(const TQString &)));
+ connect(m_child->comboFilterNewsSource, TQ_SIGNAL(activated(const TQString &)),
+ TQ_SLOT(slotFilterNewsSourceChanged(const TQString &)));
+ connect(m_child->comboFilterCondition, TQ_SIGNAL(activated(const TQString &)),
+ TQ_SLOT(slotFilterConditionChanged(const TQString &)));
+ connect(m_child->leFilterExpression, TQ_SIGNAL(textChanged(const TQString &)),
+ TQ_SLOT(slotFilterExpressionChanged(const TQString &)));
+ connect(m_child->bAddFilter, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddFilter()));
+ connect(m_child->bRemoveFilter, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveFilter()));
load();
@@ -265,8 +265,8 @@ bool KNewsTickerConfig::eventFilter(TQObject *o, TQEvent *e)
NewsSourceBase::Data nsd(name, newSourceUrl, "" , NewsSourceBase::Computers , 10, true, false);
NewsSourceDlgImpl nsDlg(this, 0L, true);
- connect(&nsDlg, TQT_SIGNAL(newsSource(const NewsSourceBase::Data &)),
- TQT_SLOT(slotAddNewsSource(const NewsSourceBase::Data &)));
+ connect(&nsDlg, TQ_SIGNAL(newsSource(const NewsSourceBase::Data &)),
+ TQ_SLOT(slotAddNewsSource(const NewsSourceBase::Data &)));
nsDlg.setup(nsd, false);
nsDlg.exec();
}
@@ -402,8 +402,8 @@ void KNewsTickerConfig::slotChooseFont()
void KNewsTickerConfig::slotAddNewsSource()
{
NewsSourceDlgImpl nsDlg(this, 0L, true);
- connect(&nsDlg, TQT_SIGNAL(newsSource(const NewsSourceBase::Data &)),
- TQT_SLOT(slotAddNewsSource(const NewsSourceBase::Data &)));
+ connect(&nsDlg, TQ_SIGNAL(newsSource(const NewsSourceBase::Data &)),
+ TQ_SLOT(slotAddNewsSource(const NewsSourceBase::Data &)));
nsDlg.exec();
}
@@ -460,8 +460,8 @@ void KNewsTickerConfig::modifyNewsSource(TQListViewItem *item)
void KNewsTickerConfig::openModifyDialog()
{
NewsSourceDlgImpl nsDlg(this, 0L, true);
- connect(&nsDlg, TQT_SIGNAL(newsSource(const NewsSourceBase::Data &)),
- TQT_SLOT(slotModifyNewsSource(const NewsSourceBase::Data &)));
+ connect(&nsDlg, TQ_SIGNAL(newsSource(const NewsSourceBase::Data &)),
+ TQ_SLOT(slotModifyNewsSource(const NewsSourceBase::Data &)));
nsDlg.setup(m_modifyItem->data(), true);
nsDlg.exec();
}