summaryrefslogtreecommitdiffstats
path: root/kword/mailmerge/sql/KWQtSqlPowerSerialDataSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/mailmerge/sql/KWQtSqlPowerSerialDataSource.cpp')
-rw-r--r--kword/mailmerge/sql/KWQtSqlPowerSerialDataSource.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kword/mailmerge/sql/KWQtSqlPowerSerialDataSource.cpp b/kword/mailmerge/sql/KWQtSqlPowerSerialDataSource.cpp
index c091184e..bbaf97d6 100644
--- a/kword/mailmerge/sql/KWQtSqlPowerSerialDataSource.cpp
+++ b/kword/mailmerge/sql/KWQtSqlPowerSerialDataSource.cpp
@@ -41,8 +41,8 @@
*
******************************************************************/
-KWQtSqlPowerSerialDataSource::KWQtSqlPowerSerialDataSource(KInstance *inst,TQObject *tqparent)
- : KWQtSqlSerialDataSourceBase(inst,tqparent),myquery(0)
+KWQtSqlPowerSerialDataSource::KWQtSqlPowerSerialDataSource(KInstance *inst,TQObject *parent)
+ : KWQtSqlSerialDataSourceBase(inst,parent),myquery(0)
{
port=i18n("default");
}
@@ -83,10 +83,10 @@ TQString KWQtSqlPowerSerialDataSource::getValue( const TQString &name, int recor
return (myquery->value(name)).toString();
}
-void KWQtSqlPowerSerialDataSource::save( TQDomDocument &doc, TQDomElement &tqparent)
+void KWQtSqlPowerSerialDataSource::save( TQDomDocument &doc, TQDomElement &parent)
{
TQDomElement def=doc.createElement(TQString::tqfromLatin1("DEFINITION"));
- tqparent.appendChild(def);
+ parent.appendChild(def);
{
TQDomElement defEnt=doc.createElement(TQString::tqfromLatin1("DATABASE"));
defEnt.setAttribute(TQString::tqfromLatin1("hostname"),hostname);
@@ -101,7 +101,7 @@ void KWQtSqlPowerSerialDataSource::save( TQDomDocument &doc, TQDomElement &tqpar
def.appendChild(defEnt);
TQDomElement sampleEnt=doc.createElement(TQString::tqfromLatin1("SAMPLERECORD"));
- tqparent.appendChild(sampleEnt);
+ parent.appendChild(sampleEnt);
for (DbRecord::Iterator it=sampleRecord.begin();it!=sampleRecord.end();++it)
{
TQDomElement fieldEnt=doc.createElement(TQString::tqfromLatin1("FIELD"));
@@ -175,8 +175,8 @@ void KWQtSqlPowerSerialDataSource::addSampleRecordEntry(TQString name)
*
******************************************************************/
-KWQtSqlPowerMailMergeEditor::KWQtSqlPowerMailMergeEditor( TQWidget *tqparent, KWQtSqlPowerSerialDataSource *db_ )
- :KDialogBase( Plain, i18n( "Mail Merge - Editor" ), Ok | Cancel, Ok, tqparent, "", true ), db( db_ )
+KWQtSqlPowerMailMergeEditor::KWQtSqlPowerMailMergeEditor( TQWidget *parent, KWQtSqlPowerSerialDataSource *db_ )
+ :KDialogBase( Plain, i18n( "Mail Merge - Editor" ), Ok | Cancel, Ok, parent, "", true ), db( db_ )
{
(new TQVBoxLayout(plainPage()))->setAutoAdd(true);
setMainWidget(widget=new KWQtSqlPowerWidget(plainPage()));
@@ -249,8 +249,8 @@ KWQtSqlPowerMailMergeEditor::~KWQtSqlPowerMailMergeEditor(){;}
extern "C" {
- KWORD_MAILMERGE_EXPORT KWMailMergeDataSource *create_kwmailmerge_qtsqldb_power(KInstance *inst,TQObject *tqparent)
+ KWORD_MAILMERGE_EXPORT KWMailMergeDataSource *create_kwmailmerge_qtsqldb_power(KInstance *inst,TQObject *parent)
{
- return new KWQtSqlPowerSerialDataSource(inst,tqparent);
+ return new KWQtSqlPowerSerialDataSource(inst,parent);
}
}