summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
index 41f4319d..36f66fc1 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
@@ -18,11 +18,11 @@
* *
* In addition, as a special exception, the copyright holders give *
* permission to link the code of this program with any edition of *
- * the Qt library by Trolltech AS, Norway (or with modified versions *
- * of Qt that use the same license as Qt), and distribute linked *
+ * the TQt library by Trolltech AS, Norway (or with modified versions *
+ * of TQt that use the same license as TQt), and distribute linked *
* combinations including the two. You must obey the GNU General *
* Public License in all respects for all of the code used other than *
- * Qt. If you modify this file, you may extend this exception to *
+ * TQt. If you modify this file, you may extend this exception to *
* your version of the file, but you are not obligated to do so. If *
* you do not wish to do so, delete this exception statement from *
* your version. *
@@ -47,8 +47,8 @@
#include <kdebug.h>
#define i18n (const char *)
-KDBSearchEngine2::KDBSearchEngine2(TQObject *parent,const char*name)
- : SearchEngine(parent,name)
+KDBSearchEngine2::KDBSearchEngine2(TQObject *tqparent,const char*name)
+ : SearchEngine(tqparent,name)
{
pw=0;
dbDirectory=".";
@@ -250,15 +250,15 @@ void KDBSearchEngine2::stringChanged( TQString orig, TQString translated
if(!init()) return;
//if(translated.isEmpty()) return;
InputInfo ii;
- if(description.find("fuzzy",false)==-1)
+ if(description.tqfind("fuzzy",false)==-1)
di->addEntry(orig,translated,&ii);
}
-PrefWidget * KDBSearchEngine2::preferencesWidget(TQWidget *parent)
+PrefWidget * KDBSearchEngine2::preferencesWidget(TQWidget *tqparent)
{
- pw = new KDB2PreferencesWidget(parent);
+ pw = new KDB2PreferencesWidget(tqparent);
kdDebug(0) << "new KDB2 preferences widget" << endl;
setSettings();
connect(pw,TQT_SIGNAL(restoreNow()),this,TQT_SLOT(setSettings()));
@@ -499,7 +499,7 @@ void KDBSearchEngine2::scanNowPressed()
TQString sourceName;
sourceName=pw->dbpw->sourceList->currentText();
if(!init()) return;
- if(sources.contains(sourceName))
+ if(sources.tqcontains(sourceName))
{
TQValueList<KURL> urls=sources[sourceName].urls();
PoScanner ps(di);
@@ -538,7 +538,7 @@ void KDBSearchEngine2::editSource()
TQString sourceName;
sourceName=pw->dbpw->sourceList->currentText();
- if(sources.contains(sourceName))
+ if(sources.tqcontains(sourceName))
{
bool nameIsNew;
TQString newName;
@@ -554,7 +554,7 @@ void KDBSearchEngine2::editSource()
{
return;
}
- nameIsNew=sources.contains(newName);
+ nameIsNew=sources.tqcontains(newName);
if(newName!=sourceName && !nameIsNew)
{
@@ -602,13 +602,13 @@ void KDBSearchEngine2::addSource()
if(sd.exec()==TQDialog::Accepted)
{
newName= sd.sourceName->text();
- nameIsNew=!sources.contains(newName);
+ nameIsNew=!sources.tqcontains(newName);
}
else
{
return;
}
- // nameIsNew=sources.contains(newName);
+ // nameIsNew=sources.tqcontains(newName);
if(!nameIsNew)
{
KMessageBox::error(0,i18n("The name you chose is already used.\nPlease change the source name."),