summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--domino/domino.cpp6
-rw-r--r--domino/eventfilter.cpp2
2 files changed, 4 insertions, 4 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);
diff --git a/domino/eventfilter.cpp b/domino/eventfilter.cpp
index af9c9e8..1169f55 100644
--- a/domino/eventfilter.cpp
+++ b/domino/eventfilter.cpp
@@ -25,7 +25,7 @@ bool DominoStyle::objectEventHandler( const TQStyleControlElementData &ceData,
return true;
}
- if (!ceData.widgetObjectTypes.contains(TQOBJECT_OBJECT_NAME_STRING)) {
+ if (!ceData.widgetObjectTypes.contains("TQObject")) {
return false;
}
TQObject* obj = reinterpret_cast<TQObject*>(source);