summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttView.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:35:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:35:40 -0600
commit17e2ed52dbf8fac39a04331da02b9572e9e2e304 (patch)
treecd0d57c975a55e05aac71794b363748f24625875 /kdgantt/KDGanttView.cpp
parenta684ecdeceae222d5aa930478b7bf59a3b7cae7f (diff)
downloadtdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.tar.gz
tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.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 bb797cc7d..440da7a79 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 );
}
@@ -574,7 +574,7 @@ void KDGanttView::forceRepaint( int )
{
if ( myTimeTable->blockUpdating() )
return;
- // qDebug("forceRepaint( int ) ");
+ // tqDebug("forceRepaint( int ) ");
myTimeTable->setAllChanged();
myTimeTable->update();
}
@@ -814,8 +814,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;
}
@@ -2671,7 +2671,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 );
}
}
@@ -2736,7 +2736,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 );
}
}
@@ -2775,7 +2775,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 );
}
}
@@ -2813,7 +2813,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 );
}
}
@@ -2824,7 +2824,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 );
}
}
@@ -2856,7 +2856,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 );
}
}
@@ -2884,7 +2884,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 );
}
}
@@ -2912,7 +2912,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 );
}
}
@@ -2921,7 +2921,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 );
}
}
@@ -2949,7 +2949,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 );
}
}
@@ -2982,7 +2982,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 );
}
}
@@ -3011,7 +3011,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 );
}
}
@@ -3040,7 +3040,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 );
}
}
@@ -3050,7 +3050,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 );
}
}
@@ -3078,7 +3078,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 );
}
}
@@ -3105,7 +3105,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 );
}
}
@@ -3121,7 +3121,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 );
}
}
@@ -3137,7 +3137,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 );
}
@@ -3168,7 +3168,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 );
}
}
@@ -3177,7 +3177,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 );
}
}
@@ -3220,7 +3220,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 );
}
}
@@ -3230,17 +3230,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 );
}
}
@@ -4607,7 +4607,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 );