summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
index 23ac1cd5..a2c8c289 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
@@ -3,7 +3,7 @@
#include <tqspinbox.h>
#include <tqcheckbox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kfiledialog.h>
#include <kurlrequester.h>
@@ -17,15 +17,15 @@
PreferencesWidget::PreferencesWidget(TQWidget *parent, const char* name)
: PrefWidget(parent,name)
{
- TQVBoxLayout *layout = new TQVBoxLayout(this);
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
// TQLabel *label = new TQLabel(i18n("Settings for KDE database search engine"),this);
-// layout->addWidget(label);
+// tqlayout->addWidget(label);
dbpw = new DBSearchEnginePref(this);
dbpw->dirInput->setMode(KFile::Directory | KFile::LocalOnly);
- layout->addWidget(dbpw);
- resize(TQSize(200,200).expandedTo(minimumSizeHint()));
+ tqlayout->addWidget(dbpw);
+ resize(TQSize(200,200).expandedTo(tqminimumSizeHint()));
// connect(dbpw->browseTB_3,TQT_SIGNAL(clicked()),TQT_SLOT(browse1()));
@@ -99,12 +99,12 @@ TQString defaultDir;
void PreferencesWidget::setName(TQString n)
{
-dbpw->filenameLB->setText(i18n("Scanning file: %1").arg(n));
+dbpw->filenameLB->setText(i18n("Scanning file: %1").tqarg(n));
}
void PreferencesWidget::setEntries(int i)
{
-dbpw->entriesLB->setText(i18n("Entries added: %1").arg(i));
+dbpw->entriesLB->setText(i18n("Entries added: %1").tqarg(i));
}