summaryrefslogtreecommitdiffstats
path: root/khelpcenter/docmetainfo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /khelpcenter/docmetainfo.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khelpcenter/docmetainfo.cpp')
-rw-r--r--khelpcenter/docmetainfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khelpcenter/docmetainfo.cpp b/khelpcenter/docmetainfo.cpp
index 4d6dd6fad..cfdfa9f7e 100644
--- a/khelpcenter/docmetainfo.cpp
+++ b/khelpcenter/docmetainfo.cpp
@@ -60,7 +60,7 @@ DocEntry *DocMetaInfo::addDocEntry( const TQString &fileName )
lang = extensions[ extensions.count() - 2 ];
}
- if ( !lang.isEmpty() && mLanguages.find( lang ) == mLanguages.end() ) {
+ if ( !lang.isEmpty() && mLanguages.tqfind( lang ) == mLanguages.end() ) {
return 0;
}
@@ -77,7 +77,7 @@ DocEntry *DocMetaInfo::addDocEntry( const TQString &fileName )
mHtmlSearch->setupDocEntry( entry );
}
TQString indexer = entry->indexer();
- indexer.replace( "%f", fileName );
+ indexer.tqreplace( "%f", fileName );
entry->setIndexer( indexer );
addDocEntry( entry );
return entry;
@@ -108,7 +108,7 @@ TQString DocMetaInfo::languageName( const TQString &langcode )
if ( langcode == "en" ) return i18n("English");
TQString cfgfile = locate( "locale",
- TQString::fromLatin1( "%1/entry.desktop" ).arg( langcode ) );
+ TQString::tqfromLatin1( "%1/entry.desktop" ).arg( langcode ) );
kdDebug() << "-- langcode: " << langcode << " cfgfile: " << cfgfile << endl;
@@ -155,8 +155,8 @@ DocEntry *DocMetaInfo::scanMetaInfoDir( const TQString &dirName,
TQDir dir( dirName );
if ( !dir.exists() ) return 0;
- const QFileInfoList *entryList = dir.entryInfoList();
- QFileInfoListIterator it( *entryList );
+ const TQFileInfoList *entryList = dir.entryInfoList();
+ TQFileInfoListIterator it( *entryList );
TQFileInfo *fi;
for( ; ( fi = it.current() ); ++it ) {
DocEntry *entry = 0;