From: Laurent Montel Date: Sat, 24 Sep 2005 15:17:21 +0000 (+0000) Subject: qt3_support -- X-Git-Tag: v3.80.2~306 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=7f4b151e695f4da0eb92cbd124c34508caf251dd;p=libqmvoc.git qt3_support -- svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=463595 --- diff --git a/kdeeduui/kdeeduglossary.cpp b/kdeeduui/kdeeduglossary.cpp index 247cabf..31489e3 100644 --- a/kdeeduui/kdeeduglossary.cpp +++ b/kdeeduui/kdeeduglossary.cpp @@ -162,11 +162,11 @@ QList Glossary::readItems( QDomDocument &itemDocument ) QString picName = itemElement.namedItem( "picture" ).toElement().text(); QDomElement refNode = ( const QDomElement& ) itemElement.namedItem( "references" ).toElement(); - QString desc = descNode.toElement().text().utf8(); + QString desc = descNode.toElement().text().toUtf8(); if ( !picName.isEmpty() ) desc.prepend("[img]"+picName +"[/img][brclear][br]" ); - item->setName( i18n( nameNode.toElement( ).text().utf8() ) ); + item->setName( i18n( nameNode.toElement( ).text().toUtf8() ) ); desc = desc.replace("[b]", "" ); desc = desc.replace("[/b]", "" ); @@ -183,7 +183,7 @@ QList Glossary::readItems( QDomDocument &itemDocument ) refNodeList = refNode.elementsByTagName( "refitem" ); for ( int it = 0; it < refNodeList.count(); it++ ) { - reflist << i18n( refNodeList.item( it ).toElement().text().utf8() ); + reflist << i18n( refNodeList.item( it ).toElement().text().toUtf8() ); } item->setRef( reflist );