summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 23:42:49 +0900
commitc033bc0422fe9b5adc9842fc5a08dc8ff74f7357 (patch)
treef5871d8070a2fcd3c0e240481d5b4a0debe00d77 /kmymoney2/dialogs
parent2889777f69ae16aff91ebe836bcdf3b8ad43378c (diff)
downloadkmymoney-c033bc0422fe9b5adc9842fc5a08dc8ff74f7357.tar.gz
kmymoney-c033bc0422fe9b5adc9842fc5a08dc8ff74f7357.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b50df900ce9ce1c9ad3b2e6dd25feb5cde644e1d)
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r--kmymoney2/dialogs/kfindtransactiondlg.cpp2
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/dialogs/kfindtransactiondlg.cpp b/kmymoney2/dialogs/kfindtransactiondlg.cpp
index 6a4f245..9d8b743 100644
--- a/kmymoney2/dialogs/kfindtransactiondlg.cpp
+++ b/kmymoney2/dialogs/kfindtransactiondlg.cpp
@@ -796,7 +796,7 @@ bool KFindTransactionDlg::eventFilter(TQObject* o, TQEvent* e)
if(o->isWidgetType()) {
if(e->type() == TQEvent::KeyPress) {
const TQWidget* w = dynamic_cast<const TQWidget*>(o);
- TQKeyEvent *k = TQT_TQKEYEVENT (e);
+ TQKeyEvent *k = static_cast<TQKeyEvent*> (e);
if(w == m_register) {
switch(k->key()) {
default:
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 3d3b0c1..7a5cc06 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -208,7 +208,7 @@ void kMyMoneySplitTable::endEdit(int /*row*/, int /*col*/, bool /*accept*/, bool
bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e)
{
// MYMONEYTRACER(tracer);
- TQKeyEvent *k = TQT_TQKEYEVENT (e);
+ TQKeyEvent *k = static_cast<TQKeyEvent*> (e);
bool rc = false;
int row = currentRow();
int lines = visibleHeight()/rowHeight(0);