diff options
Diffstat (limited to 'chalk/plugins/viewplugins/scripting')
-rw-r--r-- | chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h b/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h index 2e17ed98..b01ba0a8 100644 --- a/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h +++ b/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h @@ -39,7 +39,7 @@ namespace ChalkCore { //<beurk> stupid TQt which doesn't support templated TQObject class IteratorMemoryManaged { public: - virtual void tqinvalidateIterator() = 0; + virtual void invalidateIterator() = 0; }; class IteratorMemoryManager : public TQObject { @@ -49,13 +49,13 @@ class IteratorMemoryManager : public TQObject { IteratorMemoryManager(IteratorMemoryManaged* it) : m_it(it) { // Connect the Monitor to know when the invalidating of iterator is needed - connect(KisScriptMonitor::instance(), TQT_SIGNAL(executionFinished(const Kross::Api::ScriptAction* )), this, TQT_SLOT(tqinvalidateIterator())); + connect(KisScriptMonitor::instance(), TQT_SIGNAL(executionFinished(const Kross::Api::ScriptAction* )), this, TQT_SLOT(invalidateIterator())); } public slots: - void tqinvalidateIterator() + void invalidateIterator() { - m_it->tqinvalidateIterator(); + m_it->invalidateIterator(); } private: IteratorMemoryManaged* m_it; @@ -147,7 +147,7 @@ class Iterator : public Kross::Api::Class<Iterator<_T_It> >, private IteratorMem ~Iterator() { - tqinvalidateIterator(); + invalidateIterator(); delete m_itmm; } virtual const TQString getClassName() const { @@ -282,7 +282,7 @@ class Iterator : public Kross::Api::Class<Iterator<_T_It> >, private IteratorMem return 0; } private: - virtual void tqinvalidateIterator() + virtual void invalidateIterator() { kdDebug(41011) << "invalidating iterator" << endl; if(m_it) |