summaryrefslogtreecommitdiffstats
path: root/kexi/widget/relations
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:44:08 +0900
committerMichele Calgaro <[email protected]>2023-08-18 21:44:59 +0900
commit1607518b8c749b4195c5ab11b405f77001526a6a (patch)
tree89b8bc00c6b9625f6a4f061594f57f457d18a174 /kexi/widget/relations
parent64574118b7f71db7cb0a7f513a824dd51185b632 (diff)
downloadkoffice-1607518b8c749b4195c5ab11b405f77001526a6a.tar.gz
koffice-1607518b8c749b4195c5ab11b405f77001526a6a.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
Diffstat (limited to 'kexi/widget/relations')
-rw-r--r--kexi/widget/relations/kexirelationwidget.cpp8
1 files changed, 4 insertions, 4 deletions
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<TQT_BASE_OBJECT_NAME*>(sender())))
+// if (m_relationView->focusedTableView == sender())
// return;
// kdDebug() << "GOT FOCUS!" <<endl;
// clearSelection();
// if (m_focusedTableView)
// m_focusedTableView->unsetFocus();
-// m_focusedTableView = (KexiRelationViewTableContainer*)TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(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<TQT_BASE_OBJECT_NAME*>(sender()))->isA("KexiRelationViewTable"))
+ if (!sender()->isA("KexiRelationViewTable"))
return;
- const KexiRelationViewTable* t = static_cast<const KexiRelationViewTable*>(TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME*>(sender())));
+ const KexiRelationViewTable* t = static_cast<const KexiRelationViewTable*>(sender());
const TQStringList selectedFieldNames( t->selectedFieldNames() );
if (selectedFieldNames.count()==1)
emit tableFieldDoubleClicked( t->schema()->table(), selectedFieldNames.first() );