diff options
Diffstat (limited to 'kword/KWFrameView.cpp')
-rw-r--r-- | kword/KWFrameView.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/KWFrameView.cpp b/kword/KWFrameView.cpp index 4904ec98..927b0f13 100644 --- a/kword/KWFrameView.cpp +++ b/kword/KWFrameView.cpp @@ -39,8 +39,8 @@ static const double HORIZONTAL_SNAP = 6; // horizontal snap zone (in pt) static const double VERTICAL_SNAP = 6; // vertical snap zone (in pt) -KWFrameView::KWFrameView(KWFrameViewManager *tqparent, KWFrame *frame) { - m_manager = tqparent; +KWFrameView::KWFrameView(KWFrameViewManager *parent, KWFrame *frame) { + m_manager = parent; Q_ASSERT(frame); Q_ASSERT(frame->frameSet()); m_frame = frame; @@ -243,7 +243,7 @@ MouseMeaning TableFramePolicy::mouseMeaning( const KoPoint &point, int keyState return MEANING_MOUSE_SELECT; // Shift _and_ at least a frame is selected already // (shift + no frame selected is used to select text) - if ( (keyState & TQt::ShiftButton) && m_view->tqparent()->selectedFrame() != 0 ) + if ( (keyState & TQt::ShiftButton) && m_view->parent()->selectedFrame() != 0 ) return MEANING_MOUSE_SELECT; return MEANING_MOUSE_INSIDE_TEXT; @@ -291,7 +291,7 @@ void TableFramePolicy::setSelected(MouseMeaning selectPolicy) { unsigned int column = static_cast<KWTableFrameSet::Cell *>(fs)->firstColumn(); for (KWTableFrameSet::TableIter cells(fs->groupmanager()); cells; ++cells) { if(cells->firstColumn() >= column && cells->lastColumn() <= column) { - KWFrameView *fv = m_view->tqparent()->view(cells->frame(0)); + KWFrameView *fv = m_view->parent()->view(cells->frame(0)); if(fv) fv->setSelected(true); } @@ -301,7 +301,7 @@ void TableFramePolicy::setSelected(MouseMeaning selectPolicy) { unsigned int row = static_cast<KWTableFrameSet::Cell *>(fs)->firstRow(); for (KWTableFrameSet::TableIter cells(fs->groupmanager()); cells; ++cells) { if(cells->firstRow() >= row && cells->lastRow() <= row) { - KWFrameView *fv = m_view->tqparent()->view(cells->frame(0)); + KWFrameView *fv = m_view->parent()->view(cells->frame(0)); if(fv) fv->setSelected(true); } |