summaryrefslogtreecommitdiffstats
path: root/atlantik
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:47:01 +0900
committerMichele Calgaro <[email protected]>2023-08-15 20:10:31 +0900
commit65ea671221fd8c4da167553547097672ff12610e (patch)
tree18391347cf4bc97d29d8678aa2d13cd2359d1a1b /atlantik
parentef381c09614ad289332c5f1e5a987213861e4f2d (diff)
downloadtdegames-65ea671221fd8c4da167553547097672ff12610e.tar.gz
tdegames-65ea671221fd8c4da167553547097672ff12610e.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 6c1a3b2f458949d56c9e1ff2bdf0b1cb33e73d93)
Diffstat (limited to 'atlantik')
-rw-r--r--atlantik/client/selectconfiguration_widget.cpp8
-rw-r--r--atlantik/libatlantikui/estatedetails.cpp2
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"