summaryrefslogtreecommitdiffstats
path: root/examples/regexptester
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/regexptester
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/regexptester')
-rw-r--r--examples/regexptester/main.cpp2
-rw-r--r--examples/regexptester/regexptester.cpp8
-rw-r--r--examples/regexptester/regexptester.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/regexptester/main.cpp b/examples/regexptester/main.cpp
index 493c955af..1e0949c7a 100644
--- a/examples/regexptester/main.cpp
+++ b/examples/regexptester/main.cpp
@@ -6,6 +6,6 @@ int main(int argc, char **argv)
TQApplication app(argc, argv);
RegexpTester form;
form.show();
- app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(tquit()));
+ app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
return app.exec();
}
diff --git a/examples/regexptester/regexptester.cpp b/examples/regexptester/regexptester.cpp
index 326c02048..91e544de9 100644
--- a/examples/regexptester/regexptester.cpp
+++ b/examples/regexptester/regexptester.cpp
@@ -39,7 +39,7 @@ RegexpTester::RegexpTester(TQWidget* parent, const char* name, bool modal,
executePushButton = new TQPushButton(this);
executePushButton->setDefault(true);
copyPushButton = new TQPushButton(this);
- tquitPushButton = new TQPushButton(this);
+ quitPushButton = new TQPushButton(this);
statusBar = new TQStatusBar(this);
TQGridLayout *gridLayout = new TQGridLayout(2, 2, 6);
@@ -55,7 +55,7 @@ RegexpTester::RegexpTester(TQWidget* parent, const char* name, bool modal,
TQVBoxLayout *buttonLayout = new TQVBoxLayout(0, 6, 6);
buttonLayout->addWidget(executePushButton);
buttonLayout->addWidget(copyPushButton);
- buttonLayout->addWidget(tquitPushButton);
+ buttonLayout->addWidget(quitPushButton);
buttonLayout->addStretch(1);
TQHBoxLayout *middleLayout = new TQHBoxLayout(0, 6, 6);
middleLayout->addWidget(resultTable);
@@ -72,7 +72,7 @@ RegexpTester::RegexpTester(TQWidget* parent, const char* name, bool modal,
connect(copyPushButton, SIGNAL(clicked()), this, SLOT(copy()));
connect(executePushButton, SIGNAL(clicked()), this, SLOT(execute()));
- connect(tquitPushButton, SIGNAL(clicked()), this, SLOT(accept()));
+ connect(quitPushButton, SIGNAL(clicked()), this, SLOT(accept()));
execute();
}
@@ -174,6 +174,6 @@ void RegexpTester::languageChange()
wildcardCheckBox->setText(tr("&Wildcard"));
copyPushButton->setText(tr("&Copy"));
executePushButton->setText(tr("&Execute"));
- tquitPushButton->setText(tr("&Quit"));
+ quitPushButton->setText(tr("&Quit"));
}
diff --git a/examples/regexptester/regexptester.h b/examples/regexptester/regexptester.h
index faff773bf..5bed34a14 100644
--- a/examples/regexptester/regexptester.h
+++ b/examples/regexptester/regexptester.h
@@ -28,7 +28,7 @@ public:
TQTable *resultTable;
TQPushButton *executePushButton;
TQPushButton *copyPushButton;
- TQPushButton *tquitPushButton;
+ TQPushButton *quitPushButton;
TQStatusBar *statusBar;
public slots: