summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qapplication.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qapplication.3qt')
-rw-r--r--doc/man/man3/qapplication.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/qapplication.3qt b/doc/man/man3/qapplication.3qt
index 10d6bb921..7b67978e9 100644
--- a/doc/man/man3/qapplication.3qt
+++ b/doc/man/man3/qapplication.3qt
@@ -792,12 +792,12 @@ This function is particularly useful for applications with many top-level window
.br
QPopupMenu* file = new QPopupMenu( this );
.br
- file->insertItem( "&Quit", qApp, SLOT(closeAllWindows()), CTRL+Key_Q );
+ file->insertItem( "&Quit", tqApp, SLOT(closeAllWindows()), CTRL+Key_Q );
.br
.br
// when the last window is closed, the application should quit
.br
- connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( quit() ) );
+ connect( tqApp, SIGNAL( lastWindowClosed() ), tqApp, SLOT( quit() ) );
.br
.fi
.PP
@@ -1047,10 +1047,10 @@ For certain types of events (e.g. mouse and key events), the event will be propa
.PP
There are five different ways that events can be processed; reimplementing this virtual function is just one of them. All five approaches are listed below: <ol type=1>
.TP
-Reimplementing this function. This is very powerful, providing complete control; but only one subclass can be qApp.
+Reimplementing this function. This is very powerful, providing complete control; but only one subclass can be tqApp.
.IP
.TP
-Installing an event filter on qApp. Such an event filter is able to process all events for all widgets, so it's just as powerful as reimplementing notify(); furthermore, it's possible to have more than one application-global event filter. Global event filters even see mouse events for disabled widgets, and if global mouse tracking is enabled, as well as mouse move events for all widgets.
+Installing an event filter on tqApp. Such an event filter is able to process all events for all widgets, so it's just as powerful as reimplementing notify(); furthermore, it's possible to have more than one application-global event filter. Global event filters even see mouse events for disabled widgets, and if global mouse tracking is enabled, as well as mouse move events for all widgets.
.IP
.TP
Reimplementing QObject::event() (as QWidget does). If you do this you get Tab key presses, and you get to see the events before any widget-specific event filters.
@@ -1131,7 +1131,7 @@ Example:
.br
QPushButton *quitButton = new QPushButton( "Quit" );
.br
- connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quitButton, SIGNAL(clicked()), tqApp, SLOT(quit()) );
.br
.fi
.PP