summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.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/mymoney/storage/mymoneyseqaccessmgr.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/mymoney/storage/mymoneyseqaccessmgr.h')
-rw-r--r--kmymoney2/mymoney/storage/mymoneyseqaccessmgr.h264
1 files changed, 132 insertions, 132 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.h b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.h
index f200bef..ddc2030 100644
--- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.h
+++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.h
@@ -20,8 +20,8 @@
* *
***************************************************************************/
-#ifndef MYMONEYSEQACCESSMGR_H
-#define MYMONEYSEQACCESSMGR_H
+#ifndef MYMONEYSETQACCESSMGR_H
+#define MYMONEYSETQACCESSMGR_H
// ----------------------------------------------------------------------------
// QT Includes
@@ -50,7 +50,7 @@
* will be created containing the new balance value.
*
* @see MyMoneySeqAccessMgr::balance() and
- * MyMoneySeqAccessMgr::invalidateBalanceCache() for a usage example
+ * MyMoneySeqAccessMgr::tqinvalidateBalanceCache() for a usage example
*/
class MyMoneyBalanceCacheItem {
public:
@@ -85,8 +85,8 @@ public:
// general get functions
const MyMoneyPayee user(void) const { return m_user; };
- const QDate creationDate(void) const { return m_creationDate; };
- const QDate lastModificationDate(void) const { return m_lastModificationDate; };
+ const TQDate creationDate(void) const { return m_creationDate; };
+ const TQDate lastModificationDate(void) const { return m_lastModificationDate; };
unsigned int currentFixVersion(void) const { return m_currentFixVersion; };
unsigned int fileFixVersion(void) const { return m_fileFixVersion; };
@@ -94,8 +94,8 @@ public:
// general set functions
void setUser(const MyMoneyPayee& user) { m_user = user;
touch(); };
- void setCreationDate(const QDate& val) { m_creationDate = val; touch(); };
- void setLastModificationDate(const QDate& val) { m_lastModificationDate = val; m_dirty = false; };
+ void setCreationDate(const TQDate& val) { m_creationDate = val; touch(); };
+ void setLastModificationDate(const TQDate& val) { m_lastModificationDate = val; m_dirty = false; };
void setFileFixVersion(const unsigned int v) { m_fileFixVersion = v; };
/**
* This method is used to get a SQL reader for subsequent database access
@@ -122,7 +122,7 @@ public:
* @return reference to MyMoneyAccount object. An exception is thrown
* if the id is unknown
*/
- const MyMoneyAccount account(const QString& id) const;
+ const MyMoneyAccount account(const TQString& id) const;
/**
* This method is used to check whether a given
@@ -131,26 +131,26 @@ public:
* @param id account id
* @return true if account-id is one of the standards, false otherwise
*/
- bool isStandardAccount(const QString& id) const;
+ bool isStandardAccount(const TQString& id) const;
/**
* This method is used to set the name for the specified standard account
* within the storage area. An exception will be thrown, if an error
* occurs
*
- * @param id QString reference to one of the standard accounts. Possible
+ * @param id TQString reference to one of the standard accounts. Possible
* values are:
*
* @li STD_ACC_LIABILITY
* @li STD_ACC_ASSET
* @li STD_ACC_EXPENSE
* @li STD_ACC_INCOME
- * @li STD_ACC_EQUITY
+ * @li STD_ACC_ETQUITY
*
- * @param name QString reference to the name to be set
+ * @param name TQString reference to the name to be set
*
*/
- void setAccountName(const QString& id, const QString& name);
+ void setAccountName(const TQString& id, const TQString& name);
/**
* This method is used to create a new account
@@ -174,22 +174,22 @@ public:
* This method is used to retrieve information about a payee
* An exception will be thrown upon error conditions.
*
- * @param id QString reference to id of payee
+ * @param id TQString reference to id of payee
*
* @return MyMoneyPayee object of payee
*/
- const MyMoneyPayee payee(const QString& id) const;
+ const MyMoneyPayee payee(const TQString& id) const;
/**
* This method is used to retrieve the id to a corresponding
* name of a payee/receiver.
* An exception will be thrown upon error conditions.
*
- * @param payee QString reference to name of payee
+ * @param payee TQString reference to name of payee
*
* @return MyMoneyPayee reference to object of payee
*/
- const MyMoneyPayee payeeByName(const QString& payee) const;
+ const MyMoneyPayee payeeByName(const TQString& payee) const;
/**
* This method is used to modify an existing payee
@@ -213,24 +213,24 @@ public:
* This method returns a list of the payees
* inside a MyMoneyStorage object
*
- * @return QValueList<MyMoneyPayee> containing the payee information
+ * @return TQValueList<MyMoneyPayee> containing the payee information
*/
- const QValueList<MyMoneyPayee> payeeList(void) const;
+ const TQValueList<MyMoneyPayee> payeeList(void) const;
/**
* This method is used to add one account as sub-ordinate to another
- * (parent) account. The objects passed as arguments will be modified
+ * (tqparent) account. The objects passed as arguments will be modified
* accordingly.
*
- * @param parent parent account the account should be added to
+ * @param tqparent tqparent account the account should be added to
* @param account the account to be added
*/
- void addAccount(MyMoneyAccount& parent, MyMoneyAccount& account);
+ void addAccount(MyMoneyAccount& tqparent, MyMoneyAccount& account);
/**
* Adds an institution to the storage. A
* respective institution-ID will be generated within this record.
- * The ID is stored as QString in the object passed as argument.
+ * The ID is stored as TQString in the object passed as argument.
* An exception will be thrown upon error conditions.
*
* @param institution The complete institution information in a
@@ -241,7 +241,7 @@ public:
/**
* Adds a transaction to the file-global transaction pool. A respective
* transaction-ID will be generated within this record. The ID is stored
- * as QString in the transaction object. The accounts of the referenced splits
+ * as TQString in the transaction object. The accounts of the referenced splits
* will be updated to have a reference to the transaction just added.
*
* @param transaction reference to the transaction
@@ -286,14 +286,14 @@ public:
void modifyTransaction(const MyMoneyTransaction& transaction);
/**
- * This method re-parents an existing account
+ * This method re-tqparents an existing account
*
* An exception will be thrown upon error conditions.
*
- * @param account MyMoneyAccount reference to account to be re-parented
- * @param parent MyMoneyAccount reference to new parent account
+ * @param account MyMoneyAccount reference to account to be re-tqparented
+ * @param tqparent MyMoneyAccount reference to new tqparent account
*/
- void reparentAccount(MyMoneyAccount &account, MyMoneyAccount& parent);
+ void reparentAccount(MyMoneyAccount &account, MyMoneyAccount& tqparent);
/**
* This method is used to remove a transaction from the transaction
@@ -328,20 +328,20 @@ public:
* transaction pool through an id. In case of an invalid id, an
* exception will be thrown.
*
- * @param id id of transaction as QString.
+ * @param id id of transaction as TQString.
* @return reference to the requested transaction
*/
- const MyMoneyTransaction transaction(const QString& id) const;
+ const MyMoneyTransaction transaction(const TQString& id) const;
/**
* This method is used to extract a transaction from the file global
* transaction pool through an index into an account.
*
- * @param account id of the account as QString
+ * @param account id of the account as TQString
* @param idx number of transaction in this account
* @return reference to MyMoneyTransaction object
*/
- const MyMoneyTransaction transaction(const QString& account, const int idx) const;
+ const MyMoneyTransaction transaction(const TQString& account, const int idx) const;
/**
* This method is used to determince, if the account with the
@@ -350,7 +350,7 @@ public:
* @param id id of the account to be checked for
* @return true if account is referenced, false otherwise
*/
- bool hasActiveSplits(const QString& id) const;
+ bool hasActiveSplits(const TQString& id) const;
/**
* This method is used to return the actual balance of an account
@@ -363,7 +363,7 @@ public:
* @param date return balance for specific date
* @return balance of the account as MyMoneyMoney object
*/
- const MyMoneyMoney balance(const QString& id, const QDate& date = QDate()) const;
+ const MyMoneyMoney balance(const TQString& id, const TQDate& date = TQDate()) const;
/**
* This method is used to return the actual balance of an account
@@ -376,7 +376,7 @@ public:
* @param date return balance for specific date
* @return balance of the account as MyMoneyMoney object
*/
- const MyMoneyMoney totalBalance(const QString& id, const QDate& date = QDate()) const;
+ const MyMoneyMoney totalBalance(const TQString& id, const TQDate& date = TQDate()) const;
/**
* Returns the institution of a given ID
@@ -385,7 +385,7 @@ public:
* @return MyMoneyInstitution object filled with data. If the institution
* could not be found, an exception will be thrown
*/
- const MyMoneyInstitution institution(const QString& id) const;
+ const MyMoneyInstitution institution(const TQString& id) const;
/**
* This method returns an indicator if the storage object has been
@@ -407,18 +407,18 @@ public:
* This method returns a list of the institutions
* inside a MyMoneyFile object
*
- * @return QMap containing the institution information
+ * @return TQMap containing the institution information
*/
- const QValueList<MyMoneyInstitution> institutionList(void) const;
+ const TQValueList<MyMoneyInstitution> institutionList(void) const;
/**
* This method returns a list of accounts inside the storage object.
*
- * @param list reference to QValueList receiving the account objects
+ * @param list reference to TQValueList receiving the account objects
*
* @note The standard accounts will not be returned
*/
- void accountList(QValueList<MyMoneyAccount>& list) const;
+ void accountList(TQValueList<MyMoneyAccount>& list) const;
/**
* This method is used to pull a list of transactions from the file
@@ -434,9 +434,9 @@ public:
* @param list reference to list
* @param filter MyMoneyTransactionFilter object with the match criteria
*
- * @return set of transactions in form of a QValueList<MyMoneyTransaction>
+ * @return set of transactions in form of a TQValueList<MyMoneyTransaction>
*/
- void transactionList(QValueList<MyMoneyTransaction>& list, MyMoneyTransactionFilter& filter) const;
+ void transactionList(TQValueList<MyMoneyTransaction>& list, MyMoneyTransactionFilter& filter) const;
/**
* This method is used to pull a list of transactions from the file
@@ -452,35 +452,35 @@ public:
* @param list reference to list
* @param filter MyMoneyTransactionFilter object with the match criteria
*
- * @return set of transactions in form of a QValueList<QPair<MyMoneyTransaction,MyMoneySplit> >
+ * @return set of transactions in form of a TQValueList<TQPair<MyMoneyTransaction,MyMoneySplit> >
*/
- void transactionList(QValueList< QPair<MyMoneyTransaction, MyMoneySplit> >& list, MyMoneyTransactionFilter& filter) const;
+ void transactionList(TQValueList< TQPair<MyMoneyTransaction, MyMoneySplit> >& list, MyMoneyTransactionFilter& filter) const;
/**
* Compatibility interface for the previous method.
*/
- const QValueList<MyMoneyTransaction> transactionList(MyMoneyTransactionFilter& filter) const;
+ const TQValueList<MyMoneyTransaction> transactionList(MyMoneyTransactionFilter& filter) const;
/**
* This method returns whether a given transaction is already in memory, to avoid
* reloading it from the database
*/
- bool isDuplicateTransaction(const QString& id) const { return m_transactionKeys.contains(id); }
+ bool isDuplicateTransaction(const TQString& id) const { return m_transactionKeys.tqcontains(id); }
/**
* This method returns the number of transactions currently known to file
* in the range 0..MAXUINT
*
- * @param account QString reference to account id. If account is empty
+ * @param account TQString reference to account id. If account is empty
+ all transactions (the journal) will be counted. If account
* is not empty it returns the number of transactions
* that have splits in this account.
*
* @return number of transactions in journal/account
*/
- unsigned int transactionCount(const QString& account = QString()) const;
+ unsigned int transactionCount(const TQString& account = TQString()) const;
- const QMap<QString, unsigned long> transactionCountMap(void) const;
+ const TQMap<TQString, unsigned long> transactionCountMap(void) const;
/**
* This method returns the number of institutions currently known to file
@@ -526,15 +526,15 @@ public:
* This method is used to return the standard equity account
* @return MyMoneyAccount equity account(group)
*/
- const MyMoneyAccount equity(void) const { return account(STD_ACC_EQUITY); };
+ const MyMoneyAccount equity(void) const { return account(STD_ACC_ETQUITY); };
- virtual void loadAccounts(const QMap<QString, MyMoneyAccount>& acc);
- virtual void loadTransactions(const QMap<QString, MyMoneyTransaction>& map);
- virtual void loadInstitutions(const QMap<QString, MyMoneyInstitution>& map);
- virtual void loadPayees(const QMap<QString, MyMoneyPayee>& map);
- virtual void loadSchedules(const QMap<QString, MyMoneySchedule>& map);
- virtual void loadSecurities(const QMap<QString, MyMoneySecurity>& map);
- virtual void loadCurrencies(const QMap<QString, MyMoneySecurity>& map);
+ virtual void loadAccounts(const TQMap<TQString, MyMoneyAccount>& acc);
+ virtual void loadTransactions(const TQMap<TQString, MyMoneyTransaction>& map);
+ virtual void loadInstitutions(const TQMap<TQString, MyMoneyInstitution>& map);
+ virtual void loadPayees(const TQMap<TQString, MyMoneyPayee>& map);
+ virtual void loadSchedules(const TQMap<TQString, MyMoneySchedule>& map);
+ virtual void loadSecurities(const TQMap<TQString, MyMoneySecurity>& map);
+ virtual void loadCurrencies(const TQMap<TQString, MyMoneySecurity>& map);
virtual void loadPrices(const MyMoneyPriceList& list);
virtual void loadAccountId(const unsigned long id);
@@ -560,34 +560,34 @@ public:
* This method is used to extract a value from
* KeyValueContainer. For details see MyMoneyKeyValueContainer::value().
*
- * @param key const reference to QString containing the key
- * @return QString containing the value
+ * @param key const reference to TQString containing the key
+ * @return TQString containing the value
*/
- const QString value(const QString& key) const;
+ const TQString value(const TQString& key) const;
/**
* This method is used to set a value in the
* KeyValueContainer. For details see MyMoneyKeyValueContainer::setValue().
*
- * @param key const reference to QString containing the key
- * @param val const reference to QString containing the value
+ * @param key const reference to TQString containing the key
+ * @param val const reference to TQString containing the value
*/
- void setValue(const QString& key, const QString& val);
+ void setValue(const TQString& key, const TQString& val);
/**
* This method is used to delete a key-value-pair from the
* KeyValueContainer identified by the parameter
* @p key. For details see MyMoneyKeyValueContainer::deletePair().
*
- * @param key const reference to QString containing the key
+ * @param key const reference to TQString containing the key
*/
- void deletePair(const QString& key);
+ void deletePair(const TQString& key);
// documented in IMyMoneySerialize base class
- const QMap<QString, QString> pairs(void) const;
+ const TQMap<TQString, TQString> pairs(void) const;
// documented in IMyMoneySerialize base class
- void setPairs(const QMap<QString, QString>& list);
+ void setPairs(const TQMap<TQString, TQString>& list);
/**
* This method is used to add a scheduled transaction to the engine.
@@ -627,10 +627,10 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @param id QString containing the id of the MyMoneySchedule object
+ * @param id TQString containing the id of the MyMoneySchedule object
* @return MyMoneySchedule object
*/
- const MyMoneySchedule schedule(const QString& id) const;
+ const MyMoneySchedule schedule(const TQString& id) const;
/**
* This method is used to create a new security object. The ID will be created
@@ -669,17 +669,17 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @param id QString containing the id of the MyMoneySchedule object
+ * @param id TQString containing the id of the MyMoneySchedule object
* @return MyMoneySchedule object
*/
- const MyMoneySecurity security(const QString& id) const;
+ const MyMoneySecurity security(const TQString& id) const;
/**
* This method returns a list of security objects that the engine has
* knowledge of.
*/
- const QValueList<MyMoneySecurity> securityList(void) const;
+ const TQValueList<MyMoneySecurity> securityList(void) const;
/**
* This method is used to add a new currency object to the engine.
@@ -718,10 +718,10 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @param id QString containing the id of the MyMoneySchedule object
+ * @param id TQString containing the id of the MyMoneySchedule object
* @return MyMoneySchedule object
*/
- const MyMoneySecurity currency(const QString& id) const;
+ const MyMoneySecurity currency(const TQString& id) const;
/**
* This method is used to retrieve the list of all currencies
@@ -729,9 +729,9 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @return QValueList of all MyMoneyCurrency objects.
+ * @return TQValueList of all MyMoneyCurrency objects.
*/
- const QValueList<MyMoneySecurity> currencyList(void) const;
+ const TQValueList<MyMoneySecurity> currencyList(void) const;
/**
* This method is used to extract a list of scheduled transactions
@@ -739,7 +739,7 @@ public:
*
* @param accountId only search for scheduled transactions that reference
* accound @p accountId. If accountId is the empty string,
- * this filter is off. Default is @p QString().
+ * this filter is off. Default is @p TQString().
* @param type only schedules of type @p type are searched for.
* See MyMoneySchedule::typeE for details.
* Default is MyMoneySchedule::TYPE_ANY
@@ -751,27 +751,27 @@ public:
* See MyMoneySchedule::paymentTypeE for details.
* Default is MyMoneySchedule::STYPE_ANY
* @param startDate only schedules with payment dates after @p startDate
- * are searched for. Default is all dates (QDate()).
+ * are searched for. Default is all dates (TQDate()).
* @param endDate only schedules with payment dates ending prior to @p endDate
- * are searched for. Default is all dates (QDate()).
+ * are searched for. Default is all dates (TQDate()).
* @param overdue if true, only those schedules that are overdue are
* searched for. Default is false (all schedules will be returned).
*
- * @return const QValueList<MyMoneySchedule> list of schedule objects.
+ * @return const TQValueList<MyMoneySchedule> list of schedule objects.
*/
- const QValueList<MyMoneySchedule> scheduleList(const QString& accountId = QString(),
+ const TQValueList<MyMoneySchedule> scheduleList(const TQString& accountId = TQString(),
const MyMoneySchedule::typeE type = MyMoneySchedule::TYPE_ANY,
const MyMoneySchedule::occurenceE occurence = MyMoneySchedule::OCCUR_ANY,
const MyMoneySchedule::paymentTypeE paymentType = MyMoneySchedule::STYPE_ANY,
- const QDate& startDate = QDate(),
- const QDate& endDate = QDate(),
+ const TQDate& startDate = TQDate(),
+ const TQDate& endDate = TQDate(),
const bool overdue = false) const;
- const QValueList<MyMoneySchedule> scheduleListEx( int scheduleTypes,
+ const TQValueList<MyMoneySchedule> scheduleListEx( int scheduleTypes,
int scheduleOcurrences,
int schedulePaymentTypes,
- QDate startDate,
- const QStringList& accounts=QStringList()) const;
+ TQDate startDate,
+ const TQStringList& accounts=TQStringList()) const;
/**
* This method is used to retrieve the list of all reports
@@ -779,9 +779,9 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @return QValueList of all MyMoneyReport objects.
+ * @return TQValueList of all MyMoneyReport objects.
*/
- const QValueList<MyMoneyReport> reportList( void ) const;
+ const TQValueList<MyMoneyReport> reportList( void ) const;
/**
* This method is used to add a new report to the engine.
@@ -803,7 +803,7 @@ public:
*
* @param reports reference to the map of MyMoneyReport objects
*/
- void loadReports( const QMap<QString, MyMoneyReport>& reports );
+ void loadReports( const TQMap<TQString, MyMoneyReport>& reports );
/**
* This method is used to modify an existing MyMoneyReport
@@ -829,10 +829,10 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @param id QString containing the id of the MyMoneyReport object
+ * @param id TQString containing the id of the MyMoneyReport object
* @return MyMoneyReport object
*/
- const MyMoneyReport report( const QString& id ) const;
+ const MyMoneyReport report( const TQString& id ) const;
/**
* This method is used to remove an existing MyMoneyReport object
@@ -850,9 +850,9 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @return QValueList of all MyMoneyBudget objects.
+ * @return TQValueList of all MyMoneyBudget objects.
*/
- const QValueList<MyMoneyBudget> budgetList( void ) const;
+ const TQValueList<MyMoneyBudget> budgetList( void ) const;
/**
* This method is used to add a new budget to the engine.
@@ -874,18 +874,18 @@ public:
*
* @param budgets reference to the map of MyMoneyBudget object
*/
- void loadBudgets(const QMap<QString, MyMoneyBudget>& budgets);
+ void loadBudgets(const TQMap<TQString, MyMoneyBudget>& budgets);
/**
* This method is used to retrieve the id to a corresponding
* name of a budget
* An exception will be thrown upon error conditions.
*
- * @param budget QString reference to name of budget
+ * @param budget TQString reference to name of budget
*
* @return MyMoneyBudget reference to object of budget
*/
- const MyMoneyBudget budgetByName(const QString& budget) const;
+ const MyMoneyBudget budgetByName(const TQString& budget) const;
/**
* This method is used to modify an existing MyMoneyBudget
@@ -911,10 +911,10 @@ public:
*
* An exception will be thrown upon erronous situations.
*
- * @param id QString containing the id of the MyMoneyBudget object
+ * @param id TQString containing the id of the MyMoneyBudget object
* @return MyMoneyBudget object
*/
- MyMoneyBudget budget( const QString& id ) const;
+ MyMoneyBudget budget( const TQString& id ) const;
/**
* This method is used to remove an existing MyMoneyBudget object
@@ -939,9 +939,9 @@ public:
/**
* This method retrieves a price from the price list.
- * If @p date is inValid, QDate::currentDate() is assumed.
+ * If @p date is inValid, TQDate::tqcurrentDate() is assumed.
*/
- const MyMoneyPrice price(const QString& fromId, const QString& toId, const QDate& date, const bool exactDate) const;
+ const MyMoneyPrice price(const TQString& fromId, const TQString& toId, const TQDate& date, const bool exactDate) const;
/**
* This method returns a list of all price entries.
@@ -958,7 +958,7 @@ public:
* by another engine object.
*
* @param obj const reference to object to be checked
- * @param skipCheck QBitArray with ReferenceCheckBits set for which
+ * @param skipCheck TQBitArray with ReferenceCheckBits set for which
* the check should be skipped
*
* @retval false @p object is not referenced
@@ -977,7 +977,7 @@ public:
virtual void rollbackTransaction(void);
protected:
- void removeReferences(const QString& id);
+ void removeReferences(const TQString& id);
private:
@@ -997,12 +997,12 @@ private:
void touch(void);
/**
- * This method is used to invalidate the cached balance for
- * the selected account and all it's parents.
+ * This method is used to tqinvalidate the cached balance for
+ * the selected account and all it's tqparents.
*
* @param id id of the account in question
*/
- void invalidateBalanceCache(const QString& id);
+ void tqinvalidateBalanceCache(const TQString& id);
/**
* This member variable keeps the User information.
@@ -1065,50 +1065,50 @@ private:
* The member variable m_institutionList is the container for the
* institutions known within this file.
*/
- MyMoneyMap<QString, MyMoneyInstitution> m_institutionList;
+ MyMoneyMap<TQString, MyMoneyInstitution> m_institutionList;
/**
* The member variable m_accountList is the container for the accounts
* known within this file.
*/
- MyMoneyMap<QString, MyMoneyAccount> m_accountList;
+ MyMoneyMap<TQString, MyMoneyAccount> m_accountList;
/**
* The member variable m_balanceCache is the container for the
* accounts actual balance
*/
- mutable QMap<QString, MyMoneyBalanceCacheItem> m_balanceCache;
+ mutable TQMap<TQString, MyMoneyBalanceCacheItem> m_balanceCache;
/**
* This member keeps the date for which the m_balanceCache member
* is valid. In case the whole cache is invalid it is set to
- * QDate().
+ * TQDate().
*/
- mutable QDate m_balanceCacheDate;
+ mutable TQDate m_balanceCacheDate;
/**
* The member variable m_transactionList is the container for all
* transactions within this file.
* @see m_transactionKeys
*/
- MyMoneyMap<QString, MyMoneyTransaction> m_transactionList;
+ MyMoneyMap<TQString, MyMoneyTransaction> m_transactionList;
/**
* The member variable m_transactionKeys is used to convert
* transaction id's into the corresponding key used in m_transactionList.
* @see m_transactionList;
*/
- MyMoneyMap<QString, QString> m_transactionKeys;
+ MyMoneyMap<TQString, TQString> m_transactionKeys;
/**
* A list containing all the payees that have been used
*/
- MyMoneyMap<QString, MyMoneyPayee> m_payeeList;
+ MyMoneyMap<TQString, MyMoneyPayee> m_payeeList;
/**
* A list containing all the scheduled transactions
*/
- MyMoneyMap<QString, MyMoneySchedule> m_scheduleList;
+ MyMoneyMap<TQString, MyMoneySchedule> m_scheduleList;
/**
* A list containing all the security information objects. Each object
@@ -1117,19 +1117,19 @@ private:
* to determine the cost basis for sales, as well as the source of
* information for reports in a security account.
*/
- MyMoneyMap<QString, MyMoneySecurity> m_securitiesList;
+ MyMoneyMap<TQString, MyMoneySecurity> m_securitiesList;
/**
* A list containing all the currency information objects.
*/
- MyMoneyMap<QString, MyMoneySecurity> m_currencyList;
+ MyMoneyMap<TQString, MyMoneySecurity> m_currencyList;
- MyMoneyMap<QString, MyMoneyReport> m_reportList;
+ MyMoneyMap<TQString, MyMoneyReport> m_reportList;
/**
* A list containing all the budget information objects.
*/
- MyMoneyMap<QString, MyMoneyBudget> m_budgetList;
+ MyMoneyMap<TQString, MyMoneyBudget> m_budgetList;
MyMoneyMap<MyMoneySecurityPair, MyMoneyPriceEntries> m_priceList;
@@ -1143,13 +1143,13 @@ private:
* object. It is set during the constructor and can only be modified using
* the stream read operator.
*/
- QDate m_creationDate;
+ TQDate m_creationDate;
/**
* This member variable keeps the date of the last modification of
* the MyMoneySeqAccessMgr object.
*/
- QDate m_lastModificationDate;
+ TQDate m_lastModificationDate;
/**
* This member variable contains the current fix level of application
@@ -1165,58 +1165,58 @@ private:
* This method is used to get the next valid ID for a institution
* @return id for a institution
*/
- QString nextInstitutionID(void);
+ TQString nextInstitutionID(void);
/**
* This method is used to get the next valid ID for an account
* @return id for an account
*/
- QString nextAccountID(void);
+ TQString nextAccountID(void);
/**
* This method is used to get the next valid ID for a transaction
* @return id for a transaction
*/
- QString nextTransactionID(void);
+ TQString nextTransactionID(void);
/**
* This method is used to get the next valid ID for a payee
* @return id for a payee
*/
- QString nextPayeeID(void);
+ TQString nextPayeeID(void);
/**
* This method is used to get the next valid ID for a scheduled transaction
* @return id for a scheduled transaction
*/
- QString nextScheduleID(void);
+ TQString nextScheduleID(void);
/**
* This method is used to get the next valid ID for an security object.
* @return id for an security object
*/
- QString nextSecurityID(void);
+ TQString nextSecurityID(void);
- QString nextReportID(void);
+ TQString nextReportID(void);
/**
* This method is used to get the next valid ID for a budget object.
* @return id for an budget object
*/
- QString nextBudgetID(void);
+ TQString nextBudgetID(void);
/**
- * This method re-parents an existing account
+ * This method re-tqparents an existing account
*
* An exception will be thrown upon error conditions.
*
- * @param account MyMoneyAccount reference to account to be re-parented
- * @param parent MyMoneyAccount reference to new parent account
+ * @param account MyMoneyAccount reference to account to be re-tqparented
+ * @param tqparent MyMoneyAccount reference to new tqparent account
* @param sendNotification if true, notifications with the ids
* of all modified objects are send
*/
- void reparentAccount(MyMoneyAccount &account, MyMoneyAccount& parent, const bool sendNotification);
+ void reparentAccount(MyMoneyAccount &account, MyMoneyAccount& tqparent, const bool sendNotification);
/**
* This method will close a database and log the use roff
*/