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 20:22:59 +0900
commita7ea84c97639f635d798348432f355e3ac496a1d (patch)
tree34917a6af147ff19cc1f059ef72db53a196d4b61 /kexi/widget/kexibrowser.cpp
parentca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d (diff)
downloadkoffice-a7ea84c97639f635d798348432f355e3ac496a1d.tar.gz
koffice-a7ea84c97639f635d798348432f355e3ac496a1d.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 3e16cddca..99deccf63 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();
}