summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneysubject.cpp
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/mymoneysubject.cpp
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/mymoneysubject.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneysubject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/mymoneysubject.cpp b/kmymoney2/mymoney/mymoneysubject.cpp
index c54d738..8391570 100644
--- a/kmymoney2/mymoney/mymoneysubject.cpp
+++ b/kmymoney2/mymoney/mymoneysubject.cpp
@@ -22,7 +22,7 @@
#include "mymoneysubject.h"
#include "mymoneyobserver.h"
-#include <qptrvector.h>
+#include <tqptrvector.h>
MyMoneySubject::MyMoneySubject()
{
@@ -42,14 +42,14 @@ void MyMoneySubject::detach (MyMoneyObserver* o)
m_observers.remove(o);
}
-void MyMoneySubject::notify(const QString& id)
+void MyMoneySubject::notify(const TQString& id)
{
- QPtrList<MyMoneyObserver> ptrList = m_observers;
+ TQPtrList<MyMoneyObserver> ptrList = m_observers;
MyMoneyObserver* i;
for (i = ptrList.first(); i != 0; i = ptrList.next()) {
// only call the observer if it did not detach in the meantime
- if(m_observers.findRef(i) != -1) {
+ if(m_observers.tqfindRef(i) != -1) {
// qDebug("call observer @ 0x%08lX with '%s'", (unsigned long)i, id.data());
i->update(id);
}