diff options
Diffstat (limited to 'quanta/project/eventeditordlg.cpp')
-rw-r--r-- | quanta/project/eventeditordlg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quanta/project/eventeditordlg.cpp b/quanta/project/eventeditordlg.cpp index 4c3edd34..1bba3655 100644 --- a/quanta/project/eventeditordlg.cpp +++ b/quanta/project/eventeditordlg.cpp @@ -221,7 +221,7 @@ void EventEditorDlg::setArguments(const TQStringList& arguments) if (actionType == QPEvents::ref()->fullActionName("script")) { TQString s = arguments[0]; - if (m_scriptActions.tqcontains(s)) + if (m_scriptActions.contains(s)) s = m_scriptActions[s]; if (argument1Combo->contains(s)) { @@ -249,7 +249,7 @@ void EventEditorDlg::setArguments(const TQStringList& arguments) if (actionType == QPEvents::ref()->fullActionName("action")) { TQString s = arguments[0]; - if (m_otherActions.tqcontains(s)) + if (m_otherActions.contains(s)) s = m_otherActions[s]; if (argument1Combo->contains(s)) { @@ -363,7 +363,7 @@ void EventEditorDlg::slotActionChanged(const TQString &name) action = dynamic_cast<TagAction*>(m_actionCollection->action(i)); if (action && action->type() == "script") { - s = action->text().tqreplace(r, ""); + s = action->text().replace(r, ""); items.append(s); m_scriptActions[action->name()] = s; } @@ -392,7 +392,7 @@ void EventEditorDlg::slotActionChanged(const TQString &name) action = dynamic_cast<TagAction*>(a); if (!action || action->type() != "script") { - s = a->text().tqreplace(r, ""); + s = a->text().replace(r, ""); items.append(s); m_otherActions[a->name()] = s; } |