summaryrefslogtreecommitdiffstats
path: root/src/filter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:28:49 +0900
committerMichele Calgaro <[email protected]>2024-01-06 19:52:52 +0900
commit31622296062e9eaafb3429eb84f8780fab22e597 (patch)
tree7220cbbc37f829f7139b672ae1d2a74cfb7a6d36 /src/filter.cpp
parent50245e3df9d78cdd42e9551fb32a3ea032434b0e (diff)
downloadbasket-31622296062e9eaafb3429eb84f8780fab22e597.tar.gz
basket-31622296062e9eaafb3429eb84f8780fab22e597.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe)
Diffstat (limited to 'src/filter.cpp')
-rw-r--r--src/filter.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/filter.cpp b/src/filter.cpp
index c79e67d..226520a 100644
--- a/src/filter.cpp
+++ b/src/filter.cpp
@@ -61,7 +61,7 @@ FilterBar::FilterBar(TQWidget *parent, const char *name)
m_resetButton = new TQToolButton(this);
m_resetButton->setIconSet(resetIconSet);
- m_resetButton->setTextLabel(i18n("Reset Filter"));//, /*groupText=*/"", this, TQT_SLOT(reset()), 0);
+ m_resetButton->setTextLabel(i18n("Reset Filter"));//, /*groupText=*/"", this, TQ_SLOT(reset()), 0);
m_resetButton->setAutoRaise(true);
//new TDEToolBarButton("locationbar_erase", /*id=*/1230, this, /*name=*/0, i18n("Reset Filter"));
m_lineEdit = new FocusedLineEdit(this);
@@ -70,7 +70,7 @@ FilterBar::FilterBar(TQWidget *parent, const char *name)
TQLabel *label2 = new TQLabel(m_tagsBox, i18n("T&ag: "), this);
m_inAllBasketsButton = new TQToolButton(this);
m_inAllBasketsButton->setIconSet(inAllIconSet);
- m_inAllBasketsButton->setTextLabel(i18n("Filter all Baskets"));//, /*groupText=*/"", this, TQT_SLOT(inAllBaskets()), 0);
+ m_inAllBasketsButton->setTextLabel(i18n("Filter all Baskets"));//, /*groupText=*/"", this, TQ_SLOT(inAllBaskets()), 0);
m_inAllBasketsButton->setAutoRaise(true);
// Configure the Reset button:
@@ -100,18 +100,18 @@ FilterBar::FilterBar(TQWidget *parent, const char *name)
m_data = new FilterData(); // TODO: Not a pointer! and return a const & !!
-// connect( &m_blinkTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(blinkBar()) );
- connect( m_resetButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reset()) );
- connect( m_lineEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(textChanged(const TQString&)) );
- connect( m_tagsBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(tagChanged(int)) );
+// connect( &m_blinkTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(blinkBar()) );
+ connect( m_resetButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()) );
+ connect( m_lineEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(textChanged(const TQString&)) );
+ connect( m_tagsBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(tagChanged(int)) );
-// connect( m_inAllBasketsButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(inAllBaskets()) );
- connect( m_inAllBasketsButton, TQT_SIGNAL(toggled(bool)), Global::bnpView, TQT_SLOT(toggleFilterAllBaskets(bool)) );
+// connect( m_inAllBasketsButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(inAllBaskets()) );
+ connect( m_inAllBasketsButton, TQ_SIGNAL(toggled(bool)), Global::bnpView, TQ_SLOT(toggleFilterAllBaskets(bool)) );
- connect( m_lineEdit, TQT_SIGNAL(escapePressed()), this, TQT_SIGNAL(escapePressed()) );
- connect( m_lineEdit, TQT_SIGNAL(returnPressed()), this, TQT_SIGNAL(returnPressed()) );
- connect( m_tagsBox, TQT_SIGNAL(escapePressed()), this, TQT_SIGNAL(escapePressed()) );
- connect( m_tagsBox, TQT_SIGNAL(returnPressed2()), this, TQT_SIGNAL(returnPressed()) );
+ connect( m_lineEdit, TQ_SIGNAL(escapePressed()), this, TQ_SIGNAL(escapePressed()) );
+ connect( m_lineEdit, TQ_SIGNAL(returnPressed()), this, TQ_SIGNAL(returnPressed()) );
+ connect( m_tagsBox, TQ_SIGNAL(escapePressed()), this, TQ_SIGNAL(escapePressed()) );
+ connect( m_tagsBox, TQ_SIGNAL(returnPressed2()), this, TQ_SIGNAL(returnPressed()) );
}
FilterBar::~FilterBar()