diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 09:38:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 09:45:42 +0900 |
commit | 6713ac1b169287c7c6c0572ef9951a66b796b9cf (patch) | |
tree | a47cd8f50ed8746094b51c443cd6405e8a6d317b /tests | |
parent | 64db9682b1d53d9d811a583bf909a49766681630 (diff) | |
download | gtk3-tqt-engine-6713ac1b169287c7c6c0572ef9951a66b796b9cf.tar.gz gtk3-tqt-engine-6713ac1b169287c7c6c0572ef9951a66b796b9cf.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 6a57fe022a5669d12195eda34c08d7b8870ca0c1)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-painter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-painter.cpp b/tests/test-painter.cpp index ad3eb36..9f5ba89 100644 --- a/tests/test-painter.cpp +++ b/tests/test-painter.cpp @@ -288,7 +288,7 @@ void runTests(TQPaintDevice* pd) { TQRect boundingRect(0, 0, width, height); TQStringList objectTypes; - objectTypes.append(TQTABBAR_OBJECT_NAME_STRING); + objectTypes.append("TQTabBar"); TQPalette objectPalette = tqApp->palette(objectTypes); TQStyleControlElementData ceData; @@ -301,7 +301,7 @@ void runTests(TQPaintDevice* pd) { TQStyleOption tabOpt(&tqt3Tab, (TQTab*)NULL); elementFlags = elementFlags | TQStyle::CEF_HasParentWidget; - ceData.parentWidgetData.widgetObjectTypes.append(TQTABBAR_OBJECT_NAME_STRING); + ceData.parentWidgetData.widgetObjectTypes.append("TQTabBar"); int tab_overlap = tqApp->style().pixelMetric(TQStyle::PM_TabBarTabOverlap); x = x + width + tab_overlap; @@ -332,7 +332,7 @@ void runTests(TQPaintDevice* pd) { TQRect boundingRect(0, 0, width, height); TQStringList objectTypes; - objectTypes.append(TQTABBAR_OBJECT_NAME_STRING); + objectTypes.append("TQTabBar"); TQPalette objectPalette = tqApp->palette(objectTypes); TQStyleControlElementData ceData; @@ -345,7 +345,7 @@ void runTests(TQPaintDevice* pd) { TQStyleOption tabOpt(&tqt3Tab, (TQTab*)NULL); elementFlags = elementFlags | TQStyle::CEF_HasParentWidget; - ceData.parentWidgetData.widgetObjectTypes.append(TQTABBAR_OBJECT_NAME_STRING); + ceData.parentWidgetData.widgetObjectTypes.append("TQTabBar"); int tab_overlap = tqApp->style().pixelMetric(TQStyle::PM_TabBarTabOverlap); x = x - width - tab_overlap; |