diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 19:01:53 +0900 |
commit | b0f8eef013163b2098c2bb07e93cb9b194338b80 (patch) | |
tree | c35221250699030822f3c616b393f77e1ce47036 /knode/kngroupbrowser.cpp | |
parent | c2138cbe92142437d50f2e6cec6f8909da959234 (diff) | |
download | tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.tar.gz tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
Diffstat (limited to 'knode/kngroupbrowser.cpp')
-rw-r--r-- | knode/kngroupbrowser.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/knode/kngroupbrowser.cpp b/knode/kngroupbrowser.cpp index f2379f51c..b659e084e 100644 --- a/knode/kngroupbrowser.cpp +++ b/knode/kngroupbrowser.cpp @@ -89,8 +89,8 @@ KNGroupBrowser::KNGroupBrowser(TQWidget *parent, const TQString &caption, KNNntp groupView->addColumn(i18n("Description")); groupView->setTreeStepSize(15); - connect(groupView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - this, TQT_SLOT(slotItemDoubleClicked(TQListViewItem*))); + connect(groupView, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + this, TQ_SLOT(slotItemDoubleClicked(TQListViewItem*))); //layout TQGridLayout *topL=new TQGridLayout(page,3,1,0,5); @@ -121,22 +121,22 @@ KNGroupBrowser::KNGroupBrowser(TQWidget *parent, const TQString &caption, KNNntp arrL->addWidget(arrowBtn2, AlignCenter); //connect - connect(filterEdit, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotFilterTextChanged(const TQString&))); - connect(groupView, TQT_SIGNAL(expanded(TQListViewItem*)), - TQT_SLOT(slotItemExpand(TQListViewItem*))); + connect(filterEdit, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotFilterTextChanged(const TQString&))); + connect(groupView, TQ_SIGNAL(expanded(TQListViewItem*)), + TQ_SLOT(slotItemExpand(TQListViewItem*))); - connect(refilterTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotRefilter())); - connect(noTreeCB, TQT_SIGNAL(clicked()), TQT_SLOT(slotTreeCBToggled())); - connect(subCB, TQT_SIGNAL(clicked()), TQT_SLOT(slotSubCBToggled())); - connect(newCB, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewCBToggled())); + connect(refilterTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotRefilter())); + connect(noTreeCB, TQ_SIGNAL(clicked()), TQ_SLOT(slotTreeCBToggled())); + connect(subCB, TQ_SIGNAL(clicked()), TQ_SLOT(slotSubCBToggled())); + connect(newCB, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewCBToggled())); enableButton(User1,false); enableButton(User2,false); filterEdit->setFocus(); - TQTimer::singleShot(2, this, TQT_SLOT(slotLoadList())); + TQTimer::singleShot(2, this, TQ_SLOT(slotLoadList())); } @@ -287,7 +287,7 @@ void KNGroupBrowser::slotItemExpand(TQListViewItem *it) { groupView->ensureVisible(groupView->contentsX(), y+h/2, 0, h/2); delayedCenter = y+h/2; - TQTimer::singleShot(300, this, TQT_SLOT(slotCenterDelayed())); + TQTimer::singleShot(300, this, TQ_SLOT(slotCenterDelayed())); } } |