summaryrefslogtreecommitdiffstats
path: root/kword/mailmerge/sql/KWQtSqlSerialDataSourceBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/mailmerge/sql/KWQtSqlSerialDataSourceBase.cpp')
-rw-r--r--kword/mailmerge/sql/KWQtSqlSerialDataSourceBase.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kword/mailmerge/sql/KWQtSqlSerialDataSourceBase.cpp b/kword/mailmerge/sql/KWQtSqlSerialDataSourceBase.cpp
index ddb32794..040c657e 100644
--- a/kword/mailmerge/sql/KWQtSqlSerialDataSourceBase.cpp
+++ b/kword/mailmerge/sql/KWQtSqlSerialDataSourceBase.cpp
@@ -17,9 +17,9 @@
* Boston, MA 02110-1301, USA.
*/
-#include "KWTQtSqlSerialDataSourceBase.h"
-#include "KWTQtSqlSerialDataSourceBase.moc"
-#include "KWTQtSqlMailMergeOpen.h"
+#include "KWQtSqlSerialDataSourceBase.h"
+#include "KWQtSqlSerialDataSourceBase.moc"
+#include "KWQtSqlMailMergeOpen.h"
#include <tqlayout.h>
#include <tqdom.h>
#include <kcombobox.h>
@@ -40,31 +40,31 @@
/******************************************************************
*
- * Class: KWTQtSqlSerialDataSourceBase
+ * Class: KWQtSqlSerialDataSourceBase
*
******************************************************************/
-int KWTQtSqlSerialDataSourceBase::connectionId=0;
+int KWQtSqlSerialDataSourceBase::connectionId=0;
-KWTQtSqlSerialDataSourceBase::KWTQtSqlSerialDataSourceBase(KInstance *inst,TQObject *tqparent)
+KWQtSqlSerialDataSourceBase::KWQtSqlSerialDataSourceBase(KInstance *inst,TQObject *tqparent)
: KWMailMergeDataSource(inst,tqparent)
{
- DataBaseConnection=TQString("KWTQTSTQLPOWER")+tqparent->name()+TQString("--%1").tqarg(connectionId++);
+ DataBaseConnection=TQString("KWTQTSQLPOWER")+tqparent->name()+TQString("--%1").tqarg(connectionId++);
port=i18n("default");
}
-KWTQtSqlSerialDataSourceBase::~KWTQtSqlSerialDataSourceBase()
+KWQtSqlSerialDataSourceBase::~KWQtSqlSerialDataSourceBase()
{
TQSqlDatabase::removeDatabase(DataBaseConnection);
}
-bool KWTQtSqlSerialDataSourceBase::showConfigDialog(TQWidget *par,int action)
+bool KWQtSqlSerialDataSourceBase::showConfigDialog(TQWidget *par,int action)
{
bool ret=false;
if (action==KWSLOpen)
{
- KWTQtSqlMailMergeOpen *dia=new KWTQtSqlMailMergeOpen(par,this);
+ KWQtSqlMailMergeOpen *dia=new KWQtSqlMailMergeOpen(par,this);
ret=dia->exec();
if (ret) openDatabase();
@@ -73,7 +73,7 @@ bool KWTQtSqlSerialDataSourceBase::showConfigDialog(TQWidget *par,int action)
return ret;
}
-bool KWTQtSqlSerialDataSourceBase::openDatabase()
+bool KWQtSqlSerialDataSourceBase::openDatabase()
{
TQCString pwd;
TQSqlDatabase::removeDatabase(DataBaseConnection);