diff options
Diffstat (limited to 'tests/test-painter.cpp')
-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; |