diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqevent.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqevent.cpp | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqevent.cpp b/tqtinterface/qt4/src/kernel/tqevent.cpp index 59a6ca7..6b9f90b 100644 --- a/tqtinterface/qt4/src/kernel/tqevent.cpp +++ b/tqtinterface/qt4/src/kernel/tqevent.cpp @@ -100,7 +100,7 @@ TQt::ButtonState TQContextMenuEvent::state() const { TQt-defined events types, the value should be at least as large as the value of the "User" entry in the TQEvent::Type enum. - TQCustomEvent tqcontains a generic void* data member that may be used + TQCustomEvent contains a generic void* data member that may be used for transferring event-specific data to the receiver. Note that since events are normally delivered asynchronously, the data pointer, if used, must remain valid until the event has been @@ -207,7 +207,7 @@ TQCustomEvent::TQCustomEvent( int type ) TQWidget::mouseMoveEvent(). TQObject::installEventFilter() allows an object to intercept events destined for another object. - The basic TQEvent tqcontains only an event type parameter. + The basic TQEvent contains only an event type parameter. Subclasses of TQEvent contain additional parameters that describe the particular event. @@ -350,7 +350,7 @@ TQCustomEvent::TQCustomEvent( int type ) /*! \class TQTimerEvent tqevent.h - \brief The TQTimerEvent class tqcontains parameters that describe a + \brief The TQTimerEvent class contains parameters that describe a timer event. \ingroup events @@ -387,7 +387,7 @@ TQCustomEvent::TQCustomEvent( int type ) \class TQMouseEvent tqevent.h \ingroup events - \brief The TQMouseEvent class tqcontains parameters that describe a mouse event. + \brief The TQMouseEvent class contains parameters that describe a mouse event. Mouse events occur when a mouse button is pressed or released inside a widget or when the mouse cursor is moved. @@ -400,7 +400,7 @@ TQCustomEvent::TQCustomEvent( int type ) inside a widget; the widget will continue to receive mouse events until the last mouse button is released. - A mouse event tqcontains a special accept flag that indicates + A mouse event contains a special accept flag that indicates whether the receiver wants the event. You should call TQMouseEvent::ignore() if the mouse event is not handled by your widget. A mouse event is propagated up the tqparent widget chain @@ -620,7 +620,7 @@ TQt::ButtonState TQMouseEvent::stateAfter() const /*! \class TQWheelEvent tqevent.h - \brief The TQWheelEvent class tqcontains parameters that describe a wheel event. + \brief The TQWheelEvent class contains parameters that describe a wheel event. \ingroup events @@ -629,7 +629,7 @@ TQt::ButtonState TQMouseEvent::stateAfter() const distance is provided by delta(). The functions pos() and globalPos() return the mouse pointer location at the time of the event. - A wheel event tqcontains a special accept flag that indicates + A wheel event contains a special accept flag that indicates whether the receiver wants the event. You should call TQWheelEvent::accept() if you handle the wheel event; otherwise it will be sent to the tqparent widget. @@ -656,7 +656,7 @@ TQt::ButtonState TQMouseEvent::stateAfter() const The globalPos() is initialized to TQCursor::pos(), i.e. \a pos, which is usually (but not always) right. Use the other constructor if you need to specify the global position explicitly. \a delta - tqcontains the rotation distance, \a state holds the keyboard + contains the rotation distance, \a state holds the keyboard modifier flags at the time of the event and \a orient holds the wheel's orientation. @@ -674,7 +674,7 @@ TQWheelEvent::TQWheelEvent( const TQPoint &pos, int delta, int state, Orientatio \fn TQWheelEvent::TQWheelEvent( const TQPoint &pos, const TQPoint& globalPos, int delta, int state, Orientation orient = Vertical ) Constructs a wheel event object. The position when the event - occurred is given in \a pos and \a globalPos. \a delta tqcontains + occurred is given in \a pos and \a globalPos. \a delta contains the rotation distance, \a state holds the keyboard modifier flags at the time of the event and \a orient holds the wheel's orientation. @@ -820,14 +820,14 @@ TQWheelEvent::TQWheelEvent( const TQPoint &pos, int delta, int state, Orientatio /*! \class TQKeyEvent tqevent.h - \brief The TQKeyEvent class tqcontains describes a key event. + \brief The TQKeyEvent class contains describes a key event. \ingroup events Key events occur when a key is pressed or released when a widget has keyboard input focus. - A key event tqcontains a special accept flag that indicates whether the + A key event contains a special accept flag that indicates whether the receiver wants the key event. You should call TQKeyEvent::ignore() if the key press or release event is not handled by your widget. A key event is propagated up the tqparent widget chain until a widget accepts it with @@ -1292,7 +1292,7 @@ TQt::ButtonState TQKeyEvent::stateAfter() const /*! \class TQFocusEvent tqevent.h - \brief The TQFocusEvent class tqcontains event parameters for widget focus + \brief The TQFocusEvent class contains event parameters for widget focus events. \ingroup events @@ -1396,7 +1396,7 @@ void TQFocusEvent::resetReason() /*! \class TQPaintEvent tqevent.h - \brief The TQPaintEvent class tqcontains event parameters for paint events. + \brief The TQPaintEvent class contains event parameters for paint events. \ingroup events @@ -1404,7 +1404,7 @@ void TQFocusEvent::resetReason() for instance when part of a widget is exposed because a covering widget is moved. - The event tqcontains a region() that needs to be updated, and a + The event contains a region() that needs to be updated, and a rect() that is the bounding rectangle of that region. Both are provided because many widgets can't make much use of region(), and rect() can be much faster than region().boundingRect(). Painting @@ -1468,7 +1468,7 @@ void TQFocusEvent::resetReason() /*! \class TQMoveEvent tqevent.h - \brief The TQMoveEvent class tqcontains event parameters for move events. + \brief The TQMoveEvent class contains event parameters for move events. \ingroup events @@ -1503,7 +1503,7 @@ void TQFocusEvent::resetReason() /*! \class TQResizeEvent tqevent.h - \brief The TQResizeEvent class tqcontains event parameters for resize events. + \brief The TQResizeEvent class contains event parameters for resize events. \ingroup events @@ -1537,7 +1537,7 @@ void TQFocusEvent::resetReason() /*! \class TQCloseEvent tqevent.h - \brief The TQCloseEvent class tqcontains parameters that describe a close event. + \brief The TQCloseEvent class contains parameters that describe a close event. \ingroup events @@ -1694,7 +1694,7 @@ void TQFocusEvent::resetReason() /*! \class TQContextMenuEvent tqevent.h - \brief The TQContextMenuEvent class tqcontains parameters that describe a context menu event. + \brief The TQContextMenuEvent class contains parameters that describe a context menu event. \ingroup events @@ -1963,7 +1963,7 @@ TQContextMenuEvent::TQContextMenuEvent( Reason reason, const TQPoint &pos, int s commonly used visual cue is to use a dotted underline. After the user has selected the final string, an IMEndEvent will - be sent to the widget. The event tqcontains the final string the + be sent to the widget. The event contains the final string the user selected, and could be empty if they canceled the composition. This string should be accepted as the final text the user entered, and the intermediate composition string should be @@ -1980,7 +1980,7 @@ TQContextMenuEvent::TQContextMenuEvent( Reason reason, const TQPoint &pos, int s Constructs a new TQIMEvent with the accept flag set to FALSE. \a type can be one of TQEvent::IMStartEvent, TQEvent::IMComposeEvent - or TQEvent::IMEndEvent. \a text tqcontains the current compostion + or TQEvent::IMEndEvent. \a text contains the current compostion string and \a cursorPosition the current position of the cursor inside \a text. */ @@ -1989,7 +1989,7 @@ TQContextMenuEvent::TQContextMenuEvent( Reason reason, const TQPoint &pos, int s \fn const TQString &TQIMEvent::text() const Returns the composition text. This is a null string for an - IMStartEvent, and tqcontains the final accepted string (which may be + IMStartEvent, and contains the final accepted string (which may be empty) in the IMEndEvent. */ @@ -2045,7 +2045,7 @@ TQContextMenuEvent::TQContextMenuEvent( Reason reason, const TQPoint &pos, int s /*! \class TQTabletEvent tqevent.h - \brief The TQTabletEvent class tqcontains parameters that describe a Tablet + \brief The TQTabletEvent class contains parameters that describe a Tablet event. \ingroup events @@ -2060,7 +2060,7 @@ TQContextMenuEvent::TQContextMenuEvent( Reason reason, const TQPoint &pos, int s you to get the pressure(), the xTilt() and yTilt(), as well as the type of tqdevice being used with tqdevice() (see \l{TabletDevice}). - A tablet event tqcontains a special accept flag that indicates + A tablet event contains a special accept flag that indicates whether the receiver wants the event. You should call TQTabletEvent::accept() if you handle the tablet event; otherwise it will be sent to the tqparent widget. @@ -2096,9 +2096,9 @@ TQContextMenuEvent::TQContextMenuEvent( Reason reason, const TQPoint &pos, int s int pressure, int xTilt, int yTilt, const TQPair<int,int> &uId ) Construct a tablet event of type \a t. The position of when the event occurred is given - int \a pos and \a globalPos. \a tqdevice tqcontains the \link TabletDevice tqdevice type\endlink, - \a pressure tqcontains the pressure exerted on the \a tqdevice, \a xTilt and \a yTilt contain - \a tqdevice's degree of tilt from the X and Y axis respectively. The \a uId tqcontains an + int \a pos and \a globalPos. \a tqdevice contains the \link TabletDevice tqdevice type\endlink, + \a pressure contains the pressure exerted on the \a tqdevice, \a xTilt and \a yTilt contain + \a tqdevice's degree of tilt from the X and Y axis respectively. The \a uId contains an event id. On Irix, \a globalPos will contain the high-resolution coordinates received from the @@ -2128,10 +2128,10 @@ TQTabletEvent::TQTabletEvent( Type t, const TQPoint &pos, const TQPoint &globalP Constructs a tablet event object. The position when the event occurred is is given in \a pos and \a globalPos. \a tqdevice - tqcontains the \link TabletDevice tqdevice type\endlink, \a pressure - tqcontains the pressure exerted on the \a tqdevice, \a xTilt and \a + contains the \link TabletDevice tqdevice type\endlink, \a pressure + contains the pressure exerted on the \a tqdevice, \a xTilt and \a yTilt contain the \a tqdevice's degrees of tilt from the X and Y - axis respectively. The \a uId tqcontains an event id. + axis respectively. The \a uId contains an event id. On Irix, \a globalPos will contain the high-resolution coordinates received from the tablet tqdevice driver, instead of from the @@ -2279,8 +2279,8 @@ TQTabletEvent::TQTabletEvent( Type t, const TQPoint &pos, const TQPoint &globalP Returns a unique ID for the current tqdevice. It is possible to generate a unique ID for any Wacom© tqdevice. This makes it possible to differentiate between multiple tqdevices being used at - the same time on the tablet. The \c first member tqcontains a value - for the type, the \c second member tqcontains a physical ID obtained + the same time on the tablet. The \c first member contains a value + for the type, the \c second member contains a physical ID obtained from the tqdevice. Each combination of these values is unique. Note: for different platforms, the \c first value is different due to different driver implementations. @@ -2288,7 +2288,7 @@ TQTabletEvent::TQTabletEvent( Type t, const TQPoint &pos, const TQPoint &globalP /*! \class TQChildEvent tqevent.h - \brief The TQChildEvent class tqcontains event parameters for child object + \brief The TQChildEvent class contains event parameters for child object events. \ingroup events @@ -2358,7 +2358,7 @@ TQTabletEvent::TQTabletEvent( Type t, const TQPoint &pos, const TQPoint &globalP TQt-defined events types, the value should be at least as large as the value of the "User" entry in the TQEvent::Type enum. - TQCustomEvent tqcontains a generic void* data member that may be used + TQCustomEvent contains a generic void* data member that may be used for transferring event-specific data to the receiver. Note that since events are normally delivered asynchronously, the data pointer, if used, must remain valid until the event has been |