summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttView.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
commit7d18baa666593a494ceea480732a8540ba471fe5 (patch)
tree1c656ba0da61a3bfcf4c4de730e66322865844fe /kdgantt/KDGanttView.cpp
parent951839808408bed4165fc025dbf00caf59ea319b (diff)
downloadkoffice-7d18baa666593a494ceea480732a8540ba471fe5.tar.gz
koffice-7d18baa666593a494ceea480732a8540ba471fe5.zip
Rename additional global TQt functions
Diffstat (limited to 'kdgantt/KDGanttView.cpp')
-rw-r--r--kdgantt/KDGanttView.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp
index 4163fef13..87f5d3ff5 100644
--- a/kdgantt/KDGanttView.cpp
+++ b/kdgantt/KDGanttView.cpp
@@ -303,7 +303,7 @@ void KDGanttView::show()
bool KDGanttView::close ( bool alsoDelete )
{
- //qDebug("close ");
+ //tqDebug("close ");
if ( closingBlocked )
return false;
return TQWidget::close ( alsoDelete );
@@ -346,7 +346,7 @@ TQSize KDGanttView::sizeHint() const
//hintWid += myTimeHeader->mySizeHint+myCanvasView->verticalScrollBar()->width();
hintWid += myCanvasView->sizeHint().width();
// add 10 for the splitter-bars
- // qDebug("sizehint %d %d ",hintWid+10, hintHeight );
+ // tqDebug("sizehint %d %d ",hintWid+10, hintHeight );
myTimeTable->setBlockUpdating( block );
return TQSize( hintWid+10, hintHeight );
}
@@ -581,7 +581,7 @@ void KDGanttView::forceRepaint( int )
{
if ( myTimeTable->blockUpdating() )
return;
- // qDebug("forceRepaint( int ) ");
+ // tqDebug("forceRepaint( int ) ");
myTimeTable->setAllChanged();
myTimeTable->update();
}
@@ -821,8 +821,8 @@ bool KDGanttView::loadProject( TQIODevice* device )
TQString err;
int errline, errcol;
if ( !doc.setContent( device, &err, &errline, &errcol ) ) {
- qDebug("KDGantt::Error parsing XML data at line %d. Message is:", errline );
- qDebug("%s ", err.latin1());
+ tqDebug("KDGantt::Error parsing XML data at line %d. Message is:", errline );
+ tqDebug("%s ", err.latin1());
device->close();
return false;
}
@@ -2668,7 +2668,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
color = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2733,7 +2733,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if ( value == "Undefined" )
undefinedShape = true;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2772,7 +2772,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if ( value == "Undefined" )
undefinedShape = true;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2810,7 +2810,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if ( value == "Undefined" )
undefinedShape = true;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2821,7 +2821,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
middleShape, endShape, false );
undefinedShape = false;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2853,7 +2853,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
endColor = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2881,7 +2881,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
endColor = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2909,7 +2909,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
endColor = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2918,7 +2918,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
setColors( KDGanttViewItem::Summary, startColor,
middleColor, endColor , false);
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2946,7 +2946,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
setDefaultColor( KDGanttViewItem::Summary,
value , false);
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -2979,7 +2979,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
endColor = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3008,7 +3008,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
endColor = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3037,7 +3037,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
endColor = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3047,7 +3047,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
startColor,
middleColor, endColor, false );
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3075,7 +3075,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
setDefaultHighlightColor( KDGanttViewItem::Summary,
value, false );
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3102,7 +3102,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
element );
previous = newItem;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3118,7 +3118,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( tagName == "TaskLink" )
KDGanttViewTaskLink::createFromDomElement( element );
else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3134,7 +3134,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( tagName == "TaskLink" )
KDGanttViewTaskLinkGroup::createFromDomElement( element );
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
@@ -3165,7 +3165,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
if( KDGanttXML::readColorNode( element, value ) )
color = value;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3174,7 +3174,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
}
setColumnBackgroundColor( dateTime, color );
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3217,7 +3217,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
else
ok = false;
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -3227,17 +3227,17 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
addLegendItem( tempLegendShape,
tempLegendColor,
tempLegendString );
- qDebug( "Adding legend item %s", tempLegendString.latin1() );
+ tqDebug( "Adding legend item %s", tempLegendString.latin1() );
}
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
node = node.nextSibling();
}
} else {
- qDebug( "Unrecognized tag name: %s", tagName.latin1() );
+ tqDebug( "Unrecognized tag name: %s", tagName.latin1() );
Q_ASSERT( false );
}
}
@@ -4604,7 +4604,7 @@ void KDGanttView::setLvVScrollBarMode( TQScrollView::ScrollBarMode m )
void KDGanttView::setGvVScrollBarMode( TQScrollView::ScrollBarMode m )
{
if ( m == TQScrollView::Auto )
- qDebug("KDGanttView::setListViewVScrollBarMode: TQScrollView::Auto not supported. Nothing changed. ");
+ tqDebug("KDGanttView::setListViewVScrollBarMode: TQScrollView::Auto not supported. Nothing changed. ");
else
{
myCanvasView->setVScrollBarMode ( m );