diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
commit | 7e9d8ea45280ad6657796da9536ccf6218111f22 (patch) | |
tree | 67d57c480b89c5967466e39bf60f7e4f05434f15 /konq-plugins/sidebar/newsticker | |
parent | 1ecb90ecaf66e1cc8ddeacad21e71640477d9767 (diff) | |
download | tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.tar.gz tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konq-plugins/sidebar/newsticker')
-rw-r--r-- | konq-plugins/sidebar/newsticker/norsswidget.cpp | 6 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nspanel.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp | 16 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/sidebar_news.cpp | 16 |
4 files changed, 20 insertions, 20 deletions
diff --git a/konq-plugins/sidebar/newsticker/norsswidget.cpp b/konq-plugins/sidebar/newsticker/norsswidget.cpp index 86aa12c..a96adeb 100644 --- a/konq-plugins/sidebar/newsticker/norsswidget.cpp +++ b/konq-plugins/sidebar/newsticker/norsswidget.cpp @@ -44,7 +44,7 @@ namespace KSB_News { KPushButton *btn = new KPushButton(i18n("&Configure"), this); btn->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum); - connect(btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBtnClicked())); + connect(btn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotBtnClicked())); topLayout->addWidget(btn, 0, TQt::AlignHCenter); topLayout->addStretch(); @@ -69,8 +69,8 @@ namespace KSB_News { // User edited the configuration - update your local copies of the // configuration data - connect(m_confdlg, TQT_SIGNAL(settingsChanged()), this, - TQT_SLOT(slotConfigure_okClicked())); + connect(m_confdlg, TQ_SIGNAL(settingsChanged()), this, + TQ_SLOT(slotConfigure_okClicked())); m_confdlg->show(); } diff --git a/konq-plugins/sidebar/newsticker/nspanel.cpp b/konq-plugins/sidebar/newsticker/nspanel.cpp index 707ba71..88dbe8c 100644 --- a/konq-plugins/sidebar/newsticker/nspanel.cpp +++ b/konq-plugins/sidebar/newsticker/nspanel.cpp @@ -86,7 +86,7 @@ namespace KSB_News { // updating of RSS documents m_timeoutinterval = 10 * 60 * 1000; // 10 mins m_timer = new TQTimer(this); - connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(refresh())); + connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(refresh())); m_timer->start(m_timeoutinterval); refresh(); } diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp index 8ee0c78..bd1c35d 100644 --- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp +++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp @@ -84,19 +84,19 @@ namespace KSB_News { popup = new TDEPopupMenu(this); popup->insertItem(KStdGuiItem::configure().iconSet(), i18n("&Configure Newsticker..."), this, - TQT_SLOT(slotConfigure())); + TQ_SLOT(slotConfigure())); popup->insertItem(SmallIconSet("reload"), i18n("&Reload"), this, - TQT_SLOT(slotRefresh())); + TQ_SLOT(slotRefresh())); popup->insertItem(KStdGuiItem::close().iconSet(), - KStdGuiItem::close().text(), this, TQT_SLOT(slotClose())); + KStdGuiItem::close().text(), this, TQ_SLOT(slotClose())); popup->insertSeparator(); // help menu helpmenu = new TDEPopupMenu(this); helpmenu->insertItem(appIcon, i18n("&About Newsticker"), this, - TQT_SLOT(slotShowAbout())); + TQ_SLOT(slotShowAbout())); helpmenu->insertItem(i18n("&Report Bug..."), this, - TQT_SLOT(slotShowBugreport())); + TQ_SLOT(slotShowBugreport())); popup->insertItem(KStdGuiItem::help().iconSet(), KStdGuiItem::help().text(), helpmenu); @@ -115,7 +115,7 @@ namespace KSB_News { button->width() - 4 )); button->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred)); - connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonClicked())); + connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonClicked())); TQToolTip::add(button, nsp->title()); // eventFiler for the title button @@ -258,8 +258,8 @@ namespace KSB_News { // User edited the configuration - update your local copies of the // configuration data - connect(m_confdlg, TQT_SIGNAL(settingsChanged()), this, - TQT_SLOT(slotConfigure_okClicked())); + connect(m_confdlg, TQ_SIGNAL(settingsChanged()), this, + TQ_SLOT(slotConfigure_okClicked())); m_confdlg->show(); } diff --git a/konq-plugins/sidebar/newsticker/sidebar_news.cpp b/konq-plugins/sidebar/newsticker/sidebar_news.cpp index 6faaba5..f2c33fe 100644 --- a/konq-plugins/sidebar/newsticker/sidebar_news.cpp +++ b/konq-plugins/sidebar/newsticker/sidebar_news.cpp @@ -164,19 +164,19 @@ namespace KSB_News { if (! nspanel->listbox()) { TTListBox *listbox = new TTListBox(newswidget, "article_lb"); newswidget->addStackTab(nspanel, listbox); - connect(listbox, TQT_SIGNAL(executed(TQListBoxItem *)), - this, TQT_SLOT(slotArticleItemExecuted(TQListBoxItem *))); + connect(listbox, TQ_SIGNAL(executed(TQListBoxItem *)), + this, TQ_SLOT(slotArticleItemExecuted(TQListBoxItem *))); listbox->insertItem(i18n("Connecting..." )); nspanel->setListbox(listbox); } // listen to updates - connect(nspanel, TQT_SIGNAL(documentUpdated(NSPanel *)), - this, TQT_SLOT(updateArticles(NSPanel *))); - connect(nspanel, TQT_SIGNAL(documentUpdated(NSPanel *)), - this, TQT_SLOT(updateTitle(NSPanel *))); - connect(nspanel, TQT_SIGNAL(pixmapUpdated(NSPanel *)), - this, TQT_SLOT(updatePixmap(NSPanel *))); + connect(nspanel, TQ_SIGNAL(documentUpdated(NSPanel *)), + this, TQ_SLOT(updateArticles(NSPanel *))); + connect(nspanel, TQ_SIGNAL(documentUpdated(NSPanel *)), + this, TQ_SLOT(updateTitle(NSPanel *))); + connect(nspanel, TQ_SIGNAL(pixmapUpdated(NSPanel *)), + this, TQ_SLOT(updatePixmap(NSPanel *))); if (widgets->visibleWidget() != newswidget) widgets->raiseWidget(newswidget); |