summaryrefslogtreecommitdiffstats
path: root/kate/app/katetabwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kate/app/katetabwidget.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/app/katetabwidget.cpp')
-rw-r--r--kate/app/katetabwidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/app/katetabwidget.cpp b/kate/app/katetabwidget.cpp
index 4b278e327..13a099730 100644
--- a/kate/app/katetabwidget.cpp
+++ b/kate/app/katetabwidget.cpp
@@ -70,7 +70,7 @@ void KateTabWidget::insertTab ( TQWidget * child, const TQString & label, int in
KTabWidget::insertTab(child,label,index);
showPage(child);
maybeShow();
- tabBar()->repaint();
+ tabBar()->tqrepaint();
}
void KateTabWidget::insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index )
@@ -78,7 +78,7 @@ void KateTabWidget::insertTab ( TQWidget * child, const TQIconSet & iconset, con
KTabWidget::insertTab(child,iconset,label,index);
showPage(child);
maybeShow();
- tabBar()->repaint();
+ tabBar()->tqrepaint();
}
void KateTabWidget::insertTab ( TQWidget * child, TQTab * tab, int index)
@@ -86,7 +86,7 @@ void KateTabWidget::insertTab ( TQWidget * child, TQTab * tab, int index)
KTabWidget::insertTab(child,tab,index);
showPage(child);
maybeShow();
- tabBar()->repaint();
+ tabBar()->tqrepaint();
}
void KateTabWidget::removePage ( TQWidget * w )
@@ -132,18 +132,18 @@ void KateTabWidget::setCornerWidgetVisibility(bool visible)
{
// there are two corner widgets: on TopLeft and on TopTight!
- if (cornerWidget(Qt::TopLeft) ) {
+ if (cornerWidget(TQt::TopLeft) ) {
if (visible)
- cornerWidget(Qt::TopLeft)->show();
+ cornerWidget(TQt::TopLeft)->show();
else
- cornerWidget(Qt::TopLeft)->hide();
+ cornerWidget(TQt::TopLeft)->hide();
}
- if (cornerWidget(Qt::TopRight) ) {
+ if (cornerWidget(TQt::TopRight) ) {
if (visible)
- cornerWidget(Qt::TopRight)->show();
+ cornerWidget(TQt::TopRight)->show();
else
- cornerWidget(Qt::TopRight)->hide();
+ cornerWidget(TQt::TopRight)->hide();
}
}