diff options
Diffstat (limited to 'vcs/subversion/commitdlg.cpp')
-rw-r--r-- | vcs/subversion/commitdlg.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcs/subversion/commitdlg.cpp b/vcs/subversion/commitdlg.cpp index c456f7c2..df519d02 100644 --- a/vcs/subversion/commitdlg.cpp +++ b/vcs/subversion/commitdlg.cpp @@ -22,8 +22,8 @@ #include <tqevent.h> #include <ktextedit.h> -CommitDlg::CommitDlg( TQWidget* parent ) - : CommitDlgBase( parent ) +CommitDlg::CommitDlg( TQWidget* tqparent ) + : CommitDlgBase( tqparent ) { textMessage->installEventFilter(this); } @@ -32,8 +32,8 @@ bool CommitDlg::eventFilter( TQObject* obj, TQEvent* ev ) { if( ev->type() == TQEvent::KeyPress ) { - TQKeyEvent* k = static_cast<TQKeyEvent*>(ev); - if( ( k->key() == Qt::Key_Return || k->key() == Qt::Key_Enter ) && k->state() == Qt::ControlButton ) + TQKeyEvent* k = TQT_TQKEYEVENT(ev); + if( ( k->key() == TQt::Key_Return || k->key() == TQt::Key_Enter ) && k->state() == TQt::ControlButton ) { accept(); return true; @@ -44,4 +44,4 @@ bool CommitDlg::eventFilter( TQObject* obj, TQEvent* ev ) #include "commitdlg.moc" -//kate: space-indent on; indent-width 4; replace-tabs on; auto-insert-doxygen on; indent-mode cstyle; +//kate: space-indent on; indent-width 4; tqreplace-tabs on; auto-insert-doxygen on; indent-mode cstyle; |