summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter/imymoneyreader.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/converter/imymoneyreader.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/converter/imymoneyreader.h')
-rw-r--r--kmymoney2/converter/imymoneyreader.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kmymoney2/converter/imymoneyreader.h b/kmymoney2/converter/imymoneyreader.h
index 6222af5..6fa530d 100644
--- a/kmymoney2/converter/imymoneyreader.h
+++ b/kmymoney2/converter/imymoneyreader.h
@@ -26,9 +26,9 @@
// ----------------------------------------------------------------------------
// QT Headers
-#include <qobject.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
// ----------------------------------------------------------------------------
// KDE Headers
@@ -45,13 +45,14 @@
* @author Kevin Tambascio
*/
-class IMyMoneyReader : public QObject
+class IMyMoneyReader : public TQObject
{
public:
IMyMoneyReader() {}
virtual ~IMyMoneyReader() {}
Q_OBJECT
+ TQ_OBJECT
/**
* This method is used to store the filename into the object.
@@ -62,7 +63,7 @@ public:
*
* @param name path and name of the file to be imported
*/
- virtual void setFilename(const QString& name)=0;
+ virtual void setFilename(const TQString& name)=0;
/**
* This method is used to store the name of the profile into the object.
@@ -71,16 +72,16 @@ public:
* the file is send through this filter and the result
* is stored in the m_tempFile file.
*
- * @param name QString reference to the name of the profile
+ * @param name TQString reference to the name of the profile
*/
- virtual void setProfile(const QString& name)=0;
+ virtual void setProfile(const TQString& name)=0;
/**
* This method actually starts the import of data from the selected file
* into the MyMoney engine.
*
* This method also starts the user defined import filter program
- * defined in the QIF profile(when a QIF file is selected). If none is
+ * defined in the TQIF profile(when a TQIF file is selected). If none is
* defined, the file is read as is (actually the UNIX command
* 'cat -' is used as the filter).
*
@@ -123,12 +124,12 @@ public:
virtual void setAskPayeeCategory(const bool ask)=0;
virtual const MyMoneyAccount& account() const { return m_account; };
- virtual void setProgressCallback(void(*callback)(int, int, const QString&)) { m_progressCallback = callback; }
+ virtual void setProgressCallback(void(*callback)(int, int, const TQString&)) { m_progressCallback = callback; }
private:
MyMoneyAccount m_account;
- void (*m_progressCallback)(int, int, const QString&);
- QString m_filename;
+ void (*m_progressCallback)(int, int, const TQString&);
+ TQString m_filename;
};