summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexibrowser.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:44:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 21:44:59 +0900
commit1607518b8c749b4195c5ab11b405f77001526a6a (patch)
tree89b8bc00c6b9625f6a4f061594f57f457d18a174 /kexi/widget/kexibrowser.cpp
parent64574118b7f71db7cb0a7f513a824dd51185b632 (diff)
downloadkoffice-1607518b8c749b4195c5ab11b405f77001526a6a.tar.gz
koffice-1607518b8c749b4195c5ab11b405f77001526a6a.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
Diffstat (limited to 'kexi/widget/kexibrowser.cpp')
-rw-r--r--kexi/widget/kexibrowser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/kexibrowser.cpp b/kexi/widget/kexibrowser.cpp
index 3e16cddc..99deccf6 100644
--- a/kexi/widget/kexibrowser.cpp
+++ b/kexi/widget/kexibrowser.cpp
@@ -553,16 +553,16 @@ void KexiBrowser::installEventFilter ( const TQObject * filterObj )
{
if (!filterObj)
return;
- m_list->installEventFilter ( const_cast<TQObject*>(filterObj) );
- TQWidget::installEventFilter ( const_cast<TQObject*>(filterObj) );
+ m_list->installEventFilter ( filterObj );
+ TQWidget::installEventFilter ( filterObj );
}
bool KexiBrowser::eventFilter ( TQObject *o, TQEvent * e )
{
- if (TQT_BASE_OBJECT(o)==TQT_BASE_OBJECT(m_list) && e->type()==TQEvent::Resize) {
+ if (o==m_list && e->type()==TQEvent::Resize) {
kdDebug() << "resize!" << endl;
}
- if (TQT_BASE_OBJECT(o)==TQT_BASE_OBJECT(m_list->renameLineEdit())) {
+ if (o==m_list->renameLineEdit()) {
if (e->type()==TQEvent::Hide)
itemRenameDone();
}