diff options
author | Michele Calgaro <[email protected]> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /src/widgets/qframe.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/widgets/qframe.cpp')
-rw-r--r-- | src/widgets/qframe.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/widgets/qframe.cpp b/src/widgets/qframe.cpp index 2af74737c..e5ccda027 100644 --- a/src/widgets/qframe.cpp +++ b/src/widgets/qframe.cpp @@ -39,7 +39,7 @@ **********************************************************************/ #include "ntqframe.h" -#ifndef QT_NO_FRAME +#ifndef TQT_NO_FRAME #include "ntqpainter.h" #include "ntqdrawutil.h" #include "ntqframe.h" @@ -568,13 +568,13 @@ void TQFrame::drawFrame( TQPainter *p ) TQRect r = frameRect(); int type = fstyle & MShape; int cstyle = fstyle & MShadow; -#ifdef QT_NO_DRAWUTIL +#ifdef TQT_NO_DRAWUTIL p->setPen( black ); // #### p->drawRect( r ); //### a bit too simple #else const TQColorGroup & g = colorGroup(); -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE TQStyleOption opt(lineWidth(),midLineWidth()); TQStyle::SFlags flags = TQStyle::Style_Default; @@ -588,7 +588,7 @@ void TQFrame::drawFrame( TQPainter *p ) flags |= TQStyle::Style_HasFocus; if (hasMouse()) flags |= TQStyle::Style_MouseOver; -#endif // QT_NO_STYLE +#endif // TQT_NO_STYLE switch ( type ) { @@ -613,28 +613,28 @@ void TQFrame::drawFrame( TQPainter *p ) break; case MenuBarPanel: -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE style().drawPrimitive(TQStyle::PE_PanelMenuBar, p, r, g, flags, opt); break; -#endif // fall through to Panel if QT_NO_STYLE +#endif // fall through to Panel if TQT_NO_STYLE case ToolBarPanel: -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE style().drawPrimitive( TQStyle::PE_PanelDockWindow, p, rect(), g, flags, opt); break; -#endif // fall through to Panel if QT_NO_STYLE +#endif // fall through to Panel if TQT_NO_STYLE case StyledPanel: -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE if ( cstyle == Plain ) qDrawPlainRect( p, r, g.foreground(), lwidth ); else style().drawPrimitive(TQStyle::PE_Panel, p, r, g, flags, opt); break; -#endif // fall through to Panel if QT_NO_STYLE +#endif // fall through to Panel if TQT_NO_STYLE case PopupPanel: -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE { int vextra = style().pixelMetric(TQStyle::PM_PopupMenuFrameVerticalExtra, this), hextra = style().pixelMetric(TQStyle::PM_PopupMenuFrameHorizontalExtra, this); @@ -665,7 +665,7 @@ void TQFrame::drawFrame( TQPainter *p ) style().drawPrimitive(TQStyle::PE_PanelPopup, p, r, g, flags, opt); break; } -#endif // fall through to Panel if QT_NO_STYLE +#endif // fall through to Panel if TQT_NO_STYLE case Panel: if ( cstyle == Plain ) @@ -701,7 +701,7 @@ void TQFrame::drawFrame( TQPainter *p ) lwidth, midLineWidth() ); break; } -#endif // QT_NO_DRAWUTIL +#endif // TQT_NO_DRAWUTIL } @@ -751,4 +751,4 @@ void TQFrame::styleChange( TQStyle& old ) TQWidget::styleChange( old ); } -#endif //QT_NO_FRAME +#endif //TQT_NO_FRAME |