diff options
Diffstat (limited to 'kword/mailmerge/KWClassicSerialDataSource.cpp')
-rw-r--r-- | kword/mailmerge/KWClassicSerialDataSource.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/mailmerge/KWClassicSerialDataSource.cpp b/kword/mailmerge/KWClassicSerialDataSource.cpp index d539f692..af23925e 100644 --- a/kword/mailmerge/KWClassicSerialDataSource.cpp +++ b/kword/mailmerge/KWClassicSerialDataSource.cpp @@ -139,18 +139,18 @@ void KWClassicSerialDataSource::save( TQDomDocument &doc, TQDomElement &tqparent } } -void KWClassicSerialDataSource::load( TQDomElement& tqparentElem ) +void KWClassicSerialDataSource::load( TQDomElement& parentElem ) { db.clear(); sampleRecord.clear(); - TQDomNode defNd=tqparentElem.namedItem("DEFINITION"); + TQDomNode defNd=parentElem.namedItem("DEFINITION"); if (defNd.isNull()) return; TQDomElement def=defNd.toElement(); for (TQDomElement defEnt=def.firstChild().toElement();!defEnt.isNull();defEnt=defEnt.nextSibling().toElement()) { sampleRecord[defEnt.attribute(TQString::tqfromLatin1("name"))]=i18n( "No Value" ); } - TQDomNode contNd=tqparentElem.namedItem("CONTENT"); + TQDomNode contNd=parentElem.namedItem("CONTENT"); if (contNd.isNull()) return; for (TQDomNode rec=contNd.firstChild();!rec.isNull();rec=rec.nextSibling()) { @@ -255,7 +255,7 @@ KWClassicMailMergeEditorList::KWClassicMailMergeEditorList( TQWidget *tqparent, currentRecord = -1; } -void KWClassicMailMergeEditorList::tqinvalidateCurrentRecord() +void KWClassicMailMergeEditorList::invalidateCurrentRecord() { currentRecord=-1; } @@ -537,7 +537,7 @@ void KWClassicMailMergeEditor::removeRecord() return; db->removeRecord( records->value() - 1 ); - dbList->tqinvalidateCurrentRecord(); + dbList->invalidateCurrentRecord(); if ( db->getNumRecords() > 0 ) { records->setRange( records->minValue(), records->maxValue() - 1 ); records->setValue( 1 ); |