diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /vcs/subversion/commitdlg.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 e227dd67..c456f7c2 100644 --- a/vcs/subversion/commitdlg.cpp +++ b/vcs/subversion/commitdlg.cpp @@ -19,20 +19,20 @@ ***************************************************************************/ #include "commitdlg.h" -#include <qevent.h> +#include <tqevent.h> #include <ktextedit.h> -CommitDlg::CommitDlg( QWidget* parent ) +CommitDlg::CommitDlg( TQWidget* parent ) : CommitDlgBase( parent ) { textMessage->installEventFilter(this); } -bool CommitDlg::eventFilter( QObject* obj, QEvent* ev ) +bool CommitDlg::eventFilter( TQObject* obj, TQEvent* ev ) { - if( ev->type() == QEvent::KeyPress ) + if( ev->type() == TQEvent::KeyPress ) { - QKeyEvent* k = static_cast<QKeyEvent*>(ev); + TQKeyEvent* k = static_cast<TQKeyEvent*>(ev); if( ( k->key() == Qt::Key_Return || k->key() == Qt::Key_Enter ) && k->state() == Qt::ControlButton ) { accept(); |