summaryrefslogtreecommitdiffstats
path: root/kword/KWMailMergeDataSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWMailMergeDataSource.h')
-rw-r--r--kword/KWMailMergeDataSource.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/kword/KWMailMergeDataSource.h b/kword/KWMailMergeDataSource.h
index 9d1fc076..b773c7a8 100644
--- a/kword/KWMailMergeDataSource.h
+++ b/kword/KWMailMergeDataSource.h
@@ -20,14 +20,14 @@
#ifndef _SERIALLETTER_INTERFACE_H_
#define _SERIALLETTER_INTERFACE_H_
-#include <qcstring.h>
-#include <qdom.h>
+#include <tqcstring.h>
+#include <tqdom.h>
#include <kinstance.h>
-#include <qmap.h>
-#include <qobject.h>
+#include <tqmap.h>
+#include <tqobject.h>
#include <dcopobject.h>
#include <koffice_export.h>
-typedef QMap<QString,QString> DbRecord;
+typedef TQMap<TQString,TQString> DbRecord;
#define KWSLUnspecified 0
#define KWSLEdit 1
#define KWSLCreate 2
@@ -43,25 +43,26 @@ typedef QMap<QString,QString> DbRecord;
*
******************************************************************/
-class KWORD_EXPORT KWMailMergeDataSource: public QObject, public DCOPObject
+class KWORD_EXPORT KWMailMergeDataSource: public TQObject, public DCOPObject
{
Q_OBJECT
+// TQ_OBJECT
K_DCOP
public:
- KWMailMergeDataSource(KInstance* inst,QObject *parent);
+ KWMailMergeDataSource(KInstance* inst,TQObject *tqparent);
virtual ~KWMailMergeDataSource(){;}
- virtual class QString getValue( const class QString &name, int record = -1 ) const=0;
+ virtual class TQString getValue( const class TQString &name, int record = -1 ) const=0;
- const QMap< QString, QString > &getRecordEntries() const;
+ const TQMap< TQString, TQString > &getRecordEntries() const;
KInstance *KWInstance(){return m_instance;}
- virtual bool showConfigDialog(class QWidget*,int) =0;
+ virtual bool showConfigDialog(class TQWidget*,int) =0;
- virtual void save(QDomDocument&, QDomElement&)=0;
- virtual void load( class QDomElement& elem )=0;
+ virtual void save(TQDomDocument&, TQDomElement&)=0;
+ virtual void load( class TQDomElement& elem )=0;
virtual void refresh(bool force)=0;
- QByteArray info;
+ TQByteArray info;
protected:
DbRecord sampleRecord;
private: