diff options
Diffstat (limited to 'parts/outputviews/makeviewpart.cpp')
-rw-r--r-- | parts/outputviews/makeviewpart.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/outputviews/makeviewpart.cpp b/parts/outputviews/makeviewpart.cpp index 3f2ebbd8..7c9dcb79 100644 --- a/parts/outputviews/makeviewpart.cpp +++ b/parts/outputviews/makeviewpart.cpp @@ -11,8 +11,8 @@ #include "makeviewpart.h" -#include <qwhatsthis.h> -#include <qdir.h> +#include <tqwhatsthis.h> +#include <tqdir.h> #include <kdebug.h> #include <klocale.h> #include <kaction.h> @@ -30,7 +30,7 @@ static const KDevPluginInfo data("kdevmakeview"); typedef KDevGenericFactory< MakeViewPart > MakeViewFactory; K_EXPORT_COMPONENT_FACTORY( libkdevmakeview, MakeViewFactory( data ) ) -MakeViewPart::MakeViewPart(QObject *parent, const char *name, const QStringList &) +MakeViewPart::MakeViewPart(TQObject *parent, const char *name, const TQStringList &) : KDevMakeFrontend(&data, parent, name) { setInstance(MakeViewFactory::instance()); @@ -42,7 +42,7 @@ MakeViewPart::MakeViewPart(QObject *parent, const char *name, const QStringList m_widget = new MakeWidget(this); m_widget->setIcon( SmallIcon("exec") ); m_widget->setCaption(i18n("Messages Output")); - QWhatsThis::add(m_widget, i18n("<b>Messages output</b><p>" + TQWhatsThis::add(m_widget, i18n("<b>Messages output</b><p>" "The messages window shows the output of the compiler and " "used build tools like make, ant, uic, dcopidl etc. " "For compiler error messages, click on the error message. " @@ -52,17 +52,17 @@ MakeViewPart::MakeViewPart(QObject *parent, const char *name, const QStringList mainWindow()->embedOutputView(m_widget, i18n("Messages"), i18n("Compiler output messages")); KAction *action; - action = new KAction( i18n("&Next Error"), Key_F4, m_widget, SLOT(nextError()), + action = new KAction( i18n("&Next Error"), Key_F4, m_widget, TQT_SLOT(nextError()), actionCollection(), "view_next_error"); action->setToolTip( i18n("Go to the next error") ); action->setWhatsThis(i18n("<b>Next error</b><p>Switches to the file and line where the next error was reported from.")); - action = new KAction( i18n("&Previous Error"), SHIFT+Key_F4, m_widget, SLOT(prevError()), + action = new KAction( i18n("&Previous Error"), SHIFT+Key_F4, m_widget, TQT_SLOT(prevError()), actionCollection(), "view_previous_error"); action->setToolTip( i18n("Go to the previous error") ); action->setWhatsThis(i18n("<b>Previous error</b><p>Switches to the file and line where the previous error was reported from.")); - connect( core(), SIGNAL(stopButtonClicked(KDevPlugin*)), - this, SLOT(slotStopButtonClicked(KDevPlugin*)) ); + connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)), + this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) ); } @@ -81,7 +81,7 @@ void MakeViewPart::slotStopButtonClicked(KDevPlugin* which) m_widget->killJob(); } -void MakeViewPart::queueCommand(const QString &dir, const QString &command) +void MakeViewPart::queueCommand(const TQString &dir, const TQString &command) { m_widget->queueJob(dir, command); } @@ -92,7 +92,7 @@ bool MakeViewPart::isRunning() return m_widget->isRunning(); } -QWidget* MakeViewPart::widget() +TQWidget* MakeViewPart::widget() { return m_widget.operator->(); } |