summaryrefslogtreecommitdiffstats
path: root/kpackage/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/search.cpp')
-rw-r--r--kpackage/search.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpackage/search.cpp b/kpackage/search.cpp
index 2f774bf..8477473 100644
--- a/kpackage/search.cpp
+++ b/kpackage/search.cpp
@@ -35,15 +35,15 @@
#include <tqframe.h>
#include <tqgroupbox.h>
-Search::Search(TQWidget *parent, const char * name)
- : KDialogBase(parent, name, false,
+Search::Search(TQWidget *tqparent, const char * name)
+ : KDialogBase(tqparent, name, false,
i18n("Find Package"),
User1 | Close, User1, true,
- KGuiItem( i18n("&Find"), "find"))
+ KGuiItem( i18n("&Find"), "tqfind"))
{
TQFrame *page = makeMainWidget();
- setFocusPolicy(TQWidget::StrongFocus);
+ setFocusPolicy(TQ_StrongFocus);
TQVBoxLayout* vtop = new TQVBoxLayout( page, 10, 10, "vtop");
@@ -54,7 +54,7 @@ Search::Search(TQWidget *parent, const char * name)
value = new TQLineEdit( frame1, "v");
vf->addWidget(value,0);
value->setFocus();
- value->setFixedHeight(value->sizeHint().height());
+ value->setFixedHeight(value->tqsizeHint().height());
value->setMinimumWidth(250);
connect(value, TQT_SIGNAL(textChanged(const TQString &)),this, TQT_SLOT(textChanged(const TQString &)));
@@ -64,13 +64,13 @@ Search::Search(TQWidget *parent, const char * name)
substr = new TQCheckBox(i18n("Sub string"), frame1, "substr");
substr->setChecked(TRUE);
hc->addWidget(substr,1,AlignLeft);
- substr->setFixedSize(substr->sizeHint());
+ substr->setFixedSize(substr->tqsizeHint());
hc->addStretch(1);
wrap = new TQCheckBox(i18n("Wrap search"), frame1, "wrap");
wrap->setChecked(TRUE);
hc->addWidget(wrap,1,AlignRight);
- wrap->setFixedSize(wrap->sizeHint());
+ wrap->setFixedSize(wrap->tqsizeHint());
enableButton( User1, false );
@@ -104,7 +104,7 @@ void Search::ok_slot()
}
if (pkg == 0)
KpMsg(i18n("Note"),
- i18n("%1 was not found.").arg(to_find),TRUE);
+ i18n("%1 was not found.").tqarg(to_find),TRUE);
}
void Search::done_slot()