diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kspread/kspread_editors.cc | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/kspread_editors.cc')
-rw-r--r-- | kspread/kspread_editors.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kspread/kspread_editors.cc b/kspread/kspread_editors.cc index c9948189..ddf41d31 100644 --- a/kspread/kspread_editors.cc +++ b/kspread/kspread_editors.cc @@ -1195,7 +1195,7 @@ bool CellEditor::eventFilter( TQObject* o, TQEvent* e ) k->key() == Key_Return || k->key() == Key_Enter) { // Send directly to canvas - TQApplication::sendEvent( tqparent(), e ); + TQApplication::sendEvent( parent(), e ); return true; } } @@ -1213,10 +1213,10 @@ bool CellEditor::eventFilter( TQObject* o, TQEvent* e ) // editor leaves editing mode ... otherwise editing is annoying // left/right arrows still work with the F2-editor. - // Forward left & right arrows to tqparent, unless this editor has been set to capture arrow key events + // Forward left & right arrows to parent, unless this editor has been set to capture arrow key events // Changed to this behaviour for consistancy with OO Calc & MS Office. if ( ((k->key() == TQt::Key_Left) || (k->key() == TQt::Key_Right)) && (!d->captureAllKeyEvents)) { - TQApplication::sendEvent (tqparent(), e); + TQApplication::sendEvent (parent(), e); return true; } } @@ -1398,7 +1398,7 @@ void LocationEditWidget::keyPressEvent( TQKeyEvent * _ev ) if ( _ev->state() & ( TQt::AltButton | TQt::ControlButton ) ) { TQLineEdit::keyPressEvent( _ev ); - // Never allow that keys are passed on to the tqparent. + // Never allow that keys are passed on to the parent. _ev->accept(); return; @@ -1433,7 +1433,7 @@ void LocationEditWidget::keyPressEvent( TQKeyEvent * _ev ) break; default: TQLineEdit::keyPressEvent( _ev ); - // Never allow that keys are passed on to the tqparent. + // Never allow that keys are passed on to the parent. _ev->accept(); } } |