summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyobject.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyobject.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/mymoney/mymoneyobject.cpp b/kmymoney2/mymoney/mymoneyobject.cpp
index 7939ff0..a415a7c 100644
--- a/kmymoney2/mymoney/mymoneyobject.cpp
+++ b/kmymoney2/mymoney/mymoneyobject.cpp
@@ -24,16 +24,16 @@
#include "mymoneyutils.h"
#include "mymoneyexception.h"
-const QString MyMoneyObject::m_emptyId;
+const TQString MyMoneyObject::m_emptyId;
-MyMoneyObject::MyMoneyObject(const QString& id)
+MyMoneyObject::MyMoneyObject(const TQString& id)
{
m_id = id;
}
-MyMoneyObject::MyMoneyObject(const QDomElement& el, const bool forceId)
+MyMoneyObject::MyMoneyObject(const TQDomElement& el, const bool forceId)
{
- m_id = QStringEmpty(el.attribute("id"));
+ m_id = TQStringEmpty(el.attribute("id"));
if(m_id.length() == 0 && forceId)
throw new MYMONEYEXCEPTION("Node has no ID");
}
@@ -46,7 +46,7 @@ MyMoneyObject::~MyMoneyObject()
{
}
-void MyMoneyObject::setId(const QString& id)
+void MyMoneyObject::setId(const TQString& id)
{
m_id = id;
}
@@ -58,15 +58,15 @@ bool MyMoneyObject::operator == (const MyMoneyObject& right) const
void MyMoneyObject::clearId(void)
{
- m_id = QString();
+ m_id = TQString();
}
-const QString& MyMoneyObject::emptyId(void)
+const TQString& MyMoneyObject::emptyId(void)
{
return m_emptyId;
}
-void MyMoneyObject::writeBaseXML(QDomDocument& document, QDomElement& el) const
+void MyMoneyObject::writeBaseXML(TQDomDocument& document, TQDomElement& el) const
{
Q_UNUSED(document);