summaryrefslogtreecommitdiffstats
path: root/examples/addressbook
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/addressbook
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/addressbook')
-rw-r--r--examples/addressbook/main.cpp2
-rw-r--r--examples/addressbook/mainwindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/addressbook/main.cpp b/examples/addressbook/main.cpp
index 33b69833e..c1df2139b 100644
--- a/examples/addressbook/main.cpp
+++ b/examples/addressbook/main.cpp
@@ -20,7 +20,7 @@ int main( int argc, char ** argv )
a.setMainWidget( mw );
mw->show();
- a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) );
+ a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
int result = a.exec();
delete mw;
return result;
diff --git a/examples/addressbook/mainwindow.cpp b/examples/addressbook/mainwindow.cpp
index e6f705b57..4d2d1fdd3 100644
--- a/examples/addressbook/mainwindow.cpp
+++ b/examples/addressbook/mainwindow.cpp
@@ -47,7 +47,7 @@ void ABMainWindow::setupMenuBar()
file->insertItem( TQPixmap( "fileprint.xpm" ), "Print...", this, SLOT( filePrint() ), CTRL + Key_P );
file->insertSeparator();
file->insertItem( "Close", this, SLOT( closeWindow() ), CTRL + Key_W );
- file->insertItem( "Quit", qApp, SLOT( tquit() ), CTRL + Key_Q );
+ file->insertItem( "Quit", qApp, SLOT( quit() ), CTRL + Key_Q );
}
void ABMainWindow::setupFileTools()