diff options
Diffstat (limited to 'kmplot/kmplot/kmplotio.cpp')
-rw-r--r-- | kmplot/kmplot/kmplotio.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmplot/kmplot/kmplotio.cpp b/kmplot/kmplot/kmplotio.cpp index 9a5288a8..a51b5395 100644 --- a/kmplot/kmplot/kmplotio.cpp +++ b/kmplot/kmplot/kmplotio.cpp @@ -23,7 +23,7 @@ * */ -// Qt includes +// TQt includes #include <tqdom.h> #include <tqfile.h> @@ -53,7 +53,7 @@ KmPlotIO::~KmPlotIO() bool KmPlotIO::save( const KURL &url ) { - // saving as xml by a QDomDocument + // saving as xml by a TQDomDocument TQDomDocument doc( "kmpdoc" ); // the root tag TQDomElement root = doc.createElement( "kmpdoc" ); @@ -210,12 +210,12 @@ bool KmPlotIO::save( const KURL &url ) } -void KmPlotIO::addTag( TQDomDocument &doc, TQDomElement &parentTag, const TQString tagName, const TQString tagValue ) +void KmPlotIO::addTag( TQDomDocument &doc, TQDomElement &tqparentTag, const TQString tagName, const TQString tagValue ) { TQDomElement tag = doc.createElement( tagName ); TQDomText value = doc.createTextNode( tagValue ); tag.appendChild( value ); - parentTag.appendChild( tag ); + tqparentTag.appendChild( tag ); } bool KmPlotIO::load( const KURL &url ) @@ -435,7 +435,7 @@ void KmPlotIO::parseFunction( XParser *m_parser, const TQDomElement & n ) TQString fstr = ufkt.fstr; if ( !fstr.isEmpty() ) { - int const i = fstr.find( ';' ); + int const i = fstr.tqfind( ';' ); TQString str; if ( i == -1 ) str = fstr; @@ -530,7 +530,7 @@ void KmPlotIO::oldParseFunction( XParser *m_parser, const TQDomElement & n ) } const TQString tmp_fstr = n.namedItem( "equation" ).toElement().text(); - const int pos = tmp_fstr.find(';'); + const int pos = tmp_fstr.tqfind(';'); if ( pos == -1 ) ufkt.fstr = tmp_fstr; else @@ -538,7 +538,7 @@ void KmPlotIO::oldParseFunction( XParser *m_parser, const TQDomElement & n ) ufkt.fstr = tmp_fstr.left(pos); if ( !m_parser->getext( &ufkt, tmp_fstr) ) { - KMessageBox::error(0,i18n("The function %1 could not be loaded").arg(ufkt.fstr)); + KMessageBox::error(0,i18n("The function %1 could not be loaded").tqarg(ufkt.fstr)); return; } } @@ -546,7 +546,7 @@ void KmPlotIO::oldParseFunction( XParser *m_parser, const TQDomElement & n ) TQString fstr = ufkt.fstr; if ( !fstr.isEmpty() ) { - int const i = fstr.find( ';' ); + int const i = fstr.tqfind( ';' ); TQString str; if ( i == -1 ) str = fstr; |