summaryrefslogtreecommitdiffstats
path: root/kword/KWMailMergeDataBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWMailMergeDataBase.cpp')
-rw-r--r--kword/KWMailMergeDataBase.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kword/KWMailMergeDataBase.cpp b/kword/KWMailMergeDataBase.cpp
index 1a637e16..244c2006 100644
--- a/kword/KWMailMergeDataBase.cpp
+++ b/kword/KWMailMergeDataBase.cpp
@@ -276,7 +276,7 @@ bool KWMailMergeDataBase::askUserForConfirmationAndConfig(KWMailMergeDataSource
TQDomElement KWMailMergeDataBase::save(TQDomDocument &doc) const
{
kdDebug()<<"KWMailMergeDataBase::save()"<<endl;
- TQDomElement tqparentElem=doc.createElement("MAILMERGE");
+ TQDomElement parentElem=doc.createElement("MAILMERGE");
if (plugin)
{
kdDebug()<<"KWMailMergeDataBase::save() There is really something to save"<<endl;
@@ -286,26 +286,26 @@ TQDomElement KWMailMergeDataBase::save(TQDomDocument &doc) const
TQString libname;
ds>>libname;
el.setAttribute("library",libname);
- tqparentElem.appendChild(el);
+ parentElem.appendChild(el);
kdDebug()<<"KWMailMergeDataBase::save() Calling datasource save()"<<endl;
TQDomElement el2=doc.createElement(TQString::tqfromLatin1("DATASOURCE"));
plugin->save(doc,el2);
- tqparentElem.appendChild(el2);
+ parentElem.appendChild(el2);
}
kdDebug()<<"KWMailMergeDataBase::save() leaving now"<<endl;
- return tqparentElem;
- // if (plugin) plugin->save(tqparentElem); // Not completely sure, perhaps the database itself has to save something too (JoWenn)
+ return parentElem;
+ // if (plugin) plugin->save(parentElem); // Not completely sure, perhaps the database itself has to save something too (JoWenn)
}
-void KWMailMergeDataBase::load( const TQDomElement& tqparentElem )
+void KWMailMergeDataBase::load( const TQDomElement& parentElem )
{
- TQDomNode dn=tqparentElem.namedItem("PLUGIN");
+ TQDomNode dn=parentElem.namedItem("PLUGIN");
if (dn.isNull()) return;
TQDomElement el=dn.toElement();
plugin=loadPlugin(el.attribute("library"));
- dn=tqparentElem.namedItem("DATASOURCE");
+ dn=parentElem.namedItem("DATASOURCE");
if (dn.isNull()) return;
el=dn.toElement();
if (plugin) plugin->load(el);