diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-30 19:26:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 16:50:04 +0900 |
commit | 6161ba3a08e4b534fc6086213de12d75859b5e48 (patch) | |
tree | 7d7184199cc758422873b82ae933b985e5fff680 | |
parent | 404611daf471a18fa2095c2d550ce80830f606f6 (diff) | |
download | tde-style-domino-r14.1.x.tar.gz tde-style-domino-r14.1.x.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6092f1e1125fae6cd7289938854ce3e0ecc31cdd)
-rw-r--r-- | client/clientData.h | 36 | ||||
-rw-r--r-- | domino/data.h | 158 | ||||
-rw-r--r-- | domino/domino.cpp | 16 | ||||
-rw-r--r-- | dominoConfig/configData.h | 4 | ||||
-rw-r--r-- | dominoConfig/dominoconf.cpp | 50 | ||||
-rw-r--r-- | getimages/getimages.cpp | 4 |
6 files changed, 134 insertions, 134 deletions
diff --git a/client/clientData.h b/client/clientData.h index 306e55c..128d4eb 100644 --- a/client/clientData.h +++ b/client/clientData.h @@ -186,23 +186,23 @@ static struct EmbedImage { bool alpha; const char *name; } embed_image_vec[] = { - { 10, 2, 32, (const unsigned char*)client_bottom_lines_dark_data, 0, 0, TRUE, "client_bottomLines_dark" }, - { 10, 2, 32, (const unsigned char*)client_bottomLines_data, 0, 0, TRUE, "client_bottomLines" }, - { 16, 16, 32, (const unsigned char*)clientButtonContour_data, 0, 0, TRUE, "clientButtonContour" }, - { 16, 16, 32, (const unsigned char*)clientButtonPressed_data, 0, 0, TRUE, "clientButtonPressed" }, - { 16, 16, 32, (const unsigned char*)clientButtonShadow_data, 0, 0, TRUE, "clientButtonShadow" }, - { 6, 6, 32, (const unsigned char*)client_close_6x6_data, 0, 0, TRUE, "closeButtonIcon" }, - { 4, 4, 32, (const unsigned char*)client_dot_4x4_data, 0, 0, TRUE, "onAllDesktopsButtonIcon" }, - { 10, 12, 32, (const unsigned char*)client_edges_dark_data, 0, 0, TRUE, "client_edges_dark" }, - { 10, 12, 32, (const unsigned char*)client_edges_data, 0, 0, TRUE, "client_edges" }, - { 5, 8, 32, (const unsigned char*)client_help_5x8_data, 0, 0, TRUE, "helpButtonIcon" }, - { 6, 2, 32, (const unsigned char*)client_line_6x2_data, 0, 0, TRUE, "minButtonIcon" }, - { 8, 8, 32, (const unsigned char*)client_max_8x8_data, 0, 0, TRUE, "maxButtonIcon" }, - { 2, 10, 32, (const unsigned char*)client_right_lines2_data, 0, 0, TRUE, "client_rightLines" }, - { 2, 10, 32, (const unsigned char*)client_right_lines_dark_data, 0, 0, TRUE, "client_rightLines_dark" }, - { 10, 2, 32, (const unsigned char*)client_topLines2_data, 0, 0, TRUE, "client_topLines" }, - { 10, 2, 32, (const unsigned char*)client_top_lines_dark_data, 0, 0, TRUE, "client_topLines_dark" }, - { 6, 8, 32, (const unsigned char*)client_upArrow_6x8_data, 0, 0, TRUE, "aboveButtonIcon" }, + { 10, 2, 32, (const unsigned char*)client_bottom_lines_dark_data, 0, 0, true, "client_bottomLines_dark" }, + { 10, 2, 32, (const unsigned char*)client_bottomLines_data, 0, 0, true, "client_bottomLines" }, + { 16, 16, 32, (const unsigned char*)clientButtonContour_data, 0, 0, true, "clientButtonContour" }, + { 16, 16, 32, (const unsigned char*)clientButtonPressed_data, 0, 0, true, "clientButtonPressed" }, + { 16, 16, 32, (const unsigned char*)clientButtonShadow_data, 0, 0, true, "clientButtonShadow" }, + { 6, 6, 32, (const unsigned char*)client_close_6x6_data, 0, 0, true, "closeButtonIcon" }, + { 4, 4, 32, (const unsigned char*)client_dot_4x4_data, 0, 0, true, "onAllDesktopsButtonIcon" }, + { 10, 12, 32, (const unsigned char*)client_edges_dark_data, 0, 0, true, "client_edges_dark" }, + { 10, 12, 32, (const unsigned char*)client_edges_data, 0, 0, true, "client_edges" }, + { 5, 8, 32, (const unsigned char*)client_help_5x8_data, 0, 0, true, "helpButtonIcon" }, + { 6, 2, 32, (const unsigned char*)client_line_6x2_data, 0, 0, true, "minButtonIcon" }, + { 8, 8, 32, (const unsigned char*)client_max_8x8_data, 0, 0, true, "maxButtonIcon" }, + { 2, 10, 32, (const unsigned char*)client_right_lines2_data, 0, 0, true, "client_rightLines" }, + { 2, 10, 32, (const unsigned char*)client_right_lines_dark_data, 0, 0, true, "client_rightLines_dark" }, + { 10, 2, 32, (const unsigned char*)client_topLines2_data, 0, 0, true, "client_topLines" }, + { 10, 2, 32, (const unsigned char*)client_top_lines_dark_data, 0, 0, true, "client_topLines_dark" }, + { 6, 8, 32, (const unsigned char*)client_upArrow_6x8_data, 0, 0, true, "aboveButtonIcon" }, { 0, 0, 0, 0, 0, 0, 0, 0 } }; @@ -221,7 +221,7 @@ static const TQImage& qembed_findImage( const TQString& name ) embed_image_vec[i].numColors, TQImage::BigEndian ); if ( embed_image_vec[i].alpha ) - img->setAlphaBuffer( TRUE ); + img->setAlphaBuffer( true ); dict.insert( name, img ); break; } diff --git a/domino/data.h b/domino/data.h index 613eb45..82ea78e 100644 --- a/domino/data.h +++ b/domino/data.h @@ -1194,84 +1194,84 @@ static struct EmbedImage { bool alpha; const char *name; } embed_image_vec[] = { - { 5, 4, 32, (const unsigned char*)arrow_down_small_data, 0, 0, TRUE, "arrow_down" }, - { 4, 7, 32, (const unsigned char*)btn17H_data, 0, 0, TRUE, "btnH" }, - { 4, 7, 32, (const unsigned char*)btn17HRaisedShadow_data, 0, 0, TRUE, "btnHRSh" }, - { 4, 7, 32, (const unsigned char*)btn17HRaisedShadowPressed_data, 0, 0, TRUE, "btnHRSPr" }, - { 4, 7, 32, (const unsigned char*)btn17HSunkenShadow_data, 0, 0, TRUE, "btnHSSh" }, - { 12, 13, 32, (const unsigned char*)btn17_data, 0, 0, TRUE, "btn" }, - { 12, 13, 32, (const unsigned char*)btn17RaisedShadow3_data, 0, 0, TRUE, "btn17RaisedShadow3" }, - { 12, 13, 32, (const unsigned char*)btn17RaisedShadowPressed_data, 0, 0, TRUE, "btnRSPr" }, - { 12, 13, 32, (const unsigned char*)btn17SunkenShadow_data, 0, 0, TRUE, "btnSSh" }, - { 6, 4, 32, (const unsigned char*)btn17V_data, 0, 0, TRUE, "btnV" }, - { 6, 4, 32, (const unsigned char*)btn17VRaisedShadow_data, 0, 0, TRUE, "btnVRSh" }, - { 6, 4, 32, (const unsigned char*)btn17VRaisedShadowPressed_data, 0, 0, TRUE, "btnVRSPr" }, - { 6, 4, 32, (const unsigned char*)btn17VSunkenShadow_data, 0, 0, TRUE, "btnVSSh" }, - { 4, 5, 32, (const unsigned char*)btnPressedShadowHLines_data, 0, 0, TRUE, "btnPressedShadowHLines" }, - { 10, 9, 32, (const unsigned char*)btnPressedShadowRectangular_data, 0, 0, TRUE, "btnPressedShadowRectangular" }, - { 10, 9, 32, (const unsigned char*)btnPressedShadowRound_data, 0, 0, TRUE, "btnPressedShadowRound" }, - { 6, 4, 32, (const unsigned char*)btnPressedShadowVLines_data, 0, 0, TRUE, "btnPressedShadowVLines" }, - { 18, 19, 32, (const unsigned char*)checkbox2inside_data, 0, 0, TRUE, "checkbox2inside" }, - { 18, 19, 32, (const unsigned char*)checkbox2pressed_data, 0, 0, TRUE, "checkbox2pressed" }, - { 18, 19, 32, (const unsigned char*)checkbox2rect_data, 0, 0, TRUE, "checkbox2rect" }, - { 18, 19, 32, (const unsigned char*)checkbox2shadow_data, 0, 0, TRUE, "checkbox2shadow" }, - { 13, 13, 32, (const unsigned char*)checkListExclusiveIndicator_data, 0, 0, TRUE, "checkListExclusiveIndicator" }, - { 16, 17, 32, (const unsigned char*)checkmark_data, 0, 0, TRUE, "checkmark" }, - { 12, 24, 32, (const unsigned char*)dockBack_data, 0, 0, TRUE, "DockbackButton" }, - { 12, 24, 32, (const unsigned char*)dockClose_data, 0, 0, TRUE, "DockCloseButton" }, - { 12, 24, 32, (const unsigned char*)dockStay_data, 0, 0, TRUE, "OverlapButton" }, - { 12, 24, 32, (const unsigned char*)dockToDesktop2_data, 0, 0, TRUE, "ToDesktopButton" }, - { 6, 6, 32, (const unsigned char*)focusRectEdges_data, 0, 0, TRUE, "focusRectEdges" }, - { 16, 16, 32, (const unsigned char*)groupBoxMask_small_data, 0, 0, TRUE, "groupBoxMask" }, - { 16, 16, 32, (const unsigned char*)groupBox_small_data, 0, 0, TRUE, "groupBox" }, - { 8, 8, 32, (const unsigned char*)lineedit4edges_data, 0, 0, TRUE, "lineedit4edges" }, - { 8, 8, 32, (const unsigned char*)lineedit4inside_data, 0, 0, TRUE, "lineedit4inside" }, - { 6, 6, 32, (const unsigned char*)lineEditBtnEdges_d_data, 0, 0, TRUE, "lineEditBtnEdges-d" }, - { 6, 6, 32, (const unsigned char*)lineEditBtnEdges_data, 0, 0, TRUE, "lineEditBtnEdges" }, - { 6, 6, 32, (const unsigned char*)lineEditBtnShadow_data, 0, 0, TRUE, "lineEditBtnShadow" }, - { 7, 9, 32, (const unsigned char*)lveTriangular_data, 0, 0, TRUE, "lveTriangular" }, - { 6, 6, 32, (const unsigned char*)menuItem_data, 0, 0, TRUE, "menuItem" }, - { 10, 10, 32, (const unsigned char*)popup5_data, 0, 0, TRUE, "popup5" }, - { 4, 4, 32, (const unsigned char*)progressShadow2_data, 0, 0, TRUE, "progressShadow2" }, - { 20, 20, 32, (const unsigned char*)progressTile_data, 0, 0, TRUE, "progressTile" }, - { 17, 17, 32, (const unsigned char*)radio3circle_data, 0, 0, TRUE, "radio3circle" }, - { 17, 17, 32, (const unsigned char*)radio3inside_data, 0, 0, TRUE, "radio3inside" }, - { 17, 17, 32, (const unsigned char*)radio3pressed_data, 0, 0, TRUE, "radio3pressed" }, - { 17, 17, 32, (const unsigned char*)radio3shadow_data, 0, 0, TRUE, "radio3shadow" }, - { 5, 5, 32, (const unsigned char*)rb_dot2_data, 0, 0, TRUE, "rb-dot" }, - { 5, 5, 32, (const unsigned char*)rb_dot2_shadow_data, 0, 0, TRUE, "rb-dot-shadow" }, - { 18, 15, 32, (const unsigned char*)scroll2BtnHContour2_data, 0, 0, TRUE, "scrollBtnHContour" }, - { 18, 15, 32, (const unsigned char*)scroll2BtnHMask_data, 0, 0, TRUE, "scrollBtnHMask" }, - { 18, 15, 32, (const unsigned char*)scroll2BtnHShadow2_data, 0, 0, TRUE, "scrollBtnHShadow" }, - { 15, 18, 32, (const unsigned char*)scroll2BtnVContour2_data, 0, 0, TRUE, "scrollBtnVContour" }, - { 15, 18, 32, (const unsigned char*)scroll2BtnVMask_data, 0, 0, TRUE, "scrollBtnVMask" }, - { 15, 18, 32, (const unsigned char*)scroll2BtnVShadow2_data, 0, 0, TRUE, "scrollBtnVShadow" }, - { 16, 15, 32, (const unsigned char*)scroll2SliderHContour_data, 0, 0, TRUE, "scrollSliderHContour" }, - { 16, 15, 32, (const unsigned char*)scroll2SliderHDockedContour_data, 0, 0, TRUE, "scrollSliderHDockedContour" }, - { 16, 15, 32, (const unsigned char*)scroll2SliderHDockedShadow_data, 0, 0, TRUE, "scrollSliderHDockedShadow" }, - { 16, 15, 32, (const unsigned char*)scroll2SliderHMask_data, 0, 0, TRUE, "scrollSliderHMask" }, - { 16, 15, 32, (const unsigned char*)scroll2SliderHShadow2_data, 0, 0, TRUE, "scrollSliderHShadow" }, - { 15, 16, 32, (const unsigned char*)scroll2SliderVContour_data, 0, 0, TRUE, "scrollSliderVContour" }, - { 15, 16, 32, (const unsigned char*)scroll2SliderVDockedContour_data, 0, 0, TRUE, "scrollSliderVDockedContour" }, - { 15, 16, 32, (const unsigned char*)scroll2SliderVDockedShadow_data, 0, 0, TRUE, "scrollSliderVDockedShadow" }, - { 15, 16, 32, (const unsigned char*)scroll2SliderVMask_data, 0, 0, TRUE, "scrollSliderVMask" }, - { 15, 16, 32, (const unsigned char*)scroll2SliderVShadow2_data, 0, 0, TRUE, "scrollSliderVShadow" }, - { 24, 7, 32, (const unsigned char*)scrollBarArrows_data, 0, 0, TRUE, "scrollBarArrows" }, - { 4, 4, 32, (const unsigned char*)sizeGrip_data, 0, 0, TRUE, "sizeGrip" }, - { 4, 7, 32, (const unsigned char*)sliderGrooveHBody_data, 0, 0, TRUE, "slGHBody" }, - { 6, 7, 32, (const unsigned char*)sliderGroove_h_data, 0, 0, TRUE, "slGh" }, - { 7, 6, 32, (const unsigned char*)sliderGroove_v_data, 0, 0, TRUE, "slGv" }, - { 15, 15, 32, (const unsigned char*)sliderHandle2inside2_data, 0, 0, TRUE, "sliderHandle2inside" }, - { 15, 15, 32, (const unsigned char*)sliderHandle2circle_data, 0, 0, TRUE, "sliderHandle2circle" }, - { 15, 15, 32, (const unsigned char*)sliderHandle2shadow_data, 0, 0, TRUE, "sliderHandle2shadow" }, - { 7, 10, 32, (const unsigned char*)spinBoxArrows_data, 0, 0, TRUE, "spinBoxArrows" }, - { 4, 3, 32, (const unsigned char*)tabHLines_data, 0, 0, TRUE, "tabHLines" }, - { 4, 4, 32, (const unsigned char*)tabInsideWhiteLines_data, 0, 0, TRUE, "tabInsideWhiteLines" }, - { 14, 14, 32, (const unsigned char*)tabInsideWhite_data, 0, 0, TRUE, "tabInsideWhite" }, - { 1, 4, 32, (const unsigned char*)tabVlines_data, 0, 0, TRUE, "tabVLines" }, - { 16, 16, 32, (const unsigned char*)tabWidget_data, 0, 0, TRUE, "tabWidget" }, - { 14, 14, 32, (const unsigned char*)tooltipframe2_data, 0, 0, TRUE, "border1" }, - { 8, 8, 32, (const unsigned char*)toolBtnFrameThin_data, 0, 0, TRUE, "toolBtnFrameThin" }, + { 5, 4, 32, (const unsigned char*)arrow_down_small_data, 0, 0, true, "arrow_down" }, + { 4, 7, 32, (const unsigned char*)btn17H_data, 0, 0, true, "btnH" }, + { 4, 7, 32, (const unsigned char*)btn17HRaisedShadow_data, 0, 0, true, "btnHRSh" }, + { 4, 7, 32, (const unsigned char*)btn17HRaisedShadowPressed_data, 0, 0, true, "btnHRSPr" }, + { 4, 7, 32, (const unsigned char*)btn17HSunkenShadow_data, 0, 0, true, "btnHSSh" }, + { 12, 13, 32, (const unsigned char*)btn17_data, 0, 0, true, "btn" }, + { 12, 13, 32, (const unsigned char*)btn17RaisedShadow3_data, 0, 0, true, "btn17RaisedShadow3" }, + { 12, 13, 32, (const unsigned char*)btn17RaisedShadowPressed_data, 0, 0, true, "btnRSPr" }, + { 12, 13, 32, (const unsigned char*)btn17SunkenShadow_data, 0, 0, true, "btnSSh" }, + { 6, 4, 32, (const unsigned char*)btn17V_data, 0, 0, true, "btnV" }, + { 6, 4, 32, (const unsigned char*)btn17VRaisedShadow_data, 0, 0, true, "btnVRSh" }, + { 6, 4, 32, (const unsigned char*)btn17VRaisedShadowPressed_data, 0, 0, true, "btnVRSPr" }, + { 6, 4, 32, (const unsigned char*)btn17VSunkenShadow_data, 0, 0, true, "btnVSSh" }, + { 4, 5, 32, (const unsigned char*)btnPressedShadowHLines_data, 0, 0, true, "btnPressedShadowHLines" }, + { 10, 9, 32, (const unsigned char*)btnPressedShadowRectangular_data, 0, 0, true, "btnPressedShadowRectangular" }, + { 10, 9, 32, (const unsigned char*)btnPressedShadowRound_data, 0, 0, true, "btnPressedShadowRound" }, + { 6, 4, 32, (const unsigned char*)btnPressedShadowVLines_data, 0, 0, true, "btnPressedShadowVLines" }, + { 18, 19, 32, (const unsigned char*)checkbox2inside_data, 0, 0, true, "checkbox2inside" }, + { 18, 19, 32, (const unsigned char*)checkbox2pressed_data, 0, 0, true, "checkbox2pressed" }, + { 18, 19, 32, (const unsigned char*)checkbox2rect_data, 0, 0, true, "checkbox2rect" }, + { 18, 19, 32, (const unsigned char*)checkbox2shadow_data, 0, 0, true, "checkbox2shadow" }, + { 13, 13, 32, (const unsigned char*)checkListExclusiveIndicator_data, 0, 0, true, "checkListExclusiveIndicator" }, + { 16, 17, 32, (const unsigned char*)checkmark_data, 0, 0, true, "checkmark" }, + { 12, 24, 32, (const unsigned char*)dockBack_data, 0, 0, true, "DockbackButton" }, + { 12, 24, 32, (const unsigned char*)dockClose_data, 0, 0, true, "DockCloseButton" }, + { 12, 24, 32, (const unsigned char*)dockStay_data, 0, 0, true, "OverlapButton" }, + { 12, 24, 32, (const unsigned char*)dockToDesktop2_data, 0, 0, true, "ToDesktopButton" }, + { 6, 6, 32, (const unsigned char*)focusRectEdges_data, 0, 0, true, "focusRectEdges" }, + { 16, 16, 32, (const unsigned char*)groupBoxMask_small_data, 0, 0, true, "groupBoxMask" }, + { 16, 16, 32, (const unsigned char*)groupBox_small_data, 0, 0, true, "groupBox" }, + { 8, 8, 32, (const unsigned char*)lineedit4edges_data, 0, 0, true, "lineedit4edges" }, + { 8, 8, 32, (const unsigned char*)lineedit4inside_data, 0, 0, true, "lineedit4inside" }, + { 6, 6, 32, (const unsigned char*)lineEditBtnEdges_d_data, 0, 0, true, "lineEditBtnEdges-d" }, + { 6, 6, 32, (const unsigned char*)lineEditBtnEdges_data, 0, 0, true, "lineEditBtnEdges" }, + { 6, 6, 32, (const unsigned char*)lineEditBtnShadow_data, 0, 0, true, "lineEditBtnShadow" }, + { 7, 9, 32, (const unsigned char*)lveTriangular_data, 0, 0, true, "lveTriangular" }, + { 6, 6, 32, (const unsigned char*)menuItem_data, 0, 0, true, "menuItem" }, + { 10, 10, 32, (const unsigned char*)popup5_data, 0, 0, true, "popup5" }, + { 4, 4, 32, (const unsigned char*)progressShadow2_data, 0, 0, true, "progressShadow2" }, + { 20, 20, 32, (const unsigned char*)progressTile_data, 0, 0, true, "progressTile" }, + { 17, 17, 32, (const unsigned char*)radio3circle_data, 0, 0, true, "radio3circle" }, + { 17, 17, 32, (const unsigned char*)radio3inside_data, 0, 0, true, "radio3inside" }, + { 17, 17, 32, (const unsigned char*)radio3pressed_data, 0, 0, true, "radio3pressed" }, + { 17, 17, 32, (const unsigned char*)radio3shadow_data, 0, 0, true, "radio3shadow" }, + { 5, 5, 32, (const unsigned char*)rb_dot2_data, 0, 0, true, "rb-dot" }, + { 5, 5, 32, (const unsigned char*)rb_dot2_shadow_data, 0, 0, true, "rb-dot-shadow" }, + { 18, 15, 32, (const unsigned char*)scroll2BtnHContour2_data, 0, 0, true, "scrollBtnHContour" }, + { 18, 15, 32, (const unsigned char*)scroll2BtnHMask_data, 0, 0, true, "scrollBtnHMask" }, + { 18, 15, 32, (const unsigned char*)scroll2BtnHShadow2_data, 0, 0, true, "scrollBtnHShadow" }, + { 15, 18, 32, (const unsigned char*)scroll2BtnVContour2_data, 0, 0, true, "scrollBtnVContour" }, + { 15, 18, 32, (const unsigned char*)scroll2BtnVMask_data, 0, 0, true, "scrollBtnVMask" }, + { 15, 18, 32, (const unsigned char*)scroll2BtnVShadow2_data, 0, 0, true, "scrollBtnVShadow" }, + { 16, 15, 32, (const unsigned char*)scroll2SliderHContour_data, 0, 0, true, "scrollSliderHContour" }, + { 16, 15, 32, (const unsigned char*)scroll2SliderHDockedContour_data, 0, 0, true, "scrollSliderHDockedContour" }, + { 16, 15, 32, (const unsigned char*)scroll2SliderHDockedShadow_data, 0, 0, true, "scrollSliderHDockedShadow" }, + { 16, 15, 32, (const unsigned char*)scroll2SliderHMask_data, 0, 0, true, "scrollSliderHMask" }, + { 16, 15, 32, (const unsigned char*)scroll2SliderHShadow2_data, 0, 0, true, "scrollSliderHShadow" }, + { 15, 16, 32, (const unsigned char*)scroll2SliderVContour_data, 0, 0, true, "scrollSliderVContour" }, + { 15, 16, 32, (const unsigned char*)scroll2SliderVDockedContour_data, 0, 0, true, "scrollSliderVDockedContour" }, + { 15, 16, 32, (const unsigned char*)scroll2SliderVDockedShadow_data, 0, 0, true, "scrollSliderVDockedShadow" }, + { 15, 16, 32, (const unsigned char*)scroll2SliderVMask_data, 0, 0, true, "scrollSliderVMask" }, + { 15, 16, 32, (const unsigned char*)scroll2SliderVShadow2_data, 0, 0, true, "scrollSliderVShadow" }, + { 24, 7, 32, (const unsigned char*)scrollBarArrows_data, 0, 0, true, "scrollBarArrows" }, + { 4, 4, 32, (const unsigned char*)sizeGrip_data, 0, 0, true, "sizeGrip" }, + { 4, 7, 32, (const unsigned char*)sliderGrooveHBody_data, 0, 0, true, "slGHBody" }, + { 6, 7, 32, (const unsigned char*)sliderGroove_h_data, 0, 0, true, "slGh" }, + { 7, 6, 32, (const unsigned char*)sliderGroove_v_data, 0, 0, true, "slGv" }, + { 15, 15, 32, (const unsigned char*)sliderHandle2inside2_data, 0, 0, true, "sliderHandle2inside" }, + { 15, 15, 32, (const unsigned char*)sliderHandle2circle_data, 0, 0, true, "sliderHandle2circle" }, + { 15, 15, 32, (const unsigned char*)sliderHandle2shadow_data, 0, 0, true, "sliderHandle2shadow" }, + { 7, 10, 32, (const unsigned char*)spinBoxArrows_data, 0, 0, true, "spinBoxArrows" }, + { 4, 3, 32, (const unsigned char*)tabHLines_data, 0, 0, true, "tabHLines" }, + { 4, 4, 32, (const unsigned char*)tabInsideWhiteLines_data, 0, 0, true, "tabInsideWhiteLines" }, + { 14, 14, 32, (const unsigned char*)tabInsideWhite_data, 0, 0, true, "tabInsideWhite" }, + { 1, 4, 32, (const unsigned char*)tabVlines_data, 0, 0, true, "tabVLines" }, + { 16, 16, 32, (const unsigned char*)tabWidget_data, 0, 0, true, "tabWidget" }, + { 14, 14, 32, (const unsigned char*)tooltipframe2_data, 0, 0, true, "border1" }, + { 8, 8, 32, (const unsigned char*)toolBtnFrameThin_data, 0, 0, true, "toolBtnFrameThin" }, { 0, 0, 0, 0, 0, 0, 0, 0 } }; @@ -1290,7 +1290,7 @@ static const TQImage& qembed_findImage( const TQString& name ) embed_image_vec[i].numColors, TQImage::BigEndian ); if ( embed_image_vec[i].alpha ) - img->setAlphaBuffer( TRUE ); + img->setAlphaBuffer( true ); dict.insert( name, img ); break; } diff --git a/domino/domino.cpp b/domino/domino.cpp index 636033d..a92de05 100644 --- a/domino/domino.cpp +++ b/domino/domino.cpp @@ -4887,27 +4887,27 @@ void DominoStyle::drawControl(ControlElement element, tr.addCoords( 0, pr.bottom(), 0, -3 ); if(drawOutlinePixmap) - drawItem( p, pr, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null ); + drawItem( p, pr, AlignCenter, cg, true, &outlinePixmap, TQString::null ); - drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null ); + drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null ); alignment |= AlignCenter; } else { pr.setWidth( pm.width() + 8 ); tr.addCoords( pr.right(), 0, 0, 0 ); if(drawOutlinePixmap) - drawItem( p, pr, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null ); + drawItem( p, pr, AlignCenter, cg, true, &outlinePixmap, TQString::null ); - drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null ); + drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null ); alignment |= AlignLeft | AlignVCenter; } dominoDrawItem( p, tr, alignment, cg, enabled, 0, toolbutton->textLabel(), toolbutton->textLabel().length(), &btext, textEffectSettings.mode > 0 ? 1 : 0); } else { if(drawOutlinePixmap) - drawItem( p, rect, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null ); + drawItem( p, rect, AlignCenter, cg, true, &outlinePixmap, TQString::null ); - drawItem( p, rect, AlignCenter, cg, TRUE, &pm, TQString::null ); + drawItem( p, rect, AlignCenter, cg, true, &pm, TQString::null ); } } } @@ -6785,7 +6785,7 @@ void DominoStyle::drawComplexControl(ComplexControl control, if ( controls & SC_TitleBarSysMenu ) { if ( widget->icon() ) { ir = visualRect( querySubControlMetrics( CC_TitleBar, ceData, elementFlags, SC_TitleBarSysMenu, TQStyleOption::Default, widget ), widget ); - drawItem( p, ir, AlignCenter, widget->colorGroup(), TRUE, widget->icon(), TQString::null ); + drawItem( p, ir, AlignCenter, widget->colorGroup(), true, widget->icon(), TQString::null ); } } @@ -7715,7 +7715,7 @@ void DominoStyle::dominoDrawItem( TQPainter *p, const TQRect &r, bool clip = (flags & TQt::DontClip) == 0; if ( clip ) { if ( pm.width() < w && pm.height() < h ) { - clip = FALSE; + clip = false; } else { p->save(); TQRegion cr = TQRect(x, y, w, h); diff --git a/dominoConfig/configData.h b/dominoConfig/configData.h index 7d81210..5ccb035 100644 --- a/dominoConfig/configData.h +++ b/dominoConfig/configData.h @@ -38,7 +38,7 @@ static struct ConfigEmbedImage { bool alpha; const char *name; } config_embed_image_vec[] = { - { 9, 9, 32, (const unsigned char*)tabIndicatorArrow_data, 0, 0, TRUE, "tabIndicatorArrow" }, + { 9, 9, 32, (const unsigned char*)tabIndicatorArrow_data, 0, 0, true, "tabIndicatorArrow" }, { 0, 0, 0, 0, 0, 0, 0, 0 } }; @@ -57,7 +57,7 @@ static const TQImage& config_findImage( const TQString& name ) config_embed_image_vec[i].numColors, TQImage::BigEndian ); if ( config_embed_image_vec[i].alpha ) - img->setAlphaBuffer( TRUE ); + img->setAlphaBuffer( true ); dict.insert( name, img ); break; } diff --git a/dominoConfig/dominoconf.cpp b/dominoConfig/dominoconf.cpp index 70fb805..46392b5 100644 --- a/dominoConfig/dominoconf.cpp +++ b/dominoConfig/dominoconf.cpp @@ -680,7 +680,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) pushButton16->setStyle(previewStyle); groupBox10_2_2_2Layout->addWidget( pushButton16 ); - comboBox17 = new TQComboBox( FALSE, groupBox10_2_2_2, "dominoPreviewWidget" ); + comboBox17 = new TQComboBox( false, groupBox10_2_2_2, "dominoPreviewWidget" ); comboBox17->setStyle(previewStyle); groupBox10_2_2_2Layout->addWidget( comboBox17 ); @@ -694,7 +694,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox22Layout->addMultiCell( spacer43, 0, 1, 1, 1 ); groupBox8_2_2_2 = new TQGroupBox( groupBox22, "groupBox8_2_2_2" ); - groupBox8_2_2_2->setCheckable( TRUE ); + groupBox8_2_2_2->setCheckable( true ); connect(((TQCheckBox*)groupBox8_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(btn1GradientChanged())); groupBox8_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2->layout()->setSpacing( 7 ); @@ -746,9 +746,9 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox9_2_2_2 = new TQGroupBox( groupBox22, "groupBox9_2_2_2" ); groupBox9_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2->sizePolicy().hasHeightForWidth() ) ); - groupBox9_2_2_2->setCheckable( TRUE ); + groupBox9_2_2_2->setCheckable( true ); connect(((TQCheckBox*)groupBox9_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(btn2GradientChanged())); - groupBox9_2_2_2->setChecked( FALSE ); + groupBox9_2_2_2->setChecked( false ); groupBox9_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2->layout()->setSpacing( 7 ); groupBox9_2_2_2->layout()->setMargin( 4 ); @@ -810,7 +810,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) textLabel7_4 = new TQLabel( tab1, "textLabel7_4" ); layout9->addWidget( textLabel7_4 ); - comboBox3_4 = new TQComboBox( FALSE, tab1, "comboBox3_4" ); + comboBox3_4 = new TQComboBox( false, tab1, "comboBox3_4" ); layout9->addWidget( comboBox3_4 ); pushButton4_4 = new TQPushButton( tab1, "pushButton4_4" ); @@ -838,7 +838,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox22_2Layout->addMultiCell( spacer43_2, 0, 1, 1, 1 ); groupBox8_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox8_2_2_2_2" ); - groupBox8_2_2_2_2->setCheckable( TRUE ); + groupBox8_2_2_2_2->setCheckable( true ); connect(((TQCheckBox*)groupBox8_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(tab1GradientChanged())); groupBox8_2_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2_2->layout()->setSpacing( 7 ); @@ -889,9 +889,9 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox22_2Layout->addMultiCellWidget( groupBox8_2_2_2_2, 0, 0, 2, 6 ); groupBox9_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox9_2_2_2_2" ); - groupBox9_2_2_2_2->setCheckable( TRUE ); + groupBox9_2_2_2_2->setCheckable( true ); connect(((TQCheckBox*)groupBox9_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(tab2GradientChanged())); - groupBox9_2_2_2_2->setChecked( FALSE ); + groupBox9_2_2_2_2->setChecked( false ); groupBox9_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2->sizePolicy().hasHeightForWidth() ) ); groupBox9_2_2_2_2->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2_2->layout()->setSpacing( 7 ); @@ -1013,10 +1013,10 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) layout9_2 = new TQHBoxLayout( 0, 0, 6, "layout9_2"); tabComboLayout = new TQHBoxLayout( 0, 0, 6, "tabComboLayout"); - tabPosCombo = new TQComboBox( FALSE, tab2, "tabPosCombo" ); + tabPosCombo = new TQComboBox( false, tab2, "tabPosCombo" ); tabComboLayout->addWidget( tabPosCombo ); - tabStateCombo = new TQComboBox( FALSE, tab2, "tabStateCombo" ); + tabStateCombo = new TQComboBox( false, tab2, "tabStateCombo" ); tabComboLayout->addWidget( tabStateCombo ); TQSpacerItem* spacer_combo2 = new TQSpacerItem( 20, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); @@ -1031,7 +1031,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) textLabel7_4_2 = new TQLabel( tab2, "textLabel7_4_2" ); layout9_2->addWidget( textLabel7_4_2 ); - comboBox3_4_2 = new TQComboBox( FALSE, tab2, "comboBox3_4_2" ); + comboBox3_4_2 = new TQComboBox( false, tab2, "comboBox3_4_2" ); layout9_2->addWidget( comboBox3_4_2 ); pushButton4_4_2 = new TQPushButton( tab2, "pushButton4_4_2" ); @@ -1059,7 +1059,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox22_2_2Layout->setAlignment( TQt::AlignTop ); groupBox8_2_2_2_2_4 = new TQGroupBox( groupBox22_2_2, "groupBox8_2_2_2_2_4" ); - groupBox8_2_2_2_2_4->setCheckable( TRUE ); + groupBox8_2_2_2_2_4->setCheckable( true ); groupBox8_2_2_2_2_4->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2_2_4->layout()->setSpacing( 7 ); groupBox8_2_2_2_2_4->layout()->setMargin( 4 ); @@ -1113,8 +1113,8 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox9_2_2_2_2_4 = new TQGroupBox( groupBox22_2_2, "groupBox9_2_2_2_2_4" ); groupBox9_2_2_2_2_4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) ); - groupBox9_2_2_2_2_4->setCheckable( TRUE ); - groupBox9_2_2_2_2_4->setChecked( FALSE ); + groupBox9_2_2_2_2_4->setCheckable( true ); + groupBox9_2_2_2_2_4->setChecked( false ); groupBox9_2_2_2_2_4->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2_2_4->layout()->setSpacing( 7 ); groupBox9_2_2_2_2_4->layout()->setMargin( 4 ); @@ -1217,7 +1217,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) tab3Layout->addWidget( groupBox22_2_2 ); layout6 = new TQHBoxLayout( 0, 0, 6, "layout6"); - comboBox7 = new TQComboBox( FALSE, tab3, "comboBox7" ); + comboBox7 = new TQComboBox( false, tab3, "comboBox7" ); layout6->addWidget( comboBox7 ); spacer7_2_3 = new TQSpacerItem( 246, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); layout6->addItem( spacer7_2_3 ); @@ -1225,7 +1225,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) textLabel7_4_2_3 = new TQLabel( tab3, "textLabel7_4_2_3" ); layout6->addWidget( textLabel7_4_2_3 ); - comboBox3_4_2_3 = new TQComboBox( FALSE, tab3, "comboBox3_4_2_3" ); + comboBox3_4_2_3 = new TQComboBox( false, tab3, "comboBox3_4_2_3" ); layout6->addWidget( comboBox3_4_2_3 ); pushButton4_4_2_3 = new TQPushButton( tab3, "pushButton4_4_2_3" ); @@ -1308,7 +1308,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox22_2_2_3Layout->addMultiCellWidget( groupBox10_2_2_2_2_4_3, 0, 1, 0, 0 ); groupBox8_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox8_2_2_2_2_4_3" ); - groupBox8_2_2_2_2_4_3->setCheckable( TRUE ); + groupBox8_2_2_2_2_4_3->setCheckable( true ); connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(header1GradientChanged())); groupBox8_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical ); @@ -1361,9 +1361,9 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox9_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox9_2_2_2_2_4_3" ); groupBox9_2_2_2_2_4_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) ); - groupBox9_2_2_2_2_4_3->setCheckable( TRUE ); + groupBox9_2_2_2_2_4_3->setCheckable( true ); connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(header2GradientChanged())); - groupBox9_2_2_2_2_4_3->setChecked( FALSE ); + groupBox9_2_2_2_2_4_3->setChecked( false ); groupBox9_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2_2_4_3->layout()->setSpacing( 7 ); groupBox9_2_2_2_2_4_3->layout()->setMargin( 4 ); @@ -1421,7 +1421,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) textLabel7_4_2_3_3 = new TQLabel( tab4, "textLabel7_4_2_3_3" ); layout21->addWidget( textLabel7_4_2_3_3 ); - comboBox3_4_2_3_3 = new TQComboBox( FALSE, tab4, "comboBox3_4_2_3_3" ); + comboBox3_4_2_3_3 = new TQComboBox( false, tab4, "comboBox3_4_2_3_3" ); layout21->addWidget( comboBox3_4_2_3_3 ); pushButton4_4_2_3_3 = new TQPushButton( tab4, "pushButton4_4_2_3_3" ); @@ -1446,9 +1446,9 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox22_2_2_3_2Layout->setAlignment( TQt::AlignTop ); groupBox8_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox8_2_2_2_2_4_3_2" ); - groupBox8_2_2_2_2_4_3_2->setCheckable( TRUE ); + groupBox8_2_2_2_2_4_3_2->setCheckable( true ); connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(checkItem1GradientChanged())); - groupBox8_2_2_2_2_4_3_2->setChecked( FALSE ); + groupBox8_2_2_2_2_4_3_2->setChecked( false ); groupBox8_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical ); groupBox8_2_2_2_2_4_3_2->layout()->setSpacing( 7 ); groupBox8_2_2_2_2_4_3_2->layout()->setMargin( 4 ); @@ -1540,10 +1540,10 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) groupBox9_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox9_2_2_2_2_4_3_2" ); groupBox9_2_2_2_2_4_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) ); - groupBox9_2_2_2_2_4_3_2->setCheckable( TRUE ); + groupBox9_2_2_2_2_4_3_2->setCheckable( true ); connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), TQ_SIGNAL(clicked()), TQ_SLOT(checkItem2GradientChanged())); - groupBox9_2_2_2_2_4_3_2->setChecked( FALSE ); + groupBox9_2_2_2_2_4_3_2->setChecked( false ); groupBox9_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical ); groupBox9_2_2_2_2_4_3_2->layout()->setSpacing( 7 ); groupBox9_2_2_2_2_4_3_2->layout()->setMargin( 4 ); @@ -1601,7 +1601,7 @@ DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent) textLabel7_4_2_3_3_2 = new TQLabel( tab5, "textLabel7_4_2_3_3_2" ); layout22->addWidget( textLabel7_4_2_3_3_2 ); - comboBox3_4_2_3_3_2 = new TQComboBox( FALSE, tab5, "comboBox3_4_2_3_3_2" ); + comboBox3_4_2_3_3_2 = new TQComboBox( false, tab5, "comboBox3_4_2_3_3_2" ); layout22->addWidget( comboBox3_4_2_3_3_2 ); pushButton4_4_2_3_3_2 = new TQPushButton( tab5, "pushButton4_4_2_3_3_2" ); diff --git a/getimages/getimages.cpp b/getimages/getimages.cpp index e87dae4..e6b6cc3 100644 --- a/getimages/getimages.cpp +++ b/getimages/getimages.cpp @@ -41,7 +41,7 @@ int main ( int /*argc*/, char **/*argv*/ ) TQImage::BigEndian ); if ( embed_image_vec[i].alpha ) - img->setAlphaBuffer( TRUE ); + img->setAlphaBuffer( true ); img->save(TQString("style_pixmaps/") + embed_image_vec[i].name + TQString(".png"), "PNG"); delete img; @@ -57,7 +57,7 @@ int main ( int /*argc*/, char **/*argv*/ ) TQImage::BigEndian ); if ( dembed::embed_image_vec[i].alpha ) - img->setAlphaBuffer( TRUE ); + img->setAlphaBuffer( true ); img->save(TQString("client_pixmaps/") + dembed::embed_image_vec[i].name + TQString(".png"), "PNG"); delete img; |