summaryrefslogtreecommitdiffstats
path: root/src/commands/edit
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/edit')
-rw-r--r--src/commands/edit/CopyCommand.cpp2
-rw-r--r--src/commands/edit/PasteEventsCommand.h2
-rw-r--r--src/commands/edit/SetLyricsCommand.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/edit/CopyCommand.cpp b/src/commands/edit/CopyCommand.cpp
index 34534db..3214e03 100644
--- a/src/commands/edit/CopyCommand.cpp
+++ b/src/commands/edit/CopyCommand.cpp
@@ -57,7 +57,7 @@ CopyCommand::CopyCommand(SegmentSelection &selection,
for (SegmentSelection::iterator i = selection.begin();
i != selection.end(); ++i) {
TQString newLabel = strtoqstr((*i)->getLabel());
- if (newLabel.tqcontains(i18n("(copied)"))) {
+ if (newLabel.contains(i18n("(copied)"))) {
m_sourceClipboard->newSegment(*i);
} else {
m_sourceClipboard->newSegment(*i)->
diff --git a/src/commands/edit/PasteEventsCommand.h b/src/commands/edit/PasteEventsCommand.h
index 090298b..66aea6d 100644
--- a/src/commands/edit/PasteEventsCommand.h
+++ b/src/commands/edit/PasteEventsCommand.h
@@ -60,7 +60,7 @@ public:
static PasteTypeMap getPasteTypes(); // type, descrip
/**
- * Construct a Paste command from a clipboard that already tqcontains
+ * Construct a Paste command from a clipboard that already contains
* the events to be pasted.
*/
PasteEventsCommand(Segment &segment,
diff --git a/src/commands/edit/SetLyricsCommand.cpp b/src/commands/edit/SetLyricsCommand.cpp
index f10d746..cfee2bf 100644
--- a/src/commands/edit/SetLyricsCommand.cpp
+++ b/src/commands/edit/SetLyricsCommand.cpp
@@ -106,7 +106,7 @@ SetLyricsCommand::execute()
std::pair<timeT, timeT> barRange = comp->getBarRange(barNo++);
TQString syllables = *bsi;
- syllables.tqreplace(TQRegExp("\\[\\d+\\] "), " ");
+ syllables.replace(TQRegExp("\\[\\d+\\] "), " ");
TQStringList syllableList = TQStringList::split(" ", syllables); // no empties
i = m_segment->findTime(barRange.first);
@@ -131,7 +131,7 @@ SetLyricsCommand::execute()
}
TQString syllable = *ssi;
- syllable.tqreplace(TQRegExp("~"), " ");
+ syllable.replace(TQRegExp("~"), " ");
syllable = syllable.simplifyWhiteSpace();
if (syllable == "")
continue;