summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter/mymoneytemplate.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/converter/mymoneytemplate.h')
-rw-r--r--kmymoney2/converter/mymoneytemplate.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kmymoney2/converter/mymoneytemplate.h b/kmymoney2/converter/mymoneytemplate.h
index 5c96b1f..352fd4e 100644
--- a/kmymoney2/converter/mymoneytemplate.h
+++ b/kmymoney2/converter/mymoneytemplate.h
@@ -21,9 +21,9 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qdom.h>
-class QFile;
-class QListViewItem;
+#include <tqdom.h>
+class TQFile;
+class TQListViewItem;
// ----------------------------------------------------------------------------
// KDE Includes
@@ -55,22 +55,22 @@ public:
bool loadTemplate(const KURL& url);
bool saveTemplate(const KURL& url);
- bool importTemplate(void(*callback)(int, int, const QString&));
- bool exportTemplate(void(*callback)(int, int, const QString&));
+ bool importTemplate(void(*callback)(int, int, const TQString&));
+ bool exportTemplate(void(*callback)(int, int, const TQString&));
- const QString& title(void) const { return m_title; }
- const QString& shortDescription(void) const { return m_shortDesc; }
- const QString& longDescription(void) const { return m_longDesc; }
+ const TQString& title(void) const { return m_title; }
+ const TQString& shortDescription(void) const { return m_shortDesc; }
+ const TQString& longDescription(void) const { return m_longDesc; }
- void hierarchy(QMap<QString, QListViewItem*>& list);
+ void hierarchy(TQMap<TQString, TQListViewItem*>& list);
protected:
bool loadDescription(void);
- bool createAccounts(MyMoneyAccount& parent, QDomNode account);
- bool setFlags(MyMoneyAccount& acc, QDomNode flags);
- bool saveToLocalFile(QFile* qfile);
- bool addAccountStructure(QDomElement& parent, const MyMoneyAccount& acc);
- bool hierarchy(QMap<QString, QListViewItem*>& list, const QString& parent, QDomNode account);
+ bool createAccounts(MyMoneyAccount& tqparent, TQDomNode account);
+ bool setFlags(MyMoneyAccount& acc, TQDomNode flags);
+ bool saveToLocalFile(TQFile* qfile);
+ bool addAccountStructure(TQDomElement& tqparent, const MyMoneyAccount& acc);
+ bool hierarchy(TQMap<TQString, TQListViewItem*>& list, const TQString& tqparent, TQDomNode account);
/**
* This method is used to update the progress information. It
@@ -78,16 +78,16 @@ protected:
*
* For a parameter description see KMyMoneyView::progressCallback().
*/
- void signalProgress(int current, int total, const QString& = "");
+ void signalProgress(int current, int total, const TQString& = "");
private:
- QDomDocument m_doc;
- QDomNode m_accounts;
- QString m_title;
- QString m_shortDesc;
- QString m_longDesc;
+ TQDomDocument m_doc;
+ TQDomNode m_accounts;
+ TQString m_title;
+ TQString m_shortDesc;
+ TQString m_longDesc;
KURL m_source;
- void (*m_progressCallback)(int, int, const QString&);
+ void (*m_progressCallback)(int, int, const TQString&);
int m_accountsRead;
};