diff options
Diffstat (limited to 'kmymoney2')
-rw-r--r-- | kmymoney2/dialogs/kfindtransactiondlg.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/kmymoneysplittable.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/views/kgloballedgerview.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneycompletion.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneyedit.cpp | 2 |
5 files changed, 5 insertions, 5 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); diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp index 8aec576..0b339de 100644 --- a/kmymoney2/views/kgloballedgerview.cpp +++ b/kmymoney2/views/kgloballedgerview.cpp @@ -1271,7 +1271,7 @@ bool TDEGlobalLedgerView::eventFilter(TQObject* o, TQEvent* e) bool rc = false; if(e->type() == TQEvent::KeyPress) { - TQKeyEvent *k = TQT_TQKEYEVENT(e); + TQKeyEvent *k = static_cast<TQKeyEvent*>(e); if(m_inEditMode) { // tqDebug(TQString("object = %1, key = %2").arg(o->className()).arg(k->key())); if(o == m_register) { diff --git a/kmymoney2/widgets/kmymoneycompletion.cpp b/kmymoney2/widgets/kmymoneycompletion.cpp index ef763cc..eb818d8 100644 --- a/kmymoney2/widgets/kmymoneycompletion.cpp +++ b/kmymoney2/widgets/kmymoneycompletion.cpp @@ -172,7 +172,7 @@ bool kMyMoneyCompletion::eventFilter(TQObject* o, TQEvent* e) if(o == m_parent || (c && o == c->lineEdit())) { if(isVisible()) { if(type == TQEvent::KeyPress) { - TQKeyEvent* ev = TQT_TQKEYEVENT (e); + TQKeyEvent* ev = static_cast<TQKeyEvent*> (e); TQKeyEvent evt(TQEvent::KeyPress, Key_Down, 0, ev->state(), TQString(), ev->isAutoRepeat(), ev->count()); diff --git a/kmymoney2/widgets/kmymoneyedit.cpp b/kmymoney2/widgets/kmymoneyedit.cpp index 9386813..609037e 100644 --- a/kmymoney2/widgets/kmymoneyedit.cpp +++ b/kmymoney2/widgets/kmymoneyedit.cpp @@ -404,7 +404,7 @@ bool kMyMoneyEdit::eventFilter(TQObject * /* o */ , TQEvent *e ) // we want to catch some keys that are usually handled by // the base class (e.g. '+', '-', etc.) if(e->type() == TQEvent::KeyPress) { - TQKeyEvent *k = TQT_TQKEYEVENT (e); + TQKeyEvent *k = static_cast<TQKeyEvent*> (e); rc = true; switch(k->key()) { |