diff options
Diffstat (limited to 'doc/man/man3/tqevent.3qt')
-rw-r--r-- | doc/man/man3/tqevent.3qt | 180 |
1 files changed, 90 insertions, 90 deletions
diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt index 7ae3ef636..aa99b6db7 100644 --- a/doc/man/man3/tqevent.3qt +++ b/doc/man/man3/tqevent.3qt @@ -1,5 +1,5 @@ '\" t -.TH QEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QEvent \- The base class of all event classes. Event objects contain event parameters +TQEvent \- The base class of all event classes. Event objects contain event parameters .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP Inherits Qt. .PP @@ -21,10 +21,10 @@ Inherited by TQTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QF .BI "enum \fBType\fR { None = 0, Timer = 1, MouseButtonPress = 2, MouseButtonRelease = 3, MouseButtonDblClick = 4, MouseMove = 5, KeyPress = 6, KeyRelease = 7, FocusIn = 8, FocusOut = 9, Enter = 10, Leave = 11, Paint = 12, Move = 13, Resize = 14, Create = 15, Destroy = 16, Show = 17, Hide = 18, Close = 19, Quit = 20, Reparent = 21, ShowMinimized = 22, ShowNormal = 23, WindowActivate = 24, WindowDeactivate = 25, ShowToParent = 26, HideToParent = 27, ShowMaximized = 28, ShowFullScreen = 29, Accel = 30, Wheel = 31, AccelAvailable = 32, CaptionChange = 33, IconChange = 34, ParentFontChange = 35, ApplicationFontChange = 36, ParentPaletteChange = 37, ApplicationPaletteChange = 38, PaletteChange = 39, Clipboard = 40, Speech = 42, SockAct = 50, AccelOverride = 51, DeferredDelete = 52, DragEnter = 60, DragMove = 61, DragLeave = 62, Drop = 63, DragResponse = 64, ChildInserted = 70, ChildRemoved = 71, LayoutHint = 72, ShowWindowRequest = 73, WindowBlocked = 74, WindowUnblocked = 75, ActivateControl = 80, DeactivateControl = 81, ContextMenu = 82, IMStart = 83, IMCompose = 84, IMEnd = 85, Accessibility = 86, TabletMove = 87, LocaleChange = 88, LanguageChange = 89, LayoutDirectionChange = 90, Style = 91, TabletPress = 92, TabletRelease = 93, OkRequest = 94, HelpRequest = 95, WindowStateChange = 96, IconDrag = 97, User = 1000, MaxUser = 65535 }" .br .ti -1c -.BI "\fBQEvent\fR ( Type type )" +.BI "\fBTQEvent\fR ( Type type )" .br .ti -1c -.BI "virtual \fB~QEvent\fR ()" +.BI "virtual \fB~TQEvent\fR ()" .br .ti -1c .BI "Type \fBtype\fR () const" @@ -34,186 +34,186 @@ Inherited by TQTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QF .br .in -1c .SH DESCRIPTION -The QEvent class is the base class of all event classes. Event objects contain event parameters. +The TQEvent class is the base class of all event classes. Event objects contain event parameters. .PP -Qt's main event loop (QApplication::exec()) fetches native window system events from the event queue, translates them into QEvents and sends the translated events to TQObjects. +Qt's main event loop (QApplication::exec()) fetches native window system events from the event queue, translates them into TQEvents and sends the translated events to TQObjects. .PP In general, events come from the underlying window system (spontaneous() returns TRUE) but it is also possible to manually send events using QApplication::sendEvent() and QApplication::postEvent() (spontaneous() returns FALSE). .PP TQObjects receive events by having their TQObject::event() function called. The function can be reimplemented in subclasses to customize event handling and add additional event types; TQWidget::event() is a notable example. By default, events are dispatched to event handlers like TQObject::timerEvent() and TQWidget::mouseMoveEvent(). TQObject::installEventFilter() allows an object to intercept events destined for another object. .PP -The basic QEvent contains only an event type parameter. Subclasses of QEvent contain additional parameters that describe the particular event. +The basic TQEvent contains only an event type parameter. Subclasses of TQEvent contain additional parameters that describe the particular event. .PP See also TQObject::event(), TQObject::installEventFilter(), TQWidget::event(), QApplication::sendEvent(), QApplication::postEvent(), QApplication::processEvents(), Environment Classes, and Event Classes. .SS "Member Type Documentation" -.SH "QEvent::Type" +.SH "TQEvent::Type" This enum type defines the valid event types in Qt. The event types and the specialized classes for each type are these: .TP -\fCQEvent::None\fR - Not an event. +\fCTQEvent::None\fR - Not an event. .TP -\fCQEvent::Accessibility\fR - Accessibility information is requested +\fCTQEvent::Accessibility\fR - Accessibility information is requested .TP -\fCQEvent::Timer\fR - Regular timer events, TQTimerEvent. +\fCTQEvent::Timer\fR - Regular timer events, TQTimerEvent. .TP -\fCQEvent::MouseButtonPress\fR - Mouse press, QMouseEvent. +\fCTQEvent::MouseButtonPress\fR - Mouse press, QMouseEvent. .TP -\fCQEvent::MouseButtonRelease\fR - Mouse release, QMouseEvent. +\fCTQEvent::MouseButtonRelease\fR - Mouse release, QMouseEvent. .TP -\fCQEvent::MouseButtonDblClick\fR - Mouse press again, QMouseEvent. +\fCTQEvent::MouseButtonDblClick\fR - Mouse press again, QMouseEvent. .TP -\fCQEvent::MouseMove\fR - Mouse move, QMouseEvent. +\fCTQEvent::MouseMove\fR - Mouse move, QMouseEvent. .TP -\fCQEvent::KeyPress\fR - Key press (including Shift, for example), QKeyEvent. +\fCTQEvent::KeyPress\fR - Key press (including Shift, for example), QKeyEvent. .TP -\fCQEvent::KeyRelease\fR - Key release, QKeyEvent. +\fCTQEvent::KeyRelease\fR - Key release, QKeyEvent. .TP -\fCQEvent::IMStart\fR - The start of input method composition, QIMEvent. +\fCTQEvent::IMStart\fR - The start of input method composition, QIMEvent. .TP -\fCQEvent::IMCompose\fR - Input method composition is taking place, QIMEvent. +\fCTQEvent::IMCompose\fR - Input method composition is taking place, QIMEvent. .TP -\fCQEvent::IMEnd\fR - The end of input method composition, QIMEvent. +\fCTQEvent::IMEnd\fR - The end of input method composition, QIMEvent. .TP -\fCQEvent::FocusIn\fR - Widget gains keyboard focus, QFocusEvent. +\fCTQEvent::FocusIn\fR - Widget gains keyboard focus, QFocusEvent. .TP -\fCQEvent::FocusOut\fR - Widget loses keyboard focus, QFocusEvent. +\fCTQEvent::FocusOut\fR - Widget loses keyboard focus, QFocusEvent. .TP -\fCQEvent::Enter\fR - Mouse enters widget's boundaries. +\fCTQEvent::Enter\fR - Mouse enters widget's boundaries. .TP -\fCQEvent::Leave\fR - Mouse leaves widget's boundaries. +\fCTQEvent::Leave\fR - Mouse leaves widget's boundaries. .TP -\fCQEvent::Paint\fR - Screen update necessary, TQPaintEvent. +\fCTQEvent::Paint\fR - Screen update necessary, TQPaintEvent. .TP -\fCQEvent::Move\fR - Widget's position changed, QMoveEvent. +\fCTQEvent::Move\fR - Widget's position changed, QMoveEvent. .TP -\fCQEvent::Resize\fR - Widget's size changed, QResizeEvent. +\fCTQEvent::Resize\fR - Widget's size changed, QResizeEvent. .TP -\fCQEvent::Show\fR - Widget was shown on screen, QShowEvent. +\fCTQEvent::Show\fR - Widget was shown on screen, QShowEvent. .TP -\fCQEvent::Hide\fR - Widget was hidden, QHideEvent. +\fCTQEvent::Hide\fR - Widget was hidden, QHideEvent. .TP -\fCQEvent::ShowToParent\fR - A child widget has been shown. +\fCTQEvent::ShowToParent\fR - A child widget has been shown. .TP -\fCQEvent::HideToParent\fR - A child widget has been hidden. +\fCTQEvent::HideToParent\fR - A child widget has been hidden. .TP -\fCQEvent::Close\fR - Widget was closed (permanently), QCloseEvent. +\fCTQEvent::Close\fR - Widget was closed (permanently), QCloseEvent. .TP -\fCQEvent::ShowNormal\fR - Widget should be shown normally (obsolete). +\fCTQEvent::ShowNormal\fR - Widget should be shown normally (obsolete). .TP -\fCQEvent::ShowMaximized\fR - Widget should be shown maximized (obsolete). +\fCTQEvent::ShowMaximized\fR - Widget should be shown maximized (obsolete). .TP -\fCQEvent::ShowMinimized\fR - Widget should be shown minimized (obsolete). +\fCTQEvent::ShowMinimized\fR - Widget should be shown minimized (obsolete). .TP -\fCQEvent::ShowFullScreen\fR - Widget should be shown full-screen (obsolete). +\fCTQEvent::ShowFullScreen\fR - Widget should be shown full-screen (obsolete). .TP -\fCQEvent::ShowWindowRequest\fR - Widget's window should be shown (obsolete). +\fCTQEvent::ShowWindowRequest\fR - Widget's window should be shown (obsolete). .TP -\fCQEvent::DeferredDelete\fR - The object will be deleted after it has cleaned up. +\fCTQEvent::DeferredDelete\fR - The object will be deleted after it has cleaned up. .TP -\fCQEvent::Accel\fR - Key press in child for shortcut key handling, QKeyEvent. +\fCTQEvent::Accel\fR - Key press in child for shortcut key handling, QKeyEvent. .TP -\fCQEvent::Wheel\fR - Mouse wheel rolled, QWheelEvent. +\fCTQEvent::Wheel\fR - Mouse wheel rolled, QWheelEvent. .TP -\fCQEvent::ContextMenu\fR - Context popup menu, QContextMenuEvent +\fCTQEvent::ContextMenu\fR - Context popup menu, QContextMenuEvent .TP -\fCQEvent::AccelOverride\fR - Key press in child, for overriding shortcut key handling, QKeyEvent. +\fCTQEvent::AccelOverride\fR - Key press in child, for overriding shortcut key handling, QKeyEvent. .TP -\fCQEvent::AccelAvailable\fR - internal. +\fCTQEvent::AccelAvailable\fR - internal. .TP -\fCQEvent::WindowActivate\fR - Window was activated. +\fCTQEvent::WindowActivate\fR - Window was activated. .TP -\fCQEvent::WindowDeactivate\fR - Window was deactivated. +\fCTQEvent::WindowDeactivate\fR - Window was deactivated. .TP -\fCQEvent::CaptionChange\fR - Widget's caption changed. +\fCTQEvent::CaptionChange\fR - Widget's caption changed. .TP -\fCQEvent::IconChange\fR - Widget's icon changed. +\fCTQEvent::IconChange\fR - Widget's icon changed. .TP -\fCQEvent::ParentFontChange\fR - Font of the parent widget changed. +\fCTQEvent::ParentFontChange\fR - Font of the parent widget changed. .TP -\fCQEvent::ApplicationFontChange\fR - Default application font changed. +\fCTQEvent::ApplicationFontChange\fR - Default application font changed. .TP -\fCQEvent::PaletteChange\fR - Palette of the widget changed. +\fCTQEvent::PaletteChange\fR - Palette of the widget changed. .TP -\fCQEvent::ParentPaletteChange\fR - Palette of the parent widget changed. +\fCTQEvent::ParentPaletteChange\fR - Palette of the parent widget changed. .TP -\fCQEvent::ApplicationPaletteChange\fR - Default application palette changed. +\fCTQEvent::ApplicationPaletteChange\fR - Default application palette changed. .TP -\fCQEvent::Clipboard\fR - Clipboard contents have changed. +\fCTQEvent::Clipboard\fR - Clipboard contents have changed. .TP -\fCQEvent::SockAct\fR - Socket activated, used to implement TQSocketNotifier. +\fCTQEvent::SockAct\fR - Socket activated, used to implement TQSocketNotifier. .TP -\fCQEvent::DragEnter\fR - A drag-and-drop enters widget, TQDragEnterEvent. +\fCTQEvent::DragEnter\fR - A drag-and-drop enters widget, TQDragEnterEvent. .TP -\fCQEvent::DragMove\fR - A drag-and-drop is in progress, TQDragMoveEvent. +\fCTQEvent::DragMove\fR - A drag-and-drop is in progress, TQDragMoveEvent. .TP -\fCQEvent::DragLeave\fR - A drag-and-drop leaves widget, TQDragLeaveEvent. +\fCTQEvent::DragLeave\fR - A drag-and-drop leaves widget, TQDragLeaveEvent. .TP -\fCQEvent::Drop\fR - A drag-and-drop is completed, TQDropEvent. +\fCTQEvent::Drop\fR - A drag-and-drop is completed, TQDropEvent. .TP -\fCQEvent::DragResponse\fR - Internal event used by TQt on some platforms. +\fCTQEvent::DragResponse\fR - Internal event used by TQt on some platforms. .TP -\fCQEvent::ChildInserted\fR - Object gets a child, QChildEvent. +\fCTQEvent::ChildInserted\fR - Object gets a child, QChildEvent. .TP -\fCQEvent::ChildRemoved\fR - Object loses a child, QChildEvent. +\fCTQEvent::ChildRemoved\fR - Object loses a child, QChildEvent. .TP -\fCQEvent::LayoutHint\fR - Widget child has changed layout properties. +\fCTQEvent::LayoutHint\fR - Widget child has changed layout properties. .TP -\fCQEvent::ActivateControl\fR - Internal event used by TQt on some platforms. +\fCTQEvent::ActivateControl\fR - Internal event used by TQt on some platforms. .TP -\fCQEvent::DeactivateControl\fR - Internal event used by TQt on some platforms. +\fCTQEvent::DeactivateControl\fR - Internal event used by TQt on some platforms. .TP -\fCQEvent::LanguageChange\fR - The application translation changed, QTranslator +\fCTQEvent::LanguageChange\fR - The application translation changed, TQTranslator .TP -\fCQEvent::LayoutDirectionChange\fR - The direction of layouts changed +\fCTQEvent::LayoutDirectionChange\fR - The direction of layouts changed .TP -\fCQEvent::LocaleChange\fR - The system locale changed +\fCTQEvent::LocaleChange\fR - The system locale changed .TP -\fCQEvent::Quit\fR - Reserved. +\fCTQEvent::Quit\fR - Reserved. .TP -\fCQEvent::Create\fR - Reserved. +\fCTQEvent::Create\fR - Reserved. .TP -\fCQEvent::Destroy\fR - Reserved. +\fCTQEvent::Destroy\fR - Reserved. .TP -\fCQEvent::Reparent\fR - Reserved. +\fCTQEvent::Reparent\fR - Reserved. .TP -\fCQEvent::Speech\fR - Reserved for speech input. +\fCTQEvent::Speech\fR - Reserved for speech input. .TP -\fCQEvent::TabletMove\fR - A Wacom Tablet Move Event. +\fCTQEvent::TabletMove\fR - A Wacom Tablet Move Event. .TP -\fCQEvent::Style\fR - Internal use only +\fCTQEvent::Style\fR - Internal use only .TP -\fCQEvent::TabletPress\fR - A Wacom Tablet Press Event +\fCTQEvent::TabletPress\fR - A Wacom Tablet Press Event .TP -\fCQEvent::TabletRelease\fR - A Wacom Tablet Release Event +\fCTQEvent::TabletRelease\fR - A Wacom Tablet Release Event .TP -\fCQEvent::OkRequest\fR - Internal event used by TQt on some platforms. +\fCTQEvent::OkRequest\fR - Internal event used by TQt on some platforms. .TP -\fCQEvent::HelpRequest\fR - Internal event used by TQt on some platforms. +\fCTQEvent::HelpRequest\fR - Internal event used by TQt on some platforms. .TP -\fCQEvent::IconDrag\fR - Internal event used by TQt on some platforms when proxy icon is dragged. +\fCTQEvent::IconDrag\fR - Internal event used by TQt on some platforms when proxy icon is dragged. .TP -\fCQEvent::WindowStateChange\fR - The window's state, i.e. minimized, maximized or full-screen, has changed. See TQWidget::windowState(). +\fCTQEvent::WindowStateChange\fR - The window's state, i.e. minimized, maximized or full-screen, has changed. See TQWidget::windowState(). .TP -\fCQEvent::WindowBlocked\fR - The window is modally blocked +\fCTQEvent::WindowBlocked\fR - The window is modally blocked .TP -\fCQEvent::WindowUnblocked\fR - The window leaves modal blocking +\fCTQEvent::WindowUnblocked\fR - The window leaves modal blocking .TP -\fCQEvent::User\fR - User defined event. +\fCTQEvent::User\fR - User defined event. .TP -\fCQEvent::MaxUser\fR - Last user event id. +\fCTQEvent::MaxUser\fR - Last user event id. .PP User events should have values between User and MaxUser inclusive. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QEvent::QEvent ( Type type )" +.SH "TQEvent::TQEvent ( Type type )" Contructs an event object of type \fItype\fR. -.SH "QEvent::~QEvent ()\fC [virtual]\fR" +.SH "TQEvent::~TQEvent ()\fC [virtual]\fR" Destroys the event. If it was posted, it will be removed from the list of events to be posted. -.SH "bool QEvent::spontaneous () const" +.SH "bool TQEvent::spontaneous () const" Returns TRUE if the event originated outside the application, i.e. it is a system event; otherwise returns FALSE. -.SH "Type QEvent::type () const" +.SH "Type TQEvent::type () const" Returns the event type. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqevent.html +.BR http://doc.trolltech.com/tqevent.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |