diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:47:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:47:59 -0600 |
commit | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch) | |
tree | be38034f085e8be24f14f329f87a611d319e6259 /kviewshell/searchWidget.cpp | |
parent | 3fd343f2c6b0545bd750b2939c74be3834b13274 (diff) | |
download | tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kviewshell/searchWidget.cpp')
-rw-r--r-- | kviewshell/searchWidget.cpp | 18 |
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())); |