summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 09:54:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 09:52:27 +0900
commitb508dbd62ceb63c41e5a7bf847c4661a57c1d8f7 (patch)
tree3b605da5d6a2c5dffa93049096315ecc06c0f73d
parentf9d51b4ff1b4572fc229723c266c82a82fc923d7 (diff)
downloadtde-style-ia-ora-b508dbd62ceb63c41e5a7bf847c4661a57c1d8f7.tar.gz
tde-style-ia-ora-b508dbd62ceb63c41e5a7bf847c4661a57c1d8f7.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> (cherry picked from commit 1a898e5b81c140a2dc885094a6a450cb7984fd1a)
-rw-r--r--src/widget/ia_ora.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widget/ia_ora.cpp b/src/widget/ia_ora.cpp
index 31c2d4f..6295c99 100644
--- a/src/widget/ia_ora.cpp
+++ b/src/widget/ia_ora.cpp
@@ -353,7 +353,7 @@ void MandrivaStyle::updateHoverControl(const TQPoint &pos, const TQStyleControlE
void MandrivaStyle::applicationPolish(const TQStyleControlElementData &ceData, ControlElementFlags, void *ptr)
{
- if (ceData.widgetObjectTypes.contains(TQAPPLICATION_OBJECT_NAME_STRING)) {
+ if (ceData.widgetObjectTypes.contains("TQApplication")) {
TQApplication *app = reinterpret_cast<TQApplication*>(ptr);
if (!qstrcmp(app->argv()[0], "kicker")) {
kickerMode = true;
@@ -363,7 +363,7 @@ void MandrivaStyle::applicationPolish(const TQStyleControlElementData &ceData, C
void MandrivaStyle::polish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
{
- if (ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
+ if (ceData.widgetObjectTypes.contains("TQWidget")) {
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
// Put in order of highest occurance to maximize hit rate
@@ -418,7 +418,7 @@ void MandrivaStyle::polish(const TQStyleControlElementData &ceData, ControlEleme
void MandrivaStyle::unPolish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *ptr)
{
- if (ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
+ if (ceData.widgetObjectTypes.contains("TQWidget")) {
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
TQFont f = TQApplication::font();
@@ -3030,7 +3030,7 @@ bool MandrivaStyle::objectEventHandler( const TQStyleControlElementData &ceData,
return true;
}
- if (ceData.widgetObjectTypes.contains(TQOBJECT_OBJECT_NAME_STRING)) {
+ if (ceData.widgetObjectTypes.contains("TQObject")) {
TQObject* obj = reinterpret_cast<TQObject*>(source);
TQToolBar* toolbar;