summaryrefslogtreecommitdiffstats
path: root/parts/konsole
diff options
context:
space:
mode:
Diffstat (limited to 'parts/konsole')
-rw-r--r--parts/konsole/konsoleviewpart.cpp4
-rw-r--r--parts/konsole/konsoleviewpart.h3
-rw-r--r--parts/konsole/konsoleviewwidget.cpp2
-rw-r--r--parts/konsole/konsoleviewwidget.h3
4 files changed, 7 insertions, 5 deletions
diff --git a/parts/konsole/konsoleviewpart.cpp b/parts/konsole/konsoleviewpart.cpp
index c103a3a8..e752335a 100644
--- a/parts/konsole/konsoleviewpart.cpp
+++ b/parts/konsole/konsoleviewpart.cpp
@@ -28,8 +28,8 @@ typedef KDevGenericFactory<KonsoleViewPart> KonsoleViewFactory;
static const KDevPluginInfo data("kdevkonsoleview");
K_EXPORT_COMPONENT_FACTORY(libkdevkonsoleview, KonsoleViewFactory(data))
-KonsoleViewPart::KonsoleViewPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "KonsoleViewPart")
+KonsoleViewPart::KonsoleViewPart(TQObject *tqparent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, tqparent, name ? name : "KonsoleViewPart")
{
setInstance( KonsoleViewFactory::instance() );
diff --git a/parts/konsole/konsoleviewpart.h b/parts/konsole/konsoleviewpart.h
index 89047a2d..4731069b 100644
--- a/parts/konsole/konsoleviewpart.h
+++ b/parts/konsole/konsoleviewpart.h
@@ -22,8 +22,9 @@ class KDevShellWidget;
class KonsoleViewPart : public KDevPlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KonsoleViewPart(TQObject *parent, const char *name, const TQStringList &);
+ KonsoleViewPart(TQObject *tqparent, const char *name, const TQStringList &);
virtual ~KonsoleViewPart();
private slots:
diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp
index cced1b88..ef34f3f3 100644
--- a/parts/konsole/konsoleviewwidget.cpp
+++ b/parts/konsole/konsoleviewwidget.cpp
@@ -58,7 +58,7 @@ void KonsoleViewWidget::activate()
if (!part)
return;
- part->widget()->setFocusPolicy(TQWidget::WheelFocus);
+ part->widget()->setFocusPolicy(TQ_WheelFocus);
setFocusProxy(part->widget());
part->widget()->setFocus();
diff --git a/parts/konsole/konsoleviewwidget.h b/parts/konsole/konsoleviewwidget.h
index cd3e57bc..53bfdb94 100644
--- a/parts/konsole/konsoleviewwidget.h
+++ b/parts/konsole/konsoleviewwidget.h
@@ -27,9 +27,10 @@ namespace KParts {
class TQVBoxLayout;
-class KonsoleViewWidget : public QWidget
+class KonsoleViewWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
KonsoleViewWidget(KonsoleViewPart *part);
virtual ~KonsoleViewWidget();