summaryrefslogtreecommitdiffstats
path: root/src/styles/qcommonstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-06 20:38:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-06 20:38:40 -0600
commiteb1d1e0dec5720ace27395e290b7093cd68b150d (patch)
tree04a199ef5ea853d86a6f9a44716c0874d41c20f6 /src/styles/qcommonstyle.cpp
parentae8aba1e0f17943046e6bfa889b169f7fc41da0d (diff)
downloadtqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.tar.gz
tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.zip
Automated update from qt3
Diffstat (limited to 'src/styles/qcommonstyle.cpp')
-rw-r--r--src/styles/qcommonstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp
index fa95124e4..3510574ca 100644
--- a/src/styles/qcommonstyle.cpp
+++ b/src/styles/qcommonstyle.cpp
@@ -1674,7 +1674,7 @@ void TQCommonStyle::drawComplexControl( ComplexControl control,
down = active & SC_TitleBarCloseButton;
if ( widget->testWFlags( WStyle_Tool )
#ifndef QT_NO_MAINWINDOW
- || ::qt_cast<TQDockWindow*>(widget)
+ || ::tqt_cast<TQDockWindow*>(widget)
#endif
)
pm = stylePixmap(SP_DockWindowCloseButton, widget);
@@ -2254,7 +2254,7 @@ int TQCommonStyle::pixelMetric(PixelMetric m, const TQWidget *widget) const
if ( widget->testWFlags( WStyle_Tool ) ) {
ret = TQMAX( widget->fontMetrics().lineSpacing(), 16 );
#ifndef QT_NO_MAINWINDOW
- } else if ( ::qt_cast<TQDockWindow*>(widget) ) {
+ } else if ( ::tqt_cast<TQDockWindow*>(widget) ) {
ret = TQMAX( widget->fontMetrics().lineSpacing(), 13 );
#endif
} else {