summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneykeyvaluecontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneykeyvaluecontainer.h')
-rw-r--r--kmymoney2/mymoney/mymoneykeyvaluecontainer.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainer.h b/kmymoney2/mymoney/mymoneykeyvaluecontainer.h
index fa045b9..42169d5 100644
--- a/kmymoney2/mymoney/mymoneykeyvaluecontainer.h
+++ b/kmymoney2/mymoney/mymoneykeyvaluecontainer.h
@@ -30,9 +30,9 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qstring.h>
-#include <qmap.h>
-#include <qdom.h>
+#include <tqstring.h>
+#include <tqmap.h>
+#include <tqdom.h>
#include <kmymoney/export.h>
// ----------------------------------------------------------------------------
@@ -53,7 +53,7 @@ class KMYMONEY_EXPORT MyMoneyKeyValueContainer
{
public:
MyMoneyKeyValueContainer();
- MyMoneyKeyValueContainer(const QDomElement& node);
+ MyMoneyKeyValueContainer(const TQDomElement& node);
~MyMoneyKeyValueContainer();
@@ -61,28 +61,28 @@ public:
* This method can be used to retrieve the value for a specific @p key.
* If the key is unknown in this container, an empty string will be returned.
*
- * @param key const reference to QString with the key to search for
+ * @param key const reference to TQString with the key to search for
* @return reference to value of this key. If the key does not exist,
* an emtpy string is returned.
*/
- const QString& value(const QString& key) const;
+ const TQString& value(const TQString& key) const;
/**
* This method is used to add a key/value pair to the container or
* modify an existing pair.
*
- * @param key const reference to QString with the key to search for
- * @param value const reference to QString with the value for this key
+ * @param key const reference to TQString with the key to search for
+ * @param value const reference to TQString with the value for this key
*/
- void setValue(const QString& key, const QString& value);
+ void setValue(const TQString& key, const TQString& value);
/**
* This method is used to remove an existing key/value pair from the
* container. If the key does not exist, the container is not changed.
*
- * @param key const reference to QString with the key to remove
+ * @param key const reference to TQString with the key to remove
*/
- void deletePair(const QString& key);
+ void deletePair(const TQString& key);
/**
* This method clears all pairs currently in the container.
@@ -94,46 +94,46 @@ public:
* from the container. It is meant to be used for permanent storage
* functionality.
*
- * @return QMap<QString, QString> containing all key/value pairs of
+ * @return TQMap<TQString, TQString> containing all key/value pairs of
* this container.
*/
- const QMap<QString, QString>& pairs(void) const { return m_kvp; };
+ const TQMap<TQString, TQString>& pairs(void) const { return m_kvp; };
/**
* This method is used to initially store a set of key/value pairs
* in the container. It is meant to be used for loading functionality
* from permanent storage.
*
- * @param list const QMap<QString, QString> containing the set of
+ * @param list const TQMap<TQString, TQString> containing the set of
* key/value pairs to be loaded into the container.
*
* @note All existing key/value pairs in the container will be deleted.
*/
- void setPairs(const QMap<QString, QString>& list);
+ void setPairs(const TQMap<TQString, TQString>& list);
/**
* This operator tests for equality of two MyMoneyKeyValueContainer objects
*/
bool operator == (const MyMoneyKeyValueContainer &) const;
- const QString& operator[] ( const QString& k ) const { return value(k); }
+ const TQString& operator[] ( const TQString& k ) const { return value(k); }
- QString& operator[] ( const QString& k) { return m_kvp[k]; }
+ TQString& operator[] ( const TQString& k) { return m_kvp[k]; }
/**
- * This method creates a QDomElement for the @p document
- * under the parent node @p parent.
+ * This method creates a TQDomElement for the @p document
+ * under the tqparent node @p tqparent.
*
- * @param document reference to QDomDocument
- * @param parent reference to QDomElement parent node
+ * @param document reference to TQDomDocument
+ * @param tqparent reference to TQDomElement tqparent node
*/
- void writeXML(QDomDocument& document, QDomElement& parent) const;
+ void writeXML(TQDomDocument& document, TQDomElement& tqparent) const;
private:
/**
* This member variable represents the container of key/value pairs.
*/
- QMap<QString, QString> m_kvp;
+ TQMap<TQString, TQString> m_kvp;
};
#endif