summaryrefslogtreecommitdiffstats
path: root/domino/domino.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 09:52:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 09:52:50 +0900
commit1b3271a8fcdf6eb05f2453a075d0aa1d90cde974 (patch)
treeecf4631667188cbf484530efd6472afc1a018183 /domino/domino.cpp
parent7ea023ba01690368432255073276eb3254733b22 (diff)
downloadtde-style-domino-1b3271a8fcdf6eb05f2453a075d0aa1d90cde974.tar.gz
tde-style-domino-1b3271a8fcdf6eb05f2453a075d0aa1d90cde974.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'domino/domino.cpp')
-rw-r--r--domino/domino.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/domino/domino.cpp b/domino/domino.cpp
index 214171e..669cb00 100644
--- a/domino/domino.cpp
+++ b/domino/domino.cpp
@@ -660,7 +660,7 @@ DominoStyle::~DominoStyle()
void DominoStyle::applicationPolish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr )
{
- if (!ceData.widgetObjectTypes.contains(TQAPPLICATION_OBJECT_NAME_STRING)) {
+ if (!ceData.widgetObjectTypes.contains("TQApplication")) {
return;
}
TQApplication *app = reinterpret_cast<TQApplication*>(ptr);
@@ -698,7 +698,7 @@ void DominoStyle::polish(TQPalette &p) {
void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr )
{
- if (!ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
+ if (!ceData.widgetObjectTypes.contains("TQWidget")) {
return;
}
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
@@ -1032,7 +1032,7 @@ void DominoStyle::polish( const TQStyleControlElementData &ceData, ControlElemen
void DominoStyle::unPolish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr )
{
- if (!ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
+ if (!ceData.widgetObjectTypes.contains("TQWidget")) {
return;
}
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);