summaryrefslogtreecommitdiffstats
path: root/domino/domino.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-12 09:52:50 +0900
committerMichele Calgaro <[email protected]>2023-07-13 09:47:40 +0900
commita32ce765611096e2f0d481b639ecf09c726fcfc8 (patch)
treebb17d148d72a3630c3eec4376e477384b3f50177 /domino/domino.cpp
parenta148cb863066f8fa7517afb7b42e16f5ebae8949 (diff)
downloadtde-style-domino-a32ce765611096e2f0d481b639ecf09c726fcfc8.tar.gz
tde-style-domino-a32ce765611096e2f0d481b639ecf09c726fcfc8.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 1b3271a8fcdf6eb05f2453a075d0aa1d90cde974)
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);