summaryrefslogtreecommitdiffstats
path: root/parts/outputviews/appoutputviewpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/outputviews/appoutputviewpart.cpp')
-rw-r--r--parts/outputviews/appoutputviewpart.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/parts/outputviews/appoutputviewpart.cpp b/parts/outputviews/appoutputviewpart.cpp
index 79a62471..a21cf7db 100644
--- a/parts/outputviews/appoutputviewpart.cpp
+++ b/parts/outputviews/appoutputviewpart.cpp
@@ -11,8 +11,8 @@
#include "appoutputviewpart.h"
-#include <qwhatsthis.h>
-#include <qdir.h>
+#include <tqwhatsthis.h>
+#include <tqdir.h>
#include <kdebug.h>
#include <klocale.h>
#include <kaction.h>
@@ -33,7 +33,7 @@ static const KDevPluginInfo data("kdevappoutputview");
typedef KDevGenericFactory< AppOutputViewPart > AppViewFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevappview, AppViewFactory( data ) )
-AppOutputViewPart::AppOutputViewPart(QObject *parent, const char *name, const QStringList &)
+AppOutputViewPart::AppOutputViewPart(TQObject *parent, const char *name, const TQStringList &)
: KDevAppFrontend(&data, parent, name ? name : "AppOutputViewPart")
{
setInstance(AppViewFactory::instance());
@@ -43,7 +43,7 @@ AppOutputViewPart::AppOutputViewPart(QObject *parent, const char *name, const QS
m_widget = new AppOutputWidget(this);
m_widget->setIcon( SmallIcon("openterm") );
m_widget->setCaption(i18n("Application Output"));
- QWhatsThis::add(m_widget, i18n("<b>Application output</b><p>"
+ TQWhatsThis::add(m_widget, i18n("<b>Application output</b><p>"
"The stdout/stderr output window is a replacement for "
"terminal-based application communication. Running terminal "
"applications use this instead of a terminal window."));
@@ -51,10 +51,10 @@ AppOutputViewPart::AppOutputViewPart(QObject *parent, const char *name, const QS
mainWindow()->embedOutputView(m_widget, i18n("Application"), i18n("Output of the executed user program"));
hideView();
- connect( core(), SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, SLOT(slotStopButtonClicked(KDevPlugin*)) );
- connect(m_widget, SIGNAL(processExited(KProcess*)), this, SLOT(slotProcessExited()));
- connect(m_widget, SIGNAL(processExited(KProcess*)), SIGNAL(processExited()));
+ connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
+ this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect(m_widget, TQT_SIGNAL(processExited(KProcess*)), this, TQT_SLOT(slotProcessExited()));
+ connect(m_widget, TQT_SIGNAL(processExited(KProcess*)), TQT_SIGNAL(processExited()));
}
@@ -92,15 +92,15 @@ void AppOutputViewPart::slotProcessExited()
* If inTerminal is true, the program is started in an external
* konsole.
*/
-void AppOutputViewPart::startAppCommand(const QString &directory, const QString &program, bool inTerminal)
+void AppOutputViewPart::startAppCommand(const TQString &directory, const TQString &program, bool inTerminal)
{
- QString cmd;
+ TQString cmd;
if (inTerminal) {
cmd = Settings::terminalEmulatorName( *kapp->config() );
if ( cmd == "konsole" && !directory.isNull() ) { // isn't setting the working directory below enough?
// If a directory was specified, use it
- cmd += QString(" --workdir '%1'").arg(directory);
+ cmd += TQString(" --workdir '%1'").arg(directory);
}
cmd += " -e /bin/sh -c '";
cmd += program;
@@ -114,7 +114,7 @@ void AppOutputViewPart::startAppCommand(const QString &directory, const QString
if ( directory.isNull() )
// use the user's home directory
- m_widget->startJob(QDir::homeDirPath(), cmd);
+ m_widget->startJob(TQDir::homeDirPath(), cmd);
else
// use the supplied directory
m_widget->startJob(directory, cmd);
@@ -132,13 +132,13 @@ bool AppOutputViewPart::isRunning()
}
-void AppOutputViewPart::insertStdoutLine(const QCString &line)
+void AppOutputViewPart::insertStdoutLine(const TQCString &line)
{
m_widget->insertStdoutLine(line);
}
-void AppOutputViewPart::insertStderrLine(const QCString &line)
+void AppOutputViewPart::insertStderrLine(const TQCString &line)
{
m_widget->insertStderrLine(line);
}
@@ -165,12 +165,12 @@ bool AppOutputViewPart::isViewVisible()
return m_viewIsVisible;
}
-void AppOutputViewPart::addPartialStderrLine(const QCString & line)
+void AppOutputViewPart::addPartialStderrLine(const TQCString & line)
{
m_widget->addPartialStderrLine(line);
}
-void AppOutputViewPart::addPartialStdoutLine(const QCString & line)
+void AppOutputViewPart::addPartialStdoutLine(const TQCString & line)
{
m_widget->addPartialStdoutLine(line);
}