summaryrefslogtreecommitdiffstats
path: root/src/frontend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend.cpp')
-rw-r--r--src/frontend.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/frontend.cpp b/src/frontend.cpp
index fee1c1b..cd01b3b 100644
--- a/src/frontend.cpp
+++ b/src/frontend.cpp
@@ -25,8 +25,8 @@
*
***************************************************************************/
-#include <qfileinfo.h>
-#include <qdir.h>
+#include <ntqfileinfo.h>
+#include <ntqdir.h>
#include <klocale.h>
#include "frontend.h"
@@ -76,8 +76,8 @@ Frontend::~Frontend()
* @param bBlock (Optional) true to block, false otherwise
* @return true if the process was executed successfully, false otherwise
*/
-bool Frontend::run(const QString& sName, const QStringList& slArgs,
- const QString& sWorkDir, bool bBlock)
+bool Frontend::run(const TQString& sName, const TQStringList& slArgs,
+ const TQString& sWorkDir, bool bBlock)
{
// Cannot start if another controlled process is currently running
if (isRunning()) {
@@ -182,7 +182,7 @@ void Frontend::removeRecord()
* @return true if a token was extracted up to the given delimter(s), false
* if the buffer ended before a delimiter could be identified
*/
-bool Frontend::tokenize(char** ppBuf, int* pBufSize, QString& sResult,
+bool Frontend::tokenize(char** ppBuf, int* pBufSize, TQString& sResult,
ParserDelim& delim)
{
int nSize;
@@ -236,10 +236,10 @@ bool Frontend::tokenize(char** ppBuf, int* pBufSize, QString& sResult,
*pBufSize = nSize;
}
else if (m_bInToken) {
- sResult = QString::fromLatin1(*ppBuf, *pBufSize);
+ sResult = TQString::fromLatin1(*ppBuf, *pBufSize);
}
else {
- sResult = QString::null;
+ sResult = TQString::null;
}
return bFoundToken;
@@ -250,7 +250,7 @@ bool Frontend::tokenize(char** ppBuf, int* pBufSize, QString& sResult,
* By default, this method emits the error() signal with the given text.
* @param sText The text sent to the standard error stream
*/
-void Frontend::parseStderr(const QString& sText)
+void Frontend::parseStderr(const TQString& sText)
{
emit error(sText);
}
@@ -282,7 +282,7 @@ void Frontend::slotProcessExit(KProcess*)
void Frontend::slotReadStdout(KProcess*, char* pBuffer, int nSize)
{
char* pLocalBuf;
- QString sToken;
+ TQString sToken;
bool bTokenEnded;
ParserDelim delim;
@@ -352,7 +352,7 @@ void Frontend::slotReadStdout(KProcess*, char* pBuffer, int nSize)
*/
void Frontend::slotReadStderr(KProcess*, char* pBuffer, int nSize)
{
- QString sBuf;
+ TQString sBuf;
// Do nothing if waiting for process to die
if (m_bKilled)