summaryrefslogtreecommitdiffstats
path: root/parts/konsole
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/konsole
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();