From eb1d1e0dec5720ace27395e290b7093cd68b150d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Mar 2012 20:38:40 -0600 Subject: Automated update from qt3 --- src/styles/qmotifplusstyle.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/styles/qmotifplusstyle.cpp') 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(widget) && ((TQFrame *) widget)->frameStyle() == TQFrame::Panel) + if (::tqt_cast(widget) && ((TQFrame *) widget)->frameStyle() == TQFrame::Panel) ((TQFrame *) widget)->setFrameStyle(TQFrame::WinPanel); #endif #ifndef QT_NO_MENUBAR - if (::qt_cast(widget) && ((TQMenuBar *) widget)->frameStyle() != TQFrame::NoFrame) + if (::tqt_cast(widget) && ((TQMenuBar *) widget)->frameStyle() != TQFrame::NoFrame) ((TQMenuBar *) widget)->setFrameStyle(TQFrame::StyledPanel | TQFrame::Raised); #endif #ifndef QT_NO_TOOLBAR - if (::qt_cast(widget)) + if (::tqt_cast(widget)) widget->layout()->setMargin(2); #endif if (useHoveringHighlight) { - if (::qt_cast(widget) || ::qt_cast(widget)) + if (::tqt_cast(widget) || ::tqt_cast(widget)) widget->installEventFilter(this); - if (::qt_cast(widget) || ::qt_cast(widget)) { + if (::tqt_cast(widget) || ::tqt_cast(widget)) { widget->setMouseTracking(TRUE); widget->installEventFilter(this); } @@ -1493,7 +1493,7 @@ bool TQMotifPlusStyle::eventFilter(TQObject *object, TQEvent *event) { singleton->mousePressed = TRUE; - if (!::qt_cast(object)) + if (!::tqt_cast(object)) break; singleton->sliderActive = TRUE; @@ -1504,7 +1504,7 @@ bool TQMotifPlusStyle::eventFilter(TQObject *object, TQEvent *event) { singleton->mousePressed = FALSE; - if (!::qt_cast(object)) + if (!::tqt_cast(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(object) && ! ::qt_cast(object)) + if (!::tqt_cast(object) && ! ::tqt_cast(object)) break; singleton->mousePos = ((TQMouseEvent *) event)->pos(); -- cgit v1.2.1