summaryrefslogtreecommitdiffstats
path: root/src/styles/qmotifplusstyle.cpp
diff options
context:
space:
mode:
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();