diff options
Diffstat (limited to 'kmymoney2/mymoney')
-rw-r--r-- | kmymoney2/mymoney/mymoneyaccount.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/mymoney/mymoneyfile.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/mymoney/mymoneyutils.cpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/mymoney/mymoneyaccount.cpp b/kmymoney2/mymoney/mymoneyaccount.cpp index 6ef1f9c..c83e834 100644 --- a/kmymoney2/mymoney/mymoneyaccount.cpp +++ b/kmymoney2/mymoney/mymoneyaccount.cpp @@ -450,7 +450,7 @@ void MyMoneyAccountLoan::setPayee(const TQString& payee) const TQString MyMoneyAccountLoan::interestAccountId(void) const { - return TQString(); + return TQString::null; } void MyMoneyAccountLoan::setInterestAccountId(const TQString& /* id */) diff --git a/kmymoney2/mymoney/mymoneyfile.cpp b/kmymoney2/mymoney/mymoneyfile.cpp index 4809b28..c59d577 100644 --- a/kmymoney2/mymoney/mymoneyfile.cpp +++ b/kmymoney2/mymoney/mymoneyfile.cpp @@ -1230,7 +1230,7 @@ TQString MyMoneyFile::locateSubAccount(const MyMoneyAccount& base, const TQStrin return locateSubAccount(nextBase, remainder); } } - return TQString(); + return TQString::null; } TQString MyMoneyFile::value(const TQString& key) const diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp index 22fa1ac..cabf772 100644 --- a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp +++ b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp @@ -55,7 +55,7 @@ const TQString& MyMoneyKeyValueContainer::value(const TQString& key) const it = m_kvp.find(key); if(it != m_kvp.end()) return (*it); - return TQString(); + return TQString::null; } void MyMoneyKeyValueContainer::setValue(const TQString& key, const TQString& value) diff --git a/kmymoney2/mymoney/mymoneyutils.cpp b/kmymoney2/mymoney/mymoneyutils.cpp index 08ffff4..8012200 100644 --- a/kmymoney2/mymoney/mymoneyutils.cpp +++ b/kmymoney2/mymoney/mymoneyutils.cpp @@ -305,7 +305,7 @@ TQString dateToString(const TQDate& date) if(!date.isNull() && date.isValid()) return date.toString(Qt::ISODate); - return TQString(); + return TQString::null; } TQDate stringToDate(const TQString& str) @@ -323,7 +323,7 @@ TQString TQStringEmpty(const TQString& val) if(!val.isEmpty()) return TQString(val); - return TQString(); + return TQString::null; } unsigned long extractId(const TQString& txt) |