summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoParagDia.cpp')
-rw-r--r--lib/kotext/KoParagDia.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoParagDia.cpp b/lib/kotext/KoParagDia.cpp
index 65cc1f2e..3ee02617 100644
--- a/lib/kotext/KoParagDia.cpp
+++ b/lib/kotext/KoParagDia.cpp
@@ -1454,7 +1454,7 @@ void KoParagDecorationWidget::slotPressEvent(TQMouseEvent *_ev)
TQRect r = wPreview->contentsRect();
TQRect rect(r.x() + OFFSETX, r.y() + OFFSETY,
r.width() - OFFSETX, r.y() + OFFSETY + Ko_SPACE);
- if(rect.tqcontains(TQPoint(_ev->x(),_ev->y())))
+ if(rect.contains(TQPoint(_ev->x(),_ev->y())))
{
clickedBorderPreview( m_topBorder, KoBorder::TopBorder,
wDeco->bBorderTop );
@@ -1462,7 +1462,7 @@ void KoParagDecorationWidget::slotPressEvent(TQMouseEvent *_ev)
rect.setCoords(r.x() + OFFSETX, r.height() - OFFSETY - Ko_SPACE,
r.width() - OFFSETX, r.height() - OFFSETY);
- if(rect.tqcontains(TQPoint(_ev->x(),_ev->y())))
+ if(rect.contains(TQPoint(_ev->x(),_ev->y())))
{
clickedBorderPreview( m_bottomBorder, KoBorder::BottomBorder,
wDeco->bBorderBottom );
@@ -1470,7 +1470,7 @@ void KoParagDecorationWidget::slotPressEvent(TQMouseEvent *_ev)
rect.setCoords(r.x() + OFFSETX, r.y() + OFFSETY,
r.x() + Ko_SPACE + OFFSETX, r.height() - OFFSETY);
- if(rect.tqcontains(TQPoint(_ev->x(),_ev->y())))
+ if(rect.contains(TQPoint(_ev->x(),_ev->y())))
{
clickedBorderPreview( m_leftBorder, KoBorder::LeftBorder,
wDeco->bBorderLeft );
@@ -1478,7 +1478,7 @@ void KoParagDecorationWidget::slotPressEvent(TQMouseEvent *_ev)
rect.setCoords(r.width() - OFFSETX - Ko_SPACE, r.y() + OFFSETY,
r.width() - OFFSETX, r.height() - OFFSETY);
- if(rect.tqcontains(TQPoint(_ev->x(),_ev->y())))
+ if(rect.contains(TQPoint(_ev->x(),_ev->y())))
{
clickedBorderPreview( m_rightBorder, KoBorder::RightBorder,
wDeco->bBorderRight );
@@ -1960,7 +1960,7 @@ void KoParagTabulatorsWidget::newClicked() {
newTab.ptWidth=m_tabList[selected].ptWidth;
m_tabList.insert(m_tabList.at(selected), newTab);
lstTabs->insertItem( tabToString(newTab), selected);
- lstTabs->setCurrentItem(lstTabs->tqfindItem(tabToString(newTab)));
+ lstTabs->setCurrentItem(lstTabs->findItem(tabToString(newTab)));
sortLists();
}
}
@@ -2113,7 +2113,7 @@ void KoParagTabulatorsWidget::sortLists() {
for ( ; it != m_tabList.end(); ++it )
lstTabs->insertItem( KoUnit::toUserStringValue( (*it).ptPos, m_unit ) );
- lstTabs->setCurrentItem(lstTabs->tqfindItem(curValue));
+ lstTabs->setCurrentItem(lstTabs->findItem(curValue));
noSignals=false;
}