summaryrefslogtreecommitdiffstats
path: root/khelpcenter/khc_indexbuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khelpcenter/khc_indexbuilder.cpp')
-rw-r--r--khelpcenter/khc_indexbuilder.cpp30
1 files changed, 14 insertions, 16 deletions
diff --git a/khelpcenter/khc_indexbuilder.cpp b/khelpcenter/khc_indexbuilder.cpp
index 9c605687b..cea3ad289 100644
--- a/khelpcenter/khc_indexbuilder.cpp
+++ b/khelpcenter/khc_indexbuilder.cpp
@@ -26,11 +26,11 @@
#include <tdeaboutdata.h>
#include <tdelocale.h>
#include <tdecmdlineargs.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <kdebug.h>
#include <dcopclient.h>
-#include <kprocess.h>
-#include <kstandarddirs.h>
+#include <tdeprocess.h>
+#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tqfile.h>
@@ -91,12 +91,12 @@ void IndexBuilder::processCmdQueue()
*proc << args;
- connect( proc, TQT_SIGNAL( processExited( TDEProcess * ) ),
- TQT_SLOT( slotProcessExited( TDEProcess * ) ) );
- connect( proc, TQT_SIGNAL( receivedStdout(TDEProcess *, char *, int ) ),
- TQT_SLOT( slotReceivedStdout(TDEProcess *, char *, int ) ) );
- connect( proc, TQT_SIGNAL( receivedStderr(TDEProcess *, char *, int ) ),
- TQT_SLOT( slotReceivedStderr(TDEProcess *, char *, int ) ) );
+ connect( proc, TQ_SIGNAL( processExited( TDEProcess * ) ),
+ TQ_SLOT( slotProcessExited( TDEProcess * ) ) );
+ connect( proc, TQ_SIGNAL( receivedStdout(TDEProcess *, char *, int ) ),
+ TQ_SLOT( slotReceivedStdout(TDEProcess *, char *, int ) ) );
+ connect( proc, TQ_SIGNAL( receivedStderr(TDEProcess *, char *, int ) ),
+ TQ_SLOT( slotReceivedStderr(TDEProcess *, char *, int ) ) );
mCmdQueue.remove( it );
@@ -143,21 +143,21 @@ void IndexBuilder::sendErrorSignal( const TQString &error )
TQByteArray params;
TQDataStream stream( params, IO_WriteOnly );
stream << error;
- kapp->dcopClient()->emitDCOPSignal("buildIndexError(TQString)", params );
+ tdeApp->dcopClient()->emitDCOPSignal("buildIndexError(TQString)", params );
}
void IndexBuilder::sendProgressSignal()
{
kdDebug(1402) << "IndexBuilder::sendProgressSignal()" << endl;
- kapp->dcopClient()->emitDCOPSignal("buildIndexProgress()", TQByteArray() );
+ tdeApp->dcopClient()->emitDCOPSignal("buildIndexProgress()", TQByteArray() );
}
void IndexBuilder::quit()
{
kdDebug(1402) << "IndexBuilder::quit()" << endl;
- kapp->quit();
+ tdeApp->quit();
}
@@ -181,7 +181,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
TDEApplication app;
@@ -211,11 +211,9 @@ int main( int argc, char **argv )
IndexBuilder builder(cmdFile);
- TQTimer::singleShot(0, &builder, TQT_SLOT(buildIndices()));
+ TQTimer::singleShot(0, &builder, TQ_SLOT(buildIndices()));
return app.exec();
}
#include "khc_indexbuilder.moc"
-
-// vim:ts=2:sw=2:et