diff options
Diffstat (limited to 'doc/man/man3')
36 files changed, 354 insertions, 354 deletions
diff --git a/doc/man/man3/tqaccel.3qt b/doc/man/man3/tqaccel.3qt index 4ad264c2f..d38a0a29c 100644 --- a/doc/man/man3/tqaccel.3qt +++ b/doc/man/man3/tqaccel.3qt @@ -94,7 +94,7 @@ Inherits TQObject. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual bool eventFilter ( TQObject *, QEvent * ) \fI(obsolete)\fR" +.BI "virtual bool eventFilter ( TQObject *, TQEvent * ) \fI(obsolete)\fR" .br .in -1c .SH DESCRIPTION @@ -193,7 +193,7 @@ Returns the number of accelerator items in this accelerator. Disconnects an accelerator item with id \fIid\fR from the function called \fImember\fR in the \fIreceiver\fR object. .PP See also connectItem(). -.SH "bool QAccel::eventFilter ( TQObject *, QEvent * )\fC [virtual protected]\fR" +.SH "bool QAccel::eventFilter ( TQObject *, TQEvent * )\fC [virtual protected]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. serves no purpose anymore .PP Reimplemented from TQObject. diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index dfa7de94f..4e9a030b0 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -88,7 +88,7 @@ Inherits TQObject. .BI "int loopLevel () const \fI(obsolete)\fR" .br .ti -1c -.BI "virtual bool \fBnotify\fR ( TQObject * receiver, QEvent * e )" +.BI "virtual bool \fBnotify\fR ( TQObject * receiver, TQEvent * e )" .br .ti -1c .BI "void setDefaultCodec ( TQTextCodec * codec ) \fI(obsolete)\fR" @@ -97,10 +97,10 @@ Inherits TQObject. .BI "TQTextCodec * defaultCodec () const \fI(obsolete)\fR" .br .ti -1c -.BI "void \fBinstallTranslator\fR ( QTranslator * mf )" +.BI "void \fBinstallTranslator\fR ( TQTranslator * mf )" .br .ti -1c -.BI "void \fBremoveTranslator\fR ( QTranslator * mf )" +.BI "void \fBremoveTranslator\fR ( TQTranslator * mf )" .br .ti -1c .BI "enum \fBEncoding\fR { DefaultCodec, UnicodeUTF8 }" @@ -238,7 +238,7 @@ Inherits TQObject. .BI "TQWidgetList * \fBtopLevelWidgets\fR ()" .br .ti -1c -.BI "QDesktopWidget * \fBdesktop\fR ()" +.BI "TQDesktopWidget * \fBdesktop\fR ()" .br .ti -1c .BI "TQWidget * \fBactivePopupWidget\fR ()" @@ -256,16 +256,16 @@ Inherits TQObject. .BI "TQWidget * \fBwidgetAt\fR ( const TQPoint & pos, bool child = FALSE )" .br .ti -1c -.BI "QEventLoop * \fBeventLoop\fR ()" +.BI "TQEventLoop * \fBeventLoop\fR ()" .br .ti -1c .BI "void \fBexit\fR ( int retcode = 0 )" .br .ti -1c -.BI "bool \fBsendEvent\fR ( TQObject * receiver, QEvent * event )" +.BI "bool \fBsendEvent\fR ( TQObject * receiver, TQEvent * event )" .br .ti -1c -.BI "void \fBpostEvent\fR ( TQObject * receiver, QEvent * event )" +.BI "void \fBpostEvent\fR ( TQObject * receiver, TQEvent * event )" .br .ti -1c .BI "void \fBsendPostedEvents\fR ( TQObject * receiver, int event_type )" @@ -827,14 +827,14 @@ See also setCursorFlashTime(). \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Returns TQTextCodec::codecForTr(). -.SH "QDesktopWidget * QApplication::desktop ()\fC [static]\fR" +.SH "TQDesktopWidget * QApplication::desktop ()\fC [static]\fR" Returns the desktop widget (also called the root window). .PP The desktop widget is useful for obtaining the size of the screen. It may also be possible to draw on the desktop. We recommend against assuming that it's possible to draw on the desktop, since this does not work on all operating systems. .PP .nf .br - QDesktopWidget *d = QApplication::desktop(); + TQDesktopWidget *d = QApplication::desktop(); .br int w = d->width(); // returns desktop width .br @@ -860,12 +860,12 @@ See also setDoubleClickInterval(). This function enters the main event loop (recursively). Do not call it unless you really know what you are doing. .PP Use QApplication::eventLoop()->enterLoop() instead. -.SH "QEventLoop * QApplication::eventLoop ()\fC [static]\fR" +.SH "TQEventLoop * QApplication::eventLoop ()\fC [static]\fR" Returns the application event loop. This function will return zero if called during and after destroying QApplication. .PP -To create your own instance of QEventLoop or QEventLoop subclass create it before you create the QApplication object. +To create your own instance of TQEventLoop or TQEventLoop subclass create it before you create the QApplication object. .PP -See also QEventLoop. +See also TQEventLoop. .PP Example: distributor/distributor.ui.h. .SH "int QApplication::exec ()" @@ -945,12 +945,12 @@ See also setGlobalMouseTracking(). This function returns TRUE if there are pending events; otherwise returns FALSE. Pending events can be either from the window system or posted events using QApplication::postEvent(). .SH "int QApplication::horizontalAlignment ( int align )\fC [static]\fR" Strips out vertical alignment flags and transforms an alignment \fIalign\fR of AlignAuto into AlignLeft or AlignRight according to the language used. The other horizontal alignment flags are left untouched. -.SH "void QApplication::installTranslator ( QTranslator * mf )" +.SH "void QApplication::installTranslator ( TQTranslator * mf )" Adds the message file \fImf\fR to the list of message files to be used for translations. .PP Multiple message files can be installed. Translations are searched for in the last installed message file, then the one from last, and so on, back to the first installed message file. The search stops as soon as a matching translation is found. .PP -See also removeTranslator(), translate(), and QTranslator::load(). +See also removeTranslator(), translate(), and TQTranslator::load(). .PP Example: i18n/main.cpp. .SH "bool QApplication::isEffectEnabled ( TQt::UIEffect effect )\fC [static]\fR" @@ -1026,7 +1026,7 @@ Return TRUE if you want to stop the event from being processed. Return FALSE for Returns the main application widget, or 0 if there is no main widget. .PP See also setMainWidget(). -.SH "bool QApplication::notify ( TQObject * receiver, QEvent * e )\fC [virtual]\fR" +.SH "bool QApplication::notify ( TQObject * receiver, TQEvent * e )\fC [virtual]\fR" Sends event \fIe\fR to \fIreceiver\fR: \fIreceiver\fR->event(\fIe\fR). Returns the value that is returned from the receiver's event handler. .PP For certain types of events (e.g. mouse and key events), the event will be propagated to the receiver's parent and so on up to the top-level object if the receiver is not interested in the event (i.e., it returns FALSE). @@ -1071,7 +1071,7 @@ Usually widgets call this automatically when they are polished. It may be used t Note that you are not limited to the public functions of TQWidget. Instead, based on meta information like TQObject::className() you are able to customize any kind of widget. .PP See also TQStyle::polish(), TQWidget::polish(), setPalette(), and setFont(). -.SH "void QApplication::postEvent ( TQObject * receiver, QEvent * event )\fC [static]\fR" +.SH "void QApplication::postEvent ( TQObject * receiver, TQEvent * event )\fC [static]\fR" \fBNote:\fR This function is thread-safe when TQt is built withthread support.</p> Adds the event \fIevent\fR with the object \fIreceiver\fR as the receiver of the event, to an event queue and returns immediately. .PP The event must be allocated on the heap since the post event queue will take ownership of the event and delete it once it has been posted. @@ -1084,7 +1084,7 @@ Processes pending events, for 3 seconds or until there are no more events to pro .PP You can call this function occasionally when your program is busy performing a long operation (e.g. copying a file). .PP -See also exec(), TQTimer, and QEventLoop::processEvents(). +See also exec(), TQTimer, and TQEventLoop::processEvents(). .PP Examples: .)l fileiconview/tqfileiconview.cpp and network/ftpclient/main.cpp. @@ -1095,7 +1095,7 @@ Processes pending events for \fImaxtime\fR milliseconds or until there are no mo .PP You can call this function occasionally when you program is busy doing a long operation (e.g. copying a file). .PP -See also exec(), TQTimer, and QEventLoop::processEvents(). +See also exec(), TQTimer, and TQEventLoop::processEvents(). .SH "void QApplication::processOneEvent ()" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP @@ -1133,7 +1133,7 @@ See also addLibraryPath(), libraryPaths(), and setLibraryPaths(). \fBNote:\fR This function is thread-safe when TQt is built withthread support.</p> Removes all events posted using postEvent() for \fIreceiver\fR. .PP The events are \fInot\fR dispatched, instead they are removed from the queue. You should never need to call this function. If you do call it, be aware that killing events may cause \fIreceiver\fR to break one or more invariants. -.SH "void QApplication::removeTranslator ( QTranslator * mf )" +.SH "void QApplication::removeTranslator ( TQTranslator * mf )" Removes the message file \fImf\fR from the list of message files used by this application. (It does not delete the message file from the file system.) .PP See also installTranslator(), translate(), and TQObject::tr(). @@ -1162,14 +1162,14 @@ Note that you should never exit the application within this function. Instead, t \fBWarning:\fR Within this function, no user interaction is possible, \fIunless\fR you ask the session manager \fIsm\fR for explicit permission. See TQSessionManager::allowsInteraction() and TQSessionManager::allowsErrorInteraction() for details. .PP See also isSessionRestored(), sessionId(), commitData(), and the Session Management overview. -.SH "bool QApplication::sendEvent ( TQObject * receiver, QEvent * event )\fC [static]\fR" +.SH "bool QApplication::sendEvent ( TQObject * receiver, TQEvent * event )\fC [static]\fR" Sends event \fIevent\fR directly to receiver \fIreceiver\fR, using the notify() function. Returns the value that was returned from the event handler. .PP The event is \fInot\fR deleted when the event has been sent. The normal approach is to create the event on the stack, e.g. .PP .nf .br - QMouseEvent me( QEvent::MouseButtonPress, pos, 0, 0 ); + QMouseEvent me( TQEvent::MouseButtonPress, pos, 0, 0 ); .br QApplication::sendEvent( mainWindow, &me ); .br @@ -1551,11 +1551,11 @@ TQObject::tr() and TQObject::trUtf8() provide this functionality more convenient .PP \fIcomment\fR is a disambiguating comment, for when the same \fIsourceText\fR is used in different roles within the same context. By default, it is null. \fIencoding\fR indicates the 8-bit encoding of character stings .PP -See the QTranslator documentation for more information about contexts and comments. +See the TQTranslator documentation for more information about contexts and comments. .PP If none of the message files contain a translation for \fIsourceText\fR in \fIcontext\fR, this function returns a TQString equivalent of \fIsourceText\fR. The encoding of \fIsourceText\fR is specified by \fIencoding\fR; it defaults to DefaultCodec. .PP -This function is not virtual. You can use alternative translation techniques by subclassing QTranslator. +This function is not virtual. You can use alternative translation techniques by subclassing TQTranslator. .PP \fBWarning:\fR This method is reentrant only if all translators are installed \fIbefore\fR calling this method. Installing or removing translators while performing translations is not supported. Doing so will most likely result in crashes or other undesirable behavior. .PP diff --git a/doc/man/man3/tqchildevent.3qt b/doc/man/man3/tqchildevent.3qt index 49d1d937c..6c2066971 100644 --- a/doc/man/man3/tqchildevent.3qt +++ b/doc/man/man3/tqchildevent.3qt @@ -9,9 +9,9 @@ .SH NAME QChildEvent \- Event parameters for child object events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -44,7 +44,7 @@ See also Event Classes. .SH "QChildEvent::QChildEvent ( Type type, TQObject * child )" Constructs a child event object. The \fIchild\fR is the object that is to be removed or inserted. .PP -The \fItype\fR parameter must be either QEvent::ChildInserted or QEvent::ChildRemoved. +The \fItype\fR parameter must be either TQEvent::ChildInserted or TQEvent::ChildRemoved. .SH "TQObject * QChildEvent::child () const" Returns the child widget that was inserted or removed. .SH "bool QChildEvent::inserted () const" diff --git a/doc/man/man3/tqcloseevent.3qt b/doc/man/man3/tqcloseevent.3qt index 825cf21a9..b5c2d36c6 100644 --- a/doc/man/man3/tqcloseevent.3qt +++ b/doc/man/man3/tqcloseevent.3qt @@ -9,9 +9,9 @@ .SH NAME QCloseEvent \- Parameters that describe a close event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqcontextmenuevent.3qt b/doc/man/man3/tqcontextmenuevent.3qt index b309f0445..4f8e98025 100644 --- a/doc/man/man3/tqcontextmenuevent.3qt +++ b/doc/man/man3/tqcontextmenuevent.3qt @@ -9,9 +9,9 @@ .SH NAME QContextMenuEvent \- Parameters that describe a context menu event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqcustomevent.3qt b/doc/man/man3/tqcustomevent.3qt index aa7f5d26a..1c57c1e31 100644 --- a/doc/man/man3/tqcustomevent.3qt +++ b/doc/man/man3/tqcustomevent.3qt @@ -9,9 +9,9 @@ .SH NAME QCustomEvent \- Support for custom events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -33,7 +33,7 @@ The QCustomEvent class provides support for custom events. .PP QCustomEvent is a generic event class for user-defined events. User defined events can be sent to widgets or other TQObject instances using QApplication::postEvent() or QApplication::sendEvent(). Subclasses of TQObject can easily receive custom events by implementing the TQObject::customEvent() event handler function. .PP -QCustomEvent objects should be created with a type ID that uniquely identifies the event type. To avoid clashes with the Qt-defined events types, the value should be at least as large as the value of the "User" entry in the QEvent::Type enum. +QCustomEvent objects should be created with a type ID that uniquely identifies the event type. To avoid clashes with the Qt-defined events types, the value should be at least as large as the value of the "User" entry in the TQEvent::Type enum. .PP QCustomEvent 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 received and processed. .PP @@ -92,9 +92,9 @@ Example: See also TQWidget::customEvent(), QApplication::notify(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QCustomEvent::QCustomEvent ( int type )" -Constructs a custom event object with event type \fItype\fR. The value of \fItype\fR must be at least as large as QEvent::User. The data pointer is set to 0. +Constructs a custom event object with event type \fItype\fR. The value of \fItype\fR must be at least as large as TQEvent::User. The data pointer is set to 0. .SH "QCustomEvent::QCustomEvent ( Type type, void * data )" -Constructs a custom event object with the event type \fItype\fR and a pointer to \fIdata\fR. (Note that any int value may safely be cast to QEvent::Type). +Constructs a custom event object with the event type \fItype\fR and a pointer to \fIdata\fR. (Note that any int value may safely be cast to TQEvent::Type). .SH "void * QCustomEvent::data () const" Returns a pointer to the generic event data. .PP diff --git a/doc/man/man3/tqdesktopwidget.3qt b/doc/man/man3/tqdesktopwidget.3qt index 7dd8d13eb..348ef05ed 100644 --- a/doc/man/man3/tqdesktopwidget.3qt +++ b/doc/man/man3/tqdesktopwidget.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDesktopWidget 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDesktopWidget 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,19 +7,19 @@ .ad l .nh .SH NAME -QDesktopWidget \- Access to screen information on multi-head systems +TQDesktopWidget \- Access to screen information on multi-head systems .SH SYNOPSIS -\fC#include <ntqdesktopwidget.h>\fR +\fC#include <tqdesktopwidget.h>\fR .PP Inherits TQWidget. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDesktopWidget\fR ()" +.BI "\fBTQDesktopWidget\fR ()" .br .ti -1c -.BI "\fB~QDesktopWidget\fR ()" +.BI "\fB~TQDesktopWidget\fR ()" .br .ti -1c .BI "bool \fBisVirtualDesktop\fR () const" @@ -65,11 +65,11 @@ Inherits TQWidget. .br .in -1c .SH DESCRIPTION -The QDesktopWidget class provides access to screen information on multi-head systems. +The TQDesktopWidget class provides access to screen information on multi-head systems. .PP Systems with more than one graphics card and monitor can manage the physical screen space available either as multiple desktops, or as a large virtual desktop, which usually has the size of the bounding rectangle of all the screens (see isVirtualDesktop()). For an application, one of the available screens is the primary screen, i.e. the screen where the main widget resides (see primaryScreen()). All windows opened in the context of the application must be constrained to the boundaries of the primary screen; for example, it would be inconvenient if a dialog box popped up on a different screen, or split over two screens. .PP -The QDesktopWidget provides information about the geometry of the available screens with screenGeometry(). The number of screens available is returned by numScreens(). The screen number that a particular point or widget is located in is returned by screenNumber(). +The TQDesktopWidget provides information about the geometry of the available screens with screenGeometry(). The number of screens available is returned by numScreens(). The screen number that a particular point or widget is located in is returned by screenNumber(). .PP Widgets provided by TQt use this class, for example, to place tooltips, menus and dialog boxes according to the parent or application widget. .PP @@ -85,45 +85,45 @@ In the illustration above, Application One's primary screen is screen 0, and App .PP See also Advanced Widgets and Environment Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDesktopWidget::QDesktopWidget ()" +.SH "TQDesktopWidget::TQDesktopWidget ()" Creates the desktop widget. .PP If the system supports a virtual desktop, this widget will have the size of the virtual desktop; otherwise this widget will have the size of the primary screen. .PP -Instead of using QDesktopWidget directly, use QApplication::desktop(). -.SH "QDesktopWidget::~QDesktopWidget ()" +Instead of using TQDesktopWidget directly, use QApplication::desktop(). +.SH "TQDesktopWidget::~TQDesktopWidget ()" Destroy the object and free allocated resources. -.SH "const TQRect & QDesktopWidget::availableGeometry ( int screen = -1 ) const" +.SH "const TQRect & TQDesktopWidget::availableGeometry ( int screen = -1 ) const" Returns the available geometry of the screen with index \fIscreen\fR. What is available will be subrect of screenGeometry() based on what the platform decides is available (for example excludes the Dock and Menubar on Mac OS X, or the taskbar on Windows). .PP See also screenNumber() and screenGeometry(). -.SH "const TQRect & QDesktopWidget::availableGeometry ( TQWidget * widget ) const" +.SH "const TQRect & TQDesktopWidget::availableGeometry ( TQWidget * widget ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the available geometry of the screen which contains \fIwidget\fR. .PP See also screenGeometry(). -.SH "const TQRect & QDesktopWidget::availableGeometry ( const TQPoint & p ) const" +.SH "const TQRect & TQDesktopWidget::availableGeometry ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the available geometry of the screen which contains \fIp\fR. .PP See also screenGeometry(). -.SH "bool QDesktopWidget::isVirtualDesktop () const" +.SH "bool TQDesktopWidget::isVirtualDesktop () const" Returns TRUE if the system manages the available screens in a virtual desktop; otherwise returns FALSE. .PP For virtual desktops, screen() will always return the same widget. The size of the virtual desktop is the size of this desktop widget. -.SH "int QDesktopWidget::numScreens () const" +.SH "int TQDesktopWidget::numScreens () const" Returns the number of available screens. .PP See also primaryScreen(). -.SH "int QDesktopWidget::primaryScreen () const" +.SH "int TQDesktopWidget::primaryScreen () const" Returns the index of the primary screen. .PP See also numScreens(). -.SH "void QDesktopWidget::resized ( int screen )\fC [signal]\fR" +.SH "void TQDesktopWidget::resized ( int screen )\fC [signal]\fR" This signal is emitted when the size of \fIscreen\fR changes. -.SH "TQWidget * QDesktopWidget::screen ( int screen = -1 )" +.SH "TQWidget * TQDesktopWidget::screen ( int screen = -1 )" Returns a widget that represents the screen with index \fIscreen\fR. This widget can be used to draw directly on the desktop, using an unclipped painter like this: .PP .nf @@ -141,23 +141,23 @@ Returns a widget that represents the screen with index \fIscreen\fR. This widget If the system uses a virtual desktop, the returned widget will have the geometry of the entire virtual desktop i.e. bounding every \fIscreen\fR. .PP See also primaryScreen(), numScreens(), and isVirtualDesktop(). -.SH "const TQRect & QDesktopWidget::screenGeometry ( int screen = -1 ) const" +.SH "const TQRect & TQDesktopWidget::screenGeometry ( int screen = -1 ) const" Returns the geometry of the screen with index \fIscreen\fR. .PP See also screenNumber(). -.SH "const TQRect & QDesktopWidget::screenGeometry ( TQWidget * widget ) const" +.SH "const TQRect & TQDesktopWidget::screenGeometry ( TQWidget * widget ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the geometry of the screen which contains \fIwidget\fR. -.SH "const TQRect & QDesktopWidget::screenGeometry ( const TQPoint & p ) const" +.SH "const TQRect & TQDesktopWidget::screenGeometry ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the geometry of the screen which contains \fIp\fR. -.SH "int QDesktopWidget::screenNumber ( TQWidget * widget = 0 ) const" +.SH "int TQDesktopWidget::screenNumber ( TQWidget * widget = 0 ) const" Returns the index of the screen that contains the largest part of \fIwidget\fR, or -1 if the widget not on a screen. .PP See also primaryScreen(). -.SH "int QDesktopWidget::screenNumber ( const TQPoint & point ) const" +.SH "int TQDesktopWidget::screenNumber ( const TQPoint & point ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the index of the screen that contains \fIpoint\fR, or -1 if no screen contains the point. @@ -165,7 +165,7 @@ Returns the index of the screen that contains \fIpoint\fR, or -1 if no screen co See also primaryScreen(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdesktopwidget.html +.BR http://doc.trolltech.com/tqdesktopwidget.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdragenterevent.3qt b/doc/man/man3/tqdragenterevent.3qt index 379c2b4bc..5023316aa 100644 --- a/doc/man/man3/tqdragenterevent.3qt +++ b/doc/man/man3/tqdragenterevent.3qt @@ -9,7 +9,7 @@ .SH NAME TQDragEnterEvent \- Event which is sent to the widget when a drag and drop first drags onto the widget .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP Inherits TQDragMoveEvent. .PP diff --git a/doc/man/man3/tqdragleaveevent.3qt b/doc/man/man3/tqdragleaveevent.3qt index 412c72eef..0305c95a9 100644 --- a/doc/man/man3/tqdragleaveevent.3qt +++ b/doc/man/man3/tqdragleaveevent.3qt @@ -9,9 +9,9 @@ .SH NAME TQDragLeaveEvent \- Event which is sent to the widget when a drag and drop leaves the widget .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqdragmoveevent.3qt b/doc/man/man3/tqdragmoveevent.3qt index 97ee0d4b2..65f292d29 100644 --- a/doc/man/man3/tqdragmoveevent.3qt +++ b/doc/man/man3/tqdragmoveevent.3qt @@ -9,7 +9,7 @@ .SH NAME TQDragMoveEvent \- Event which is sent while a drag and drop is in progress .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP Inherits TQDropEvent. .PP diff --git a/doc/man/man3/tqdropevent.3qt b/doc/man/man3/tqdropevent.3qt index 920ea69b0..081050287 100644 --- a/doc/man/man3/tqdropevent.3qt +++ b/doc/man/man3/tqdropevent.3qt @@ -9,9 +9,9 @@ .SH NAME TQDropEvent \- Event which is sent when a drag and drop is completed .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent and TQMimeSource. +Inherits TQEvent and TQMimeSource. .PP Inherited by TQDragMoveEvent. .PP 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 diff --git a/doc/man/man3/tqeventloop.3qt b/doc/man/man3/tqeventloop.3qt index c86e9c2ed..ca4a66705 100644 --- a/doc/man/man3/tqeventloop.3qt +++ b/doc/man/man3/tqeventloop.3qt @@ -1,5 +1,5 @@ '\" t -.TH QEventLoop 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQEventLoop 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 -QEventLoop \- Manages the event queue +TQEventLoop \- Manages the event queue .SH SYNOPSIS -\fC#include <ntqeventloop.h>\fR +\fC#include <tqeventloop.h>\fR .PP Inherits TQObject. .PP @@ -18,10 +18,10 @@ Inherited by QMotif. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQEventLoop\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQEventLoop\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QEventLoop\fR ()" +.BI "\fB~TQEventLoop\fR ()" .br .ti -1c .BI "enum \fBProcessEvents\fR { AllEvents = 0x00, ExcludeUserInput = 0x01, ExcludeSocketNotifiers = 0x02, WaitForMore = 0x04 }" @@ -85,60 +85,60 @@ Inherited by QMotif. .br .in -1c .SH DESCRIPTION -The QEventLoop class manages the event queue. +The TQEventLoop class manages the event queue. .PP It receives events from the window system and other sources. It then sends them to QApplication for processing and delivery. .PP -QEventLoop allows the application programmer to have more control over event delivery. Programs that perform long operations can call either processOneEvent() or processEvents() with various ProcessEvent values OR'ed together to control which events should be delivered. +TQEventLoop allows the application programmer to have more control over event delivery. Programs that perform long operations can call either processOneEvent() or processEvents() with various ProcessEvent values OR'ed together to control which events should be delivered. .PP -QEventLoop also allows the integration of an external event loop with the TQt event loop. The Motif Extension included with TQt includes a reimplementation of QEventLoop for merging TQt and Motif events together. +TQEventLoop also allows the integration of an external event loop with the TQt event loop. The Motif Extension included with TQt includes a reimplementation of TQEventLoop for merging TQt and Motif events together. .PP -To use your own instance of QEventLoop or QEventLoop subclass create it before you create the QApplication object. +To use your own instance of TQEventLoop or TQEventLoop subclass create it before you create the QApplication object. .PP See also Main Window and Related Classes and Event Classes. .SS "Member Type Documentation" -.SH "QEventLoop::ProcessEvents" +.SH "TQEventLoop::ProcessEvents" This enum controls the types of events processed by the processEvents() functions. .TP -\fCQEventLoop::AllEvents\fR - All events are processed +\fCTQEventLoop::AllEvents\fR - All events are processed .TP -\fCQEventLoop::ExcludeUserInput\fR - Do not process user input events. ( ButtonPress, KeyPress, etc. ) +\fCTQEventLoop::ExcludeUserInput\fR - Do not process user input events. ( ButtonPress, KeyPress, etc. ) .TP -\fCQEventLoop::ExcludeSocketNotifiers\fR - Do not process socket notifier events. +\fCTQEventLoop::ExcludeSocketNotifiers\fR - Do not process socket notifier events. .TP -\fCQEventLoop::WaitForMore\fR - Wait for events if no pending events are available. +\fCTQEventLoop::WaitForMore\fR - Wait for events if no pending events are available. .PP See also processEvents(). -.SH "QEventLoop::ProcessEventsFlags" +.SH "TQEventLoop::ProcessEventsFlags" A \fCtypedef\fR to allow various ProcessEvents values to be OR'ed together. .PP See also ProcessEvents. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QEventLoop::QEventLoop ( TQObject * parent = 0, const char * name = 0 )" -Creates a QEventLoop object, this object becomes the global event loop object. There can only be one event loop object. The QEventLoop is usually constructed by calling QApplication::eventLoop(). To create your own event loop object create it before you instantiate the QApplication object. +.SH "TQEventLoop::TQEventLoop ( TQObject * parent = 0, const char * name = 0 )" +Creates a TQEventLoop object, this object becomes the global event loop object. There can only be one event loop object. The TQEventLoop is usually constructed by calling QApplication::eventLoop(). To create your own event loop object create it before you instantiate the QApplication object. .PP The \fIparent\fR and \fIname\fR arguments are passed on to the TQObject constructor. -.SH "QEventLoop::~QEventLoop ()" -Destructs the QEventLoop object. -.SH "void QEventLoop::aboutToBlock ()\fC [signal]\fR" +.SH "TQEventLoop::~TQEventLoop ()" +Destructs the TQEventLoop object. +.SH "void TQEventLoop::aboutToBlock ()\fC [signal]\fR" This signal is emitted before the event loop calls a function that could block. .PP See also awake(). -.SH "int QEventLoop::activateSocketNotifiers ()" +.SH "int TQEventLoop::activateSocketNotifiers ()" Activates all pending socket notifiers and returns the number of socket notifiers that were activated. -.SH "int QEventLoop::activateTimers ()" +.SH "int TQEventLoop::activateTimers ()" Activates all TQt timers and returns the number of timers that were activated. .PP -QEventLoop subclasses that do their own timer handling need to call this after the time returned by timeToWait() has elapsed. +TQEventLoop subclasses that do their own timer handling need to call this after the time returned by timeToWait() has elapsed. .PP Note: This function is only useful on systems where \fCselect()\fR is used to block the eventloop. On Windows, this function always returns 0. On MacOS X, this function always returns 0 when the GUI is enabled. On MacOS X, this function returns the documented value when the GUI is disabled. -.SH "void QEventLoop::awake ()\fC [signal]\fR" +.SH "void TQEventLoop::awake ()\fC [signal]\fR" This signal is emitted after the event loop returns from a function that could block. .PP See also wakeUp() and aboutToBlock(). -.SH "int QEventLoop::enterLoop ()\fC [virtual]\fR" +.SH "int TQEventLoop::enterLoop ()\fC [virtual]\fR" This function enters the main event loop (recursively). Do not call it unless you really know what you are doing. -.SH "int QEventLoop::exec ()\fC [virtual]\fR" +.SH "int TQEventLoop::exec ()\fC [virtual]\fR" Enters the main event loop and waits until exit() is called, and returns the value that was set to exit(). .PP It is necessary to call this function to start event handling. The main event loop receives events from the window system and dispatches these to the application widgets. @@ -148,7 +148,7 @@ Generally speaking, no user interaction can take place before calling exec(). As To make your application perform idle processing, i.e. executing a special function whenever there are no pending events, use a TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). .PP See also QApplication::quit(), exit(), and processEvents(). -.SH "void QEventLoop::exit ( int retcode = 0 )\fC [virtual]\fR" +.SH "void TQEventLoop::exit ( int retcode = 0 )\fC [virtual]\fR" Tells the event loop to exit with a return code. .PP After this function has been called, the event loop returns from the call to exec(). The exec() function returns \fIretcode\fR. @@ -158,13 +158,13 @@ By convention, a \fIretcode\fR of 0 means success, and any non-zero value indica Note that unlike the C library function of the same name, this function \fIdoes\fR return to the caller -- it is event processing that stops. .PP See also QApplication::quit() and exec(). -.SH "void QEventLoop::exitLoop ()\fC [virtual]\fR" +.SH "void TQEventLoop::exitLoop ()\fC [virtual]\fR" This function exits from a recursive call to the main event loop. Do not call it unless you really know what you are doing. -.SH "bool QEventLoop::hasPendingEvents () const\fC [virtual]\fR" +.SH "bool TQEventLoop::hasPendingEvents () const\fC [virtual]\fR" Returns TRUE if there is an event waiting, otherwise it returns FALSE. -.SH "int QEventLoop::loopLevel () const\fC [virtual]\fR" +.SH "int TQEventLoop::loopLevel () const\fC [virtual]\fR" Returns the current loop level. -.SH "void QEventLoop::processEvents ( ProcessEventsFlags flags, int maxTime )" +.SH "void TQEventLoop::processEvents ( ProcessEventsFlags flags, int maxTime )" Process pending events that match \fIflags\fR for a maximum of \fImaxTime\fR milliseconds, or until there are no more events to process, which ever is shorter. .PP This function is especially useful if you have a long running operation and want to show its progress without allowing user input, i.e. by using the ExcludeUserInput flag. @@ -172,7 +172,7 @@ This function is especially useful if you have a long running operation and want NOTE: This function will not process events continuously; it returns after all available events are processed. .PP NOTE: Specifying the WaitForMore flag makes no sense and will be ignored. -.SH "bool QEventLoop::processEvents ( ProcessEventsFlags flags )\fC [virtual]\fR" +.SH "bool TQEventLoop::processEvents ( ProcessEventsFlags flags )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Processes pending events that match \fIflags\fR until there are no more events to process. @@ -195,19 +195,19 @@ NOTE: This function will not process events continuously; it returns after all a This function returns TRUE if an event was processed; otherwise it returns FALSE. .PP See also ProcessEvents and hasPendingEvents(). -.SH "void QEventLoop::registerSocketNotifier ( TQSocketNotifier * notifier )\fC [virtual]\fR" +.SH "void TQEventLoop::registerSocketNotifier ( TQSocketNotifier * notifier )\fC [virtual]\fR" Registers \fInotifier\fR with the event loop. Subclasses need to reimplement this method to tie a socket notifier into another event loop. Reimplementations \fIMUST\fR call the base implementation. -.SH "void QEventLoop::setSocketNotifierPending ( TQSocketNotifier * notifier )" +.SH "void TQEventLoop::setSocketNotifierPending ( TQSocketNotifier * notifier )" Marks \fInotifier\fR as pending. The socket notifier will be activated the next time activateSocketNotifiers() is called. -.SH "int QEventLoop::timeToWait () const" +.SH "int TQEventLoop::timeToWait () const" Returns the number of milliseconds that TQt needs to handle its timers or -1 if there are no timers running. .PP -QEventLoop subclasses that do their own timer handling need to use this to make sure that Qt's timers continue to work. +TQEventLoop subclasses that do their own timer handling need to use this to make sure that Qt's timers continue to work. .PP Note: This function is only useful on systems where \fCselect()\fR is used to block the eventloop. On Windows, this function always returns -1. On MacOS X, this function always returns -1 when the GUI is enabled. On MacOS X, this function returns the documented value when the GUI is disabled. -.SH "void QEventLoop::unregisterSocketNotifier ( TQSocketNotifier * notifier )\fC [virtual]\fR" +.SH "void TQEventLoop::unregisterSocketNotifier ( TQSocketNotifier * notifier )\fC [virtual]\fR" Unregisters \fInotifier\fR from the event loop. Subclasses need to reimplement this method to tie a socket notifier into another event loop. Reimplementations \fIMUST\fR call the base implementation. -.SH "void QEventLoop::wakeUp ()\fC [virtual]\fR" +.SH "void TQEventLoop::wakeUp ()\fC [virtual]\fR" \fBNote:\fR This function is thread-safe when TQt is built withthread support.</p> .PP Wakes up the event loop. @@ -215,7 +215,7 @@ Wakes up the event loop. See also awake(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqeventloop.html +.BR http://doc.trolltech.com/tqeventloop.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqfocusevent.3qt b/doc/man/man3/tqfocusevent.3qt index 88f87ad48..d114b1f01 100644 --- a/doc/man/man3/tqfocusevent.3qt +++ b/doc/man/man3/tqfocusevent.3qt @@ -9,9 +9,9 @@ .SH NAME QFocusEvent \- Event parameters for widget focus events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -73,7 +73,7 @@ See the keyboard focus overview for more about focus. .SH "QFocusEvent::QFocusEvent ( Type type )" Constructs a focus event object. .PP -The \fItype\fR parameter must be either QEvent::FocusIn or QEvent::FocusOut. +The \fItype\fR parameter must be either TQEvent::FocusIn or TQEvent::FocusOut. .SH "bool QFocusEvent::gotFocus () const" Returns TRUE if the widget received the text input focus; otherwise returns FALSE. .SH "bool QFocusEvent::lostFocus () const" diff --git a/doc/man/man3/tqhideevent.3qt b/doc/man/man3/tqhideevent.3qt index d56a50a65..7e9028a96 100644 --- a/doc/man/man3/tqhideevent.3qt +++ b/doc/man/man3/tqhideevent.3qt @@ -9,9 +9,9 @@ .SH NAME QHideEvent \- Event which is sent after a widget is hidden .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqicondragevent.3qt b/doc/man/man3/tqicondragevent.3qt index 4a9e5cfa7..546266042 100644 --- a/doc/man/man3/tqicondragevent.3qt +++ b/doc/man/man3/tqicondragevent.3qt @@ -9,9 +9,9 @@ .SH NAME TQIconDragEvent \- Signals that a main icon drag has begun .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqimevent.3qt b/doc/man/man3/tqimevent.3qt index 2eb3ac3b6..f41ad32e8 100644 --- a/doc/man/man3/tqimevent.3qt +++ b/doc/man/man3/tqimevent.3qt @@ -9,9 +9,9 @@ .SH NAME QIMEvent \- Parameters for input method events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -73,7 +73,7 @@ If the user clicks another widget, taking the focus out of the widget where the See also Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QIMEvent::QIMEvent ( Type type, const TQString & text, int cursorPosition )" -Constructs a new QIMEvent with the accept flag set to FALSE. \fItype\fR can be one of QEvent::IMStartEvent, QEvent::IMComposeEvent or QEvent::IMEndEvent. \fItext\fR contains the current compostion string and \fIcursorPosition\fR the current position of the cursor inside \fItext\fR. +Constructs a new QIMEvent with the accept flag set to FALSE. \fItype\fR can be one of TQEvent::IMStartEvent, TQEvent::IMComposeEvent or TQEvent::IMEndEvent. \fItext\fR contains the current compostion string and \fIcursorPosition\fR the current position of the cursor inside \fItext\fR. .SH "void QIMEvent::accept ()" Sets the accept flag of the input method event object. .PP diff --git a/doc/man/man3/tqkeyevent.3qt b/doc/man/man3/tqkeyevent.3qt index 64d318e43..cf0162beb 100644 --- a/doc/man/man3/tqkeyevent.3qt +++ b/doc/man/man3/tqkeyevent.3qt @@ -9,9 +9,9 @@ .SH NAME QKeyEvent \- Describes a key event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -65,7 +65,7 @@ See also QFocusEvent, TQWidget::grabKeyboard(), and Event Classes. .SH "QKeyEvent::QKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )" Constructs a key event object. .PP -The \fItype\fR parameter must be QEvent::KeyPress or QEvent::KeyRelease. If \fIkey\fR is 0 the event is not a result of a known key (e.g. it may be the result of a compose sequence or keyboard macro). \fIascii\fR is the ASCII code of the key that was pressed or released. \fIstate\fR holds the keyboard modifiers. \fItext\fR is the Unicode text that the key generated. If \fIautorep\fR is TRUE, isAutoRepeat() will be TRUE. \fIcount\fR is the number of single keys. +The \fItype\fR parameter must be TQEvent::KeyPress or TQEvent::KeyRelease. If \fIkey\fR is 0 the event is not a result of a known key (e.g. it may be the result of a compose sequence or keyboard macro). \fIascii\fR is the ASCII code of the key that was pressed or released. \fIstate\fR holds the keyboard modifiers. \fItext\fR is the Unicode text that the key generated. If \fIautorep\fR is TRUE, isAutoRepeat() will be TRUE. \fIcount\fR is the number of single keys. .PP The accept flag is set to TRUE. .SH "void QKeyEvent::accept ()" diff --git a/doc/man/man3/tqlistview.3qt b/doc/man/man3/tqlistview.3qt index f22c82ce8..75d4154cf 100644 --- a/doc/man/man3/tqlistview.3qt +++ b/doc/man/man3/tqlistview.3qt @@ -184,7 +184,7 @@ Inherits QScrollView. .BI "virtual void \fBsort\fR ()" .br .ti -1c -.BI "virtual bool \fBeventFilter\fR ( TQObject * o, QEvent * e )" +.BI "virtual bool \fBeventFilter\fR ( TQObject * o, TQEvent * e )" .br .ti -1c .BI "virtual void \fBsetShowSortIndicator\fR ( bool show )" @@ -670,7 +670,7 @@ This signal is emitted, when a drop event occurred on the viewport (not onto an Ensures that item \fIi\fR is visible, scrolling the list view vertically if necessary and opening (expanding) any parent items if this is required to show the item. .PP See also itemRect() and QScrollView::ensureVisible(). -.SH "bool QListView::eventFilter ( TQObject * o, QEvent * e )\fC [virtual]\fR" +.SH "bool QListView::eventFilter ( TQObject * o, TQEvent * e )\fC [virtual]\fR" Redirects the event \fIe\fR relating to object \fIo\fR, for the viewport to mousePressEvent(), keyPressEvent() and friends. .PP Reimplemented from QScrollView. diff --git a/doc/man/man3/tqmotif.3qt b/doc/man/man3/tqmotif.3qt index 033996d81..14202919b 100644 --- a/doc/man/man3/tqmotif.3qt +++ b/doc/man/man3/tqmotif.3qt @@ -13,7 +13,7 @@ This class is part of the \fBQt Motif Extension\fR. .PP \fC#include <qmotif.h>\fR .PP -Inherits QEventLoop. +Inherits TQEventLoop. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqmouseevent.3qt b/doc/man/man3/tqmouseevent.3qt index 9728913fe..21e604fcb 100644 --- a/doc/man/man3/tqmouseevent.3qt +++ b/doc/man/man3/tqmouseevent.3qt @@ -9,9 +9,9 @@ .SH NAME QMouseEvent \- Parameters that describe a mouse event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c @@ -80,7 +80,7 @@ See also TQWidget::mouseTracking, TQWidget::grabMouse(), QCursor::pos(), and Eve .SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, int button, int state )" Constructs a mouse event object. .PP -The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove. +The \fItype\fR parameter must be one of TQEvent::MouseButtonPress, TQEvent::MouseButtonRelease, TQEvent::MouseButtonDblClick or TQEvent::MouseMove. .PP The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event. .PP @@ -88,7 +88,7 @@ The globalPos() is initialized to QCursor::pos(), which may not be appropriate. .SH "QMouseEvent::QMouseEvent ( Type type, const TQPoint & pos, const TQPoint & globalPos, int button, int state )" Constructs a mouse event object. .PP -The \fItype\fR parameter must be QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove. +The \fItype\fR parameter must be TQEvent::MouseButtonPress, TQEvent::MouseButtonRelease, TQEvent::MouseButtonDblClick or TQEvent::MouseMove. .PP The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIglobalPos\fR is the position in absolute coordinates. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event. .SH "void QMouseEvent::accept ()" @@ -146,9 +146,9 @@ Examples: .SH "ButtonState QMouseEvent::state () const" Returns the button state (a combination of mouse buttons and keyboard modifiers), i.e. what buttons and keys were being pressed immediately before the event was generated. .PP -This means that if you have a QEvent::MouseButtonPress or a QEvent::MouseButtonDblClick state() will \fInot\fR include the mouse button that's pressed. But once the mouse button has been released, the QEvent::MouseButtonRelease event will have the button() that was pressed. +This means that if you have a TQEvent::MouseButtonPress or a TQEvent::MouseButtonDblClick state() will \fInot\fR include the mouse button that's pressed. But once the mouse button has been released, the TQEvent::MouseButtonRelease event will have the button() that was pressed. .PP -This value is mainly interesting for QEvent::MouseMove; for the other cases, button() is more useful. +This value is mainly interesting for TQEvent::MouseMove; for the other cases, button() is more useful. .PP The returned value is LeftButton, RightButton, MidButton, ShiftButton, ControlButton and AltButton OR'ed together. .PP diff --git a/doc/man/man3/tqmoveevent.3qt b/doc/man/man3/tqmoveevent.3qt index b2d42b17a..21b70a476 100644 --- a/doc/man/man3/tqmoveevent.3qt +++ b/doc/man/man3/tqmoveevent.3qt @@ -9,9 +9,9 @@ .SH NAME QMoveEvent \- Event parameters for move events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index f52bbde23..64367ea3a 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .PP Inherits Qt. .PP --Inherited by QAccel, QAccessibleObject, TQAction, QApplication, QAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, QLayout, TQDragObject, TQEditorFactory, QEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, QNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, QTranslator, TQUrlOperator, and QValidator. +-Inherited by QAccel, QAccessibleObject, TQAction, QApplication, QAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, QLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, QNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and QValidator. .PP .SS "Public Members" .in +1c @@ -32,10 +32,10 @@ Inherits Qt. .BI "virtual QMetaObject * \fBmetaObject\fR () const" .br .ti -1c -.BI "virtual bool \fBevent\fR ( QEvent * e )" +.BI "virtual bool \fBevent\fR ( TQEvent * e )" .br .ti -1c -.BI "virtual bool \fBeventFilter\fR ( TQObject * watched, QEvent * e )" +.BI "virtual bool \fBeventFilter\fR ( TQObject * watched, TQEvent * e )" .br .ti -1c .BI "bool \fBisA\fR ( const char * clname ) const" @@ -259,7 +259,7 @@ This event handler can be reimplemented in a subclass to receive child events. .PP Child events are sent to objects when children are inserted or removed. .PP -Note that events with QEvent::type() QEvent::ChildInserted are posted (with QApplication::postEvent()) to make sure that the child's construction is completed before this function is called. +Note that events with TQEvent::type() TQEvent::ChildInserted are posted (with QApplication::postEvent()) to make sure that the child's construction is completed before this function is called. .PP If a child is removed immediately after it is inserted, the \fCChildInserted\fR event may be suppressed, but the \fCChildRemoved\fR event will always be sent. In such cases it is possible that there will be a \fCChildRemoved\fR event without a corresponding \fCChildInserted\fR event. .PP @@ -267,7 +267,7 @@ If you change state based on \fCChildInserted\fR events, call TQWidget::constPol .PP .nf .br - QApplication::sendPostedEvents( this, QEvent::ChildInserted ); + QApplication::sendPostedEvents( this, TQEvent::ChildInserted ); .br .fi in functions that depend on the state. One notable example is TQWidget::sizeHint(). @@ -382,7 +382,7 @@ This virtual function is called when something has been connected to \fIsignal\f .PP See also connect() and disconnectNotify(). .SH "void TQObject::customEvent ( QCustomEvent * )\fC [virtual protected]\fR" -This event handler can be reimplemented in a subclass to receive custom events. Custom events are user-defined events with a type value at least as large as the "User" item of the QEvent::Type enum, and is typically a QCustomEvent or QCustomEvent subclass. +This event handler can be reimplemented in a subclass to receive custom events. Custom events are user-defined events with a type value at least as large as the "User" item of the TQEvent::Type enum, and is typically a QCustomEvent or QCustomEvent subclass. .PP See also event() and QCustomEvent. .SH "void TQObject::deleteLater ()\fC [slot]\fR" @@ -492,7 +492,7 @@ This function is useful for debugging, but does nothing if the library has been Dumps a tree of children to the debug output. .PP This function is useful for debugging, but does nothing if the library has been compiled in release mode (i.e. without debugging information). -.SH "bool TQObject::event ( QEvent * e )\fC [virtual]\fR" +.SH "bool TQObject::event ( TQEvent * e )\fC [virtual]\fR" This virtual function receives events to an object and should return TRUE if the event \fIe\fR was recognized and processed. .PP The event() function can be reimplemented to customize the behavior of an object. @@ -500,7 +500,7 @@ The event() function can be reimplemented to customize the behavior of an object See also installEventFilter(), timerEvent(), QApplication::sendEvent(), QApplication::postEvent(), and TQWidget::event(). .PP Reimplemented in TQWidget. -.SH "bool TQObject::eventFilter ( TQObject * watched, QEvent * e )\fC [virtual]\fR" +.SH "bool TQObject::eventFilter ( TQObject * watched, TQEvent * e )\fC [virtual]\fR" Filters events if this object has been installed as an event filter for the \fIwatched\fR object. .PP In your reimplementation of this function, if you want to filter the event \fIe\fR, out, i.e. stop it being handled further, return TRUE; otherwise return FALSE. @@ -520,7 +520,7 @@ Example: .br protected: .br - bool eventFilter( TQObject *obj, QEvent *ev ); + bool eventFilter( TQObject *obj, TQEvent *ev ); .br .br private: @@ -545,13 +545,13 @@ Example: } .br .br - bool MyMainWindow::eventFilter( TQObject *obj, QEvent *ev ) + bool MyMainWindow::eventFilter( TQObject *obj, TQEvent *ev ) .br { .br if ( obj == textEdit ) { .br - if ( e->type() == QEvent::KeyPress ) { + if ( e->type() == TQEvent::KeyPress ) { .br QKeyEvent *k = (QKeyEvent*)ev; .br @@ -653,16 +653,16 @@ Here's a \fCKeyPressEater\fR class that eats the key presses of its monitored ob .br protected: .br - bool eventFilter( TQObject *o, QEvent *e ); + bool eventFilter( TQObject *o, TQEvent *e ); .br }; .br .br - bool KeyPressEater::eventFilter( TQObject *o, QEvent *e ) + bool KeyPressEater::eventFilter( TQObject *o, TQEvent *e ) .br { .br - if ( e->type() == QEvent::KeyPress ) { + if ( e->type() == TQEvent::KeyPress ) { .br // special processing for key press .br @@ -913,7 +913,7 @@ Note that TQTimer's accuracy depends on the underlying operating system and hard .PP The TQTimer class provides a high-level programming interface with one-shot timers and timer signals instead of events. .PP -See also timerEvent(), killTimer(), killTimers(), QEventLoop::awake(), and QEventLoop::aboutToBlock(). +See also timerEvent(), killTimer(), killTimers(), TQEventLoop::awake(), and TQEventLoop::aboutToBlock(). .SH "void TQObject::timerEvent ( TQTimerEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive timer events for the object. .PP diff --git a/doc/man/man3/tqpaintevent.3qt b/doc/man/man3/tqpaintevent.3qt index 7cdd70f49..c5b579715 100644 --- a/doc/man/man3/tqpaintevent.3qt +++ b/doc/man/man3/tqpaintevent.3qt @@ -9,9 +9,9 @@ .SH NAME TQPaintEvent \- Event parameters for paint events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqprogressdialog.3qt b/doc/man/man3/tqprogressdialog.3qt index 5383a4da7..fb458da73 100644 --- a/doc/man/man3/tqprogressdialog.3qt +++ b/doc/man/man3/tqprogressdialog.3qt @@ -149,7 +149,7 @@ The dialog automatically resets and hides itself at the end of the operation. Us .PP There are two ways of using QProgressDialog: modal and modeless. .PP -Using a modal QProgressDialog is simpler for the programmer, but you must call QApplication::processEvents() or QEventLoop::processEvents(ExcludeUserInput) to keep the event loop running to ensure that the application doesn't freeze. Do the operation in a loop, call setProgress() at intervals, and check for cancellation with wasCanceled(). For example: +Using a modal QProgressDialog is simpler for the programmer, but you must call QApplication::processEvents() or TQEventLoop::processEvents(ExcludeUserInput) to keep the event loop running to ensure that the application doesn't freeze. Do the operation in a loop, call setProgress() at intervals, and check for cancellation with wasCanceled(). For example: .PP .nf .br diff --git a/doc/man/man3/tqresizeevent.3qt b/doc/man/man3/tqresizeevent.3qt index 41f8067c1..09c3c5ef9 100644 --- a/doc/man/man3/tqresizeevent.3qt +++ b/doc/man/man3/tqresizeevent.3qt @@ -9,9 +9,9 @@ .SH NAME QResizeEvent \- Event parameters for resize events .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt index baf27b35a..9841ac033 100644 --- a/doc/man/man3/tqscrollview.3qt +++ b/doc/man/man3/tqscrollview.3qt @@ -303,7 +303,7 @@ Inherited by TQCanvasView, QTable, QGridView, TQIconView, QListBox, QListView, a .BI "virtual void \fBsetVBarGeometry\fR ( QScrollBar & vbar, int x, int y, int w, int h )" .br .ti -1c -.BI "virtual bool \fBeventFilter\fR ( TQObject * obj, QEvent * e )" +.BI "virtual bool \fBeventFilter\fR ( TQObject * obj, TQEvent * e )" .br .in -1c .SH DESCRIPTION @@ -656,7 +656,7 @@ Scrolls the content so that the point \fI(x, y)\fR is visible with at least 50-p This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Scrolls the content so that the point \fI(x, y)\fR is visible with at least the \fIxmargin\fR and \fIymargin\fR margins (if possible, otherwise centered). -.SH "bool QScrollView::eventFilter ( TQObject * obj, QEvent * e )\fC [virtual protected]\fR" +.SH "bool QScrollView::eventFilter ( TQObject * obj, TQEvent * e )\fC [virtual protected]\fR" This event filter ensures the scroll bars are updated when a single contents widget is resized, shown, hidden or destroyed; it passes mouse events to the QScrollView. The event is in \fIe\fR and the object is in \fIobj\fR. .PP Reimplemented from TQObject. diff --git a/doc/man/man3/tqshowevent.3qt b/doc/man/man3/tqshowevent.3qt index 0ef2b4bb6..99950f74b 100644 --- a/doc/man/man3/tqshowevent.3qt +++ b/doc/man/man3/tqshowevent.3qt @@ -9,9 +9,9 @@ .SH NAME QShowEvent \- Event which is sent when a widget is shown .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqspinbox.3qt b/doc/man/man3/tqspinbox.3qt index 96e11adab..4c126eb63 100644 --- a/doc/man/man3/tqspinbox.3qt +++ b/doc/man/man3/tqspinbox.3qt @@ -184,7 +184,7 @@ Inherits TQWidget and QRangeControl. .BI "virtual void \fBrangeChange\fR ()" .br .ti -1c -.BI "virtual bool \fBeventFilter\fR ( TQObject * o, QEvent * ev )" +.BI "virtual bool \fBeventFilter\fR ( TQObject * o, TQEvent * ev )" .br .in -1c .SS "Protected Slots" @@ -304,7 +304,7 @@ Returns the full text calculated from the current value, including any prefix an Returns the geometry of the "down" button. .SH "QLineEdit * QSpinBox::editor () const\fC [protected]\fR" Returns a pointer to the embedded QLineEdit. -.SH "bool QSpinBox::eventFilter ( TQObject * o, QEvent * ev )\fC [virtual protected]\fR" +.SH "bool QSpinBox::eventFilter ( TQObject * o, TQEvent * ev )\fC [virtual protected]\fR" Intercepts and handles the events coming to the embedded QLineEdit that have special meaning for the QSpinBox. The object is passed as \fIo\fR and the event is passed as \fIev\fR. .PP Reimplemented from TQObject. diff --git a/doc/man/man3/tqt.3qt b/doc/man/man3/tqt.3qt index 0921bb909..5fcbc99a5 100644 --- a/doc/man/man3/tqt.3qt +++ b/doc/man/man3/tqt.3qt @@ -11,7 +11,7 @@ Qt \- Namespace for miscellaneous identifiers that need to be global-like .SH SYNOPSIS \fC#include <ntqnamespace.h>\fR .PP -Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, QCursor, TQPainter, QEvent, TQIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, QTab, QTableItem, TQThread, TQToolTip, and TQWhatsThis. +Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, QCursor, TQPainter, TQEvent, TQIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, QTab, QTableItem, TQThread, TQToolTip, and TQWhatsThis. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqtabletevent.3qt b/doc/man/man3/tqtabletevent.3qt index 52d6cb942..bd7c8d066 100644 --- a/doc/man/man3/tqtabletevent.3qt +++ b/doc/man/man3/tqtabletevent.3qt @@ -9,9 +9,9 @@ .SH NAME QTabletEvent \- Parameters that describe a Tablet event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqtimerevent.3qt b/doc/man/man3/tqtimerevent.3qt index 524e2cbde..a768f3627 100644 --- a/doc/man/man3/tqtimerevent.3qt +++ b/doc/man/man3/tqtimerevent.3qt @@ -9,9 +9,9 @@ .SH NAME TQTimerEvent \- Parameters that describe a timer event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqtranslator.3qt b/doc/man/man3/tqtranslator.3qt index 5a84db4ef..6ccb0cb1f 100644 --- a/doc/man/man3/tqtranslator.3qt +++ b/doc/man/man3/tqtranslator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QTranslator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQTranslator 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,25 +7,25 @@ .ad l .nh .SH NAME -QTranslator \- +TQTranslator \- .SH SYNOPSIS -\fC#include <ntqtranslator.h>\fR +\fC#include <tqtranslator.h>\fR .PP Inherits TQObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQTranslator\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQTranslator\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QTranslator\fR ()" +.BI "\fB~TQTranslator\fR ()" .br .ti -1c .BI "TQString find ( const char * context, const char * sourceText, const char * comment = 0 ) const \fI(obsolete)\fR" .br .ti -1c -.BI "virtual QTranslatorMessage \fBfindMessage\fR ( const char * context, const char * sourceText, const char * comment = 0 ) const" +.BI "virtual TQTranslatorMessage \fBfindMessage\fR ( const char * context, const char * sourceText, const char * comment = 0 ) const" .br .ti -1c .BI "bool \fBload\fR ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null )" @@ -43,13 +43,13 @@ Inherits TQObject. .BI "bool \fBsave\fR ( const TQString & filename, SaveMode mode = Everything )" .br .ti -1c -.BI "void \fBinsert\fR ( const QTranslatorMessage & message )" +.BI "void \fBinsert\fR ( const TQTranslatorMessage & message )" .br .ti -1c .BI "void insert ( const char * context, const char * sourceText, const TQString & translation ) \fI(obsolete)\fR" .br .ti -1c -.BI "void \fBremove\fR ( const QTranslatorMessage & message )" +.BI "void \fBremove\fR ( const TQTranslatorMessage & message )" .br .ti -1c .BI "void remove ( const char * context, const char * sourceText ) \fI(obsolete)\fR" @@ -64,18 +64,18 @@ Inherits TQObject. .BI "void \fBunsqueeze\fR ()" .br .ti -1c -.BI "TQValueList<QTranslatorMessage> \fBmessages\fR () const" +.BI "TQValueList<TQTranslatorMessage> \fBmessages\fR () const" .br .ti -1c .BI "bool \fBisEmpty\fR () const" .br .in -1c .SH DESCRIPTION -The QTranslator class provides internationalization support for text output. +The TQTranslator class provides internationalization support for text output. .PP -An object of this class contains a set of QTranslatorMessage objects, each of which specifies a translation from a source language to a target language. QTranslator provides functions to look up translations, add new ones, remove them, load and save them, etc. +An object of this class contains a set of TQTranslatorMessage objects, each of which specifies a translation from a source language to a target language. TQTranslator provides functions to look up translations, add new ones, remove them, load and save them, etc. .PP -The most common use of QTranslator is to: load a translator file created with TQt Linguist, install it using QApplication::installTranslator(), and use it via TQObject::tr(). For example: +The most common use of TQTranslator is to: load a translator file created with TQt Linguist, install it using QApplication::installTranslator(), and use it via TQObject::tr(). For example: .PP .nf .br @@ -86,7 +86,7 @@ The most common use of QTranslator is to: load a translator file created with TQ QApplication app( argc, argv ); .br .br - QTranslator translator( 0 ); + TQTranslator translator( 0 ); .br translator.load( "french.qm", "." ); .br @@ -113,7 +113,7 @@ We call a translation a "messsage". For this reason, translation files are somet .PP It is possible to lookup a translation using findMessage() (as tr() and QApplication::translate() do) and contains(), to insert a new translation messsage using insert(), and to remove one using remove(). .PP -Translation tools often need more information than the bare source text and translation, for example, context information to help the translator. But end-user programs that are using translations usually only need lookup. To cater for these different needs, QTranslator can use stripped translator files that use the minimum of memory and which support little more functionality than findMessage(). +Translation tools often need more information than the bare source text and translation, for example, context information to help the translator. But end-user programs that are using translations usually only need lookup. To cater for these different needs, TQTranslator can use stripped translator files that use the minimum of memory and which support little more functionality than findMessage(). .PP Thus, load() may not load enough information to make anything more than findMessage() work. save() has an argument indicating whether to save just this minimum of information or to save everything. .PP" @@ -135,54 +135,54 @@ For example, the "Cancel" in a dialog might have "Anuluj" when the program runs .PP But it's not always so simple. The Spanish version of a printer dialog with settings for two-sided printing and binding would probably require both "Activado" and "Activada" as translations for "Enabled". In this case the source text would be "Enabled" in both cases, and the context would be the dialog's class name, but the two items would have disambiguating comments such as" two-sided printing" for one and "binding" for the other. The comment enables the translator to choose the appropriate gender for the Spanish version, and enables TQt to distinguish between translations. .PP -Note that when QTranslator loads a stripped file, most functions do not work. The functions that do work with stripped files are explicitly documented as such. +Note that when TQTranslator loads a stripped file, most functions do not work. The functions that do work with stripped files are explicitly documented as such. .PP -See also QTranslatorMessage, QApplication::installTranslator(), QApplication::removeTranslator(), TQObject::tr(), QApplication::translate(), Environment Classes, and Internationalization with Qt. +See also TQTranslatorMessage, QApplication::installTranslator(), QApplication::removeTranslator(), TQObject::tr(), QApplication::translate(), Environment Classes, and Internationalization with Qt. .SS "Member Type Documentation" -.SH "QTranslator::SaveMode" -This enum type defines how QTranslator writes translation files. There are two modes: +.SH "TQTranslator::SaveMode" +This enum type defines how TQTranslator writes translation files. There are two modes: .TP -\fCQTranslator::Everything\fR - files are saved with all available information +\fCTQTranslator::Everything\fR - files are saved with all available information .TP -\fCQTranslator::Stripped\fR - files are saved with just enough information for end-user applications +\fCTQTranslator::Stripped\fR - files are saved with just enough information for end-user applications .PP -Note that when QTranslator loads a stripped file, most functions do not work. The functions that do work with stripped files are explicitly documented as such. +Note that when TQTranslator loads a stripped file, most functions do not work. The functions that do work with stripped files are explicitly documented as such. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTranslator::QTranslator ( TQObject * parent = 0, const char * name = 0 )" +.SH "TQTranslator::TQTranslator ( TQObject * parent = 0, const char * name = 0 )" Constructs an empty message file object that is not connected to any file. The object is called \fIname\fR with parent \fIparent\fR. -.SH "QTranslator::~QTranslator ()" +.SH "TQTranslator::~TQTranslator ()" Destroys the object and frees any allocated resources. -.SH "void QTranslator::clear ()" +.SH "void TQTranslator::clear ()" Empties this translator of all contents. .PP This function works with stripped translator files. -.SH "bool QTranslator::contains ( const char * context, const char * sourceText, const char * comment = 0 ) const" +.SH "bool TQTranslator::contains ( const char * context, const char * sourceText, const char * comment = 0 ) const" Returns TRUE if this message file contains a message with the key (\fIcontext\fR, \fIsourceText\fR, \fIcomment\fR); otherwise returns FALSE. .PP This function works with stripped translator files. .PP (This is is a one-liner that calls findMessage().) -.SH "TQString QTranslator::find ( const char * context, const char * sourceText, const char * comment = 0 ) const" +.SH "TQString TQTranslator::find ( const char * context, const char * sourceText, const char * comment = 0 ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Please use findMessage() instead. .PP Returns the translation for the key (\fIcontext\fR, \fIsourceText\fR, \fIcomment\fR) or TQString::null if there is none in this translator. -.SH "QTranslatorMessage QTranslator::findMessage ( const char * context, const char * sourceText, const char * comment = 0 ) const\fC [virtual]\fR" -Returns the QTranslatorMessage for the key (\fIcontext\fR, \fIsourceText\fR, \fIcomment\fR). If none is found, also tries (\fIcontext\fR, \fIsourceText\fR, ""). -.SH "void QTranslator::insert ( const QTranslatorMessage & message )" +.SH "TQTranslatorMessage TQTranslator::findMessage ( const char * context, const char * sourceText, const char * comment = 0 ) const\fC [virtual]\fR" +Returns the TQTranslatorMessage for the key (\fIcontext\fR, \fIsourceText\fR, \fIcomment\fR). If none is found, also tries (\fIcontext\fR, \fIsourceText\fR, ""). +.SH "void TQTranslator::insert ( const TQTranslatorMessage & message )" Inserts \fImessage\fR into this message file. .PP This function does \fInot\fR work with stripped translator files. It may appear to, but that is not dependable. .PP See also remove(). -.SH "void QTranslator::insert ( const char * context, const char * sourceText, const TQString & translation )" +.SH "void TQTranslator::insert ( const char * context, const char * sourceText, const TQString & translation )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QTranslator::isEmpty () const" +.SH "bool TQTranslator::isEmpty () const" Returns TRUE if this translator is empty, otherwise returns FALSE. This function works with stripped and unstripped translation files. -.SH "bool QTranslator::load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null )" +.SH "bool TQTranslator::load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null )" Loads \fIfilename\fR, which may be an absolute file name or relative to \fIdirectory\fR. The previous contents of this translator object is discarded. Returns TRUE if the file is loaded successfully; otherwise returns FALSE. .PP If the full file name does not exist, other file names are tried in the following order: @@ -216,22 +216,22 @@ For example, an application running in the fr_CA locale (French-speaking Canada) See also save(). .PP Example: i18n/main.cpp. -.SH "bool QTranslator::load ( const uchar * data, int len )" +.SH "bool TQTranslator::load ( const uchar * data, int len )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Loads the .qm file data \fIdata\fR of length \fIlen\fR into the translator. Returns TRUE if the data is loaded successfully; otherwise returns FALSE. .PP The data is not copied. The caller must be able to guarantee that \fIdata\fR will not be deleted or modified. -.SH "TQValueList<QTranslatorMessage> QTranslator::messages () const" +.SH "TQValueList<TQTranslatorMessage> TQTranslator::messages () const" Returns a list of the messages in the translator. This function is rather slow. Because it is seldom called, it's optimized for simplicity and small size, rather than speed. .PP If you want to iterate over the list, you should iterate over a copy, e.g. .PP .nf .br - TQValueList<QTranslatorMessage> list = myTranslator.messages(); + TQValueList<TQTranslatorMessage> list = myTranslator.messages(); .br - TQValueList<QTranslatorMessage>::Iterator it = list.begin(); + TQValueList<TQTranslatorMessage>::Iterator it = list.begin(); .br while ( it != list.end() ) { .br @@ -242,29 +242,29 @@ If you want to iterate over the list, you should iterate over a copy, e.g. } .br .fi -.SH "void QTranslator::remove ( const QTranslatorMessage & message )" +.SH "void TQTranslator::remove ( const TQTranslatorMessage & message )" Removes \fImessage\fR from this translator. .PP This function works with stripped translator files. .PP See also insert(). -.SH "void QTranslator::remove ( const char * context, const char * sourceText )" +.SH "void TQTranslator::remove ( const char * context, const char * sourceText )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Removes the translation associated to the key (\fIcontext\fR, \fIsourceText\fR," ") from this translator. -.SH "bool QTranslator::save ( const TQString & filename, SaveMode mode = Everything )" +.SH "bool TQTranslator::save ( const TQString & filename, SaveMode mode = Everything )" Saves this message file to \fIfilename\fR, overwriting the previous contents of \fIfilename\fR. If \fImode\fR is Everything (the default), all the information is preserved. If \fImode\fR is Stripped, any information that is not necessary for findMessage() is stripped away. .PP See also load(). -.SH "void QTranslator::squeeze ( SaveMode mode = Everything )" +.SH "void TQTranslator::squeeze ( SaveMode mode = Everything )" Converts this message file to the compact format used to store message files on disk. .PP You should never need to call this directly; save() and other functions call it as necessary. \fImode\fR is for internal use. .PP See also save() and unsqueeze(). -.SH "void QTranslator::unsqueeze ()" +.SH "void TQTranslator::unsqueeze ()" Converts this message file into an easily modifiable data structure, less compact than the format used in the files. .PP You should never need to call this function; it is called by insert() and friends as necessary. @@ -272,7 +272,7 @@ You should never need to call this function; it is called by insert() and friend See also squeeze(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqtranslator.html +.BR http://doc.trolltech.com/tqtranslator.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqtranslatormessage.3qt b/doc/man/man3/tqtranslatormessage.3qt index 3748377ba..db1067515 100644 --- a/doc/man/man3/tqtranslatormessage.3qt +++ b/doc/man/man3/tqtranslatormessage.3qt @@ -1,5 +1,5 @@ '\" t -.TH QTranslatorMessage 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQTranslatorMessage 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,26 +7,26 @@ .ad l .nh .SH NAME -QTranslatorMessage \- Translator message and its properties +TQTranslatorMessage \- Translator message and its properties .SH SYNOPSIS -\fC#include <ntqtranslator.h>\fR +\fC#include <tqtranslator.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQTranslatorMessage\fR ()" +.BI "\fBTQTranslatorMessage\fR ()" .br .ti -1c -.BI "\fBQTranslatorMessage\fR ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null )" +.BI "\fBTQTranslatorMessage\fR ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null )" .br .ti -1c -.BI "\fBQTranslatorMessage\fR ( TQDataStream & stream )" +.BI "\fBTQTranslatorMessage\fR ( TQDataStream & stream )" .br .ti -1c -.BI "\fBQTranslatorMessage\fR ( const QTranslatorMessage & m )" +.BI "\fBTQTranslatorMessage\fR ( const TQTranslatorMessage & m )" .br .ti -1c -.BI "QTranslatorMessage & \fBoperator=\fR ( const QTranslatorMessage & m )" +.BI "TQTranslatorMessage & \fBoperator=\fR ( const TQTranslatorMessage & m )" .br .ti -1c .BI "uint \fBhash\fR () const" @@ -53,114 +53,114 @@ QTranslatorMessage \- Translator message and its properties .BI "void \fBwrite\fR ( TQDataStream & stream, bool strip = FALSE, Prefix prefix = HashContextSourceTextComment ) const" .br .ti -1c -.BI "Prefix \fBcommonPrefix\fR ( const QTranslatorMessage & m ) const" +.BI "Prefix \fBcommonPrefix\fR ( const TQTranslatorMessage & m ) const" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QTranslatorMessage & m ) const" +.BI "bool \fBoperator==\fR ( const TQTranslatorMessage & m ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QTranslatorMessage & m ) const" +.BI "bool \fBoperator!=\fR ( const TQTranslatorMessage & m ) const" .br .ti -1c -.BI "bool \fBoperator<\fR ( const QTranslatorMessage & m ) const" +.BI "bool \fBoperator<\fR ( const TQTranslatorMessage & m ) const" .br .ti -1c -.BI "bool \fBoperator<=\fR ( const QTranslatorMessage & m ) const" +.BI "bool \fBoperator<=\fR ( const TQTranslatorMessage & m ) const" .br .ti -1c -.BI "bool \fBoperator>\fR ( const QTranslatorMessage & m ) const" +.BI "bool \fBoperator>\fR ( const TQTranslatorMessage & m ) const" .br .ti -1c -.BI "bool \fBoperator>=\fR ( const QTranslatorMessage & m ) const" +.BI "bool \fBoperator>=\fR ( const TQTranslatorMessage & m ) const" .br .in -1c .SH DESCRIPTION -The QTranslatorMessage class contains a translator message and its properties. +The TQTranslatorMessage class contains a translator message and its properties. .PP This class is of no interest to most applications. It is useful for translation tools such as TQt Linguist. It is provided simply to make the API complete and regular. .PP -For a QTranslator object, a lookup key is a triple (\fIcontext\fR, \fIsource text\fR, \fIcomment\fR) that uniquely identifies a message. An extended key is a quadruple (\fIhash\fR, \fIcontext\fR, \fIsource text\fR, \fIcomment\fR), where \fIhash\fR is computed from the source text and the comment. Unless you plan to read and write messages yourself, you need not worry about the hash value. +For a TQTranslator object, a lookup key is a triple (\fIcontext\fR, \fIsource text\fR, \fIcomment\fR) that uniquely identifies a message. An extended key is a quadruple (\fIhash\fR, \fIcontext\fR, \fIsource text\fR, \fIcomment\fR), where \fIhash\fR is computed from the source text and the comment. Unless you plan to read and write messages yourself, you need not worry about the hash value. .PP -QTranslatorMessage stores this triple or quadruple and the relevant translation if there is any. +TQTranslatorMessage stores this triple or quadruple and the relevant translation if there is any. .PP -See also QTranslator, Environment Classes, and Internationalization with Qt. +See also TQTranslator, Environment Classes, and Internationalization with Qt. .SS "Member Type Documentation" -.SH "QTranslatorMessage::Prefix" +.SH "TQTranslatorMessage::Prefix" Let (\fIh\fR, \fIc\fR, \fIs\fR, \fIm\fR) be the extended key. The possible prefixes are .TP -\fCQTranslatorMessage::NoPrefix\fR - no prefix +\fCTQTranslatorMessage::NoPrefix\fR - no prefix .TP -\fCQTranslatorMessage::Hash\fR - only (\fIh\fR) +\fCTQTranslatorMessage::Hash\fR - only (\fIh\fR) .TP -\fCQTranslatorMessage::HashContext\fR - only (\fIh\fR, \fIc\fR) +\fCTQTranslatorMessage::HashContext\fR - only (\fIh\fR, \fIc\fR) .TP -\fCQTranslatorMessage::HashContextSourceText\fR - only (\fIh\fR, \fIc\fR, \fIs\fR) +\fCTQTranslatorMessage::HashContextSourceText\fR - only (\fIh\fR, \fIc\fR, \fIs\fR) .TP -\fCQTranslatorMessage::HashContextSourceTextComment\fR - the whole extended key, (\fIh\fR, \fIc\fR, \fIs\fR, \fIm\fR) +\fCTQTranslatorMessage::HashContextSourceTextComment\fR - the whole extended key, (\fIh\fR, \fIc\fR, \fIs\fR, \fIm\fR) .PP See also write() and commonPrefix(). .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTranslatorMessage::QTranslatorMessage ()" +.SH "TQTranslatorMessage::TQTranslatorMessage ()" Constructs a translator message with the extended key (0, 0, 0, 0) and TQString::null as translation. -.SH "QTranslatorMessage::QTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null )" +.SH "TQTranslatorMessage::TQTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null )" Constructs an translator message with the extended key (\fIh\fR, \fIcontext\fR, \fIsourceText\fR, \fIcomment\fR), where \fIh\fR is computed from \fIsourceText\fR and \fIcomment\fR, and possibly with a \fItranslation\fR. -.SH "QTranslatorMessage::QTranslatorMessage ( TQDataStream & stream )" +.SH "TQTranslatorMessage::TQTranslatorMessage ( TQDataStream & stream )" Constructs a translator message read from the \fIstream\fR. The resulting message may have any combination of content. .PP -See also QTranslator::save(). -.SH "QTranslatorMessage::QTranslatorMessage ( const QTranslatorMessage & m )" +See also TQTranslator::save(). +.SH "TQTranslatorMessage::TQTranslatorMessage ( const TQTranslatorMessage & m )" Constructs a copy of translator message \fIm\fR. -.SH "const char * QTranslatorMessage::comment () const" +.SH "const char * TQTranslatorMessage::comment () const" Returns the comment for this message (e.g. "File|Save"). .PP -\fBWarning:\fR This may return 0 if the QTranslator object is stripped (compressed). -.SH "Prefix QTranslatorMessage::commonPrefix ( const QTranslatorMessage & m ) const" +\fBWarning:\fR This may return 0 if the TQTranslator object is stripped (compressed). +.SH "Prefix TQTranslatorMessage::commonPrefix ( const TQTranslatorMessage & m ) const" Returns the widest lookup prefix that is common to this translator message and to message \fIm\fR. .PP For example, if the extended key is for this message is (71," PrintDialog", "Yes", "Print?") and that for \fIm\fR is (71," PrintDialog", "No", "Print?"), this function returns HashContext. .PP See also write(). -.SH "const char * QTranslatorMessage::context () const" +.SH "const char * TQTranslatorMessage::context () const" Returns the context for this message (e.g. "MyDialog"). .PP -\fBWarning:\fR This may return 0 if the QTranslator object is stripped (compressed). -.SH "uint QTranslatorMessage::hash () const" +\fBWarning:\fR This may return 0 if the TQTranslator object is stripped (compressed). +.SH "uint TQTranslatorMessage::hash () const" Returns the hash value used internally to represent the lookup key. This value is zero only if this translator message was constructed from a stream containing invalid data. .PP The hashing function is unspecified, but it will remain unchanged in future versions of Qt. -.SH "bool QTranslatorMessage::operator!= ( const QTranslatorMessage & m ) const" +.SH "bool TQTranslatorMessage::operator!= ( const TQTranslatorMessage & m ) const" Returns TRUE if the extended key of this object is different from that of \fIm\fR; otherwise returns FALSE. -.SH "bool QTranslatorMessage::operator< ( const QTranslatorMessage & m ) const" +.SH "bool TQTranslatorMessage::operator< ( const TQTranslatorMessage & m ) const" Returns TRUE if the extended key of this object is lexicographically before than that of \fIm\fR; otherwise returns FALSE. -.SH "bool QTranslatorMessage::operator<= ( const QTranslatorMessage & m ) const" +.SH "bool TQTranslatorMessage::operator<= ( const TQTranslatorMessage & m ) const" Returns TRUE if the extended key of this object is lexicographically before that of \fIm\fR or if they are equal; otherwise returns FALSE. -.SH "QTranslatorMessage & QTranslatorMessage::operator= ( const QTranslatorMessage & m )" +.SH "TQTranslatorMessage & TQTranslatorMessage::operator= ( const TQTranslatorMessage & m )" Assigns message \fIm\fR to this translator message and returns a reference to this translator message. -.SH "bool QTranslatorMessage::operator== ( const QTranslatorMessage & m ) const" +.SH "bool TQTranslatorMessage::operator== ( const TQTranslatorMessage & m ) const" Returns TRUE if the extended key of this object is equal to that of \fIm\fR; otherwise returns FALSE. -.SH "bool QTranslatorMessage::operator> ( const QTranslatorMessage & m ) const" +.SH "bool TQTranslatorMessage::operator> ( const TQTranslatorMessage & m ) const" Returns TRUE if the extended key of this object is lexicographically after that of \fIm\fR; otherwise returns FALSE. -.SH "bool QTranslatorMessage::operator>= ( const QTranslatorMessage & m ) const" +.SH "bool TQTranslatorMessage::operator>= ( const TQTranslatorMessage & m ) const" Returns TRUE if the extended key of this object is lexicographically after that of \fIm\fR or if they are equal; otherwise returns FALSE. -.SH "void QTranslatorMessage::setTranslation ( const TQString & translation )" +.SH "void TQTranslatorMessage::setTranslation ( const TQString & translation )" Sets the translation of the source text to \fItranslation\fR. .PP See also translation(). -.SH "const char * QTranslatorMessage::sourceText () const" +.SH "const char * TQTranslatorMessage::sourceText () const" Returns the source text of this message (e.g. "&Save"). .PP -\fBWarning:\fR This may return 0 if the QTranslator object is stripped (compressed). -.SH "TQString QTranslatorMessage::translation () const" +\fBWarning:\fR This may return 0 if the TQTranslator object is stripped (compressed). +.SH "TQString TQTranslatorMessage::translation () const" Returns the translation of the source text (e.g., "&Sauvegarder"). .PP See also setTranslation(). -.SH "void QTranslatorMessage::write ( TQDataStream & stream, bool strip = FALSE, Prefix prefix = HashContextSourceTextComment ) const" +.SH "void TQTranslatorMessage::write ( TQDataStream & stream, bool strip = FALSE, Prefix prefix = HashContextSourceTextComment ) const" Writes this translator message to the \fIstream\fR. If \fIstrip\fR is FALSE (the default), all the information in the message is written. If \fIstrip\fR is TRUE, only the part of the extended key specified by \fIprefix\fR is written with the translation (HashContextSourceTextComment by default). .PP See also commonPrefix(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qtranslatormessage.html +.BR http://doc.trolltech.com/tqtranslatormessage.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqwheelevent.3qt b/doc/man/man3/tqwheelevent.3qt index 13511e7d4..4df7ddff7 100644 --- a/doc/man/man3/tqwheelevent.3qt +++ b/doc/man/man3/tqwheelevent.3qt @@ -9,9 +9,9 @@ .SH NAME QWheelEvent \- Parameters that describe a wheel event .SH SYNOPSIS -\fC#include <ntqevent.h>\fR +\fC#include <tqevent.h>\fR .PP -Inherits QEvent. +Inherits TQEvent. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index 3d4822f35..9eb3ada21 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and TQPaintDevice. .PP -Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, QDesktopWidget, QDial, QDockArea, TQGLWidget, QHeader, TQMainWindow, QMotifWidget, QNPWidget, QScrollBar, TQSizeGrip, QSlider, QSpinBox, QSplashScreen, TQStatusBar, QTabBar, QTabWidget, TQWorkspace, and QXtWidget. +Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, QDial, QDockArea, TQGLWidget, QHeader, TQMainWindow, QMotifWidget, QNPWidget, QScrollBar, TQSizeGrip, QSlider, QSpinBox, QSplashScreen, TQStatusBar, QTabBar, QTabWidget, TQWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c @@ -852,7 +852,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .SS "Protected Members" .in +1c .ti -1c -.BI "virtual bool \fBevent\fR ( QEvent * e )" +.BI "virtual bool \fBevent\fR ( TQEvent * e )" .br .ti -1c .BI "virtual void \fBmousePressEvent\fR ( QMouseEvent * e )" @@ -882,10 +882,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBfocusOutEvent\fR ( QFocusEvent * )" .br .ti -1c -.BI "virtual void \fBenterEvent\fR ( QEvent * )" +.BI "virtual void \fBenterEvent\fR ( TQEvent * )" .br .ti -1c -.BI "virtual void \fBleaveEvent\fR ( QEvent * )" +.BI "virtual void \fBleaveEvent\fR ( TQEvent * )" .br .ti -1c .BI "virtual void \fBpaintEvent\fR ( TQPaintEvent * )" @@ -1087,7 +1087,7 @@ moveEvent() - called when the widget has been moved relative to its parent. closeEvent() - called when the user closes the widget (or when close() is called). .IP .PP -There are also some rather obscure events. They are listed in ntqevent.h and you need to reimplement event() to handle them. The default implementation of event() handles Tab and Shift+Tab (to move the keyboard focus), and passes on most other events to one of the more specialized handlers above. +There are also some rather obscure events. They are listed in tqevent.h and you need to reimplement event() to handle them. The default implementation of event() handles Tab and Shift+Tab (to move the keyboard focus), and passes on most other events to one of the more specialized handlers above. .PP When implementing a widget, there are a few more things to consider. .IP @@ -1101,7 +1101,7 @@ It is almost always useful to reimplement sizeHint() and to set the correct size If your widget is a top-level window, setCaption() and setIcon() set the title bar and icon respectively. .IP .PP -See also QEvent, TQPainter, QGridLayout, QBoxLayout, and Abstract Widget Classes. +See also TQEvent, TQPainter, QGridLayout, QBoxLayout, and Abstract Widget Classes. .SS "Member Type Documentation" .SH "TQWidget::BackgroundOrigin" This enum defines the origin used to draw a widget's background pixmap. @@ -1338,7 +1338,7 @@ Reimplement this function if your widget needs to know when it becomes enabled o The default implementation repaints the visible part of the widget. .PP See also enabled, enabled, repaint(), update(), and clipRegion(). -.SH "void TQWidget::enterEvent ( QEvent * )\fC [virtual protected]\fR" +.SH "void TQWidget::enterEvent ( TQEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive widget enter events. .PP An event is sent to the widget when the mouse cursor enters the widget. @@ -1374,7 +1374,7 @@ See also setEraseColor(), setErasePixmap(), and backgroundColor(). Returns the widget's erase pixmap. .PP See also setErasePixmap() and eraseColor(). -.SH "bool TQWidget::event ( QEvent * e )\fC [virtual protected]\fR" +.SH "bool TQWidget::event ( TQEvent * e )\fC [virtual protected]\fR" This is the main event handler; it handles event \fIe\fR. You can reimplement this function in a subclass, but we recommend using one of the specialized event handlers instead. .PP The main event handler first passes an event through all event filters that have been installed. If none of the filters intercept the event, it calls one of the specialized event handlers. @@ -1655,7 +1655,7 @@ See also sizePolicy. .PP Examples: .)l chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp. -.SH "void TQWidget::leaveEvent ( QEvent * )\fC [virtual protected]\fR" +.SH "void TQWidget::leaveEvent ( TQEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive widget leave events. .PP A leave event is sent to the widget when the mouse cursor leaves the widget. @@ -3096,7 +3096,7 @@ This property holds whether the widget is under the mouse cursor. .PP This value is not updated properly during drag and drop operations. .PP -See also QEvent::Enter and QEvent::Leave. +See also TQEvent::Enter and TQEvent::Leave. .PP Get this property's value with hasMouse(). .SH "bool updatesEnabled" |