diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /src/kernel/qapplication_x11.cpp | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'src/kernel/qapplication_x11.cpp')
-rw-r--r-- | src/kernel/qapplication_x11.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp index 1e2b6c8e3..ba926e09d 100644 --- a/src/kernel/qapplication_x11.cpp +++ b/src/kernel/qapplication_x11.cpp @@ -2726,14 +2726,14 @@ GC qt_xget_temp_gc( int scrn, bool monochrome ) // get temporary GC yourself. You need not have a main widget; connecting lastWindowClosed() to - tquit() is an alternative. + quit() is an alternative. For X11, this function also resizes and moves the main widget according to the \e -geometry command-line option, so you should set the default geometry (using \l TQWidget::setGeometry()) before calling setMainWidget(). - \sa mainWidget(), exec(), tquit() + \sa mainWidget(), exec(), quit() */ void TQApplication::setMainWidget( TQWidget *mainWidget ) @@ -3334,7 +3334,7 @@ int TQApplication::x11ProcessEvent( XEvent* event ) #ifndef QT_NO_IM // Filtering input events by the input context. It has to be taken // place before any other key event consumers such as eventfilters - // and accelerators because some input methods retquire tquite + // and accelerators because some input methods retquire quite // various key combination and sequences. It often conflicts with // accelerators and so on, so we must give the input context the // filtering opportunity first to ensure all input methods work @@ -4393,7 +4393,7 @@ bool TQETWidget::translateWheelEvent( int global_x, int global_y, int delta, int bool TQETWidget::translateXinputEvent( const XEvent *ev ) { #if defined (Q_OS_IRIX) - // Wacom has put defines in their wacom.h file so it would be tquite wise + // Wacom has put defines in their wacom.h file so it would be quite wise // to use them, need to think of a decent way of not using // it when it doesn't exist... XDeviceState *s; @@ -6405,8 +6405,8 @@ static void sm_dieCallback( SmcConn smcConn, SmPointer /* clientData */) if (smcConn != smcConnection ) return; resetSmState(); - TQEvent tquitEvent(TQEvent::Quit); - TQApplication::sendEvent(qApp, &tquitEvent); + TQEvent quitEvent(TQEvent::Quit); + TQApplication::sendEvent(qApp, &quitEvent); } static void sm_shutdownCancelledCallback( SmcConn smcConn, SmPointer /* clientData */) |