diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kword/KWMailMergeDataSource.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWMailMergeDataSource.h')
-rw-r--r-- | kword/KWMailMergeDataSource.h | 27 |
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: |