From a7ea84c97639f635d798348432f355e3ac496a1d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:44:08 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- kexi/widget/relations/kexirelationwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kexi/widget/relations') diff --git a/kexi/widget/relations/kexirelationwidget.cpp b/kexi/widget/relations/kexirelationwidget.cpp index b1ad05fc..94d81348 100644 --- a/kexi/widget/relations/kexirelationwidget.cpp +++ b/kexi/widget/relations/kexirelationwidget.cpp @@ -221,13 +221,13 @@ KexiRelationWidget::addTable(const TQString& t) void KexiRelationWidget::tableViewGotFocus() { -// if (m_relationView->focusedTableView == TQT_TQOBJECT(const_cast(sender()))) +// if (m_relationView->focusedTableView == sender()) // return; // kdDebug() << "GOT FOCUS!" <unsetFocus(); -// m_focusedTableView = (KexiRelationViewTableContainer*)TQT_TQOBJECT(const_cast(sender())); +// m_focusedTableView = (KexiRelationViewTableContainer*)sender(); invalidateActions(); } @@ -339,9 +339,9 @@ void KexiRelationWidget::aboutToShowPopupMenu() void KexiRelationWidget::slotTableFieldDoubleClicked(TQListViewItem *i,const TQPoint&,int) { - if (!TQT_TQOBJECT(const_cast(sender()))->isA("KexiRelationViewTable")) + if (!sender()->isA("KexiRelationViewTable")) return; - const KexiRelationViewTable* t = static_cast(TQT_TQWIDGET(const_cast(sender()))); + const KexiRelationViewTable* t = static_cast(sender()); const TQStringList selectedFieldNames( t->selectedFieldNames() ); if (selectedFieldNames.count()==1) emit tableFieldDoubleClicked( t->schema()->table(), selectedFieldNames.first() ); -- cgit v1.2.1