summaryrefslogtreecommitdiffstats
path: root/khelpcenter/toc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:43:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:43:14 -0600
commit79b21d47bce1ee428affc97534cd8b257232a871 (patch)
tree0df1fa0109d9f2bcef932eda8b5c25b2e06669ed /khelpcenter/toc.cpp
parent9a898d493f493adbc404f7223043c85f3817472b (diff)
downloadtdebase-79b21d47bce1ee428affc97534cd8b257232a871.tar.gz
tdebase-79b21d47bce1ee428affc97534cd8b257232a871.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'khelpcenter/toc.cpp')
-rw-r--r--khelpcenter/toc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/khelpcenter/toc.cpp b/khelpcenter/toc.cpp
index d9b1752c8..19bcb01c0 100644
--- a/khelpcenter/toc.cpp
+++ b/khelpcenter/toc.cpp
@@ -78,7 +78,7 @@ void TOC::build( const TQString &file )
{
TQFileInfo fileInfo( file );
TQString fileName = fileInfo.absFilePath();
- const TQStringList resourceDirs = KGlobal::dirs()->resourceDirs( "html" );
+ const TQStringList resourceDirs = TDEGlobal::dirs()->resourceDirs( "html" );
TQStringList::ConstIterator it = resourceDirs.begin();
TQStringList::ConstIterator end = resourceDirs.end();
for ( ; it != end; ++it ) {
@@ -132,19 +132,19 @@ int TOC::cachedCTime() const
void TOC::buildCache()
{
- KProcess *meinproc = new KProcess;
- connect( meinproc, TQT_SIGNAL( processExited( KProcess * ) ),
- this, TQT_SLOT( meinprocExited( KProcess * ) ) );
+ TDEProcess *meinproc = new TDEProcess;
+ connect( meinproc, TQT_SIGNAL( processExited( TDEProcess * ) ),
+ this, TQT_SLOT( meinprocExited( TDEProcess * ) ) );
*meinproc << locate( "exe", "meinproc" );
*meinproc << "--stylesheet" << locate( "data", "khelpcenter/table-of-contents.xslt" );
*meinproc << "--output" << m_cacheFile;
*meinproc << m_sourceFile;
- meinproc->start( KProcess::NotifyOnExit );
+ meinproc->start( TDEProcess::NotifyOnExit );
}
-void TOC::meinprocExited( KProcess *meinproc )
+void TOC::meinprocExited( TDEProcess *meinproc )
{
if ( !meinproc->normalExit() || meinproc->exitStatus() != 0 ) {
delete meinproc;