diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:47:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-15 15:49:16 +0900 |
commit | 6c1a3b2f458949d56c9e1ff2bdf0b1cb33e73d93 (patch) | |
tree | 04ee58c25de7a5c8782f4fe98141327dcbf722fb /atlantik | |
parent | bfbab5a5ea0f49e0cb812db1d977b99ece5258d4 (diff) | |
download | tdegames-6c1a3b2f458949d56c9e1ff2bdf0b1cb33e73d93.tar.gz tdegames-6c1a3b2f458949d56c9e1ff2bdf0b1cb33e73d93.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'atlantik')
-rw-r--r-- | atlantik/client/selectconfiguration_widget.cpp | 8 | ||||
-rw-r--r-- | atlantik/libatlantikui/estatedetails.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/atlantik/client/selectconfiguration_widget.cpp b/atlantik/client/selectconfiguration_widget.cpp index f8f55855..b8ea7cd7 100644 --- a/atlantik/client/selectconfiguration_widget.cpp +++ b/atlantik/client/selectconfiguration_widget.cpp @@ -127,11 +127,11 @@ void SelectConfiguration::gameOption(TQString title, TQString type, TQString val void SelectConfiguration::changeOption() { - ConfigOption *configOption = m_configMap[(TQObject *)TQT_BASE_OBJECT_NAME::sender()]; + ConfigOption *configOption = m_configMap[(TQObject *)TQObject::sender()]; if (configOption) { - kdDebug() << "checked " << ((TQCheckBox *)TQT_BASE_OBJECT_NAME::sender())->isChecked() << endl; - emit changeOption( configOption->id(), TQString::number( ((TQCheckBox *)TQT_BASE_OBJECT_NAME::sender())->isChecked() ) ); + kdDebug() << "checked " << ((TQCheckBox *)TQObject::sender())->isChecked() << endl; + emit changeOption( configOption->id(), TQString::number( ((TQCheckBox *)TQObject::sender())->isChecked() ) ); } } @@ -148,7 +148,7 @@ void SelectConfiguration::optionChanged(ConfigOption *configOption) void SelectConfiguration::optionChanged() { - TQString command = m_optionCommandMap[(TQObject *)TQT_BASE_OBJECT_NAME::sender()]; + TQString command = m_optionCommandMap[(TQObject *)TQObject::sender()]; if (TQCheckBox *checkBox = m_checkBoxMap[command]) { diff --git a/atlantik/libatlantikui/estatedetails.cpp b/atlantik/libatlantikui/estatedetails.cpp index f89ad96e..03ff0f13 100644 --- a/atlantik/libatlantikui/estatedetails.cpp +++ b/atlantik/libatlantikui/estatedetails.cpp @@ -321,7 +321,7 @@ void EstateDetails::clearButtons() void EstateDetails::buttonPressed() { - emit buttonCommand(TQString(m_buttonCommandMap[(TQObject *)TQT_BASE_OBJECT_NAME::sender()])); + emit buttonCommand(TQString(m_buttonCommandMap[(TQObject *)TQObject::sender()])); } #include "estatedetails.moc" |