summaryrefslogtreecommitdiffstats
path: root/examples/i18n
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/i18n
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/i18n')
-rw-r--r--examples/i18n/main.cpp2
-rw-r--r--examples/i18n/mywidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/i18n/main.cpp b/examples/i18n/main.cpp
index 2c9fb2fc3..adc8728f0 100644
--- a/examples/i18n/main.cpp
+++ b/examples/i18n/main.cpp
@@ -135,7 +135,7 @@ int main( int argc, char** argv )
MyWidget* w = showLang((const char*)qm[i]);
if( w == 0 ) exit( 0 );
- TQObject::connect(w, SIGNAL(closed()), qApp, SLOT(tquit()));
+ TQObject::connect(w, SIGNAL(closed()), qApp, SLOT(quit()));
w->setGeometry(x,y,197,356);
w->show();
if ( tight ) {
diff --git a/examples/i18n/mywidget.cpp b/examples/i18n/mywidget.cpp
index 94e21144e..c31483f6e 100644
--- a/examples/i18n/mywidget.cpp
+++ b/examples/i18n/mywidget.cpp
@@ -32,7 +32,7 @@ MyWidget::MyWidget( TQWidget* parent, const char* name )
setCentralWidget(central);
TQPopupMenu* file = new TQPopupMenu(this);
- file->insertItem( tr("E&xit"), qApp, SLOT(tquit()),
+ file->insertItem( tr("E&xit"), qApp, SLOT(quit()),
TQAccel::stringToKey(tr("Ctrl+Q")) );
menuBar()->insertItem( tr("&File"), file );