diff options
Diffstat (limited to 'src/filter.cpp')
-rw-r--r-- | src/filter.cpp | 24 |
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() |