summaryrefslogtreecommitdiffstats
path: root/tools/linguist/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linguist/tutorial')
-rw-r--r--tools/linguist/tutorial/tt2/mainwindow.cpp2
-rw-r--r--tools/linguist/tutorial/tt3/mainwindow.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/linguist/tutorial/tt2/mainwindow.cpp b/tools/linguist/tutorial/tt2/mainwindow.cpp
index b2951f6e9..a2507331c 100644
--- a/tools/linguist/tutorial/tt2/mainwindow.cpp
+++ b/tools/linguist/tutorial/tt2/mainwindow.cpp
@@ -19,7 +19,7 @@ MainWindow::MainWindow( TQWidget *parent, const char *name )
setCentralWidget( ap );
TQPopupMenu *file = new TQPopupMenu( this );
- file->insertItem( tr("E&xit"), tqApp, SLOT(quit()),
+ file->insertItem( tr("E&xit"), tqApp, TQ_SLOT(quit()),
tr("Ctrl+Q", "Quit") );
menuBar()->insertItem( tr("&File"), file );
menuBar()->setSeparator( TQMenuBar::InWindowsStyle );
diff --git a/tools/linguist/tutorial/tt3/mainwindow.cpp b/tools/linguist/tutorial/tt3/mainwindow.cpp
index efaaac932..8e4bee5cd 100644
--- a/tools/linguist/tutorial/tt3/mainwindow.cpp
+++ b/tools/linguist/tutorial/tt3/mainwindow.cpp
@@ -22,11 +22,11 @@ MainWindow::MainWindow( TQWidget *parent, const char *name )
setCentralWidget( pp );
TQPopupMenu *file = new TQPopupMenu( this );
- file->insertItem( tr("E&xit"), tqApp, SLOT(quit()),
+ file->insertItem( tr("E&xit"), tqApp, TQ_SLOT(quit()),
tr("Ctrl+Q", "Quit") );
TQPopupMenu *help = new TQPopupMenu( this );
- help->insertItem( tr("&About"), this, SLOT(about()), Key_F1 );
- help->insertItem( tr("About &TQt"), this, SLOT(aboutTQt()) );
+ help->insertItem( tr("&About"), this, TQ_SLOT(about()), Key_F1 );
+ help->insertItem( tr("About &TQt"), this, TQ_SLOT(aboutTQt()) );
menuBar()->insertItem( tr("&File"), file );
menuBar()->insertSeparator();