diff options
Diffstat (limited to 'src/kernel/qwidget.cpp')
-rw-r--r-- | src/kernel/qwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qwidget.cpp b/src/kernel/qwidget.cpp index f531cfc94..4d8519884 100644 --- a/src/kernel/qwidget.cpp +++ b/src/kernel/qwidget.cpp @@ -288,7 +288,7 @@ widget flag). \i \c{const char *name = 0} is the widget name of the new widget. You can access it using name(). The widget name is little - used by programmers but is tquite useful with GUI builders such as + used by programmers but is quite useful with GUI builders such as \e{TQt Designer} (you can name a widget in \e{TQt Designer}, and connect() to it using the name in your code). The dumpObjectTree() debugging function also uses it. @@ -333,10 +333,10 @@ mouse button is held down, this popup immediately steals the mouse events. - \i mouseDoubleClickEvent() - not tquite as obvious as it might seem. + \i mouseDoubleClickEvent() - not quite as obvious as it might seem. If the user double-clicks, the widget receives a mouse press event (perhaps a mouse move event or two if they don't hold the mouse - tquite steady), a mouse release event and finally this event. It is + quite steady), a mouse release event and finally this event. It is \e{not possible} to distinguish a click from a double click until you've seen whether the second click arrives. (This is one reason why most GUI books recommend that double clicks be an extension of single clicks, @@ -956,7 +956,7 @@ TQWidget::~TQWidget() if ( TQApplication::main_widget == this ) { // reset main widget TQApplication::main_widget = 0; if (qApp) - qApp->tquit(); + qApp->quit(); } if ( hasFocus() ) @@ -4274,7 +4274,7 @@ void TQWidget::polish() Note that closing the \l TQApplication::mainWidget() terminates the application. - \sa closeEvent(), TQCloseEvent, hide(), TQApplication::tquit(), + \sa closeEvent(), TQCloseEvent, hide(), TQApplication::quit(), TQApplication::setMainWidget(), TQApplication::lastWindowClosed() */ @@ -4316,7 +4316,7 @@ bool TQWidget::close( bool alsoDelete ) emit qApp->lastWindowClosed(); } if ( isMain ) - qApp->tquit(); + qApp->quit(); if ( deleted ) return TRUE; is_closing = 0; |