summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneystoragexml.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneystoragexml.h')
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragexml.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneystoragexml.h b/kmymoney2/mymoney/storage/mymoneystoragexml.h
index 8485978..b74626d 100644
--- a/kmymoney2/mymoney/storage/mymoneystoragexml.h
+++ b/kmymoney2/mymoney/storage/mymoneystoragexml.h
@@ -23,9 +23,9 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qdom.h>
-#include <qdatastream.h>
-class QIODevice;
+#include <tqdom.h>
+#include <tqdatastream.h>
+class TQIODevice;
// ----------------------------------------------------------------------------
// Project Includes
@@ -54,78 +54,78 @@ public:
};
protected:
- void setProgressCallback(void(*callback)(int, int, const QString&));
- void signalProgress(int current, int total, const QString& = "");
+ void setProgressCallback(void(*callback)(int, int, const TQString&));
+ void signalProgress(int current, int total, const TQString& = "");
/**
* This method returns the version of the underlying file. It
* is used by the MyMoney objects contained in a MyMoneyStorageBin object (e.g.
* MyMoneyAccount, MyMoneyInstitution, MyMoneyTransaction, etc.) to
- * determine the layout used when reading/writing a persistant file.
+ * determine the tqlayout used when reading/writing a persistant file.
* A parameter is used to determine the direction.
*
* @param dir information about the direction (reading/writing). The
* default is reading.
*
- * @return version QString of file's version
+ * @return version TQString of file's version
*
* @see m_fileVersionRead, m_fileVersionWrite
*/
static unsigned int fileVersion(fileVersionDirectionType dir = Reading);
- QValueList<QDomElement> readElements(QString groupTag, QString itemTag = QString());
+ TQValueList<TQDomElement> readElements(TQString groupTag, TQString itemTag = TQString());
- bool readFileInformation(const QDomElement& fileInfo);
- virtual void writeFileInformation(QDomElement& fileInfo);
+ bool readFileInformation(const TQDomElement& fileInfo);
+ virtual void writeFileInformation(TQDomElement& fileInfo);
- virtual void writeUserInformation(QDomElement& userInfo);
+ virtual void writeUserInformation(TQDomElement& userInfo);
- virtual void writeInstitution(QDomElement& institutions, const MyMoneyInstitution& i);
- virtual void writeInstitutions(QDomElement& institutions);
+ virtual void writeInstitution(TQDomElement& institutions, const MyMoneyInstitution& i);
+ virtual void writeInstitutions(TQDomElement& institutions);
- virtual void writePrices(QDomElement& prices);
- virtual void writePricePair(QDomElement& price, const MyMoneyPriceEntries& p);
- virtual void writePrice(QDomElement& prices, const MyMoneyPrice& p);
+ virtual void writePrices(TQDomElement& prices);
+ virtual void writePricePair(TQDomElement& price, const MyMoneyPriceEntries& p);
+ virtual void writePrice(TQDomElement& prices, const MyMoneyPrice& p);
- virtual void writePayees(QDomElement& payees);
- virtual void writePayee(QDomElement& payees, const MyMoneyPayee& p);
+ virtual void writePayees(TQDomElement& payees);
+ virtual void writePayee(TQDomElement& payees, const MyMoneyPayee& p);
- virtual void writeAccounts(QDomElement& accounts);
- virtual void writeAccount(QDomElement& accounts, const MyMoneyAccount& p);
+ virtual void writeAccounts(TQDomElement& accounts);
+ virtual void writeAccount(TQDomElement& accounts, const MyMoneyAccount& p);
- virtual void writeTransactions(QDomElement& transactions);
- virtual void writeTransaction(QDomElement& transactions, const MyMoneyTransaction& tx);
+ virtual void writeTransactions(TQDomElement& transactions);
+ virtual void writeTransaction(TQDomElement& transactions, const MyMoneyTransaction& tx);
- virtual void writeSchedules(QDomElement& scheduled);
- virtual void writeSchedule(QDomElement& scheduledTx, const MyMoneySchedule& tx);
+ virtual void writeSchedules(TQDomElement& scheduled);
+ virtual void writeSchedule(TQDomElement& scheduledTx, const MyMoneySchedule& tx);
- virtual void writeReports(QDomElement& e);
- virtual void writeBudgets(QDomElement& e);
- virtual void writeBudget(QDomElement& budget, const MyMoneyBudget& b);
+ virtual void writeReports(TQDomElement& e);
+ virtual void writeBudgets(TQDomElement& e);
+ virtual void writeBudget(TQDomElement& budget, const MyMoneyBudget& b);
- virtual void writeSecurities(QDomElement& securities);
- virtual void writeSecurity(QDomElement& securityElement, const MyMoneySecurity& security);
+ virtual void writeSecurities(TQDomElement& securities);
+ virtual void writeSecurity(TQDomElement& securityElement, const MyMoneySecurity& security);
- virtual void writeCurrencies(QDomElement& currencies);
+ virtual void writeCurrencies(TQDomElement& currencies);
- virtual QDomElement writeKeyValuePairs(const QMap<QString, QString> pairs);
+ virtual TQDomElement writeKeyValuePairs(const TQMap<TQString, TQString> pairs);
- virtual void readFile(QIODevice* s, IMyMoneySerialize* storage);
- virtual void writeFile(QIODevice* s, IMyMoneySerialize* storage);
+ virtual void readFile(TQIODevice* s, IMyMoneySerialize* storage);
+ virtual void writeFile(TQIODevice* s, IMyMoneySerialize* storage);
- bool readUserInformation(const QDomElement& userElement);
+ bool readUserInformation(const TQDomElement& userElement);
- void readPricePair(const QDomElement& pricePair);
- const MyMoneyPrice readPrice(const QString& from, const QString& to, const QDomElement& price);
+ void readPricePair(const TQDomElement& pricePair);
+ const MyMoneyPrice readPrice(const TQString& from, const TQString& to, const TQDomElement& price);
- QDomElement findChildElement(const QString& name, const QDomElement& root);
+ TQDomElement findChildElement(const TQString& name, const TQDomElement& root);
private:
- void (*m_progressCallback)(int, int, const QString&);
+ void (*m_progressCallback)(int, int, const TQString&);
protected:
IMyMoneySerialize *m_storage;
- QDomDocument *m_doc;
+ TQDomDocument *m_doc;
private:
/// \internal d-pointer class.
@@ -149,7 +149,7 @@ private:
* temporarily to convert the price history from the old to the
* new format. This should go at some time beyond 0.8 (ipwizard)
*/
- QString m_baseCurrencyId;
+ TQString m_baseCurrencyId;
};