diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-30 19:13:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 16:37:56 +0900 |
commit | 6f23c6de5f48f12ea2df8d7295f383969176d35d (patch) | |
tree | 6d648c4f5883c189ed6d564860ee71872205546b | |
parent | c51ec1fbab90bc151fee623d2f15f4fd2c28a3e3 (diff) | |
download | gtk-qt-engine-6f23c6de5f48f12ea2df8d7295f383969176d35d.tar.gz gtk-qt-engine-6f23c6de5f48f12ea2df8d7295f383969176d35d.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit efce1528da505081af17d60111fb168dd2bf6224)
-rw-r--r-- | src/qt_qt_wrapper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp index 26ec275..fc0d5ae 100644 --- a/src/qt_qt_wrapper.cpp +++ b/src/qt_qt_wrapper.cpp @@ -800,7 +800,7 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa button.colorGroup(), sflags); if (!isBaghira && !isMotif && !isCDE) { - TQBitmap bitmap(w, h, TRUE); + TQBitmap bitmap(w, h, true); TQPainter bpainter(&bitmap); bpainter.setBrush(TQt::color1); tqApp->style().drawControlMask(TQStyle::CE_PushButton, &bpainter, &button, TQRect(0,0,w,h), sflags); @@ -830,7 +830,7 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa TQRect(0,0,w,h), button.palette().active(), sflags); if (!isBaghira && !isMotif && !isCDE) { - TQBitmap bitmap(w, h, TRUE); + TQBitmap bitmap(w, h, true); TQPainter bpainter(&bitmap); bpainter.setBrush(TQt::color1); tqApp->style().drawControlMask(TQStyle::CE_PushButton, &bpainter, &button, TQRect(0,0,w,h), sflags); @@ -1138,7 +1138,7 @@ void drawCheckBox(GdkWindow* window, GtkStyle* style, GtkStateType state, int ch int xOffset = (realW - w) / 2; int yOffset = (realH - h) / 2; - TQBitmap bitmap(realW, realH, TRUE); + TQBitmap bitmap(realW, realH, true); TQPainter bpainter(&bitmap); bpainter.setBrush(TQt::color1); tqApp->style().drawControlMask(TQStyle::CE_CheckBox, &bpainter, &checkbox, TQRect(0,0,realW,realH), sflags); @@ -1214,7 +1214,7 @@ void drawRadioButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int int xOffset = (realW - w) / 2; int yOffset = (realH - h) / 2; - TQBitmap bitmap(realW, realH, TRUE); + TQBitmap bitmap(realW, realH, true); TQPainter bpainter(&bitmap); bpainter.setBrush(TQt::color1); tqApp->style().drawControlMask(TQStyle::CE_RadioButton, &bpainter, &radio, TQRect(0,0,realW,realH), sflags); |