From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/regexptester-example.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/html/regexptester-example.html') diff --git a/doc/html/regexptester-example.html b/doc/html/regexptester-example.html index 33fc85327..5d1b15aab 100644 --- a/doc/html/regexptester-example.html +++ b/doc/html/regexptester-example.html @@ -172,9 +172,9 @@ private: void RegexpTester::execute() { - TQString regex = regexComboBox->currentText(); - TQString text = textComboBox->currentText(); - if (!regex.isEmpty() && !text.isEmpty()) { + TQString regex = regexComboBox->currentText(); + TQString text = textComboBox->currentText(); + if (!regex.isEmpty() && !text.isEmpty()) { TQRegExp re(regex); re.setCaseSensitive(caseSensitiveCheckBox->isChecked()); re.setMinimal(minimalCheckBox->isChecked()); @@ -192,8 +192,8 @@ void RegexpTester::execute() resultTable->setNumRows(0); resultTable->setNumRows(captures + OFFSET); resultTable->setText(row, 0, tr("Regex")); - TQString escaped = regex; - escaped = escaped.replace("\\", "\\\\"); + TQString escaped = regex; + escaped = escaped.replace("\\", "\\\\"); resultTable->setText(row, 1, escaped); resultTable->item(row, 1)->setSpan(1, 2); if (offset != -1) { @@ -219,7 +219,7 @@ void RegexpTester::execute() resultTable->setText(row + i, 0, tr("Capture #%1").arg(i)); resultTable->setText(row + i, 1, re.cap(i)); resultTable->setText(row + i, 2, - TQString::number(re.cap(i).length())); + TQString::number(re.cap(i).length())); } } else @@ -243,9 +243,9 @@ void RegexpTester::execute() void RegexpTester::copy() { - TQString escaped = regexComboBox->currentText(); - if (!escaped.isEmpty()) { - escaped = escaped.replace("\\", "\\\\"); + TQString escaped = regexComboBox->currentText(); + if (!escaped.isEmpty()) { + escaped = escaped.replace("\\", "\\\\"); TQClipboard *cb = TQApplication::clipboard(); cb->setText(escaped, TQClipboard::Clipboard); if (cb->supportsSelection()) -- cgit v1.2.3