Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 9 months ago
parent 09a41f75b0
commit 24f8d7e717
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1505,7 +1505,7 @@ void DigikamApp::slotDownloadImages()
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)
{

@ -261,7 +261,7 @@ TQDate KDateEdit::parseDate( bool *replaced ) const
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
// since we got focus
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)
{
if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(*it) )
if ( obj == *it )
{
if ( ev->type() == TQEvent::DragEnter)
{

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

@ -403,7 +403,7 @@ void ImageResize::slotValuesChanged()
d->wpInput->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")
{

Loading…
Cancel
Save