From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/regexptester-example.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'doc/html/regexptester-example.html') diff --git a/doc/html/regexptester-example.html b/doc/html/regexptester-example.html index 19bfb8111..1d90da289 100644 --- a/doc/html/regexptester-example.html +++ b/doc/html/regexptester-example.html @@ -163,9 +163,9 @@ private: languageChange(); - connect(copyPushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(copy())); - connect(executePushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(execute())); - connect(quitPushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); + connect(copyPushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(copy())); + connect(executePushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(execute())); + connect(quitPushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); execute(); } @@ -181,7 +181,7 @@ void RegexpTester::execute() bool wildcard = wildcardCheckBox->isChecked(); re.setWildcard(wildcard); if (!re.isValid()) { - statusBar->message(tr("Invalid regular expression: %1") + statusBar->message(tr("Invalid regular expression: %1") .arg(re.errorString())); return; } @@ -234,11 +234,11 @@ void RegexpTester::execute() resultTable->adjustColumn(0); resultTable->adjustColumn(1); resultTable->adjustColumn(2); - statusBar->message(tr("Executed \"%1\" on \"%2\"") + statusBar->message(tr("Executed \"%1\" on \"%2\"") .arg(escaped).arg(text)); } else - statusBar->message(tr("A regular expression and a text must be given")); + statusBar->message(tr("A regular expression and a text must be given")); } void RegexpTester::copy() @@ -250,24 +250,24 @@ void RegexpTester::copy() cb->setText(escaped, TQClipboard::Clipboard); if (cb->supportsSelection()) cb->setText(escaped, TQClipboard::Selection); - statusBar->message(tr("Copied \"%1\" to the clipboard") + statusBar->message(tr("Copied \"%1\" to the clipboard") .arg(escaped)); } } void RegexpTester::languageChange() { - setCaption(tr("Regex Tester")); - regexLabel->setText(tr("&Regex:")); - regexComboBox->insertItem(tr("[A-Z]+=(\\d+):(\\d*)")); - textLabel->setText(tr("&Text:")); - textComboBox->insertItem(tr("ABC=12:3456")); - caseSensitiveCheckBox->setText(tr("Case &Sensitive")); - minimalCheckBox->setText(tr("&Minimal")); - wildcardCheckBox->setText(tr("&Wildcard")); - copyPushButton->setText(tr("&Copy")); - executePushButton->setText(tr("&Execute")); - quitPushButton->setText(tr("&Quit")); + setCaption(tr("Regex Tester")); + regexLabel->setText(tr("&Regex:")); + regexComboBox->insertItem(tr("[A-Z]+=(\\d+):(\\d*)")); + textLabel->setText(tr("&Text:")); + textComboBox->insertItem(tr("ABC=12:3456")); + caseSensitiveCheckBox->setText(tr("Case &Sensitive")); + minimalCheckBox->setText(tr("&Minimal")); + wildcardCheckBox->setText(tr("&Wildcard")); + copyPushButton->setText(tr("&Copy")); + executePushButton->setText(tr("&Execute")); + quitPushButton->setText(tr("&Quit")); } @@ -282,7 +282,7 @@ int main(int argc, char **argv) TQApplication app(argc, argv); RegexpTester form; form.show(); - app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); + app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); return app.exec(); } -- cgit v1.2.3