summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/resultssearchbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/ui/resultssearchbar.cpp')
-rw-r--r--klinkstatus/src/ui/resultssearchbar.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/klinkstatus/src/ui/resultssearchbar.cpp b/klinkstatus/src/ui/resultssearchbar.cpp
index 4b8902e7..1841a5c6 100644
--- a/klinkstatus/src/ui/resultssearchbar.cpp
+++ b/klinkstatus/src/ui/resultssearchbar.cpp
@@ -42,12 +42,12 @@ class ResultsSearchBar::ResultsSearchBarPrivate
{
public:
ResultsSearchBarPrivate()
- : tqlayout(0), searchLine(0), searchCombo(0), delay(400), m_lastComboIndex(0)
+ : layout(0), searchLine(0), searchCombo(0), delay(400), m_lastComboIndex(0)
{}
TQString searchText;
TQTimer timer;
- TQHBoxLayout* tqlayout;
+ TQHBoxLayout* layout;
KLineEdit* searchLine;
KComboBox* searchCombo;
int delay;
@@ -59,29 +59,29 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name)
{
setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed));
- d->tqlayout = new TQHBoxLayout(this);
- d->tqlayout->setMargin(2);
- d->tqlayout->setSpacing(5);
+ d->layout = new TQHBoxLayout(this);
+ d->layout->setMargin(2);
+ d->layout->setSpacing(5);
TQToolButton* clearButton = new TQToolButton(this);
clearButton->setIconSet(SmallIconSet(TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase"));
clearButton->setAutoRaise(true);
- d->tqlayout->addWidget(clearButton);
+ d->layout->addWidget(clearButton);
TQLabel* searchLabel = new TQLabel(this);
searchLabel->setText(i18n("S&earch:"));
- d->tqlayout->addWidget(searchLabel);
+ d->layout->addWidget(searchLabel);
d->searchLine = new KLineEdit(this, "searchline");
connect(d->searchLine, TQT_SIGNAL(textChanged(const TQString &)),
this, TQT_SLOT(slotSearchStringChanged(const TQString &)));
searchLabel->setBuddy(d->searchLine);
- d->tqlayout->addWidget(d->searchLine);
+ d->layout->addWidget(d->searchLine);
TQLabel* statusLabel = new TQLabel(this);
statusLabel->setText( i18n("Status:") );
- d->tqlayout->addWidget(statusLabel);
+ d->layout->addWidget(statusLabel);
d->searchCombo = new KComboBox(this, "searchcombo");
TQPixmap iconAll = KGlobal::iconLoader()->loadIcon("exec", KIcon::Small);
@@ -95,7 +95,7 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name)
d->searchCombo->insertItem(iconBroken, i18n("Broken Links"));
d->searchCombo->insertItem(iconMalformed, i18n("Malformed Links"));
d->searchCombo->insertItem(iconUndetermined, i18n("Undetermined Links"));
- d->tqlayout->addWidget(d->searchCombo);
+ d->layout->addWidget(d->searchCombo);
TQToolTip::add(clearButton, i18n("Clear filter"));
TQToolTip::add( d->searchLine, i18n("Enter the terms to filter the result link list"));