summaryrefslogtreecommitdiffstats
path: root/examples/scrollview
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/scrollview
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/scrollview')
-rw-r--r--examples/scrollview/scrollview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/scrollview/scrollview.cpp b/examples/scrollview/scrollview.cpp
index 994cd292c..4e0cfcf15 100644
--- a/examples/scrollview/scrollview.cpp
+++ b/examples/scrollview/scrollview.cpp
@@ -43,7 +43,7 @@ public:
for (int y=0; y<2000-h; y+=h+10) {
if (y == 0) {
TQButton* q=new TQPushButton("Quit", this);
- connect(q, SIGNAL(clicked()), qApp, SLOT(tquit()));
+ connect(q, SIGNAL(clicked()), qApp, SLOT(quit()));
} else {
TQString str;
if ( b > 0 ) {
@@ -207,7 +207,7 @@ public:
TQPopupMenu* file = new TQPopupMenu( menubar );
Q_CHECK_PTR( file );
menubar->insertItem( "&File", file );
- file->insertItem( "Quit", qApp, SLOT(tquit()) );
+ file->insertItem( "Quit", qApp, SLOT(quit()) );
vp_options = new TQPopupMenu( menubar );
Q_CHECK_PTR( vp_options );
@@ -433,7 +433,7 @@ int main( int argc, char **argv )
ve3.setCaption("TQt Example - Scrollviews");
ve3.show();
- TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit()));
+ TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()));
return a.exec();
}