summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter/imymoneyreader.h
diff options
context:
space:
mode:
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;
};