summaryrefslogtreecommitdiffstats
path: root/kword/KWFrameView.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kword/KWFrameView.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-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 'kword/KWFrameView.cpp')
-rw-r--r--kword/KWFrameView.cpp10
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);
}