summaryrefslogtreecommitdiffstats
path: root/kviewshell/searchWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/searchWidget.cpp')
-rw-r--r--kviewshell/searchWidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kviewshell/searchWidget.cpp b/kviewshell/searchWidget.cpp
index d467249d..b9befc8c 100644
--- a/kviewshell/searchWidget.cpp
+++ b/kviewshell/searchWidget.cpp
@@ -23,7 +23,7 @@
#include <tqlabel.h>
#include <tqpushbutton.h>
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
@@ -41,36 +41,36 @@ SearchWidget::SearchWidget(TQWidget* parent, const char* name, WFlags fl)
{
setName("SearchWidget");
- tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed);
+ setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed);
- tqlayout = new TQHBoxLayout(this, 4, 6, "SearchWidgetLayout");
+ layout = new TQHBoxLayout(this, 4, 6, "SearchWidgetLayout");
stopButton = new TQPushButton(this, "stopButton");
stopButton->setPixmap(KGlobal::iconLoader()->loadIcon("stop", KIcon::Small, KIcon::SizeSmall));
- tqlayout->addWidget(stopButton);
+ layout->addWidget(stopButton);
searchLabel = new TQLabel(this, "searchLabel");
searchLabel->setText(i18n("Search:"));
- tqlayout->addWidget(searchLabel);
+ layout->addWidget(searchLabel);
searchText = new KLineEdit(this, "searchText");
- tqlayout->addWidget(searchText);
+ layout->addWidget(searchText);
searchLabel->setBuddy(searchText);
findPrevButton = new TQPushButton(this, "findPrevButton");
findPrevButton->setPixmap(KGlobal::iconLoader()->loadIcon("back", KIcon::NoGroup, KIcon::SizeSmall));
TQToolTip::add(findPrevButton, i18n("Find previous"));
- tqlayout->addWidget(findPrevButton);
+ layout->addWidget(findPrevButton);
findNextButton = new TQPushButton(this, "findNextButton");
findNextButton->setPixmap(KGlobal::iconLoader()->loadIcon("forward", KIcon::NoGroup, KIcon::SizeSmall));
TQToolTip::add(findNextButton, i18n("Find next"));
- tqlayout->addWidget(findNextButton);
+ layout->addWidget(findNextButton);
caseSensitiveCheckBox = new TQCheckBox(this, "caseSensitiveCheckBox");
caseSensitiveCheckBox->setText(i18n("Case sensitive"));
- tqlayout->addWidget(caseSensitiveCheckBox);
+ layout->addWidget(caseSensitiveCheckBox);
connect(stopButton, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(stopSearch()));