summaryrefslogtreecommitdiffstats
path: root/src/styles/qmotifplusstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-06 20:38:40 -0600
committerTimothy Pearson <[email protected]>2012-03-06 20:38:40 -0600
commiteb1d1e0dec5720ace27395e290b7093cd68b150d (patch)
tree04a199ef5ea853d86a6f9a44716c0874d41c20f6 /src/styles/qmotifplusstyle.cpp
parentae8aba1e0f17943046e6bfa889b169f7fc41da0d (diff)
downloadtqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.tar.gz
tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.zip
Automated update from qt3
Diffstat (limited to 'src/styles/qmotifplusstyle.cpp')
-rw-r--r--src/styles/qmotifplusstyle.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/styles/qmotifplusstyle.cpp b/src/styles/qmotifplusstyle.cpp
index 528e6dce8..36358792f 100644
--- a/src/styles/qmotifplusstyle.cpp
+++ b/src/styles/qmotifplusstyle.cpp
@@ -179,24 +179,24 @@ void TQMotifPlusStyle::polish(TQPalette &)
void TQMotifPlusStyle::polish(TQWidget *widget)
{
#ifndef QT_NO_FRAME
- if (::qt_cast<TQFrame*>(widget) && ((TQFrame *) widget)->frameStyle() == TQFrame::Panel)
+ if (::tqt_cast<TQFrame*>(widget) && ((TQFrame *) widget)->frameStyle() == TQFrame::Panel)
((TQFrame *) widget)->setFrameStyle(TQFrame::WinPanel);
#endif
#ifndef QT_NO_MENUBAR
- if (::qt_cast<TQMenuBar*>(widget) && ((TQMenuBar *) widget)->frameStyle() != TQFrame::NoFrame)
+ if (::tqt_cast<TQMenuBar*>(widget) && ((TQMenuBar *) widget)->frameStyle() != TQFrame::NoFrame)
((TQMenuBar *) widget)->setFrameStyle(TQFrame::StyledPanel | TQFrame::Raised);
#endif
#ifndef QT_NO_TOOLBAR
- if (::qt_cast<TQToolBar*>(widget))
+ if (::tqt_cast<TQToolBar*>(widget))
widget->layout()->setMargin(2);
#endif
if (useHoveringHighlight) {
- if (::qt_cast<TQButton*>(widget) || ::qt_cast<TQComboBox*>(widget))
+ if (::tqt_cast<TQButton*>(widget) || ::tqt_cast<TQComboBox*>(widget))
widget->installEventFilter(this);
- if (::qt_cast<TQScrollBar*>(widget) || ::qt_cast<TQSlider*>(widget)) {
+ if (::tqt_cast<TQScrollBar*>(widget) || ::tqt_cast<TQSlider*>(widget)) {
widget->setMouseTracking(TRUE);
widget->installEventFilter(this);
}
@@ -1493,7 +1493,7 @@ bool TQMotifPlusStyle::eventFilter(TQObject *object, TQEvent *event)
{
singleton->mousePressed = TRUE;
- if (!::qt_cast<TQSlider*>(object))
+ if (!::tqt_cast<TQSlider*>(object))
break;
singleton->sliderActive = TRUE;
@@ -1504,7 +1504,7 @@ bool TQMotifPlusStyle::eventFilter(TQObject *object, TQEvent *event)
{
singleton->mousePressed = FALSE;
- if (!::qt_cast<TQSlider*>(object))
+ if (!::tqt_cast<TQSlider*>(object))
break;
singleton->sliderActive = FALSE;
@@ -1541,7 +1541,7 @@ bool TQMotifPlusStyle::eventFilter(TQObject *object, TQEvent *event)
if (! object->isWidgetType() || object != singleton->hoverWidget)
break;
- if (!::qt_cast<TQScrollBar*>(object) && ! ::qt_cast<TQSlider*>(object))
+ if (!::tqt_cast<TQScrollBar*>(object) && ! ::tqt_cast<TQSlider*>(object))
break;
singleton->mousePos = ((TQMouseEvent *) event)->pos();