summaryrefslogtreecommitdiffstats
path: root/quanta/utility/qpevents.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (patch)
tree629d3942958745660e36c30b0d6139af9459c0f8 /quanta/utility/qpevents.cpp
parent929d7ae4f69d62b8f1f6d3506adf75f017753935 (diff)
downloadtdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.tar.gz
tdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/utility/qpevents.cpp')
-rw-r--r--quanta/utility/qpevents.cpp10
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;