Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 24f8d7e717)
r14.1.x
Michele Calgaro 1 year ago
parent bcffd86ea2
commit 92234290ca
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1505,7 +1505,7 @@ void DigikamApp::slotDownloadImages()
void DigikamApp::slotCameraConnect() void DigikamApp::slotCameraConnect()
{ {
CameraType* ctype = d->cameraList->find(TQString::fromUtf8(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name())); CameraType* ctype = d->cameraList->find(TQString::fromUtf8(TQT_TQOBJECT(sender())->name()));
if (ctype) if (ctype)
{ {

@ -261,7 +261,7 @@ TQDate KDateEdit::parseDate( bool *replaced ) const
bool KDateEdit::eventFilter( TQObject *object, TQEvent *event ) bool KDateEdit::eventFilter( TQObject *object, TQEvent *event )
{ {
if ( TQT_BASE_OBJECT(object) == TQT_BASE_OBJECT(lineEdit()) ) { if ( object == lineEdit() ) {
// We only process the focus out event if the text has changed // We only process the focus out event if the text has changed
// since we got focus // since we got focus
if ( (event->type() == TQEvent::FocusOut) && mTextChanged ) { if ( (event->type() == TQEvent::FocusOut) && mTextChanged ) {

@ -312,7 +312,7 @@ bool Sidebar::eventFilter(TQObject *obj, TQEvent *ev)
for (TQPtrListIterator<KMultiTabBarTab> it(*pTabs); it.current(); ++it) for (TQPtrListIterator<KMultiTabBarTab> it(*pTabs); it.current(); ++it)
{ {
if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(*it) ) if ( obj == *it )
{ {
if ( ev->type() == TQEvent::DragEnter) if ( ev->type() == TQEvent::DragEnter)
{ {

@ -674,7 +674,7 @@ void ShowFoto::slotChangeBCG()
{ {
TQString name; TQString name;
if (sender()) if (sender())
name = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); name = TQT_TQOBJECT(sender())->name();
if (name == "gamma_plus") if (name == "gamma_plus")
{ {

@ -403,7 +403,7 @@ void ImageResize::slotValuesChanged()
d->wpInput->blockSignals(true); d->wpInput->blockSignals(true);
d->hpInput->blockSignals(true); d->hpInput->blockSignals(true);
TQString s(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name()); TQString s(TQT_TQOBJECT(sender())->name());
if (s == "d->wInput") if (s == "d->wInput")
{ {

Loading…
Cancel
Save