summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-14 22:33:41 -0600
committerTimothy Pearson <[email protected]>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /src/kernel/qwidget.cpp
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'src/kernel/qwidget.cpp')
-rw-r--r--src/kernel/qwidget.cpp12
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;