From 27075bc698a12dbc10e76618d83d952bd9d579ef Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:37:34 -0600 Subject: Rename additional global TQt functions --- kommander/editor/resource.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kommander/editor/resource.cpp') diff --git a/kommander/editor/resource.cpp b/kommander/editor/resource.cpp index 386e807a..e9e67a08 100644 --- a/kommander/editor/resource.cpp +++ b/kommander/editor/resource.cpp @@ -184,7 +184,7 @@ bool Resource::load( FormFile *ff, TQIODevice* dev ) content = content.mid(content.find('\n')); } if ( !doc.setContent( content) ) { - // qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); + // tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); return false; } @@ -508,7 +508,7 @@ void Resource::paste( const TQString &cb, TQWidget *parent ) TQString errMsg; int errLine; if ( !doc.setContent( &buf, &errMsg, &errLine ) ) { - // qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); + // tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); } TQDomElement firstWidget = doc.firstChild().toElement().firstChild().toElement(); @@ -1291,7 +1291,7 @@ void Resource::saveProperty( TQObject *w, const TQString &name, const TQVariant break; } default: - qWarning( "saving the property %s of type %d not supported yet", name.latin1(), (int)t ); + tqWarning( "saving the property %s of type %d not supported yet", name.latin1(), (int)t ); } } @@ -1418,7 +1418,7 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay } else if ( n.tagName() == "column" || n.tagName() =="row" ) { createColumn( n, w ); } else if ( n.tagName() == "event" ) { - // qDebug("Resource : Tag == event"); + // tqDebug("Resource : Tag == event"); #ifndef KOMMANDER MetaDataBase::setEventFunctions( obj, formwindow, MainWindow::self->currProject()->language(), n.attribute( "name" ), TQStringList::split( ',', n.attribute( "functions" ) ), false ); @@ -2441,7 +2441,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e ) if ( n2.tagName() == "property" ) { setObjectProperty( a, n2.attribute( "name" ), n2.firstChild().toElement() ); } else if ( n2.tagName() == "event" ) { - // qDebug("Resource::loadChildAction : Tag == Event"); + // tqDebug("Resource::loadChildAction : Tag == Event"); #ifndef KOMMANDER MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(), n2.attribute( "name" ), @@ -2463,7 +2463,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e ) n2.tagName() == "actiongroup" ) { loadChildAction( a, n2 ); } else if ( n2.tagName() == "event" ) { - // qDebug("Resource::loadChildAction : Tag == Event"); + // tqDebug("Resource::loadChildAction : Tag == Event"); #ifndef KOMMANDER MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(), n2.attribute( "name" ), -- cgit v1.2.1