summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:47 +0900
commit33b2598a0e14810025fd31406a689f561015e074 (patch)
treec3a0d7c8009f7452d749d7b2cc0be37b134eeaa0
parent676a13490dc7163e5c99a0f39094a2a4148d3963 (diff)
downloadtdevelop-33b2598a0e14810025fd31406a689f561015e074.tar.gz
tdevelop-33b2598a0e14810025fd31406a689f561015e074.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--lib/widgets/propeditor/ppixmapedit.cpp2
-rw-r--r--vcs/subversion/commitdlg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/propeditor/ppixmapedit.cpp b/lib/widgets/propeditor/ppixmapedit.cpp
index 5effbf42..3241f892 100644
--- a/lib/widgets/propeditor/ppixmapedit.cpp
+++ b/lib/widgets/propeditor/ppixmapedit.cpp
@@ -131,7 +131,7 @@ bool PPixmapEdit::eventFilter(TQObject *o, TQEvent *ev)
}
if(ev->type() == TQEvent::KeyPress)
{
- TQKeyEvent* e = TQT_TQKEYEVENT(ev);
+ TQKeyEvent* e = static_cast<TQKeyEvent*>(ev);
if((e->key() == Key_Enter) || (e->key()== Key_Space) || (e->key() == Key_Return))
{
m_button->animateClick();
diff --git a/vcs/subversion/commitdlg.cpp b/vcs/subversion/commitdlg.cpp
index b342da09..f1987250 100644
--- a/vcs/subversion/commitdlg.cpp
+++ b/vcs/subversion/commitdlg.cpp
@@ -32,7 +32,7 @@ bool CommitDlg::eventFilter( TQObject* obj, TQEvent* ev )
{
if( ev->type() == TQEvent::KeyPress )
{
- TQKeyEvent* k = TQT_TQKEYEVENT(ev);
+ TQKeyEvent* k = static_cast<TQKeyEvent*>(ev);
if( ( k->key() == TQt::Key_Return || k->key() == TQt::Key_Enter ) && k->state() == TQt::ControlButton )
{
accept();