summaryrefslogtreecommitdiffstats
path: root/khelpcenter
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:26:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:26:45 -0600
commit01c60a267846a8712bca34218ecf7da57566c049 (patch)
treee851781b4ff0487aad8a48739ac0061186343e49 /khelpcenter
parent5e5409d89552fa6839ab6cd52a47306eb4d650f0 (diff)
downloadtdebase-01c60a267846a8712bca34218ecf7da57566c049.tar.gz
tdebase-01c60a267846a8712bca34218ecf7da57566c049.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'khelpcenter')
-rw-r--r--khelpcenter/docentry.cpp2
-rw-r--r--khelpcenter/docmetainfo.cpp2
-rw-r--r--khelpcenter/htmlsearch/htmlsearch.cpp2
-rw-r--r--khelpcenter/searchhandler.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/khelpcenter/docentry.cpp b/khelpcenter/docentry.cpp
index 5c08592bd..c198dd75f 100644
--- a/khelpcenter/docentry.cpp
+++ b/khelpcenter/docentry.cpp
@@ -251,7 +251,7 @@ bool DocEntry::docExists() const
{
if ( !mUrl.isEmpty() ) {
KURL docUrl( mUrl );
- if ( docUrl.isLocalFile() && !KStandardDirs::exists( docUrl.path() ) ) {
+ if ( docUrl.isLocalFile() && !TDEStandardDirs::exists( docUrl.path() ) ) {
// kdDebug(1400) << "URL not found: " << docUrl.url() << endl;
return false;
}
diff --git a/khelpcenter/docmetainfo.cpp b/khelpcenter/docmetainfo.cpp
index 1f99f22f6..be4af6ba8 100644
--- a/khelpcenter/docmetainfo.cpp
+++ b/khelpcenter/docmetainfo.cpp
@@ -137,7 +137,7 @@ void DocMetaInfo::scanMetaInfo( bool force )
TQStringList metaInfos = config.readListEntry( "MetaInfoDirs" );
if ( metaInfos.isEmpty() ) {
- KStandardDirs* kstd = TDEGlobal::dirs();
+ TDEStandardDirs* kstd = TDEGlobal::dirs();
kstd->addResourceType( "data", "share/apps/khelpcenter" );
metaInfos = kstd->findDirs( "data", "plugins" );
}
diff --git a/khelpcenter/htmlsearch/htmlsearch.cpp b/khelpcenter/htmlsearch/htmlsearch.cpp
index 105914733..f6f7528ee 100644
--- a/khelpcenter/htmlsearch/htmlsearch.cpp
+++ b/khelpcenter/htmlsearch/htmlsearch.cpp
@@ -32,7 +32,7 @@ void HTMLSearch::scanDir(const TQString& dir)
TQStringList::ConstIterator it;
- if ( KStandardDirs::exists( dir + "index.docbook" ) ) {
+ if ( TDEStandardDirs::exists( dir + "index.docbook" ) ) {
_files.append(dir + "index.docbook");
progress->setFilesScanned(++_filesScanned);
} else {
diff --git a/khelpcenter/searchhandler.cpp b/khelpcenter/searchhandler.cpp
index adf0574a2..06ca584f9 100644
--- a/khelpcenter/searchhandler.cpp
+++ b/khelpcenter/searchhandler.cpp
@@ -87,7 +87,7 @@ bool SearchHandler::checkBinary( const TQString &cmd ) const
if ( pos < 0 ) binary = cmd;
else binary = cmd.left( pos );
- return !KStandardDirs::findExe( binary ).isEmpty();
+ return !TDEStandardDirs::findExe( binary ).isEmpty();
}
void SearchHandler::search( DocEntry *entry, const TQStringList &words,