summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewSubwidgets.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kdgantt/KDGanttViewSubwidgets.cpp
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz
koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt/KDGanttViewSubwidgets.cpp')
-rw-r--r--kdgantt/KDGanttViewSubwidgets.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp
index e38b09373..8dcd5c750 100644
--- a/kdgantt/KDGanttViewSubwidgets.cpp
+++ b/kdgantt/KDGanttViewSubwidgets.cpp
@@ -140,13 +140,13 @@ void KDTimeTableWidget::removeItemFromTasklinks( KDGanttViewItem* item)
void KDTimeTableWidget::expandItem( TQListViewItem * item)
{
- item->tqinvalidateHeight () ;
+ item->invalidateHeight () ;
//tqApp->processEvents();
updateMyContent();
}
void KDTimeTableWidget::collapseItem( TQListViewItem * item)
{
- item->tqinvalidateHeight () ;
+ item->invalidateHeight () ;
//tqApp->processEvents();
updateMyContent();
}
@@ -160,7 +160,7 @@ void KDTimeTableWidget::highlightItem( TQListViewItem * item )
highlightedItem = ( KDGanttViewItem*)item;
itemwashighlighted = highlightedItem->highlight();
highlightedItem->setHighlight(true);
- item->tqinvalidateHeight () ;
+ item->invalidateHeight () ;
myGanttView->myListView->contentsY();
updateMyContent();
}
@@ -2529,19 +2529,19 @@ void KDTimeHeaderWidget::mouseMoveEvent ( TQMouseEvent * e )
val = 0;
}
}
- if (endMouseDown > -x() +tqparentWidget()->width() ) {
+ if (endMouseDown > -x() +parentWidget()->width() ) {
val = myGanttView->myCanvasView->horizontalScrollBar()->value() +
myGanttView->myCanvasView->horizontalScrollBar()->lineStep();
}
- repaintMe(-x(),tqparentWidget()->width());
+ repaintMe(-x(),parentWidget()->width());
if ( val > -1 ) {
if ( val > myGanttView->myCanvasView->horizontalScrollBar()->maxValue() ) {
val = myGanttView->myCanvasView->horizontalScrollBar()->maxValue();
}
myGanttView->myCanvasView->horizontalScrollBar()->setValue( val );
}
- //qDebug("mousemove %d %d %d %d",endMouseDown, -x(),tqparentWidget()->width() , e->pos().y());
+ //qDebug("mousemove %d %d %d %d",endMouseDown, -x(),parentWidget()->width() , e->pos().y());
}
}
@@ -3103,62 +3103,62 @@ void KDListView::startDrag ()
}
KDCanvasText::KDCanvasText( KDTimeTableWidget* canvas,
- void* tqparentItem,
+ void* parentItem,
int type ) :
TQCanvasText(canvas)
{
myParentType = type;
- myParentItem = tqparentItem;
+ myParentItem = parentItem;
}
KDCanvasLine::KDCanvasLine( KDTimeTableWidget* canvas,
- void* tqparentItem,
+ void* parentItem,
int type ) :
TQCanvasLine(canvas)
{
myParentType = type;
- myParentItem = tqparentItem;
+ myParentItem = parentItem;
}
KDCanvasPolygonItem::KDCanvasPolygonItem( KDTimeTableWidget* canvas,
- void* tqparentItem,
+ void* parentItem,
int type ) :
TQCanvasPolygonalItem( canvas )
{
myParentType = type;
- myParentItem = tqparentItem;
+ myParentItem = parentItem;
}
KDCanvasPolygon::KDCanvasPolygon( KDTimeTableWidget* canvas,
- void* tqparentItem,
+ void* parentItem,
int type ) :
TQCanvasPolygon( canvas )
{
myParentType = type;
- myParentItem = tqparentItem;
+ myParentItem = parentItem;
}
KDCanvasEllipse::KDCanvasEllipse( KDTimeTableWidget* canvas,
- void* tqparentItem,
+ void* parentItem,
int type ) :
TQCanvasEllipse( canvas )
{
myParentType = type;
- myParentItem = tqparentItem;
+ myParentItem = parentItem;
}
KDCanvasRectangle::KDCanvasRectangle( KDTimeTableWidget* canvas,
- void* tqparentItem,
+ void* parentItem,
int type ) :
TQCanvasRectangle( canvas )
{
myParentType = type;
- myParentItem = tqparentItem;
+ myParentItem = parentItem;
}