Drop TQT_BASE_OBJECT* defines #6
Merged
MicheleC
merged 1 commits from drop/tqt-base-object-defines
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'drop/tqt-base-object-defines'
Deleting a branch is permanent. It CANNOT be undone. Continue?
TQT_BASE_OBJECT* defines will later be removed from tqtinterface.
ef1ce91387
toeb7bd96c05
1 year agoeb7bd96c05
to32c3c23804
1 year agoI 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());
It would be sufficient here too:
const TQObject* sender=TQObject::sender();
?PR updated, thanks for catching that.
32c3c23804
to06e303d75a
1 year agoIt looks good.
06e303d75a
into master 1 year agoReviewers
06e303d75a
.