summaryrefslogtreecommitdiffstats
path: root/lib/widgets/kdevtabwidget.cpp
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 /lib/widgets/kdevtabwidget.cpp
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 'lib/widgets/kdevtabwidget.cpp')
-rw-r--r--lib/widgets/kdevtabwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/widgets/kdevtabwidget.cpp b/lib/widgets/kdevtabwidget.cpp
index a7d12348..4631f16a 100644
--- a/lib/widgets/kdevtabwidget.cpp
+++ b/lib/widgets/kdevtabwidget.cpp
@@ -18,7 +18,7 @@
#include "kdevtabwidget.h"
-KDevTabWidget::KDevTabWidget(TQWidget *parent, const char *name) : TQTabWidget(parent,name)
+KDevTabWidget::KDevTabWidget(TQWidget *tqparent, const char *name) : TQTabWidget(tqparent,name)
{
m_pTabBar = new KTabBar(this, "tabbar");
setTabBar(m_pTabBar);
@@ -26,7 +26,7 @@ KDevTabWidget::KDevTabWidget(TQWidget *parent, const char *name) : TQTabWidget(p
connect(m_pTabBar, TQT_SIGNAL(closeOthers(TQWidget*)), this, TQT_SIGNAL(closeOthers(TQWidget*)));
}
-KTabBar::KTabBar(TQWidget *parent, const char *name) : TQTabBar(parent,name)
+KTabBar::KTabBar(TQWidget *tqparent, const char *name) : TQTabBar(tqparent,name)
{
m_pPopupMenu = new TQPopupMenu(this);
@@ -55,7 +55,7 @@ void KTabBar::mousePressEvent(TQMouseEvent *e)
TQTab *tab = selectTab(e->pos() );
if( tab == 0L ) return;
- m_pPage = ((KDevTabWidget*)parent())->page(indexOf(tab->identifier() ) );
+ m_pPage = ((KDevTabWidget*)tqparent())->page(indexOf(tab->identifier() ) );
if(m_pPage == 0L) return;
m_pPopupMenu->exec(mapToGlobal(e->pos()));