diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 03:03:11 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 03:03:11 +0000 |
commit | a2bae01d006ea8053e85bc16d09a8cf40a4b0b75 (patch) | |
tree | 7f2b2a1d90d0d5fbcbf23e06962192923058e0ad /quanta/utility/qpevents.h | |
parent | 4e0c064056c23aabc053dc4a54d82ff1dceaf6a9 (diff) | |
download | tdewebdev-a2bae01d006ea8053e85bc16d09a8cf40a4b0b75.tar.gz tdewebdev-a2bae01d006ea8053e85bc16d09a8cf40a4b0b75.zip |
Fix kdewebdev FTBFS under Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/utility/qpevents.h')
-rw-r--r-- | quanta/utility/qpevents.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/utility/qpevents.h b/quanta/utility/qpevents.h index 31c05235..b46770ef 100644 --- a/quanta/utility/qpevents.h +++ b/quanta/utility/qpevents.h @@ -50,18 +50,18 @@ after_project_remove, after_commit */ typedef TQMap<TQString, TQValueList<EventAction> > EventActions; -class TQPEvents : public TQObject +class QPEvents : public TQObject { Q_OBJECT TQ_OBJECT public: - static TQPEvents* const ref(TQObject *tqparent = 0L) + static QPEvents* const ref(TQObject *tqparent = 0L) { - static TQPEvents *m_ref; - if (!m_ref) m_ref = new TQPEvents(tqparent); + static QPEvents *m_ref; + if (!m_ref) m_ref = new QPEvents(tqparent); return m_ref; } - ~TQPEvents(); + ~QPEvents(); TQString fullEventName(const TQString &name); TQString fullActionName(const TQString &name); TQString eventName(const TQString &fullName); @@ -74,7 +74,7 @@ public slots: void slotEventHappened(const TQString& name, const TQString& argument1, const TQString& argument2); private: - TQPEvents(TQObject *tqparent = 0, const char *name = 0); + QPEvents(TQObject *tqparent = 0, const char *name = 0); /** Calls the action associated with an event. Returns true if the call succeeded, false otherwise. The call might fail if: - the action type is unknown |