diff options
Diffstat (limited to 'kmymoney2/converter/mymoneystatementreader.h')
-rw-r--r-- | kmymoney2/converter/mymoneystatementreader.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kmymoney2/converter/mymoneystatementreader.h b/kmymoney2/converter/mymoneystatementreader.h index 46d74d7..6ea2ef9 100644 --- a/kmymoney2/converter/mymoneystatementreader.h +++ b/kmymoney2/converter/mymoneystatementreader.h @@ -27,9 +27,9 @@ // ---------------------------------------------------------------------------- // QT Headers -#include <qobject.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqstringlist.h> // ---------------------------------------------------------------------------- // KDE Headers @@ -45,16 +45,17 @@ #include "../mymoney/mymoneystatement.h" class MyMoneyFileTransaction; -class QStringList; +class TQStringList; /** * This is a pared-down version of a MyMoneyQifReader object * * @author Ace Jones */ -class MyMoneyStatementReader : public QObject +class MyMoneyStatementReader : public TQObject { Q_OBJECT + TQ_OBJECT public: MyMoneyStatementReader(); @@ -68,7 +69,7 @@ public: * @retval true the import was processed successfully * @retval false the import resulted in a failure. */ - bool import(const MyMoneyStatement& s, QStringList& messages); + bool import(const MyMoneyStatement& s, TQStringList& messages); /** * This method is used to modify the auto payee creation flag. @@ -87,7 +88,7 @@ public: const MyMoneyAccount& account() const { return m_account; }; - void setProgressCallback(void(*callback)(int, int, const QString&)); + void setProgressCallback(void(*callback)(int, int, const TQString&)); /** * Returns true in case any transaction has been added to the engine @@ -103,7 +104,7 @@ private: * * For a parameter description see KMyMoneyView::progressCallback(). */ - void signalProgress(int current, int total, const QString& = ""); + void signalProgress(int current, int total, const TQString& = ""); void processTransactionEntry(const MyMoneyStatement::Transaction& t_in); void processSecurityEntry(const MyMoneyStatement::Security& s_in); @@ -138,14 +139,14 @@ private: /// \internal d-pointer instance. Private* const d; MyMoneyAccount m_account; - QStringList m_dontAskAgain; + TQStringList m_dontAskAgain; bool m_skipAccount; bool m_userAbort; bool m_autoCreatePayee; bool m_askPayeeCategory; MyMoneyFileTransaction* m_ft; - void (*m_progressCallback)(int, int, const QString&); + void (*m_progressCallback)(int, int, const TQString&); }; #endif |