summaryrefslogtreecommitdiffstats
path: root/src/newui/dtabwidget.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 /src/newui/dtabwidget.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 'src/newui/dtabwidget.cpp')
-rw-r--r--src/newui/dtabwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/newui/dtabwidget.cpp b/src/newui/dtabwidget.cpp
index db2e4c4e..7ee27915 100644
--- a/src/newui/dtabwidget.cpp
+++ b/src/newui/dtabwidget.cpp
@@ -26,10 +26,10 @@
#include <kiconloader.h>
#include <kapplication.h>
-DTabWidget::DTabWidget(TQWidget *parent, const char *name)
- :KTabWidget(parent, name), m_closeButton(0)
+DTabWidget::DTabWidget(TQWidget *tqparent, const char *name)
+ :KTabWidget(tqparent, name), m_closeButton(0)
{
- setFocusPolicy(NoFocus);
+ setFocusPolicy(TQ_NoFocus);
setMargin(0);
loadSettings();
@@ -85,7 +85,7 @@ void DTabWidget::insertTab(TQWidget *child, const TQString &label, int index)
if (m_closeButton && m_closeButtonShown)
m_closeButton->show();
KTabWidget::insertTab(child, label, index);
- if (index != -1) tabBar()->repaint();
+ if (index != -1) tabBar()->tqrepaint();
}
void DTabWidget::insertTab(TQWidget *child, const TQIconSet &iconset,
@@ -94,7 +94,7 @@ void DTabWidget::insertTab(TQWidget *child, const TQIconSet &iconset,
if (m_closeButton && m_closeButtonShown)
m_closeButton->show();
KTabWidget::insertTab(child, iconset, label, index);
- if (index != -1) tabBar()->repaint();
+ if (index != -1) tabBar()->tqrepaint();
}
/*void DTabWidget::updateHistory(TQWidget *w)