summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp16
1 files changed, 8 insertions, 8 deletions
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;