Drop TQT_BASE_OBJECT* defines #6

Merged
MicheleC merged 1 commits from drop/tqt-base-object-defines into master 9 months ago
Owner

TQT_BASE_OBJECT* defines will later be removed from tqtinterface.

TQT_BASE_OBJECT* defines will later be removed from tqtinterface.
MicheleC added this to the R14.1.1 release milestone 9 months ago
MicheleC added 1 commit 9 months ago
ef1ce91387
Drop TQT_BASE_OBJECT* defines
MicheleC requested review from Core 9 months ago
MicheleC requested review from Owners 9 months ago
MicheleC force-pushed drop/tqt-base-object-defines from ef1ce91387 to eb7bd96c05 9 months ago
MicheleC force-pushed drop/tqt-base-object-defines from eb7bd96c05 to 32c3c23804 9 months ago
SlavekB requested changes 9 months ago
SlavekB left a comment
Owner

I think the remaining const_cast<...> is unnecessary.

I think the remaining `const_cast<...>` is unnecessary.
#if defined(TDE_MAKE_VERSION) && (TDE_VERSION >= TDE_MAKE_VERSION(3,4,0))
void SlotLogAction::slotLogAction(TDEAction::ActivationReason reason, TQt::ButtonState state) {
const TQObject* sender=TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(TQObject::sender()));
const TQObject* sender=const_cast<TQObject*>(TQObject::sender());
Owner

It would be sufficient here too: const TQObject* sender=TQObject::sender();?

It would be sufficient here too: `const TQObject* sender=TQObject::sender();`?
Poster
Owner

PR updated, thanks for catching that.

PR updated, thanks for catching that.
MicheleC marked this conversation as resolved
MicheleC force-pushed drop/tqt-base-object-defines from 32c3c23804 to 06e303d75a 9 months ago
SlavekB approved these changes 9 months ago
SlavekB left a comment
Owner

It looks good.

It looks good.
MicheleC merged commit 06e303d75a into master 9 months ago
MicheleC deleted branch drop/tqt-base-object-defines 9 months ago
SlavekB referenced this issue from a commit 9 months ago
SlavekB referenced this issue from a commit 9 months ago
SlavekB referenced this issue from a commit 9 months ago

Reviewers

SlavekB approved these changes 9 months ago
TDE/Core was requested for review 9 months ago
The pull request has been merged as 06e303d75a.
Sign in to join this conversation.
No reviewers
TDE/Core
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/ksystemlog#6
Loading…
There is no content yet.