summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
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);