diff options
Diffstat (limited to 'quanta/utility/qpevents.cpp')
-rw-r--r-- | quanta/utility/qpevents.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/utility/qpevents.cpp b/quanta/utility/qpevents.cpp index 52be21ba..f41384c1 100644 --- a/quanta/utility/qpevents.cpp +++ b/quanta/utility/qpevents.cpp @@ -76,7 +76,7 @@ void QPEvents::slotEventHappened(const TQString& name, const TQString& argument1 return; EventActions *events = Project::ref()->events(); if (!events) return; - if (events->tqcontains(name)) + if (events->contains(name)) { m_eventName = name; TQValueList<EventAction> evList = (*events)[name]; @@ -96,7 +96,7 @@ void QPEvents::slotEventHappened(const TQString& name, const TQString& argument1 KURL url2 = KURL::fromPathOrURL(argument2); if (url.isValid()) { - bool inProject = Project::ref()->tqcontains(url); + bool inProject = Project::ref()->contains(url); if (inProject) { if (name == "upload_requested") @@ -220,7 +220,7 @@ void QPEvents::slotEventHappened(const TQString& name, const TQString& argument1 } } } - if (!m_eventNames.tqcontains(name)) + if (!m_eventNames.contains(name)) KMessageBox::sorry(0L, i18n("<qt>Unsupported event <b>%1</b>.</qt>").tqarg(name), i18n("Event Handling Error")); } @@ -346,7 +346,7 @@ bool QPEvents::handleEvent(const EventAction& ev) TQString QPEvents::fullEventName(const TQString &name) { - if (m_eventNames.tqcontains(name)) + if (m_eventNames.contains(name)) return m_eventNames[name]; else return name; @@ -354,7 +354,7 @@ TQString QPEvents::fullEventName(const TQString &name) TQString QPEvents::fullActionName(const TQString& name) { - if (m_actionNames.tqcontains(name)) + if (m_actionNames.contains(name)) return m_actionNames[name]; else return name; |