summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine2
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kbabel/kbabeldict/modules/dbsearchengine2
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine2')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp26
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h7
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h11
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/database.cpp46
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/database.h4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp16
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h6
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2.ui116
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h7
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui152
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp10
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h3
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/sourcedialog.ui40
16 files changed, 238 insertions, 226 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."),
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
index fb9cff70..89a32571 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
@@ -22,10 +22,11 @@ Andrea Rizzi
class KDBSearchEngine2 : public SearchEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDBSearchEngine2(TQObject *parent=0, const char *name=0);
+ KDBSearchEngine2(TQObject *tqparent=0, const char *name=0);
virtual ~KDBSearchEngine2();
//init if needed.
@@ -77,9 +78,9 @@ class KDBSearchEngine2 : public SearchEngine
* search engine. The returned widget should not be bigger than
* 400x400. If you need more space, you maybe want to use
* a tabbed widget.
- * @param parent the parent of the returned widget
+ * @param tqparent the tqparent of the returned widget
*/
- virtual PrefWidget* preferencesWidget(TQWidget *parent);
+ virtual PrefWidget* preferencesWidget(TQWidget *tqparent);
/** @returns information about this SearchEngine */
virtual const KAboutData *about() const;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp
index 466b68e5..ab3d14b1 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp
@@ -145,7 +145,7 @@ DataBaseInterface::ResultList ChunkByChunkSearchAlgorithm::exec( const TQString
for(ResultList::iterator it1=r.begin();it1!=r.end() &&!di->stopNow(); ++it1)
{
TQString chunkTranslation= (*it1).result();
- if(!translationUsed.contains(chunkTranslation))
+ if(!translationUsed.tqcontains(chunkTranslation))
{
translationUsed[chunkTranslation]=true;
kdDebug(0) << "a translation is: " << chunkTranslation << endl;
@@ -330,7 +330,7 @@ DataBaseInterface::ResultList FuzzyChunkSearchAlgorithm::exec( const TQString &
TQString re=di->format(di->simple(*it,true),query);
QueryResult r(re,ori,score);
for(TQPtrListIterator<AbstractChunk> it(querychunks); it.current() && di->stopNow() ; ++it){
- ori=ori.replace(TQRegExp((*it)->chunkString(),false),"<font color=#000080><u><b>"+(*it)->chunkString()+"</b></u></font>");
+ ori=ori.tqreplace(TQRegExp((*it)->chunkString(),false),"<font color=#000080><u><b>"+(*it)->chunkString()+"</b></u></font>");
}
r.setRichOriginal(ori);
if(!di->stopNow())
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
index aa049f85..e2c5db67 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
@@ -16,9 +16,10 @@
#include "chunk.h"
#include <tqobject.h>
-class AbstractSearchAlgorithm : public QObject
+class AbstractSearchAlgorithm : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
typedef TQValueList<QueryResult> ResultList;
@@ -47,6 +48,7 @@ class AbstractSearchAlgorithm : public QObject
class ExactSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
ExactSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) : AbstractSearchAlgorithm(dbi,sets) {}
@@ -56,6 +58,7 @@ class ExactSearchAlgorithm : public AbstractSearchAlgorithm
class AlphaSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
AlphaSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) : AbstractSearchAlgorithm(dbi,sets) {}
@@ -65,6 +68,7 @@ class AlphaSearchAlgorithm : public AbstractSearchAlgorithm
class SentenceArchiveSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
SentenceArchiveSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) ;
@@ -74,6 +78,7 @@ class SentenceArchiveSearchAlgorithm : public AbstractSearchAlgorithm
class ChunkByChunkSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
ChunkByChunkSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets);
@@ -90,6 +95,7 @@ class ChunkByChunkSearchAlgorithm : public AbstractSearchAlgorithm
class FuzzyChunkSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
FuzzyChunkSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets);
@@ -105,6 +111,7 @@ class FuzzyChunkSearchAlgorithm : public AbstractSearchAlgorithm
class GenericSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
GenericSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) ;
@@ -123,6 +130,7 @@ class GenericSearchAlgorithm : public AbstractSearchAlgorithm
class CorrelationSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
CorrelationSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) : AbstractSearchAlgorithm(dbi,sets) {}
virtual ResultList exec(const TQString& query);
@@ -133,6 +141,7 @@ class CorrelationSearchAlgorithm : public AbstractSearchAlgorithm
class SingleWordSearchAlgorithm : public GenericSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
SingleWordSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets);
virtual DataBaseInterface::ResultList exec(const TQString& query);
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/database.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/database.cpp
index 0631f7ad..e5250274 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/database.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/database.cpp
@@ -174,7 +174,7 @@ DataBaseInterface::MainEntry DataBaseInterface::get(const TQString& query,Search
// kdDebug(0) << "MAINDB->GET returned: " << r << endl;
if(counter%5==0) kapp->processEvents(100);
// kdDebug(0) << "events processed" << endl;
- return qMakePair(k,d);
+ return tqMakePair(k,d);
}
@@ -282,7 +282,7 @@ bool DataBaseInterface::addEntry(TQString original,TQString translated,InputInfo
TQStringList wt=words(*otIt);
for(TQStringList::iterator it = wt.begin(); it!=wt.end(); ++it)
{
- if(correlationDiff.contains(*it))
+ if(correlationDiff.tqcontains(*it))
correlationDiff[*it]--;
else
correlationDiff[*it]=-1;
@@ -299,7 +299,7 @@ bool DataBaseInterface::addEntry(TQString original,TQString translated,InputInfo
TQStringList wt=words(*otIt);
for(TQStringList::iterator it = wt.begin(); it!=wt.end(); ++it)
{
- if(correlationDiff.contains(*it))
+ if(correlationDiff.tqcontains(*it))
correlationDiff[*it]++;
else
correlationDiff[*it]=1;
@@ -408,7 +408,7 @@ TQMap<TQString,float> DataBaseInterface::correlation(TQString word,SearchFilter
MainEntry e=get(k->getString(),filter);
TQStringList trad=e.second.getTranslations();
- nocck=words(k->getString()).contains(sword);
+ nocck=words(k->getString()).tqcontains(sword);
for( TQStringList::iterator it2=trad.begin();it2!=trad.end();++it2)
{
@@ -465,7 +465,7 @@ TQStringList DataBaseInterface::words(TQString s)
int pos;
do {
- pos=str.find(TQRegExp("\\s"));
+ pos=str.tqfind(TQRegExp("\\s"));
// if(!simple(str.left(pos)).isEmpty())
// list.append(simple(str.left(pos)));
if(!str.left(pos).isEmpty())
@@ -484,13 +484,13 @@ TQString DataBaseInterface::simple(TQString str,bool ck)
else
res=str.lower(); //lowercase
//FIXME: uncoment the foll. line (check speed)
- res=res.replace(TQRegExp("(<(.*)>)(.*)(</\\2>)"),"\\3"); //remove enclosing tags
+ res=res.tqreplace(TQRegExp("(<(.*)>)(.*)(</\\2>)"),"\\3"); //remove enclosing tags
//Try to get rid of regexps.
- // res=res.replace(TQRegExp("(('|-|_|\\s|[^\\w%])+)")," "); //strip non-word char
- // res=res.replace(TQRegExp("(('|-|_)+)")," "); //strip non-word char
- // res=res.replace(TQRegExp("[^\\w\\s%]"),""); //strip non-word char
+ // res=res.tqreplace(TQRegExp("(('|-|_|\\s|[^\\w%])+)")," "); //strip non-word char
+ // res=res.tqreplace(TQRegExp("(('|-|_)+)")," "); //strip non-word char
+ // res=res.tqreplace(TQRegExp("[^\\w\\s%]"),""); //strip non-word char
TQString r;
TQChar c;
@@ -607,16 +607,16 @@ TQString DataBaseInterface::format(TQString _s,TQString t)
//FIXME use regexp
TQString s=_s;
- TQString noTagT=t.replace(TQRegExp("(<(.*)>)(.*)(</\\2>)"),"\\3");
- TQChar first=noTagT[noTagT.find(TQRegExp("\\w"))];
+ TQString noTagT=t.tqreplace(TQRegExp("(<(.*)>)(.*)(</\\2>)"),"\\3");
+ TQChar first=noTagT[noTagT.tqfind(TQRegExp("\\w"))];
bool firstCapital=isUpper(first);
/*
-bool dotsAtEnd=(t.find("...")+3==t.length());
-bool gtgtAtEnd=(t.find(">>")+2==t.length());
-bool ltltAtEnd=(t.find("<<")==t.length()-2);
+bool dotsAtEnd=(t.tqfind("...")+3==t.length());
+bool gtgtAtEnd=(t.tqfind(">>")+2==t.length());
+bool ltltAtEnd=(t.tqfind("<<")==t.length()-2);
-bool columnAtEnd=(t.find(":")+1==t.length());
+bool columnAtEnd=(t.tqfind(":")+1==t.length());
*/
bool allupper=(t.upper()==t);
@@ -643,13 +643,13 @@ if(columnAtEnd)
if(allupper)
s=s.upper();
- int pos=t.find(TQRegExp("&"));
+ int pos=t.tqfind(TQRegExp("&"));
if(pos>=0) {
- TQChar accel=t[t.find(TQRegExp("&"))+1];
+ TQChar accel=t[t.tqfind(TQRegExp("&"))+1];
if(accel!='&')
{
- pos=s.find(accel,false);
+ pos=s.tqfind(accel,false);
if(pos<0)
pos=0;
s.insert(pos,"&");
@@ -685,8 +685,8 @@ TQString DataBaseInterface::formatRegExp(TQString _s, TQString t, TQString tre,T
//kdDebug(0) << "phRegExp: " << phRegExp << endl;
//kdDebug(0) << "cap[" << i << "]: "<< *capit<< endl;
- stringReplace = stringReplace.replace(TQRegExp(phRegExp),*capit);
- stringSearch = stringSearch.replace(TQRegExp(phRegExp),*capit);
+ stringReplace = stringReplace.tqreplace(TQRegExp(phRegExp),*capit);
+ stringSearch = stringSearch.tqreplace(TQRegExp(phRegExp),*capit);
i++;
}
@@ -694,7 +694,7 @@ TQString DataBaseInterface::formatRegExp(TQString _s, TQString t, TQString tre,T
// kdDebug(0) << "stringReplace " << stringReplace << endl;
TQRegExp stringSearchRegExp = TQRegExp(stringSearch);
// kdDebug(0) << "before: "<<s<<endl;
- s = s.replace(stringSearchRegExp,stringReplace);
+ s = s.tqreplace(stringSearchRegExp,stringReplace);
// kdDebug(0) << "after: "<<s<<endl;
}
@@ -727,7 +727,7 @@ DataBaseInterface::MainEntry DataBaseInterface::getSentence( const TQString & qu
DBItemMainData d;
sentence->get(&k,&d);
if(counter%5==0) kapp->processEvents(100);
- return qMakePair(k,d);
+ return tqMakePair(k,d);
}
@@ -748,5 +748,5 @@ DBItemMultiIndex::IndexList DataBaseInterface::getWordIndex( const TQString & qu
-//#include "database.moc.cpp"
+//#include "database.tqmoc.cpp"
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/database.h b/kbabel/kbabeldict/modules/dbsearchengine2/database.h
index d6ed3482..113d7704 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/database.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/database.h
@@ -153,13 +153,13 @@ class SearchFilter
-class DataBaseInterface : public QObject
+class DataBaseInterface : public TQObject
{
public:
//move result list typedef to AbstractAlgorthm or somewhere else
typedef TQValueList<QueryResult> ResultList;
- typedef QPair<DBItemMainKey,DBItemMainData> MainEntry;
+ typedef TQPair<DBItemMainKey,DBItemMainData> MainEntry;
DataBaseInterface( TQString dir, DBSESettings *sets);
~DataBaseInterface();
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
index efa7e44d..0958b801 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbentries.cpp
@@ -71,13 +71,13 @@ void DBItemMainData::read(TQDataStream *s)
void DBItemMainData::write(TQDataStream *s)
{
- *s << (Q_UINT32)indexnumber << translations;
+ *s << (TQ_UINT32)indexnumber << translations;
}
void DBItemMainData::addTranslation(TQString str, unsigned int ref)
{
//get();
- if(translations[str].find(ref)==translations[str].end()) // If it do not exists
+ if(translations[str].tqfind(ref)==translations[str].end()) // If it do not exists
translations[str].append(ref); //add a new reference.
else
{
@@ -106,7 +106,7 @@ TQMapIterator<TQString,TQValueList<unsigned int> > it2;
{ //Dirty hack
it2=it;
it++;
- if(it2.data().find(ref)!=it2.data().end())
+ if(it2.data().tqfind(ref)!=it2.data().end())
removeTranslation(it2.key(),ref);
}
@@ -142,7 +142,7 @@ list.clear();
void DBItemMultiIndex::addEntry(unsigned int index)
{
// get();
- if(list.find(index)==list.end())
+ if(list.tqfind(index)==list.end())
{
list.append(index);
qHeapSort(list);
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
index 7c2d8564..b7e64c2b 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
@@ -39,7 +39,7 @@ void MessagesSource::writeConfig(KConfigBase *config)
config->writeEntry("LocationType",type);
config->writeEntry("ProjectName",projectName);
config->writeEntry("ProjectKeywords",projectKeywords);
- config->writeEntry("Status",status);
+ config->writeEntry("tqStatus",status);
}
void MessagesSource::readConfig(KConfigBase *config)
@@ -48,7 +48,7 @@ void MessagesSource::readConfig(KConfigBase *config)
type=config->readNumEntry("LocationType",0);
projectName=config->readEntry("ProjectName");
projectKeywords=config->readEntry("ProjectKeywords");
- status=config->readEntry("Status");
+ status=config->readEntry("tqStatus");
}
@@ -87,7 +87,7 @@ TQValueList<KURL> MessagesSource::filesInDir(KURL url,bool recursive)
TQDir d(url.path());
d.setMatchAllDirs(true);
kdDebug(0) << d.count() << " files in dir "<< url.path()<<endl;
- const QFileInfoList* files = d.entryInfoList();
+ const TQFileInfoList* files = d.entryInfoList();
kdDebug(0) << files << endl;
// TQPtrListIterator<TQFileInfo> it(*files);
@@ -120,7 +120,7 @@ TQValueList<KURL> MessagesSource::filesInDir(KURL url,bool recursive)
//FIXME: clean this class
PoScanner::PoScanner(DataBaseInterface *dbi,
- TQObject *parent,const char *name):TQObject(parent,name)
+ TQObject *tqparent,const char *name):TQObject(tqparent,name)
{
di=dbi;
removeOldCatalogTranslation=true;
@@ -138,7 +138,7 @@ if (!called)
{ pb=true; count=0;}
called=true;
-kdDebug(0) << TQString("Scanning: %1, %2").arg(pathName).arg(pattern) << endl;
+kdDebug(0) << TQString("Scanning: %1, %2").tqarg(pathName).tqarg(pattern) << endl;
if(pb)
{
@@ -147,7 +147,7 @@ emit patternProgress(0);
}
TQDir d(pathName,pattern);
d.setMatchAllDirs(true);
- const QFileInfoList* files = d.entryInfoList();
+ const TQFileInfoList* files = d.entryInfoList();
tot=files->count();
TQPtrListIterator<TQFileInfo> it(*files);
kdDebug(0) << tot << endl;
@@ -203,7 +203,7 @@ emit fileStarted();
Catalog * catalog=new Catalog(this,"ScanPoCatalog");
TQString pretty=u.prettyURL();
-TQString location=pretty.right(pretty.length()-pretty.findRev("/")-1);
+TQString location=pretty.right(pretty.length()-pretty.tqfindRev("/")-1);
connect(catalog,TQT_SIGNAL(signalProgress(int)),this,TQT_SIGNAL(fileLoading(int)));
emit filename(location);
@@ -212,7 +212,7 @@ emit fileLoading(0);
bool error;
-ConversionStatus rr=catalog->openURL(u);
+ConversiontqStatus rr=catalog->openURL(u);
if(rr != OK && rr !=RECOVERED_PARSE_ERROR )
{
delete catalog;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h
index e4cdf7da..3036f70c 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h
@@ -69,13 +69,13 @@ class MessagesSource
};
-class PoScanner : public QObject
+class PoScanner : public TQObject
{
- Q_OBJECT;
+ TQ_OBJECT;
public:
- PoScanner(DataBaseInterface *dbi,TQObject *parent=0,const char *name=0);
+ PoScanner(DataBaseInterface *dbi,TQObject *tqparent=0,const char *name=0);
/*
Scan a single PO file.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2.ui b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2.ui
index 327a9d9d..348900e5 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2.ui
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2.ui
@@ -1,10 +1,10 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>DBSearchEnginePrefWidget</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>Form1</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@@ -16,11 +16,11 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTabWidget" row="0" column="0">
+ <widget class="TQTabWidget" row="0" column="0">
<property name="name">
<cstring>tabWidget2</cstring>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -31,7 +31,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox" row="0" column="0">
+ <widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox1</cstring>
</property>
@@ -42,7 +42,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -55,7 +55,7 @@
<cstring>dbDirectory</cstring>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>autoUpdate</cstring>
</property>
@@ -65,7 +65,7 @@
</widget>
</grid>
</widget>
- <widget class="QGroupBox" row="1" column="0">
+ <widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>groupBox2</cstring>
</property>
@@ -76,7 +76,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -84,7 +84,7 @@
<string>Author:</string>
</property>
</widget>
- <widget class="QCheckBox" row="0" column="2">
+ <widget class="TQCheckBox" row="0" column="2">
<property name="name">
<cstring>checkBox2</cstring>
</property>
@@ -109,7 +109,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -118,7 +118,7 @@
</spacer>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -129,7 +129,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel5</cstring>
</property>
@@ -147,7 +147,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -168,7 +168,7 @@
<enum>Horizontal</enum>
</property>
</widget>
- <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQGroupBox" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>groupBox3</cstring>
</property>
@@ -179,7 +179,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="1" column="1">
+ <widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
@@ -197,7 +197,7 @@
<cstring>scoreGlossary</cstring>
</property>
</widget>
- <widget class="QLabel" row="2" column="1">
+ <widget class="TQLabel" row="2" column="1">
<property name="name">
<cstring>textLabel3_2_2</cstring>
</property>
@@ -205,7 +205,7 @@
<string>Score:</string>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="0">
+ <widget class="TQCheckBox" row="3" column="0">
<property name="name">
<cstring>useSentence</cstring>
</property>
@@ -213,7 +213,7 @@
<string>Fuzzy sentence archive</string>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="0">
+ <widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>useGlossary</cstring>
</property>
@@ -221,7 +221,7 @@
<string>Glossary</string>
</property>
</widget>
- <widget class="QCheckBox" row="0" column="0">
+ <widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>useExact</cstring>
</property>
@@ -244,7 +244,7 @@
<cstring>scoreSentence</cstring>
</property>
</widget>
- <widget class="QCheckBox" row="4" column="0">
+ <widget class="TQCheckBox" row="4" column="0">
<property name="name">
<cstring>useDivide</cstring>
</property>
@@ -252,7 +252,7 @@
<string>Sentence by sentence</string>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0">
+ <widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>useAlpha</cstring>
</property>
@@ -260,7 +260,7 @@
<string>Alphanumeric</string>
</property>
</widget>
- <widget class="QLabel" row="3" column="1">
+ <widget class="TQLabel" row="3" column="1">
<property name="name">
<cstring>textLabel3_2_3</cstring>
</property>
@@ -268,7 +268,7 @@
<string>Score:</string>
</property>
</widget>
- <widget class="QLabel" row="4" column="1">
+ <widget class="TQLabel" row="4" column="1">
<property name="name">
<cstring>textLabel3_2_4</cstring>
</property>
@@ -276,7 +276,7 @@
<string>Score:</string>
</property>
</widget>
- <widget class="QLabel" row="0" column="1">
+ <widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -289,7 +289,7 @@
<cstring>scoreAlpha</cstring>
</property>
</widget>
- <widget class="QLabel" row="6" column="1">
+ <widget class="TQLabel" row="6" column="1">
<property name="name">
<cstring>textLabel3_2_6</cstring>
</property>
@@ -297,7 +297,7 @@
<string>Score:</string>
</property>
</widget>
- <widget class="QLabel" row="5" column="1">
+ <widget class="TQLabel" row="5" column="1">
<property name="name">
<cstring>textLabel3_2_5</cstring>
</property>
@@ -305,7 +305,7 @@
<string>Score:</string>
</property>
</widget>
- <widget class="QCheckBox" row="6" column="0">
+ <widget class="TQCheckBox" row="6" column="0">
<property name="name">
<cstring>useWordByWord</cstring>
</property>
@@ -313,7 +313,7 @@
<string>Word by word</string>
</property>
</widget>
- <widget class="QCheckBox" row="5" column="0">
+ <widget class="TQCheckBox" row="5" column="0">
<property name="name">
<cstring>useDynamic</cstring>
</property>
@@ -328,7 +328,7 @@
</widget>
</grid>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
@@ -348,7 +348,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -359,7 +359,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox" row="0" column="0">
+ <widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox4</cstring>
</property>
@@ -380,14 +380,14 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>firstCapital</cstring>
</property>
@@ -395,7 +395,7 @@
<string>First capital letter match</string>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>allCapital</cstring>
</property>
@@ -403,7 +403,7 @@
<string>All capital letter match</string>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>accelerator</cstring>
</property>
@@ -411,7 +411,7 @@
<string>Accelerator symbol (&amp;&amp;)</string>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="1">
+ <widget class="TQCheckBox" row="3" column="1">
<property name="name">
<cstring>sameLetter</cstring>
</property>
@@ -421,7 +421,7 @@
</widget>
</grid>
</widget>
- <widget class="QGroupBox" row="1" column="0">
+ <widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>groupBox5</cstring>
</property>
@@ -432,7 +432,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -445,7 +445,7 @@
<cstring>kLineEdit1_2</cstring>
</property>
</widget>
- <widget class="QListView" row="3" column="0" rowspan="3" colspan="2">
+ <widget class="TQListView" row="3" column="0" rowspan="3" colspan="2">
<column>
<property name="text">
<string>Enabled</string>
@@ -496,7 +496,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -511,7 +511,7 @@
<string>Delete</string>
</property>
</widget>
- <widget class="QPushButton" row="3" column="2">
+ <widget class="TQPushButton" row="3" column="2">
<property name="name">
<cstring>addRule</cstring>
</property>
@@ -519,7 +519,7 @@
<string>Add</string>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel3_3</cstring>
</property>
@@ -537,7 +537,7 @@
<cstring>kLineEdit2</cstring>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
@@ -549,7 +549,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -560,18 +560,18 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox" row="0" column="0">
+ <widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox6</cstring>
</property>
<property name="title">
<string>Options</string>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>checkLang</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>20</x>
<y>30</y>
@@ -583,11 +583,11 @@
<string>Check language</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>useFilters</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>20</x>
<y>60</y>
@@ -599,11 +599,11 @@
<string>Use current filters</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>dateToday</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>20</x>
<y>90</y>
@@ -616,7 +616,7 @@
</property>
</widget>
</widget>
- <widget class="QGroupBox" row="1" column="0">
+ <widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>groupBox7</cstring>
</property>
@@ -627,7 +627,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QPushButton" row="1" column="1">
+ <widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>editSource</cstring>
</property>
@@ -669,7 +669,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -684,7 +684,7 @@
<string>Scan All</string>
</property>
</widget>
- <widget class="QListBox" row="0" column="0" rowspan="6" colspan="1">
+ <widget class="TQListBox" row="0" column="0" rowspan="6" colspan="1">
<property name="name">
<cstring>sourceList</cstring>
</property>
@@ -693,7 +693,7 @@
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -706,7 +706,7 @@
</widget>
<customwidgets>
</customwidgets>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
index 55f6a16f..0c65710c 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
@@ -22,8 +22,8 @@ KInstance *DbSe2Factory::s_instance = 0;
KAboutData *DbSe2Factory::s_about = 0;
-DbSe2Factory::DbSe2Factory( TQObject *parent, const char *name)
- : KLibFactory(parent,name)
+DbSe2Factory::DbSe2Factory( TQObject *tqparent, const char *name)
+ : KLibFactory(tqparent,name)
{
}
@@ -43,7 +43,7 @@ DbSe2Factory::~DbSe2Factory()
}
-TQObject *DbSe2Factory::createObject( TQObject *parent, const char *name,
+TQObject *DbSe2Factory::createObject( TQObject *tqparent, const char *name,
const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -52,7 +52,7 @@ TQObject *DbSe2Factory::createObject( TQObject *parent, const char *name,
return 0;
}
- KDBSearchEngine2 *se = new KDBSearchEngine2(parent,name);
+ KDBSearchEngine2 *se = new KDBSearchEngine2(tqparent,name);
emit objectCreated(se);
return se;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
index 2b70184a..2f1b98ca 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
@@ -8,12 +8,13 @@ class KAboutData;
class DbSe2Factory : public KLibFactory
{
Q_OBJECT
+ TQ_OBJECT
public:
- DbSe2Factory( TQObject *parent=0, const char *name=0);
+ DbSe2Factory( TQObject *tqparent=0, const char *name=0);
~DbSe2Factory();
- virtual TQObject *createObject( TQObject *parent=0, const char *name=0,
- const char *classname="TQObject",
+ virtual TQObject *createObject( TQObject *tqparent=0, const char *name=0,
+ const char *classname=TQOBJECT_OBJECT_NAME_STRING,
const TQStringList &args = TQStringList());
static KInstance *instance();
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui b/kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui
index c233265f..a9820329 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui
@@ -1,11 +1,11 @@
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>DBSearchEnginePref</class>
<author>Andrea Rizzi &lt;rizzi@kde.org&gt;</author>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>DBSEPrefWidget</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@@ -26,14 +26,14 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QTabWidget" row="0" column="0">
+ <widget class="TQTabWidget" row="0" column="0">
<property name="name">
<cstring>TabWidget6</cstring>
</property>
<property name="whatsThis" stdset="0">
<string></string>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>Widget4</cstring>
</property>
@@ -50,7 +50,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>ButtonGroup2</cstring>
</property>
@@ -67,7 +67,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>allRB</cstring>
</property>
@@ -80,7 +80,7 @@ according to the rules defined in tabs &lt;strong&gt; Generic &lt;/strong&gt;
and &lt;strong&gt;Match&lt;/strong&gt;</string>
</property>
</widget>
- <widget class="QRadioButton" row="1" column="0">
+ <widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>slistRB</cstring>
</property>
@@ -95,7 +95,7 @@ and &lt;strong&gt;Match&lt;/strong&gt;</string>
This is the best way to search because the &lt;em&gt;good keys&lt;/em&gt; list probably contains all the keys that match with your query. However, it is smaller than the whole database.</string>
</property>
</widget>
- <widget class="QRadioButton" row="2" column="0">
+ <widget class="TQRadioButton" row="2" column="0">
<property name="name">
<cstring>rlistRB</cstring>
</property>
@@ -108,7 +108,7 @@ This is the best way to search because the &lt;em&gt;good keys&lt;/em&gt; list p
</widget>
</grid>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>caseSensitiveCB</cstring>
</property>
@@ -119,7 +119,7 @@ This is the best way to search because the &lt;em&gt;good keys&lt;/em&gt; list p
<string>&lt;qml&gt;If it is checked the search will be case sensitive. It is ignored if you use &lt;em&gt;Return the list of "good keys"&lt;/em&gt; search mode.</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>normalizeCB</cstring>
</property>
@@ -134,7 +134,7 @@ This is the best way to search because the &lt;em&gt;good keys&lt;/em&gt; list p
It also substitutes groups of more than one space character with only one space character.</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>removeContextCB</cstring>
</property>
@@ -148,7 +148,7 @@ It also substitutes groups of more than one space character with only one space
<string>Remove, if exists, the _:comment</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout11</cstring>
</property>
@@ -162,7 +162,7 @@ It also substitutes groups of more than one space character with only one space
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -182,7 +182,7 @@ It also substitutes groups of more than one space character with only one space
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -204,7 +204,7 @@ It also substitutes groups of more than one space character with only one space
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>Widget5</cstring>
</property>
@@ -221,7 +221,7 @@ It also substitutes groups of more than one space character with only one space
<property name="spacing">
<number>6</number>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>ButtonGroup1</cstring>
</property>
@@ -248,7 +248,7 @@ It also substitutes groups of more than one space character with only one space
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -265,14 +265,14 @@ It also substitutes groups of more than one space character with only one space
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QCheckBox" row="2" column="1">
+ <widget class="TQCheckBox" row="2" column="1">
<property name="name">
<cstring>containedCB</cstring>
</property>
@@ -283,18 +283,18 @@ It also substitutes groups of more than one space character with only one space
<string>Match if query is contained in database string</string>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="1">
+ <widget class="TQCheckBox" row="3" column="1">
<property name="name">
<cstring>containsCB</cstring>
</property>
<property name="text">
- <string>Query contains</string>
+ <string>Query tqcontains</string>
</property>
<property name="whatsThis" stdset="0">
<string>Match if query contains the database string</string>
</property>
</widget>
- <widget class="QRadioButton" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>normalTextRB</cstring>
</property>
@@ -308,7 +308,7 @@ It also substitutes groups of more than one space character with only one space
<string>Consider the search string as normal text.</string>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="1">
+ <widget class="TQCheckBox" row="1" column="1">
<property name="name">
<cstring>equalCB</cstring>
</property>
@@ -335,14 +335,14 @@ It also substitutes groups of more than one space character with only one space
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QRadioButton" row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQRadioButton" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>RegExpRB</cstring>
</property>
@@ -355,7 +355,7 @@ It also substitutes groups of more than one space character with only one space
</widget>
</grid>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox3</cstring>
</property>
@@ -387,14 +387,14 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>oneWordSubCB</cstring>
</property>
@@ -418,14 +418,14 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QLabel" row="1" column="1">
+ <widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -433,7 +433,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Max number of words in the query:</string>
</property>
</widget>
- <widget class="QSpinBox" row="3" column="2">
+ <widget class="TQSpinBox" row="3" column="2">
<property name="name">
<cstring>twoWordSubSB</cstring>
</property>
@@ -447,7 +447,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<number>10</number>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>twoWordSubCB</cstring>
</property>
@@ -461,7 +461,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<bool>true</bool>
</property>
</widget>
- <widget class="QLabel" row="3" column="1">
+ <widget class="TQLabel" row="3" column="1">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -469,7 +469,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Max number of words in the query:</string>
</property>
</widget>
- <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
+ <widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout7</cstring>
</property>
@@ -483,14 +483,14 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel5_3</cstring>
</property>
<property name="text">
<string>[A-Za-z0-9_%</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
@@ -501,7 +501,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<cstring>regExpLE</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel6_2</cstring>
</property>
@@ -511,7 +511,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
</widget>
</hbox>
</widget>
- <widget class="QLabel" row="4" column="0" rowspan="1" colspan="3">
+ <widget class="TQLabel" row="4" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -519,7 +519,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Local characters for regular expressions:</string>
</property>
</widget>
- <widget class="QSpinBox" row="1" column="2">
+ <widget class="TQSpinBox" row="1" column="2">
<property name="name">
<cstring>oneWordSubSB</cstring>
</property>
@@ -548,7 +548,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>Widget6</cstring>
</property>
@@ -565,7 +565,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>TextLabel7_2</cstring>
</property>
@@ -578,7 +578,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<cstring>dirInput</cstring>
</property>
</widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>autoAddCB_2</cstring>
</property>
@@ -595,7 +595,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Automatically add an entry to the database if a new translation is notified by someone (may be kbabel)</string>
</property>
</widget>
- <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="3">
+ <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout3</cstring>
</property>
@@ -609,7 +609,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_4</cstring>
</property>
@@ -617,7 +617,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Auto added entry author:</string>
</property>
</widget>
- <widget class="QLineEdit">
+ <widget class="TQLineEdit">
<property name="name">
<cstring>authorLE</cstring>
</property>
@@ -627,7 +627,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
</widget>
</hbox>
</widget>
- <widget class="QPushButton" row="4" column="0" rowspan="1" colspan="3">
+ <widget class="TQPushButton" row="4" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>scanFilePB</cstring>
</property>
@@ -635,7 +635,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Scan Single PO File</string>
</property>
</widget>
- <widget class="QPushButton" row="5" column="0" rowspan="1" colspan="3">
+ <widget class="TQPushButton" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>scanPB_2</cstring>
</property>
@@ -643,7 +643,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Scan Folder</string>
</property>
</widget>
- <widget class="QPushButton" row="6" column="0" rowspan="1" colspan="3">
+ <widget class="TQPushButton" row="6" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>scanrecPB</cstring>
</property>
@@ -651,7 +651,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Scan Folder &amp;&amp; Subfolders</string>
</property>
</widget>
- <widget class="QLayoutWidget" row="8" column="0" rowspan="1" colspan="3">
+ <widget class="TQLayoutWidget" row="8" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -665,7 +665,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>filenameLB</cstring>
</property>
@@ -673,7 +673,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Scanning file:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>entriesLB</cstring>
</property>
@@ -683,7 +683,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="9" column="0" rowspan="1" colspan="3">
+ <widget class="TQLayoutWidget" row="9" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout4</cstring>
</property>
@@ -697,7 +697,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="spacing">
<number>6</number>
</property>
- <widget class="QProgressBar" row="2" column="1">
+ <widget class="TQProgressBar" row="2" column="1">
<property name="name">
<cstring>processPB</cstring>
</property>
@@ -714,7 +714,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<bool>false</bool>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_3</cstring>
</property>
@@ -722,7 +722,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Total progress:</string>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel3_3</cstring>
</property>
@@ -730,7 +730,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Processing file:</string>
</property>
</widget>
- <widget class="QProgressBar" row="0" column="1">
+ <widget class="TQProgressBar" row="0" column="1">
<property name="name">
<cstring>totalPB</cstring>
</property>
@@ -744,7 +744,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<bool>true</bool>
</property>
</widget>
- <widget class="QProgressBar" row="1" column="1">
+ <widget class="TQProgressBar" row="1" column="1">
<property name="name">
<cstring>loadingPB</cstring>
</property>
@@ -758,7 +758,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<bool>true</bool>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2_3</cstring>
</property>
@@ -768,7 +768,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
</widget>
</grid>
</widget>
- <widget class="QPushButton" row="10" column="2">
+ <widget class="TQPushButton" row="10" column="2">
<property name="name">
<cstring>exportPB</cstring>
</property>
@@ -779,7 +779,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Export...</string>
</property>
</widget>
- <widget class="QPushButton" row="10" column="0">
+ <widget class="TQPushButton" row="10" column="0">
<property name="name">
<cstring>statPB</cstring>
</property>
@@ -790,7 +790,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<string>Statistics</string>
</property>
</widget>
- <widget class="QPushButton" row="10" column="1">
+ <widget class="TQPushButton" row="10" column="1">
<property name="name">
<cstring>repeatPB</cstring>
</property>
@@ -800,7 +800,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -817,7 +817,7 @@ If you search for &lt;em&gt;My name is Andrea&lt;/em&gt; and you have activated
<property name="spacing">
<number>6</number>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox4</cstring>
</property>
@@ -841,7 +841,7 @@ Finally you can set the maximum number of entries in the list.</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel3_2</cstring>
</property>
@@ -852,7 +852,7 @@ Finally you can set the maximum number of entries in the list.</string>
<enum>RichText</enum>
</property>
</widget>
- <widget class="QSlider" row="1" column="0">
+ <widget class="TQSlider" row="1" column="0">
<property name="name">
<cstring>thresholdSL</cstring>
</property>
@@ -866,7 +866,7 @@ Finally you can set the maximum number of entries in the list.</string>
<enum>Horizontal</enum>
</property>
</widget>
- <widget class="QSpinBox" row="1" column="1">
+ <widget class="TQSpinBox" row="1" column="1">
<property name="name">
<cstring>SpinBox5</cstring>
</property>
@@ -880,7 +880,7 @@ Finally you can set the maximum number of entries in the list.</string>
<number>50</number>
</property>
</widget>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
@@ -888,7 +888,7 @@ Finally you can set the maximum number of entries in the list.</string>
<string>Minimum number of query words in the key (%):</string>
</property>
</widget>
- <widget class="QSpinBox" row="4" column="1">
+ <widget class="TQSpinBox" row="4" column="1">
<property name="name">
<cstring>maxSB</cstring>
</property>
@@ -899,7 +899,7 @@ Finally you can set the maximum number of entries in the list.</string>
<number>30</number>
</property>
</widget>
- <widget class="QSpinBox" row="3" column="1">
+ <widget class="TQSpinBox" row="3" column="1">
<property name="name">
<cstring>SpinBox6</cstring>
</property>
@@ -913,7 +913,7 @@ Finally you can set the maximum number of entries in the list.</string>
<number>50</number>
</property>
</widget>
- <widget class="QLabel" row="4" column="0">
+ <widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>TextLabel4_2</cstring>
</property>
@@ -921,7 +921,7 @@ Finally you can set the maximum number of entries in the list.</string>
<string>Max list length:</string>
</property>
</widget>
- <widget class="QSlider" row="3" column="0">
+ <widget class="TQSlider" row="3" column="0">
<property name="name">
<cstring>thresholdOrigSL</cstring>
</property>
@@ -937,7 +937,7 @@ Finally you can set the maximum number of entries in the list.</string>
</widget>
</grid>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox3_2</cstring>
</property>
@@ -954,7 +954,7 @@ Finally you can set the maximum number of entries in the list.</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
@@ -962,7 +962,7 @@ Finally you can set the maximum number of entries in the list.</string>
<string>Discard words more frequent than:</string>
</property>
</widget>
- <widget class="QSpinBox" row="0" column="1">
+ <widget class="TQSpinBox" row="0" column="1">
<property name="name">
<cstring>freqSB</cstring>
</property>
@@ -979,7 +979,7 @@ Finally you can set the maximum number of entries in the list.</string>
<number>100</number>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>nothingCB</cstring>
</property>
@@ -1035,5 +1035,5 @@ Finally you can set the maximum number of entries in the list.</string>
<include location="local" impldecl="in declaration">klocale.h</include>
<include location="global" impldecl="in declaration">kseparator.h</include>
</includes>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
index 76aef878..ba16327c 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
@@ -15,17 +15,17 @@
#include "dbse2.h"
#include "preferenceswidget.h"
-KDB2PreferencesWidget::KDB2PreferencesWidget(TQWidget *parent, const char* name)
- : PrefWidget(parent,name)
+KDB2PreferencesWidget::KDB2PreferencesWidget(TQWidget *tqparent, const char* name)
+ : PrefWidget(tqparent,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 DBSearchEnginePrefWidget(this);
dbpw->dbDirectory->setMode(KFile::Directory | KFile::LocalOnly);
dbpw->show();
- layout->addWidget(dbpw);
+ tqlayout->addWidget(dbpw);
setMinimumSize(300,300);
standard();
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h
index 1f706902..68e283bd 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h
@@ -7,9 +7,10 @@
class KDB2PreferencesWidget : public PrefWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDB2PreferencesWidget(TQWidget *parent=0, const char* name=0);
+ KDB2PreferencesWidget(TQWidget *tqparent=0, const char* name=0);
virtual ~KDB2PreferencesWidget();
virtual void apply();
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/sourcedialog.ui b/kbabel/kbabeldict/modules/dbsearchengine2/sourcedialog.ui
index 3f4030a0..9447f794 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/sourcedialog.ui
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/sourcedialog.ui
@@ -1,10 +1,10 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>SourceDialog</class>
-<widget class="QDialog">
+<widget class="TQDialog">
<property name="name">
<cstring>SourceDialog</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@@ -29,7 +29,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -52,18 +52,18 @@
<string>&amp;Cancel</string>
</property>
</widget>
- <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="3">
+ <widget class="TQGroupBox" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Additional Informations</string>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel6</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>11</x>
<y>76</y>
@@ -72,14 +72,14 @@
</rect>
</property>
<property name="text">
- <string>Status: </string>
+ <string>tqStatus: </string>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>projectName</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>125</x>
<y>22</y>
@@ -92,7 +92,7 @@
<property name="name">
<cstring>projectKeywords</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>125</x>
<y>49</y>
@@ -105,7 +105,7 @@
<property name="name">
<cstring>status</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>125</x>
<y>76</y>
@@ -117,11 +117,11 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel4</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>11</x>
<y>22</y>
@@ -133,11 +133,11 @@
<string>Project name:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel5</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>11</x>
<y>49</y>
@@ -150,7 +150,7 @@
</property>
</widget>
</widget>
- <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQGroupBox" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>groupBox2</cstring>
</property>
@@ -186,7 +186,7 @@
<cstring>type</cstring>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -199,7 +199,7 @@
<cstring>sourceLocation</cstring>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -215,7 +215,7 @@
<string>Setup Filter...</string>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -223,7 +223,7 @@
<string>Location:</string>
</property>
</widget>
- <widget class="QCheckBox" row="3" column="0">
+ <widget class="TQCheckBox" row="3" column="0">
<property name="name">
<cstring>useFilter</cstring>
</property>
@@ -251,7 +251,7 @@
<slot>reject()</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>