From 8ef4ea451dd81dd66b34ed31aaa631f6df24a192 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 21:06:28 +0900 Subject: Rename environment class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/advanced.html | 2 +- doc/html/annotated.html | 10 +- doc/html/application.html | 2 +- doc/html/classchart.html | 8 +- doc/html/classes.html | 10 +- doc/html/dirview-example.html | 2 +- doc/html/distributor-example.html | 2 +- doc/html/environment.html | 8 +- doc/html/events.html | 4 +- doc/html/eventsandfilters.html | 14 +- doc/html/fileiconview-example.html | 2 +- doc/html/functions.html | 104 ++--- doc/html/headerfilesynonyms | 44 +- doc/html/headers.html | 8 +- doc/html/helpviewer-example.html | 2 +- doc/html/hierarchy.html | 10 +- doc/html/i18n-example.html | 6 +- doc/html/i18n.html | 22 +- doc/html/index | 132 +++--- doc/html/keyfeatures30.html | 2 +- doc/html/layout.html | 2 +- doc/html/life-example.html | 2 +- doc/html/linguist-manual-4.html | 34 +- doc/html/mainclasses.html | 2 +- doc/html/motif-extension.html | 2 +- doc/html/ntqaccel.html | 2 +- doc/html/ntqapplication.html | 30 +- doc/html/ntqdesktopwidget.html | 202 --------- doc/html/ntqevent.html | 193 --------- doc/html/ntqeventloop.html | 280 ------------- doc/html/ntqlistview.html | 2 +- doc/html/ntqprogressdialog.html | 2 +- doc/html/ntqscrollview.html | 2 +- doc/html/ntqspinbox.html | 2 +- doc/html/ntqt.html | 2 +- doc/html/ntqtranslator.html | 326 --------------- doc/html/porting.html | 16 +- doc/html/propertydocs | 2 +- doc/html/qapplication-h.html | 4 +- doc/html/qchildevent-members.html | 6 +- doc/html/qchildevent.html | 18 +- doc/html/qcloseevent-members.html | 6 +- doc/html/qcloseevent.html | 6 +- doc/html/qcontextmenuevent-members.html | 6 +- doc/html/qcontextmenuevent.html | 6 +- doc/html/qcustomevent-members.html | 6 +- doc/html/qcustomevent.html | 10 +- doc/html/qdesktopwidget-h.html | 143 ------- doc/html/qdesktopwidget-members.html | 345 ---------------- doc/html/qdesktopwidget.png | Bin 8663 -> 0 bytes doc/html/qevent-h.html | 662 ------------------------------ doc/html/qevent-members.html | 50 --- doc/html/qeventloop-h.html | 167 -------- doc/html/qeventloop-members.html | 106 ----- doc/html/qfocusevent-members.html | 6 +- doc/html/qfocusevent.html | 10 +- doc/html/qhideevent-members.html | 6 +- doc/html/qhideevent.html | 8 +- doc/html/qimevent-members.html | 6 +- doc/html/qimevent.html | 8 +- doc/html/qkeyevent-members.html | 6 +- doc/html/qkeyevent.html | 10 +- doc/html/qmotif-h.html | 2 +- doc/html/qmotif-members.html | 32 +- doc/html/qmotif.html | 2 +- doc/html/qmouseevent-members.html | 6 +- doc/html/qmouseevent.html | 28 +- doc/html/qmoveevent-members.html | 6 +- doc/html/qmoveevent.html | 6 +- doc/html/qnamespace-h.html | 6 +- doc/html/qresizeevent-members.html | 6 +- doc/html/qresizeevent.html | 6 +- doc/html/qshowevent-members.html | 6 +- doc/html/qshowevent.html | 6 +- doc/html/qt.dcf | 208 +++++----- doc/html/qtabletevent-members.html | 6 +- doc/html/qtabletevent.html | 8 +- doc/html/qtranslator-h.html | 212 ---------- doc/html/qtranslator-members.html | 102 ----- doc/html/qtranslatormessage-members.html | 62 --- doc/html/qtranslatormessage.html | 226 ---------- doc/html/qwheelevent-members.html | 6 +- doc/html/qwheelevent.html | 6 +- doc/html/scribble-example.html | 2 +- doc/html/titleindex | 28 +- doc/html/tqdesktopwidget-h.html | 143 +++++++ doc/html/tqdesktopwidget-members.html | 345 ++++++++++++++++ doc/html/tqdesktopwidget.html | 202 +++++++++ doc/html/tqdesktopwidget.png | Bin 0 -> 8663 bytes doc/html/tqdir-example.html | 2 +- doc/html/tqdragenterevent-members.html | 6 +- doc/html/tqdragenterevent.html | 4 +- doc/html/tqdragleaveevent-members.html | 6 +- doc/html/tqdragleaveevent.html | 6 +- doc/html/tqdragmoveevent-members.html | 6 +- doc/html/tqdragmoveevent.html | 4 +- doc/html/tqdropevent-members.html | 6 +- doc/html/tqdropevent.html | 6 +- doc/html/tqevent-h.html | 662 ++++++++++++++++++++++++++++++ doc/html/tqevent-members.html | 50 +++ doc/html/tqevent.html | 193 +++++++++ doc/html/tqeventloop-h.html | 167 ++++++++ doc/html/tqeventloop-members.html | 106 +++++ doc/html/tqeventloop.html | 280 +++++++++++++ doc/html/tqicondragevent-members.html | 6 +- doc/html/tqicondragevent.html | 6 +- doc/html/tqobject-h.html | 2 +- doc/html/tqobject.html | 12 +- doc/html/tqpaintevent-members.html | 6 +- doc/html/tqpaintevent.html | 6 +- doc/html/tqtimerevent-members.html | 6 +- doc/html/tqtimerevent.html | 6 +- doc/html/tqtranslator-h.html | 212 ++++++++++ doc/html/tqtranslator-members.html | 102 +++++ doc/html/tqtranslator.html | 326 +++++++++++++++ doc/html/tqtranslatormessage-members.html | 62 +++ doc/html/tqtranslatormessage.html | 226 ++++++++++ doc/html/tqwidget.html | 14 +- doc/html/unicode.html | 2 +- doc/html/whatsthis | 10 +- 120 files changed, 3637 insertions(+), 3637 deletions(-) delete mode 100644 doc/html/ntqdesktopwidget.html delete mode 100644 doc/html/ntqevent.html delete mode 100644 doc/html/ntqeventloop.html delete mode 100644 doc/html/ntqtranslator.html delete mode 100644 doc/html/qdesktopwidget-h.html delete mode 100644 doc/html/qdesktopwidget-members.html delete mode 100644 doc/html/qdesktopwidget.png delete mode 100644 doc/html/qevent-h.html delete mode 100644 doc/html/qevent-members.html delete mode 100644 doc/html/qeventloop-h.html delete mode 100644 doc/html/qeventloop-members.html delete mode 100644 doc/html/qtranslator-h.html delete mode 100644 doc/html/qtranslator-members.html delete mode 100644 doc/html/qtranslatormessage-members.html delete mode 100644 doc/html/qtranslatormessage.html create mode 100644 doc/html/tqdesktopwidget-h.html create mode 100644 doc/html/tqdesktopwidget-members.html create mode 100644 doc/html/tqdesktopwidget.html create mode 100644 doc/html/tqdesktopwidget.png create mode 100644 doc/html/tqevent-h.html create mode 100644 doc/html/tqevent-members.html create mode 100644 doc/html/tqevent.html create mode 100644 doc/html/tqeventloop-h.html create mode 100644 doc/html/tqeventloop-members.html create mode 100644 doc/html/tqeventloop.html create mode 100644 doc/html/tqtranslator-h.html create mode 100644 doc/html/tqtranslator-members.html create mode 100644 doc/html/tqtranslator.html create mode 100644 doc/html/tqtranslatormessage-members.html create mode 100644 doc/html/tqtranslatormessage.html (limited to 'doc/html') diff --git a/doc/html/advanced.html b/doc/html/advanced.html index 399f0cd47..ebcdd8830 100644 --- a/doc/html/advanced.html +++ b/doc/html/advanced.html @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; } TQComboTableItemMeans of using comboboxes in TQTables TQDateEditDate editor TQDateTimeEditCombines a TQDateEdit and TQTimeEdit widget into a single widget for editing datetimes -TQDesktopWidgetAccess to screen information on multi-head systems +TQDesktopWidgetAccess to screen information on multi-head systems TQHeaderHeader row or column, e.g. for tables and listviews TQIconFactoryUsed to create pixmaps for a TQIconSet TQIconViewArea with movable labelled icons diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 32bfa1487..4c28b00de 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -106,7 +106,7 @@ body { background: #ffffff; color: black; } TQDateTimeEditCombines a TQDateEdit and TQTimeEdit widget into a single widget for editing datetimes TQDateTimeEditBaseAbstraction for date and edit editors TQDeepCopyTemplate class which ensures that implicitly shared and explicitly shared classes reference unique data -TQDesktopWidgetAccess to screen information on multi-head systems +TQDesktopWidgetAccess to screen information on multi-head systems TQDialRounded range control (like a speedometer or potentiometer) TQDialogThe base class of dialog windows TQDictTemplate class that provides a dictionary based on TQString keys @@ -142,8 +142,8 @@ body { background: #ffffff; color: black; } TQErrorMessageError message display dialog TQEucJpCodecConversion to and from EUC-JP character sets TQEucKrCodecConversion to and from EUC-KR character sets -TQEventThe base class of all event classes. Event objects contain event parameters -TQEventLoopManages the event queue +TQEventThe base class of all event classes. Event objects contain event parameters +TQEventLoopManages the event queue TQFileI/O device that operates on files TQFileDialogDialogs that allow users to select files or directories TQFileIconProviderIcons for TQFileDialog to use @@ -379,8 +379,8 @@ body { background: #ffffff; color: black; } TQToolButtonQuick-access button to commands or options, usually used inside a TQToolBar TQToolTipTool tips (balloon help) for any widget or rectangular part of a widget TQToolTipGroupCollects tool tips into related groups -TQTranslatorInternationalization support for text output -TQTranslatorMessageTranslator message and its properties +TQTranslatorInternationalization support for text output +TQTranslatorMessageTranslator message and its properties TQTsciiCodecConversion to and from the Tamil TSCII encoding TQUriDragDrag object for a list of URI references TQUrlURL parser and simplifies working with URLs diff --git a/doc/html/application.html b/doc/html/application.html index 8a09f669b..9faa2b1d5 100644 --- a/doc/html/application.html +++ b/doc/html/application.html @@ -42,7 +42,7 @@ a statusbar, etc. TQApplicationManages the GUI application's control flow and main settings TQDockAreaManages and lays out TQDockWindows TQDockWindowWidget which can be docked inside a TQDockArea or floated as a top level window on the desktop -TQEventLoopManages the event queue +TQEventLoopManages the event queue TQMainWindowMain application window, with a menu bar, dock windows (e.g. for toolbars), and a status bar TQMenuBarHorizontal menu bar TQPopupMenuPopup menu widget diff --git a/doc/html/classchart.html b/doc/html/classchart.html index 521544277..02b72c770 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -65,7 +65,7 @@ body { background: #ffffff; color: black; } - + @@ -102,7 +102,7 @@ body { background: #ffffff; color: black; } - + @@ -111,7 +111,7 @@ body { background: #ffffff; color: black; } - + @@ -134,7 +134,7 @@ body { background: #ffffff; color: black; } - + diff --git a/doc/html/classes.html b/doc/html/classes.html index 5ce0a3358..28b51d724 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -354,7 +354,7 @@ classes, see TQt's Main Classes. TQScrollView -TQTranslator +TQTranslator TQButton @@ -365,7 +365,7 @@ classes, see TQt's Main Classes. TQSemaphore -TQTranslatorMessage +TQTranslatorMessage TQButtonGroup @@ -414,7 +414,7 @@ classes, see TQt's Main Classes. TQCanvas -TQEvent +TQEvent TQListView @@ -425,7 +425,7 @@ classes, see TQt's Main Classes. TQCanvasEllipse -TQEventLoop +TQEventLoop TQListViewItem @@ -928,7 +928,7 @@ classes, see TQt's Main Classes. -TQDesktopWidget +TQDesktopWidget TQIconDragItem diff --git a/doc/html/dirview-example.html b/doc/html/dirview-example.html index 5fae5a736..96dcf08f6 100644 --- a/doc/html/dirview-example.html +++ b/doc/html/dirview-example.html @@ -173,7 +173,7 @@ can be used in any other trees. #include <tqfile.h> #include <tqfileinfo.h> #include <tqpixmap.h> -#include <ntqevent.h> +#include <tqevent.h> #include <tqpoint.h> #include <ntqmessagebox.h> #include <tqdragobject.h> diff --git a/doc/html/distributor-example.html b/doc/html/distributor-example.html index d8cd62a55..7acf4920e 100644 --- a/doc/html/distributor-example.html +++ b/doc/html/distributor-example.html @@ -64,7 +64,7 @@ distributed with TQt. #include <ntqapplication.h> #include <ntqcursor.h> -#include <ntqeventloop.h> +#include <tqeventloop.h> #include <tqfile.h> #include <tqfiledialog.h> #include <tqfileinfo.h> diff --git a/doc/html/environment.html b/doc/html/environment.html index decefe713..2bb0a0e2c 100644 --- a/doc/html/environment.html +++ b/doc/html/environment.html @@ -37,8 +37,8 @@ event handling, access to system settings, TQClipboardAccess to the window system clipboard -TQDesktopWidgetAccess to screen information on multi-head systems -TQEventThe base class of all event classes. Event objects contain event parameters +TQDesktopWidgetAccess to screen information on multi-head systems +TQEventThe base class of all event classes. Event objects contain event parameters TQFontDatabaseInformation about the fonts available in the underlying window system TQMimeSourceFactoryExtensible provider of mime-typed data TQMutexAccess serialization between threads @@ -48,8 +48,8 @@ event handling, access to system settings, TQSessionManagerAccess to the session manager TQThreadPlatform-independent threads TQThreadStoragePer-thread data storage -TQTranslatorInternationalization support for text output -TQTranslatorMessageTranslator message and its properties +TQTranslatorInternationalization support for text output +TQTranslatorMessageTranslator message and its properties TQWaitConditionAllows waiting/waking for conditions between threads diff --git a/doc/html/events.html b/doc/html/events.html index 27801d85c..a7e3703f7 100644 --- a/doc/html/events.html +++ b/doc/html/events.html @@ -45,8 +45,8 @@ and Signals and Slots. TQDragLeaveEventEvent which is sent to the widget when a drag and drop leaves the widget TQDragMoveEventEvent which is sent while a drag and drop is in progress TQDropEventEvent which is sent when a drag and drop is completed -TQEventThe base class of all event classes. Event objects contain event parameters -TQEventLoopManages the event queue +TQEventThe base class of all event classes. Event objects contain event parameters +TQEventLoopManages the event queue TQFocusEventEvent parameters for widget focus events TQHideEventEvent which is sent after a widget is hidden TQIconDragEventSignals that a main icon drag has begun diff --git a/doc/html/eventsandfilters.html b/doc/html/eventsandfilters.html index caea373ab..890229bd5 100644 --- a/doc/html/eventsandfilters.html +++ b/doc/html/eventsandfilters.html @@ -33,9 +33,9 @@ body { background: #ffffff; color: black; } -

In TQt, an event is an object that inherits TQEvent. Events are +

In TQt, an event is an object that inherits TQEvent. Events are delivered to objects that inherit TQObject through calling TQObject::event(). Event delivery means that an event has occurred, the -TQEvent indicates precisely what, and the TQObject needs to respond. Most +TQEvent indicates precisely what, and the TQObject needs to respond. Most events are specific to TQWidget and its subclasses, but there are important events that aren't related to graphics, for example, socket activation, which is the event used by TQSocketNotifier for its @@ -47,7 +47,7 @@ events in exactly the same ways as TQt's own event loop does.

Most events types have special classes, most commonly TQResizeEvent, TQPaintEvent, TQMouseEvent, TQKeyEvent and TQCloseEvent. There are many others, perhaps forty or so, but most are rather odd. -

Each class subclasses TQEvent and adds event-specific functions; see, +

Each class subclasses TQEvent and adds event-specific functions; see, for example, TQResizeEvent. In the case of TQResizeEvent, TQResizeEvent::size() and TQResizeEvent::oldSize() are added.

Some classes support more than one event type. TQMouseEvent supports mouse moves, presses, shift-presses, drags, clicks, @@ -85,15 +85,15 @@ handling, or replace it completely. A very unusual widget that both interprets tab and has an application-specific custom event might contain:

-  bool MyClass:event( TQEvent *evt ) {
-      if ( evt->type() == TQEvent::KeyPress ) {
+  bool MyClass:event( TQEvent *evt ) {
+      if ( evt->type() == TQEvent::KeyPress ) {
           TQKeyEvent *ke = (TQKeyEvent *)evt;
           if ( ke->key() == Key_Tab ) {
               // special tab handling here
               ke->accept();
               return TRUE;
           }
-      } else if ( evt->type() >= TQEvent::User ) {
+      } else if ( evt->type() >= TQEvent::User ) {
           TQCustomEvent *ce = (TQCustomEvent*) evt;
           // custom event handling here
           return TRUE;
@@ -136,7 +136,7 @@ increases speed by avoiding multiple repaints.
 posted event will typically be dispatched very soon after the
 initialization of the object is complete.
 

To create events of a custom type, you need to define an event number, -which must be greater than TQEvent::User, and probably you also need +which must be greater than TQEvent::User, and probably you also need to subclass TQCustomEvent in order to pass characteristics about your custom event. See the documentation to TQCustomEvent for details. diff --git a/doc/html/fileiconview-example.html b/doc/html/fileiconview-example.html index bd5959802..7e1607086 100644 --- a/doc/html/fileiconview-example.html +++ b/doc/html/fileiconview-example.html @@ -233,7 +233,7 @@ protected: #include <tqstrlist.h> #include <tqdragobject.h> #include <ntqmessagebox.h> -#include <ntqevent.h> +#include <tqevent.h> #include <tqpopupmenu.h> #include <ntqcursor.h> #include <ntqapplication.h> diff --git a/doc/html/functions.html b/doc/html/functions.html index 3086e83ee..413f06d0a 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -47,7 +47,7 @@ abort: TQPrinter

  • about: TQMessageBox
  • aboutTQt: TQApplication TQMessageBox
  • aboutToBlock: - TQEventLoop
  • aboutToHide: + TQEventLoop
  • aboutToHide: TQPopupMenu
  • aboutToQuit: TQApplication
  • aboutToShow: TQPopupMenu TQTabDialog TQWidgetStack
  • absFilePath: @@ -66,8 +66,8 @@ abort: TQTable
  • activateNextWindow: TQWorkspace
  • activatePrevWindow: TQWorkspace
  • activateSocketNotifiers: - TQEventLoop
  • activateTimers: - TQEventLoop
  • activated: + TQEventLoop
  • activateTimers: + TQEventLoop
  • activated: TQAccel TQAction TQComboBox TQMenuBar TQPopupMenu TQSocketNotifier
  • activatedAmbiguously: TQAccel
  • activatedPos: TQListViewItem
  • active: @@ -237,8 +237,8 @@ abort: TQProgressDialog
  • autoUnload: TQLibrary
  • available: TQSemaphore TQSound
  • availableGeometry: - TQDesktopWidget
  • awake: - TQEventLoop
  • + TQDesktopWidget
  • awake: + TQEventLoop
  • back: TQValueList TQValueVector TQWizard
  • backButton: TQWizard
  • background: @@ -386,7 +386,7 @@ c: TQDir
  • cleanText: TQSpinBox
  • cleanup: TQColor TQCursor
  • clear: - TQAccel TQAsciiCache TQAsciiDict TQCache TQClipboard TQComboBox TQDict TQDomNode TQIconView TQIntCache TQIntDict TQLabel TQLineEdit TQListBox TQListView TQMap TQMenuBar TQMenuData TQObjectCleanupHandler TQPixmapCache TQPopupMenu TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSplashScreen TQSqlCursor TQSqlField TQSqlForm TQSqlRecord TQStatusBar TQTextEdit TQToolBar TQToolTip TQTranslator TQValueList TQValueVector TQVariant TQXmlAttributes
  • clearArguments: + TQAccel TQAsciiCache TQAsciiDict TQCache TQClipboard TQComboBox TQDict TQDomNode TQIconView TQIntCache TQIntDict TQLabel TQLineEdit TQListBox TQListView TQMap TQMenuBar TQMenuData TQObjectCleanupHandler TQPixmapCache TQPopupMenu TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSplashScreen TQSqlCursor TQSqlField TQSqlForm TQSqlRecord TQStatusBar TQTextEdit TQToolBar TQToolTip TQTranslator TQValueList TQValueVector TQVariant TQXmlAttributes
  • clearArguments: TQProcess
  • clearBit: TQBitArray
  • clearCell: TQTable
  • clearCellWidget: @@ -460,11 +460,11 @@ c: TQChar
  • commandFinished: TQFtp
  • commandStarted: TQFtp
  • comment: - TQTranslatorMessage TQXmlLexicalHandler
  • commit: + TQTranslatorMessage TQXmlLexicalHandler
  • commit: TQSqlDatabase
  • commitData: TQApplication
  • commitTransaction: TQSqlDriver
  • commonPrefix: - TQTranslatorMessage
  • communication: + TQTranslatorMessage
  • communication: TQProcess
  • compare: TQIconViewItem TQListViewItem TQString
  • compareItems: TQPtrList TQPtrVector
  • complete: @@ -493,7 +493,7 @@ c: TQWidget
  • constref: TQString
  • consume: TQContextMenuEvent
  • contains: - TQCString TQDomNamedNodeMap TQIconViewItem TQMap TQMemArray TQPtrList TQPtrVector TQRect TQRegion TQSqlDatabase TQSqlRecord TQSqlRecordInfo TQString TQTranslator TQValueList
  • containsRef: + TQCString TQDomNamedNodeMap TQIconViewItem TQMap TQMemArray TQPtrList TQPtrVector TQRect TQRegion TQSqlDatabase TQSqlRecord TQSqlRecordInfo TQString TQTranslator TQValueList
  • containsRef: TQPtrList TQPtrVector
  • contentHandler: TQXmlReader
  • contentLength: TQHttpHeader
  • contentType: @@ -515,7 +515,7 @@ c: TQScrollView
  • contentsX: TQScrollView
  • contentsY: TQScrollView
  • context: - TQGLWidget TQSimpleRichText TQTextEdit TQTranslatorMessage
  • contextMenuEvent: + TQGLWidget TQSimpleRichText TQTextEdit TQTranslatorMessage
  • contextMenuEvent: TQWidget
  • contextMenuRequested: TQIconView TQListBox TQListView TQTable
  • contexts: TQStyleSheetItem
  • controlAt: @@ -858,7 +858,7 @@ echoMode: TQColor
  • enterEvent: TQWidget
  • enterInstance: TQNPWidget
  • enterLoop: - TQEventLoop
  • enterWhatsThisMode: + TQEventLoop
  • enterWhatsThisMode: TQWhatsThis
  • entities: TQDomDocumentType
  • entityResolver: TQXmlReader
  • entryColor: @@ -884,11 +884,11 @@ echoMode: TQListView TQObject TQScrollView TQSpinBox
  • eventLoop: TQApplication
  • exactMatch: TQFont TQFontInfo TQRegExp
  • exec: - TQApplication TQDialog TQEventLoop TQPopupMenu TQSqlDatabase TQSqlQuery
  • executedQuery: + TQApplication TQDialog TQEventLoop TQPopupMenu TQSqlDatabase TQSqlQuery
  • executedQuery: TQSqlQuery
  • exists: TQDir TQFile TQFileInfo
  • exit: - TQApplication TQEventLoop TQThread
  • exitLoop: - TQEventLoop
  • exitStatus: + TQApplication TQEventLoop TQThread
  • exitLoop: + TQEventLoop
  • exitStatus: TQProcess
  • expand: TQGridLayout
  • expandTo: TQTableSelection
  • expanded: @@ -928,7 +928,7 @@ falseText: TQIconView TQListBox TQListView TQMenuData
  • findKey: TQAccel
  • findLastVisibleItem: TQIconView
  • findMessage: - TQTranslator
  • findNearest: + TQTranslator
  • findNearest: TQGLColormap
  • findNext: TQPtrList
  • findNextRef: TQPtrList
  • findProperty: @@ -1112,7 +1112,7 @@ hScrollBarMode: TQUrl
  • hasPath: TQUrl
  • hasPendingCommands: TQFtp
  • hasPendingEvents: - TQApplication TQEventLoop
  • hasPendingRequests: + TQApplication TQEventLoop
  • hasPendingRequests: TQHttp
  • hasPort: TQUrl
  • hasProperty: TQXmlReader
  • hasRef: @@ -1123,7 +1123,7 @@ hScrollBarMode: TQUrl
  • hasViewXForm: TQPainter
  • hasWorldXForm: TQPainter
  • hash: - TQTranslatorMessage
  • head: + TQTranslatorMessage
  • head: TQHttp TQPtrQueue
  • header: TQListView
  • headerSection: TQStyleOption
  • headerWidth: @@ -1207,7 +1207,7 @@ icon: TQImage
  • inputFormats: TQImage TQImageDecoder TQImageIO
  • inputMask: TQLineEdit
  • insert: - TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataBrowser TQDict TQIntCache TQIntDict TQLineEdit TQMap TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQTextEdit TQTranslator TQValueList TQValueVector
  • insertAfter: + TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataBrowser TQDict TQIntCache TQIntDict TQLineEdit TQMap TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQTextEdit TQTranslator TQValueList TQValueVector
  • insertAfter: TQDomNode
  • insertAndMark: TQMultiLineEdit
  • insertAt: TQMultiLineEdit TQTextEdit
  • insertBefore: @@ -1311,7 +1311,7 @@ icon: TQTable
  • isEffectEnabled: TQApplication
  • isElement: TQDomElement TQDomNode
  • isEmpty: - TQAsciiCache TQAsciiCacheIterator TQAsciiDict TQAsciiDictIterator TQCString TQCache TQCacheIterator TQDict TQDictIterator TQDockArea TQGLColormap TQIntCache TQIntCacheIterator TQIntDict TQIntDictIterator TQKeySequence TQLayout TQLayoutItem TQMap TQMemArray TQObjectCleanupHandler TQPtrDict TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRect TQRegExp TQRegion TQSize TQSpacerItem TQSqlRecord TQString TQTableSelection TQTranslator TQValueList TQValueVector TQWidgetItem
  • isEnabled: + TQAsciiCache TQAsciiCacheIterator TQAsciiDict TQAsciiDictIterator TQCString TQCache TQCacheIterator TQDict TQDictIterator TQDockArea TQGLColormap TQIntCache TQIntCacheIterator TQIntDict TQIntDictIterator TQKeySequence TQLayout TQLayoutItem TQMap TQMemArray TQObjectCleanupHandler TQPtrDict TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRect TQRegExp TQRegion TQSize TQSpacerItem TQSqlRecord TQString TQTableSelection TQTranslator TQValueList TQValueVector TQWidgetItem
  • isEnabled: TQAccel TQAction TQCanvasItem TQLayout TQListViewItem TQSocketNotifier TQTab TQTableItem TQWidget
  • isEnabledTo: TQWidget
  • isEntity: TQDomEntity TQDomNode
  • isEntityReference: @@ -1425,7 +1425,7 @@ icon: TQAccessibleInterface TQCanvasPixmapArray TQCanvasPolygonalItem TQColor TQDate TQDateTime TQGLContext TQGLWidget TQHttpHeader TQRect TQRegExp TQSize TQSocketDevice TQSqlQuery TQSqlResult TQTime TQUrl TQUrlInfo TQVariant
  • isVerticalSliderPressed: TQScrollView
  • isVerticallyStretchable: TQDockWindow
  • isVirtualDesktop: - TQDesktopWidget
  • isVisible: + TQDesktopWidget
  • isVisible: TQAction TQCanvasItem TQListViewItem TQWidget
  • isVisibleTo: TQWidget
  • isWidgetType: TQObject
  • isWorking: @@ -1537,7 +1537,7 @@ label: TQListViewItem
  • listViewItem: TQStyleOption
  • listen: TQSocketDevice
  • load: - TQImage TQLibrary TQPicture TQPixmap TQTranslator
  • loadCharmap: + TQImage TQLibrary TQPicture TQPixmap TQTranslator
  • loadCharmap: TQTextCodec
  • loadCharmapFile: TQTextCodec
  • loadFromData: TQImage TQPixmap
  • loadImages: @@ -1557,7 +1557,7 @@ label: TQFtp
  • longDayName: TQDate
  • longMonthName: TQDate
  • loopLevel: - TQEventLoop
  • loops: + TQEventLoop
  • loops: TQSound
  • loopsRemaining: TQSound
  • lostFocus: TQFocusEvent TQLineEdit
  • lower: @@ -1635,7 +1635,7 @@ m11: TQAction
  • message: TQErrorMessage TQSplashScreen TQStatusBar TQXmlParseException
  • messageChanged: TQSplashScreen TQStatusBar
  • messages: - TQTranslator
  • metaObject: + TQTranslator
  • metaObject: TQObject
  • method: TQHttpRequestHeader
  • metric: TQPicture TQPixmap TQWidget
  • mibEnum: @@ -1761,7 +1761,7 @@ name: TQMetaObject
  • numRows: TQDataTable TQGridLayout TQGridView TQListBox TQTable TQTableSelection
  • numRowsAffected: TQSqlQuery TQSqlResult
  • numScreens: - TQDesktopWidget
  • numSelections: + TQDesktopWidget
  • numSelections: TQTable
  • numSignals: TQMetaObject
  • numSlots: TQMetaObject
  • number: @@ -1803,7 +1803,7 @@ object: TQString
  • operator type *: TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator TQPtrQueue TQPtrStack
  • operator!: TQString
  • operator!=: - TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQRect TQRegExp TQRegion TQSize TQSizePolicy TQString TQTableSelection TQTime TQTranslatorMessage TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQVariant TQWMatrix
  • operator&: + TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQRect TQRegExp TQRegion TQSize TQSizePolicy TQString TQTableSelection TQTime TQTranslatorMessage TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQVariant TQWMatrix
  • operator&: TQBitArray TQRect TQRegion
  • operator&=: TQBitArray TQRect TQRegion
  • operator(): TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator
  • operator*: @@ -1818,13 +1818,13 @@ object: TQGuardedPtr
  • operator/: TQPoint TQSize
  • operator/=: TQPoint TQSize
  • operator<: - TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
  • operator<<: + TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
  • operator<<: TQBitArray TQBrush TQCString TQColor TQColorGroup TQCursor TQDataStream TQDate TQDateTime TQDockArea TQDomNode TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
  • operator<=: - TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
  • operator=: - TQAsciiCacheIterator TQAsciiDict TQBitArray TQBitVal TQBitmap TQBrush TQCString TQCacheIterator TQColor TQColorGroup TQCursor TQDeepCopy TQDict TQDir TQDomAttr TQDomCDATASection TQDomCharacterData TQDomComment TQDomDocument TQDomDocumentFragment TQDomDocumentType TQDomElement TQDomEntity TQDomEntityReference TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQDomNotation TQDomProcessingInstruction TQDomText TQFileInfo TQFont TQFontInfo TQFontMetrics TQGLColormap TQGuardedPtr TQHostAddress TQHttpHeader TQIconSet TQImage TQIntCacheIterator TQIntDict fnord TQKeySequence TQLayoutIterator TQListViewItemIterator TQLocale TQMap TQMemArray TQMovie TQObjectList TQObjectListIterator TQPair TQPalette TQPen TQPicture TQPixmap TQPointArray TQPtrDict TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRegExp TQRegion TQSqlCursor TQSqlError TQSqlField TQSqlFieldInfo TQSqlIndex TQSqlQuery TQSqlRecord TQStrList TQString TQStyleSheetItem TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueVector TQVariant
  • operator==: - TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQHostAddress TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQPtrVector TQRect TQRegExp TQRegion TQSize TQSizePolicy TQSqlField TQSqlFieldInfo TQString TQTableSelection TQTime TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQValueVector TQVariant TQWMatrix
  • operator>: - TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
  • operator>=: - TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
  • operator>>: + TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
  • operator=: + TQAsciiCacheIterator TQAsciiDict TQBitArray TQBitVal TQBitmap TQBrush TQCString TQCacheIterator TQColor TQColorGroup TQCursor TQDeepCopy TQDict TQDir TQDomAttr TQDomCDATASection TQDomCharacterData TQDomComment TQDomDocument TQDomDocumentFragment TQDomDocumentType TQDomElement TQDomEntity TQDomEntityReference TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQDomNotation TQDomProcessingInstruction TQDomText TQFileInfo TQFont TQFontInfo TQFontMetrics TQGLColormap TQGuardedPtr TQHostAddress TQHttpHeader TQIconSet TQImage TQIntCacheIterator TQIntDict fnord TQKeySequence TQLayoutIterator TQListViewItemIterator TQLocale TQMap TQMemArray TQMovie TQObjectList TQObjectListIterator TQPair TQPalette TQPen TQPicture TQPixmap TQPointArray TQPtrDict TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRegExp TQRegion TQSqlCursor TQSqlError TQSqlField TQSqlFieldInfo TQSqlIndex TQSqlQuery TQSqlRecord TQStrList TQString TQStyleSheetItem TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueVector TQVariant
  • operator==: + TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQHostAddress TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQPtrVector TQRect TQRegExp TQRegion TQSize TQSizePolicy TQSqlField TQSqlFieldInfo TQString TQTableSelection TQTime TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQValueVector TQVariant TQWMatrix
  • operator>: + TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
  • operator>=: + TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
  • operator>>: TQBitArray TQBrush TQCString TQColor TQCursor TQDataStream TQDate TQDateTime TQDockArea TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
  • operator[]: TQAsciiCache TQAsciiDict TQBitArray TQCache TQDict TQDir TQIntCache TQIntDict TQKeySequence TQMap TQMemArray TQPtrDict TQPtrVector TQString TQValueList TQValueVector
  • operator^: TQBitArray TQRegion
  • operator^=: @@ -1962,7 +1962,7 @@ packImage: TQFilePreview
  • previousSibling: TQDomNode
  • primaryIndex: TQSqlCursor TQSqlDatabase TQSqlDriver
  • primaryScreen: - TQDesktopWidget
  • primeDelete: + TQDesktopWidget
  • primeDelete: TQDataBrowser TQDataTable TQSqlCursor
  • primeInsert: TQDataBrowser TQDataTable TQSqlCursor
  • primeUpdate: TQDataBrowser TQDataTable TQSqlCursor
  • print: @@ -1972,7 +1972,7 @@ packImage: TQPrinter
  • printerName: TQPrinter
  • printerSelectionOption: TQPrinter
  • processEvents: - TQApplication TQEventLoop
  • processExited: + TQApplication TQEventLoop
  • processExited: TQProcess
  • processIdentifier: TQProcess
  • processName: TQXmlNamespaceSupport
  • processingInstruction: @@ -2106,7 +2106,7 @@ rBottom: TQPaintEvent
  • registerDecoderFactory: TQImageDecoder
  • registerNetworkProtocol: TQNetworkProtocol
  • registerSocketNotifier: - TQEventLoop
  • registerSqlDriver: + TQEventLoop
  • registerSqlDriver: TQSqlDatabase
  • rehighlight: TQSyntaxHighlighter
  • reject: TQDialog
  • rejectCallback: @@ -2116,7 +2116,7 @@ rBottom: TQWidget
  • released: TQButton TQButtonGroup TQCheckBox TQHeader TQPushButton TQRadioButton
  • reload: TQTextBrowser
  • remove: - TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDict TQDir TQFile TQFtp TQIntCache TQIntDict TQLayout TQMap TQObjectCleanupHandler TQPixmapCache TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQToolTip TQTranslator TQUrlOperator TQValueList TQWhatsThis
  • removeAttribute: + TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDict TQDir TQFile TQFtp TQIntCache TQIntDict TQLayout TQMap TQObjectCleanupHandler TQPixmapCache TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQToolTip TQTranslator TQUrlOperator TQValueList TQWhatsThis
  • removeAttribute: TQDomElement
  • removeAttributeNS: TQDomElement
  • removeAttributeNode: TQDomElement
  • removeChild: @@ -2199,7 +2199,7 @@ rBottom: TQGLWidget
  • resizePolicy: TQScrollView
  • resizeSection: TQHeader
  • resized: - TQCanvas TQDesktopWidget
  • resolution: + TQCanvas TQDesktopWidget
  • resolution: TQPrinter
  • resolve: TQFont TQLibrary
  • resolveEntity: TQXmlEntityResolver
  • resortDir: @@ -2256,16 +2256,16 @@ rBottom: TQPoint
  • sRect: TQHeader
  • save: - TQDomNode TQImage TQPainter TQPicture TQPixmap TQTranslator
  • saveState: + TQDomNode TQImage TQPainter TQPicture TQPixmap TQTranslator
  • saveState: TQApplication
  • scale: TQImage TQPainter TQSize TQWMatrix
  • scaleFont: TQStyleSheet
  • scaleHeight: TQImage
  • scaleWidth: TQImage
  • scanLine: TQImage
  • screen: - TQDesktopWidget
  • screenGeometry: - TQDesktopWidget
  • screenNumber: - TQDesktopWidget
  • scriptSample: + TQDesktopWidget
  • screenGeometry: + TQDesktopWidget
  • screenNumber: + TQDesktopWidget
  • scriptSample: TQFontDatabase
  • scriptable: TQMetaProperty
  • scroll: TQWidget
  • scrollBarsEnabled: @@ -2872,7 +2872,7 @@ sRect: TQLCDNumber
  • setSocket: TQServerSocket TQSocket TQSocketDevice
  • setSocketDevice: TQSocket
  • setSocketNotifierPending: - TQEventLoop
  • setSort: + TQEventLoop
  • setSort: TQDataBrowser TQDataTable TQSqlCursor
  • setSortColumn: TQListView
  • setSortIndicator: TQHeader
  • setSortOrder: @@ -2948,7 +2948,7 @@ sRect: TQProgressBar TQProgressDialog
  • setTracking: TQDial TQHeader TQScrollBar TQSlider
  • setTransformationMode: TQWMatrix
  • setTranslation: - TQTranslatorMessage
  • setTreeStepSize: + TQTranslatorMessage
  • setTreeStepSize: TQListView
  • setTrim: TQSqlFieldInfo
  • setTrimmed: TQSqlCursor
  • setTristate: @@ -3087,7 +3087,7 @@ sRect: TQDir TQIconView TQTable
  • source: TQDragObject TQDropEvent TQTextBrowser
  • sourceChanged: TQTextBrowser
  • sourceText: - TQTranslatorMessage
  • spacePressed: + TQTranslatorMessage
  • spacePressed: TQListView
  • spacerItem: TQLayoutItem
  • spacing: TQIconView TQLayout
  • specialValueText: @@ -3097,10 +3097,10 @@ sRect: TQStringList
  • splitName: TQXmlNamespaceSupport
  • splitText: TQDomText
  • spontaneous: - TQEvent
  • sprintf: + TQEvent
  • sprintf: TQCString TQString
  • sqlCursor: TQDataBrowser TQDataTable
  • squeeze: - TQString TQTranslator
  • stackUnder: + TQString TQTranslator
  • stackUnder: TQWidget
  • standardIcon: TQMessageBox
  • standardSizes: TQFontDatabase
  • start: @@ -3236,7 +3236,7 @@ tab: TQCanvas
  • time: TQDateTime TQTimeEdit
  • timeEdit: TQDateTimeEdit
  • timeToWait: - TQEventLoop
  • timeout: + TQEventLoop
  • timeout: TQTimer
  • timerEvent: TQObject
  • timerId: TQTimer TQTimerEvent
  • tip: @@ -3333,7 +3333,7 @@ tab: TQSqlDatabase
  • transformationMode: TQWMatrix
  • translate: TQApplication TQPainter TQPointArray TQRegion TQWMatrix
  • translation: - TQTranslatorMessage
  • transpose: + TQTranslatorMessage
  • transpose: TQSize TQSizePolicy
  • treeStepSize: TQListView
  • triggerUpdate: TQListBox TQListView
  • trueMatrix: @@ -3344,7 +3344,7 @@ tab: TQApplication TQMutex
  • tryTerminate: TQProcess
  • turnOffChild: TQCheckListItem
  • type: - TQApplication TQCheckListItem TQEvent TQMetaProperty TQNPStream TQSocketDevice TQSocketNotifier TQSqlError TQSqlField TQSqlFieldInfo TQVariant TQXmlAttributes
  • typeID: + TQApplication TQCheckListItem TQEvent TQMetaProperty TQNPStream TQSocketDevice TQSocketNotifier TQSqlError TQSqlField TQSqlFieldInfo TQVariant TQXmlAttributes
  • typeID: TQSqlFieldInfo
  • typeName: TQVariant
  • typeToName: TQVariant
  • @@ -3367,13 +3367,13 @@ ucs2: TQXmlDTDHandler
  • unpause: TQMovie
  • unregisterDecoderFactory: TQImageDecoder
  • unregisterSocketNotifier: - TQEventLoop
  • unsetCursor: + TQEventLoop
  • unsetCursor: TQWidget
  • unsetDevice: TQDataStream TQTextStream
  • unsetFont: TQWidget
  • unsetPalette: TQWidget
  • unsetf: TQTextStream
  • unsqueeze: - TQTranslator
  • unuseJavaClass: + TQTranslator
  • unuseJavaClass: TQNPlugin
  • upRect: TQSpinBox
  • update: TQCanvas TQCanvasItem TQDataBrowser TQSqlCursor TQWidget
  • updateAccessibility: @@ -3448,7 +3448,7 @@ wait: TQSocket TQSocketDevice
  • wakeAll: TQWaitCondition
  • wakeOne: TQWaitCondition
  • wakeUp: - TQEventLoop
  • wakeUpGuiThread: + TQEventLoop
  • wakeUpGuiThread: TQApplication
  • warning: TQMessageBox TQXmlErrorHandler
  • wasCanceled: TQProgressDialog
  • weekNumber: @@ -3490,7 +3490,7 @@ wait: TQTextEdit
  • wrapping: TQDial TQSpinBox
  • writable: TQMetaProperty
  • write: - TQAsciiDict TQDict TQImageIO TQIntDict TQNPInstance TQNPStream TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQTranslatorMessage
  • writeBlock: + TQAsciiDict TQDict TQImageIO TQIntDict TQNPInstance TQNPStream TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQTranslatorMessage
  • writeBlock: TQBuffer TQIODevice TQSocket TQSocketDevice
  • writeBytes: TQDataStream
  • writeEntry: TQSettings
  • writeField: diff --git a/doc/html/headerfilesynonyms b/doc/html/headerfilesynonyms index f9d7b5125..c74b26a89 100644 --- a/doc/html/headerfilesynonyms +++ b/doc/html/headerfilesynonyms @@ -52,27 +52,27 @@ tqtextdrag.h tqdragobject.h tqimagedrag.h tqdragobject.h tquridrag.h tqdragobject.h tqcolordrag.h tqdragobject.h -tqtimerevent.h ntqevent.h -qmouseevent.h ntqevent.h -qwheelevent.h ntqevent.h -qtabletevent.h ntqevent.h -qkeyevent.h ntqevent.h -qfocusevent.h ntqevent.h -tqpaintevent.h ntqevent.h -qmoveevent.h ntqevent.h -qresizeevent.h ntqevent.h -qcloseevent.h ntqevent.h -tqicondragevent.h ntqevent.h -qshowevent.h ntqevent.h -qhideevent.h ntqevent.h -qcontextmenuevent.h ntqevent.h -qimevent.h ntqevent.h -tqdropevent.h ntqevent.h -tqdragmoveevent.h ntqevent.h -tqdragenterevent.h ntqevent.h -tqdragleaveevent.h ntqevent.h -qchildevent.h ntqevent.h -qcustomevent.h ntqevent.h +tqtimerevent.h tqevent.h +qmouseevent.h tqevent.h +qwheelevent.h tqevent.h +qtabletevent.h tqevent.h +qkeyevent.h tqevent.h +qfocusevent.h tqevent.h +tqpaintevent.h tqevent.h +qmoveevent.h tqevent.h +qresizeevent.h tqevent.h +qcloseevent.h tqevent.h +tqicondragevent.h tqevent.h +qshowevent.h tqevent.h +qhideevent.h tqevent.h +qcontextmenuevent.h tqevent.h +qimevent.h tqevent.h +tqdropevent.h tqevent.h +tqdragmoveevent.h tqevent.h +tqdragenterevent.h tqevent.h +tqdragleaveevent.h tqevent.h +qchildevent.h tqevent.h +qcustomevent.h tqevent.h tqfileiconprovider.h tqfiledialog.h tqfilepreview.h tqfiledialog.h tqgbkcodec.h tqgb18030codec.h @@ -144,7 +144,7 @@ tqtextdecoder.h tqtextcodec.h tqtextistream.h tqtextstream.h tqtextostream.h tqtextstream.h tqtooltipgroup.h tqtooltip.h -qtranslatormessage.h ntqtranslator.h +tqtranslatormessage.h tqtranslator.h qintvalidator.h ntqvalidator.h qdoublevalidator.h ntqvalidator.h tqregexpvalidator.h ntqvalidator.h diff --git a/doc/html/headers.html b/doc/html/headers.html index cf1dacd81..62e770614 100644 --- a/doc/html/headers.html +++ b/doc/html/headers.html @@ -69,7 +69,7 @@ body { background: #ffffff; color: black; }
  • tqdatetime.h
  • tqdatetimeedit.h
  • tqdeepcopy.h -
  • ntqdesktopwidget.h +
  • tqdesktopwidget.h
  • ntqdial.h
  • ntqdialog.h
  • tqdict.h @@ -85,8 +85,8 @@ body { background: #ffffff; color: black; }
  • ntqerrormessage.h
  • tqeucjpcodec.h
  • tqeuckrcodec.h -
  • ntqevent.h -
  • ntqeventloop.h +
  • tqevent.h +
  • tqeventloop.h
  • tqfile.h
  • tqfiledialog.h
  • tqfileinfo.h @@ -248,7 +248,7 @@ body { background: #ffffff; color: black; }
  • tqtoolbox.h
  • tqtoolbutton.h
  • tqtooltip.h -
  • ntqtranslator.h +
  • tqtranslator.h
  • tqtsciicodec.h
  • tqurl.h
  • tqurlinfo.h diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index e41d49c78..0f137723f 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -130,7 +130,7 @@ private: #include <tqfiledialog.h> #include <ntqapplication.h> #include <ntqcombobox.h> -#include <ntqevent.h> +#include <tqevent.h> #include <ntqlineedit.h> #include <tqobjectlist.h> #include <tqfileinfo.h> diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index ddd89964c..c3fbd4926 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -258,7 +258,7 @@ classes in the TQt API.
  • TQCursor
  • TQCustomMenuItem -
  • TQEvent +
  • TQEvent
  • The default event handler for TQWidget subclasses responds to the -LanguageChange event, and will call this slot +LanguageChange event, and will call this slot when necessary; other application components can also connect signals to this slot to force widgets to update themselves.

    System Support @@ -556,8 +556,8 @@ results, use complete locales from your system vendor. TQTextCodecConversion between text encodings TQTextDecoderState-based decoder TQTextEncoderState-based encoder -TQTranslatorInternationalization support for text output -TQTranslatorMessageTranslator message and its properties +TQTranslatorInternationalization support for text output +TQTranslatorMessageTranslator message and its properties TQTsciiCodecConversion to and from the Tamil TSCII encoding diff --git a/doc/html/index b/doc/html/index index 480aefb07..9ad2a9677 100644 --- a/doc/html/index +++ b/doc/html/index @@ -1363,16 +1363,16 @@ "TQDeepCopy" tqdeepcopy.html "TQDeepCopy::operator T" tqdeepcopy.html#operator-T "TQDeepCopy::operator=" tqdeepcopy.html#operator-eq -"QDesktopWidget" ntqdesktopwidget.html -"QDesktopWidget::availableGeometry" ntqdesktopwidget.html#availableGeometry -"QDesktopWidget::isVirtualDesktop" ntqdesktopwidget.html#isVirtualDesktop -"QDesktopWidget::numScreens" ntqdesktopwidget.html#numScreens -"QDesktopWidget::primaryScreen" ntqdesktopwidget.html#primaryScreen -"QDesktopWidget::resized" ntqdesktopwidget.html#resized -"QDesktopWidget::screen" ntqdesktopwidget.html#screen -"QDesktopWidget::screenGeometry" ntqdesktopwidget.html#screenGeometry -"QDesktopWidget::screenNumber" ntqdesktopwidget.html#screenNumber -"QDesktopWidget::~QDesktopWidget" ntqdesktopwidget.html#~QDesktopWidget +"TQDesktopWidget" tqdesktopwidget.html +"TQDesktopWidget::availableGeometry" tqdesktopwidget.html#availableGeometry +"TQDesktopWidget::isVirtualDesktop" tqdesktopwidget.html#isVirtualDesktop +"TQDesktopWidget::numScreens" tqdesktopwidget.html#numScreens +"TQDesktopWidget::primaryScreen" tqdesktopwidget.html#primaryScreen +"TQDesktopWidget::resized" tqdesktopwidget.html#resized +"TQDesktopWidget::screen" tqdesktopwidget.html#screen +"TQDesktopWidget::screenGeometry" tqdesktopwidget.html#screenGeometry +"TQDesktopWidget::screenNumber" tqdesktopwidget.html#screenNumber +"TQDesktopWidget::~TQDesktopWidget" tqdesktopwidget.html#~TQDesktopWidget "QDial" ntqdial.html "QDial::addLine" ntqdial.html#addLine "QDial::addPage" ntqdial.html#addPage @@ -1884,31 +1884,31 @@ "TQEucJpCodec::~TQEucJpCodec" tqeucjpcodec.html#~TQEucJpCodec "TQEucKrCodec" tqeuckrcodec.html "TQEucKrCodec::mimeName" tqeuckrcodec.html#mimeName -"QEvent" ntqevent.html -"QEvent::Type" ntqevent.html#Type -"QEvent::spontaneous" ntqevent.html#spontaneous -"QEvent::type" ntqevent.html#type -"QEvent::~QEvent" ntqevent.html#~QEvent -"QEventLoop" ntqeventloop.html -"QEventLoop::ProcessEvents" ntqeventloop.html#ProcessEvents -"QEventLoop::ProcessEventsFlags" ntqeventloop.html#ProcessEventsFlags -"QEventLoop::aboutToBlock" ntqeventloop.html#aboutToBlock -"QEventLoop::activateSocketNotifiers" ntqeventloop.html#activateSocketNotifiers -"QEventLoop::activateTimers" ntqeventloop.html#activateTimers -"QEventLoop::awake" ntqeventloop.html#awake -"QEventLoop::enterLoop" ntqeventloop.html#enterLoop -"QEventLoop::exec" ntqeventloop.html#exec -"QEventLoop::exit" ntqeventloop.html#exit -"QEventLoop::exitLoop" ntqeventloop.html#exitLoop -"QEventLoop::hasPendingEvents" ntqeventloop.html#hasPendingEvents -"QEventLoop::loopLevel" ntqeventloop.html#loopLevel -"QEventLoop::processEvents" ntqeventloop.html#processEvents -"QEventLoop::registerSocketNotifier" ntqeventloop.html#registerSocketNotifier -"QEventLoop::setSocketNotifierPending" ntqeventloop.html#setSocketNotifierPending -"QEventLoop::timeToWait" ntqeventloop.html#timeToWait -"QEventLoop::unregisterSocketNotifier" ntqeventloop.html#unregisterSocketNotifier -"QEventLoop::wakeUp" ntqeventloop.html#wakeUp -"QEventLoop::~QEventLoop" ntqeventloop.html#~QEventLoop +"TQEvent" tqevent.html +"TQEvent::Type" tqevent.html#Type +"TQEvent::spontaneous" tqevent.html#spontaneous +"TQEvent::type" tqevent.html#type +"TQEvent::~TQEvent" tqevent.html#~TQEvent +"TQEventLoop" tqeventloop.html +"TQEventLoop::ProcessEvents" tqeventloop.html#ProcessEvents +"TQEventLoop::ProcessEventsFlags" tqeventloop.html#ProcessEventsFlags +"TQEventLoop::aboutToBlock" tqeventloop.html#aboutToBlock +"TQEventLoop::activateSocketNotifiers" tqeventloop.html#activateSocketNotifiers +"TQEventLoop::activateTimers" tqeventloop.html#activateTimers +"TQEventLoop::awake" tqeventloop.html#awake +"TQEventLoop::enterLoop" tqeventloop.html#enterLoop +"TQEventLoop::exec" tqeventloop.html#exec +"TQEventLoop::exit" tqeventloop.html#exit +"TQEventLoop::exitLoop" tqeventloop.html#exitLoop +"TQEventLoop::hasPendingEvents" tqeventloop.html#hasPendingEvents +"TQEventLoop::loopLevel" tqeventloop.html#loopLevel +"TQEventLoop::processEvents" tqeventloop.html#processEvents +"TQEventLoop::registerSocketNotifier" tqeventloop.html#registerSocketNotifier +"TQEventLoop::setSocketNotifierPending" tqeventloop.html#setSocketNotifierPending +"TQEventLoop::timeToWait" tqeventloop.html#timeToWait +"TQEventLoop::unregisterSocketNotifier" tqeventloop.html#unregisterSocketNotifier +"TQEventLoop::wakeUp" tqeventloop.html#wakeUp +"TQEventLoop::~TQEventLoop" tqeventloop.html#~TQEventLoop "TQFile" tqfile.html "TQFile::DecoderFn" tqfile.html#DecoderFn "TQFile::EncoderFn" tqfile.html#EncoderFn @@ -6854,37 +6854,37 @@ "TQToolTipGroup::showTip" tqtooltipgroup.html#showTip "TQToolTipGroup::~TQToolTipGroup" tqtooltipgroup.html#~TQToolTipGroup "QTransformedScreen::transformOrientation" qtransformedscreen.html#transformOrientation -"QTranslator" ntqtranslator.html -"QTranslator::SaveMode" ntqtranslator.html#SaveMode -"QTranslator::clear" ntqtranslator.html#clear -"QTranslator::contains" ntqtranslator.html#contains -"QTranslator::findMessage" ntqtranslator.html#findMessage -"QTranslator::insert" ntqtranslator.html#insert -"QTranslator::isEmpty" ntqtranslator.html#isEmpty -"QTranslator::load" ntqtranslator.html#load -"QTranslator::messages" ntqtranslator.html#messages -"QTranslator::remove" ntqtranslator.html#remove -"QTranslator::save" ntqtranslator.html#save -"QTranslator::squeeze" ntqtranslator.html#squeeze -"QTranslator::unsqueeze" ntqtranslator.html#unsqueeze -"QTranslator::~QTranslator" ntqtranslator.html#~QTranslator -"QTranslatorMessage" qtranslatormessage.html -"QTranslatorMessage::Prefix" qtranslatormessage.html#Prefix -"QTranslatorMessage::comment" qtranslatormessage.html#comment -"QTranslatorMessage::commonPrefix" qtranslatormessage.html#commonPrefix -"QTranslatorMessage::context" qtranslatormessage.html#context -"QTranslatorMessage::hash" qtranslatormessage.html#hash -"QTranslatorMessage::operator!=" qtranslatormessage.html#operator!-eq -"QTranslatorMessage::operator<" qtranslatormessage.html#operator-lt -"QTranslatorMessage::operator<=" qtranslatormessage.html#operator-lt-eq -"QTranslatorMessage::operator=" qtranslatormessage.html#operator-eq -"QTranslatorMessage::operator==" qtranslatormessage.html#operator-eq-eq -"QTranslatorMessage::operator>" qtranslatormessage.html#operator-gt -"QTranslatorMessage::operator>=" qtranslatormessage.html#operator-gt-eq -"QTranslatorMessage::setTranslation" qtranslatormessage.html#setTranslation -"QTranslatorMessage::sourceText" qtranslatormessage.html#sourceText -"QTranslatorMessage::translation" qtranslatormessage.html#translation -"QTranslatorMessage::write" qtranslatormessage.html#write +"TQTranslator" tqtranslator.html +"TQTranslator::SaveMode" tqtranslator.html#SaveMode +"TQTranslator::clear" tqtranslator.html#clear +"TQTranslator::contains" tqtranslator.html#contains +"TQTranslator::findMessage" tqtranslator.html#findMessage +"TQTranslator::insert" tqtranslator.html#insert +"TQTranslator::isEmpty" tqtranslator.html#isEmpty +"TQTranslator::load" tqtranslator.html#load +"TQTranslator::messages" tqtranslator.html#messages +"TQTranslator::remove" tqtranslator.html#remove +"TQTranslator::save" tqtranslator.html#save +"TQTranslator::squeeze" tqtranslator.html#squeeze +"TQTranslator::unsqueeze" tqtranslator.html#unsqueeze +"TQTranslator::~TQTranslator" tqtranslator.html#~TQTranslator +"TQTranslatorMessage" tqtranslatormessage.html +"TQTranslatorMessage::Prefix" tqtranslatormessage.html#Prefix +"TQTranslatorMessage::comment" tqtranslatormessage.html#comment +"TQTranslatorMessage::commonPrefix" tqtranslatormessage.html#commonPrefix +"TQTranslatorMessage::context" tqtranslatormessage.html#context +"TQTranslatorMessage::hash" tqtranslatormessage.html#hash +"TQTranslatorMessage::operator!=" tqtranslatormessage.html#operator!-eq +"TQTranslatorMessage::operator<" tqtranslatormessage.html#operator-lt +"TQTranslatorMessage::operator<=" tqtranslatormessage.html#operator-lt-eq +"TQTranslatorMessage::operator=" tqtranslatormessage.html#operator-eq +"TQTranslatorMessage::operator==" tqtranslatormessage.html#operator-eq-eq +"TQTranslatorMessage::operator>" tqtranslatormessage.html#operator-gt +"TQTranslatorMessage::operator>=" tqtranslatormessage.html#operator-gt-eq +"TQTranslatorMessage::setTranslation" tqtranslatormessage.html#setTranslation +"TQTranslatorMessage::sourceText" tqtranslatormessage.html#sourceText +"TQTranslatorMessage::translation" tqtranslatormessage.html#translation +"TQTranslatorMessage::write" tqtranslatormessage.html#write "TQTsciiCodec" tqtsciicodec.html "TQUriDrag" tquridrag.html "TQUriDrag::canDecode" tquridrag.html#canDecode diff --git a/doc/html/keyfeatures30.html b/doc/html/keyfeatures30.html index 7d035249b..0736d05cf 100644 --- a/doc/html/keyfeatures30.html +++ b/doc/html/keyfeatures30.html @@ -207,7 +207,7 @@ SVG documents. All the SVG features that have an equivalent in

    Multihead support

    Many professional applications, such as DTP and CAD software, are able -to display data on two or more monitors. In TQt 3.0 the TQDesktopWidget +to display data on two or more monitors. In TQt 3.0 the TQDesktopWidget class provides the application with runtime information about the number and geometry of the desktops on the different monitors and such allows applications to efficiently use a multi-monitor setup. diff --git a/doc/html/layout.html b/doc/html/layout.html index e2c643440..2217ecf31 100644 --- a/doc/html/layout.html +++ b/doc/html/layout.html @@ -221,7 +221,7 @@ requirements to your new widget.

    If you are making a one-of-a-kind special layout, you can also make a custom widget as described above. Reimplement TQWidget::resizeEvent() to calculate the required distribution of sizes and call setGeometry() on each child. -

    The widget will get an event with type +

    The widget will get an event with type LayoutHint when the layout needs to be recalculated. Reimplement TQWidget::event() to be notified of LayoutHint events.

    Layout Issues diff --git a/doc/html/life-example.html b/doc/html/life-example.html index 8e27da5e6..ad3b75aa6 100644 --- a/doc/html/life-example.html +++ b/doc/html/life-example.html @@ -113,7 +113,7 @@ private: #include <tqpainter.h> #include <ntqdrawutil.h> #include <ntqcheckbox.h> -#include <ntqevent.h> +#include <tqevent.h> #include <ntqapplication.h> // The main game of life widget diff --git a/doc/html/linguist-manual-4.html b/doc/html/linguist-manual-4.html index 7677a1e80..2a462917f 100644 --- a/doc/html/linguist-manual-4.html +++ b/doc/html/linguist-manual-4.html @@ -59,8 +59,8 @@ body { background: #ffffff; color: black; } { TQApplication app( argc, argv ); - TQTranslator translator( 0 ); - translator.load( "tt1_la", "." ); + TQTranslator translator( 0 ); + translator.load( "tt1_la", "." ); app.installTranslator( &translator );

    For a translation-aware application a translator object is created, a translation is loaded and the translator object installed into the application.

    @@ -68,8 +68,8 @@ body { background: #ffffff; color: black; } { TQApplication app( argc, argv ); - TQTranslator translator( 0 ); - translator.load( TQString("tt2_") + TQTextCodec::locale(), "." ); + TQTranslator translator( 0 ); + translator.load( TQString("tt2_") + TQTextCodec::locale(), "." ); app.installTranslator( &translator );

    In production applications a more flexible approach, for example, loading translations according to locale, might be more appropriate. If the .ts files are all named according to a convention such as appname_locale, e.g. tt2_fr, tt2_de etc, then the code above will load the current locale's translation at runtime.

    @@ -172,7 +172,7 @@ body { background: #ffffff; color: black; } }

    Tutorials

    -

    Three tutorials are presented. The first demonstrates the creation of a TQTranslator object. It also shows the simplest use of the tr() function to mark user-visible source text for translation. The second tutorial explains how to make the application load the translation file applicable to the current locale. It also shows the use of the two-argument form of tr() which provides additional information to the translator. The third tutorial explains how identical source texts can be distinguished even when they occur in the same context. This tutorial also discusses how the translation tools help minimize the translator's work when an application is upgraded.

    +

    Three tutorials are presented. The first demonstrates the creation of a TQTranslator object. It also shows the simplest use of the tr() function to mark user-visible source text for translation. The second tutorial explains how to make the application load the translation file applicable to the current locale. It also shows the use of the two-argument form of tr() which provides additional information to the translator. The third tutorial explains how identical source texts can be distinguished even when they occur in the same context. This tutorial also discusses how the translation tools help minimize the translator's work when an application is upgraded.

    Tutorial 1: Loading and Using Translations

    @@ -191,15 +191,15 @@ TRANSLATIONS = tt1_la.ts #include <ntqapplication.h> #include <ntqpushbutton.h> -#include <ntqtranslator.h> +#include <tqtranslator.h> int main( int argc, char **argv ) { TQApplication app( argc, argv ); - TQTranslator translator( 0 ); - translator.load( "tt1_la", "." ); + TQTranslator translator( 0 ); + translator.load( "tt1_la", "." ); app.installTranslator( &translator ); TQPushButton hello( TQPushButton::tr("Hello world!"), 0 ); @@ -212,13 +212,13 @@ int main( int argc, char **argv )

    main.cpp

    This example is a reworking of the "hello-world" example from Tutorial #1, with a Latin translation. The Tutorial 1 Screenshot, English version, above, shows the English version.

    Line by Line Walk-through
    -
        #include <ntqtranslator.h>
    +
        #include <tqtranslator.h>
     
    -

    This line includes the definition of the TQTranslator class. Objects of this class provide translations for user-visible text.

    -
            TQTranslator translator( 0 );
    + 

    This line includes the definition of the TQTranslator class. Objects of this class provide translations for user-visible text.

    +
            TQTranslator translator( 0 );
     
    -

    Creates a TQTranslator object without a parent.

    -
            translator.load( "tt1_la", "." );
    + 

    Creates a TQTranslator object without a parent.

    +
            translator.load( "tt1_la", "." );
     

    Tries to load a file called tt1_la.qm (the .qm file extension is implicit) that contains Latin translations for the source texts used in the program. No error will occur if the file is not found.

            app.installTranslator( &translator );
    @@ -341,8 +341,8 @@ TRANSLATIONS    = tt2_fr.ts \
     

    Note the use of tr() to support different keys in other languages. "Ctrl+Q" is a good choice for Quit in English, but a Dutch translator might want to use "Ctrl+A" (for Afsluiten) and a German translator "Strg+E" (for Beenden). When using tr() for Ctrl key accelerators, the two argument form should be used with the second argument describing the function that the accelerator performs.

    Our main() function is defined in main.cpp as usual.

    -
            TQTranslator translator( 0 );
    -        translator.load( TQString("tt2_") + TQTextCodec::locale(), "." );
    +
            TQTranslator translator( 0 );
    +        translator.load( TQString("tt2_") + TQTextCodec::locale(), "." );
             app.installTranslator( &translator );
     

    We choose which translation to use according to the current locale. TQTextCodec::locale() can be influenced by setting the LANG environment variable, for example. Notice that the use of a naming convention that incorporates the locale for .qm message files, (and .ts files), makes it easy to implement choosing the translation file according to locale.

    @@ -463,8 +463,8 @@ TRANSLATIONS = tt3_pt.ts menuBar()->insertItem( tr("&Help"), help );

    We also need to translate the menu items. Note that the two argument form of tr() is used for the keyboard accelerator, "Ctrl+Q", since the second argument is the only clue the translator has to indicate what function that accelerator will perform.

    -
            TQTranslator translator( 0 );
    -        translator.load( TQString("tt3_") + TQTextCodec::locale(), "." );
    +
            TQTranslator translator( 0 );
    +        translator.load( TQString("tt3_") + TQTextCodec::locale(), "." );
             app.installTranslator( &translator );
     

    The main() function in main.cpp is the same as the one in Tutorial 2. In particular it chooses a translation file based on the current locale.

    diff --git a/doc/html/mainclasses.html b/doc/html/mainclasses.html index bbf9babb1..5f13f023d 100644 --- a/doc/html/mainclasses.html +++ b/doc/html/mainclasses.html @@ -102,7 +102,7 @@ classes), see TQt's Classes. TQSql -TQTranslator +TQTranslator TQColorDialog diff --git a/doc/html/motif-extension.html b/doc/html/motif-extension.html index 918072acd..8e42fd4a8 100644 --- a/doc/html/motif-extension.html +++ b/doc/html/motif-extension.html @@ -100,7 +100,7 @@ For example:

    Multiple Screen Support

    -

    TQMotifWidget can be used together with TQDesktopWidget to create +

    TQMotifWidget can be used together with TQDesktopWidget to create top-level windows on multiple screens. A common mistake is to create a TQMotifWidget on a non-default screen while the Xt/Motif widgets are created on the default screen. The solution is to specify the screen diff --git a/doc/html/ntqaccel.html b/doc/html/ntqaccel.html index f94b0ff6d..998f51a31 100644 --- a/doc/html/ntqaccel.html +++ b/doc/html/ntqaccel.html @@ -202,7 +202,7 @@ Disconnects an accelerator item with id id from the function called member in the receiver object.

    See also connectItem(). -

    bool TQAccel::eventFilter ( TQObject *, TQEvent * ) [virtual protected] +

    bool TQAccel::eventFilter ( TQObject *, TQEvent * ) [virtual protected]

    This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. serves no purpose anymore

    Reimplemented from TQObject. diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 9dbae37ad..7f4045597 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -747,7 +747,7 @@ time by the user changing the global desktop settings. This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

    Returns TQTextCodec::codecForTr(). -

    TQDesktopWidget * TQApplication::desktop () [static] +

    TQDesktopWidget * TQApplication::desktop () [static]

    Returns the desktop widget (also called the root window).

    The desktop widget is useful for obtaining the size of the screen. @@ -755,7 +755,7 @@ 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.

    -    TQDesktopWidget *d = TQApplication::desktop();
    +    TQDesktopWidget *d = TQApplication::desktop();
         int w = d->width();     // returns desktop width
         int h = d->height();    // returns desktop height
       
    @@ -781,13 +781,13 @@ control panel value is used. it unless you really know what you are doing.

    Use TQApplication::eventLoop()->enterLoop() instead.

    -

    TQEventLoop * TQApplication::eventLoop () [static] +

    TQEventLoop * TQApplication::eventLoop () [static]

    Returns the application event loop. This function will return zero if called during and after destroying TQApplication. -

    To create your own instance of TQEventLoop or TQEventLoop subclass create +

    To create your own instance of TQEventLoop or TQEventLoop subclass create it before you create the TQApplication object. -

    See also TQEventLoop. +

    See also TQEventLoop.

    Example: distributor/distributor.ui.h.

    int TQApplication::exec () @@ -903,7 +903,7 @@ alignment align of AlignAuto into AlignLeft or AlignRight according to the language used. The other horizontal alignment flags are left untouched. -

    void TQApplication::installTranslator ( TQTranslator * mf ) +

    void TQApplication::installTranslator ( TQTranslator * mf )

    Adds the message file mf to the list of message files to be used for translations. @@ -911,7 +911,7 @@ for translations. 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. -

    See also removeTranslator(), translate(), and TQTranslator::load(). +

    See also removeTranslator(), translate(), and TQTranslator::load().

    Example: i18n/main.cpp.

    bool TQApplication::isEffectEnabled ( TQt::UIEffect effect ) [static] @@ -1005,7 +1005,7 @@ Return FALSE for normal event dispatching. widget.

    See also setMainWidget(). -

    bool TQApplication::notify ( TQObject * receiver, TQEvent * e ) [virtual] +

    bool TQApplication::notify ( TQObject * receiver, TQEvent * e ) [virtual]

    Sends event e to receiver: receiver->event(e). Returns the value that is returned from the receiver's event handler. @@ -1068,7 +1068,7 @@ Instead, based on meta information like TQObje able to customize any kind of widget.

    See also TQStyle::polish(), TQWidget::polish(), setPalette(), and setFont(). -

    void TQApplication::postEvent ( TQObject * receiver, TQEvent * event ) [static] +

    void TQApplication::postEvent ( TQObject * receiver, TQEvent * event ) [static]

    Note: This function is thread-safe when TQt is built withthread support.

    Adds the event event with the object receiver as the receiver of the @@ -1086,7 +1086,7 @@ Processes pending events, for 3 seconds or until there are no more events to process, whichever is shorter.

    You can call this function occasionally when your program is busy performing a long operation (e.g. copying a file). -

    See also exec(), TQTimer, and TQEventLoop::processEvents(). +

    See also exec(), TQTimer, and TQEventLoop::processEvents().

    Examples: fileiconview/tqfileiconview.cpp and network/ftpclient/main.cpp.

    void TQApplication::processEvents ( int maxtime ) @@ -1096,7 +1096,7 @@ This is an overloaded member function, provided for convenience. It behaves esse there are no more events to process, whichever is shorter.

    You can call this function occasionally when you program is busy doing a long operation (e.g. copying a file). -

    See also exec(), TQTimer, and TQEventLoop::processEvents(). +

    See also exec(), TQTimer, and TQEventLoop::processEvents().

    void TQApplication::processOneEvent ()

    This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. @@ -1139,7 +1139,7 @@ be aware that killing events may cause receiver to break one or more invariants.

    -

    void TQApplication::removeTranslator ( TQTranslator * mf ) +

    void TQApplication::removeTranslator ( TQTranslator * mf )

    Removes the message file mf from the list of message files used by this application. (It does not delete the message file from the file @@ -1185,7 +1185,7 @@ See TQSessionManager::allowsIn TQSessionManager::allowsErrorInteraction() for details.

    See also isSessionRestored(), sessionId(), commitData(), and the Session Management overview. -

    bool TQApplication::sendEvent ( TQObject * receiver, TQEvent * event ) [static] +

    bool TQApplication::sendEvent ( TQObject * receiver, TQEvent * event ) [static]

    Sends event event directly to receiver receiver, using the @@ -1630,13 +1630,13 @@ the output text will be very long (as for help texts).

    comment is a disambiguating comment, for when the same sourceText is used in different roles within the same context. By default, it is null. encoding indicates the 8-bit encoding of character stings -

    See the TQTranslator documentation for more information about +

    See the TQTranslator documentation for more information about contexts and comments.

    If none of the message files contain a translation for sourceText in context, this function returns a TQString equivalent of sourceText. The encoding of sourceText is specified by encoding; it defaults to DefaultCodec.

    This function is not virtual. You can use alternative translation -techniques by subclassing TQTranslator. +techniques by subclassing TQTranslator.

    Warning: This method is reentrant only if all translators are installed before calling this method. Installing or removing translators while performing translations is not supported. Doing diff --git a/doc/html/ntqdesktopwidget.html b/doc/html/ntqdesktopwidget.html deleted file mode 100644 index aa5f587a0..000000000 --- a/doc/html/ntqdesktopwidget.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - -TQDesktopWidget Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQDesktopWidget Class Reference

    - -

    The TQDesktopWidget class provides access to screen information on multi-head systems. -More... -

    #include <ntqdesktopwidget.h> -

    Inherits TQWidget. -

    List of all member functions. -

    Public Members

    - -

    Signals

    - -

    Detailed Description

    - - -The TQDesktopWidget class provides access to screen information on multi-head systems. -

    - -

    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. -

    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(). -

    Widgets provided by TQt use this class, for example, to place -tooltips, menus and dialog boxes according to the parent or -application widget. -

    Applications can use this class to save window positions, or to place -child widgets on one screen. -

    Managing Multiple Screens
    -

    In the illustration above, Application One's primary screen is -screen 0, and App Two's primary screen is screen 1. -

    See also Advanced Widgets and Environment Classes. - -


    Member Function Documentation

    -

    TQDesktopWidget::TQDesktopWidget () -

    -Creates the desktop widget. -

    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. -

    Instead of using TQDesktopWidget directly, use -TQApplication::desktop(). - -

    TQDesktopWidget::~TQDesktopWidget () -

    -Destroy the object and free allocated resources. - -

    const TQRect & TQDesktopWidget::availableGeometry ( int screen = -1 ) const -

    -Returns the available geometry of the screen with index screen. 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). -

    See also screenNumber() and screenGeometry(). - -

    const TQRect & TQDesktopWidget::availableGeometry ( TQWidget * widget ) const -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Returns the available geometry of the screen which contains widget. -

    See also screenGeometry(). - -

    const TQRect & TQDesktopWidget::availableGeometry ( const TQPoint & p ) const -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Returns the available geometry of the screen which contains p. -

    See also screenGeometry(). - -

    bool TQDesktopWidget::isVirtualDesktop () const -

    -Returns TRUE if the system manages the available screens in a -virtual desktop; otherwise returns FALSE. -

    For virtual desktops, screen() will always return the same widget. -The size of the virtual desktop is the size of this desktop -widget. - -

    int TQDesktopWidget::numScreens () const -

    -Returns the number of available screens. -

    See also primaryScreen(). - -

    int TQDesktopWidget::primaryScreen () const -

    -Returns the index of the primary screen. -

    See also numScreens(). - -

    void TQDesktopWidget::resized ( int screen ) [signal] -

    -This signal is emitted when the size of screen changes. - -

    TQWidget * TQDesktopWidget::screen ( int screen = -1 ) -

    -Returns a widget that represents the screen with index screen. -This widget can be used to draw directly on the desktop, using an -unclipped painter like this: -

    -    TQPainter paint( TQApplication::desktop()->screen( 0 ), TRUE );
    -    paint.draw...
    -    ...
    -    paint.end();
    -    
    - -

    If the system uses a virtual desktop, the returned widget will -have the geometry of the entire virtual desktop i.e. bounding -every screen. -

    See also primaryScreen(), numScreens(), and isVirtualDesktop(). - -

    const TQRect & TQDesktopWidget::screenGeometry ( int screen = -1 ) const -

    -Returns the geometry of the screen with index screen. -

    See also screenNumber(). - -

    const TQRect & TQDesktopWidget::screenGeometry ( TQWidget * widget ) const -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Returns the geometry of the screen which contains widget. - -

    const TQRect & TQDesktopWidget::screenGeometry ( const TQPoint & p ) const -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Returns the geometry of the screen which contains p. - -

    int TQDesktopWidget::screenNumber ( TQWidget * widget = 0 ) const -

    -Returns the index of the screen that contains the largest -part of widget, or -1 if the widget not on a screen. -

    See also primaryScreen(). - -

    int TQDesktopWidget::screenNumber ( const TQPoint & point ) const -

    -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Returns the index of the screen that contains point, or -1 if -no screen contains the point. -

    See also primaryScreen(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/ntqevent.html b/doc/html/ntqevent.html deleted file mode 100644 index 0c7a72b7b..000000000 --- a/doc/html/ntqevent.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - -TQEvent Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQEvent Class Reference

    - -

    The TQEvent class is the base class of all -event classes. Event objects contain event parameters. -More... -

    #include <ntqevent.h> -

    Inherits TQt. -

    Inherited by TQTimerEvent, TQMouseEvent, TQWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, TQShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent. -

    List of all member functions. -

    Public Members

    -
      -
    • enum Type { 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 }
    • -
    • TQEvent ( Type type )
    • -
    • virtual ~TQEvent ()
    • -
    • Type type () const
    • -
    • bool spontaneous () const
    • -
    -

    Detailed Description

    - - -The TQEvent class is the base class of all -event classes. Event objects contain event parameters. -

    - -

    TQt's main event loop (TQApplication::exec()) fetches native window -system events from the event queue, translates them into TQEvents -and sends the translated events to TQObjects. -

    In general, events come from the underlying window system -(spontaneous() returns TRUE) but it is also possible to manually -send events using TQApplication::sendEvent() and -TQApplication::postEvent() (spontaneous() returns FALSE). -

    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. -

    The basic TQEvent contains only an event type parameter. -Subclasses of TQEvent contain additional parameters that describe -the particular event. -

    See also TQObject::event(), TQObject::installEventFilter(), TQWidget::event(), TQApplication::sendEvent(), TQApplication::postEvent(), TQApplication::processEvents(), Environment Classes, and Event Classes. - -


    Member Type Documentation

    -

    TQEvent::Type

    - -

    This enum type defines the valid event types in TQt. The event -types and the specialized classes for each type are these: -

      -
    • TQEvent::None - Not an event. -
    • TQEvent::Accessibility - Accessibility information is requested -
    • TQEvent::Timer - Regular timer events, TQTimerEvent. -
    • TQEvent::MouseButtonPress - Mouse press, TQMouseEvent. -
    • TQEvent::MouseButtonRelease - Mouse release, TQMouseEvent. -
    • TQEvent::MouseButtonDblClick - Mouse press again, TQMouseEvent. -
    • TQEvent::MouseMove - Mouse move, TQMouseEvent. -
    • TQEvent::KeyPress - Key press (including Shift, for example), TQKeyEvent. -
    • TQEvent::KeyRelease - Key release, TQKeyEvent. -
    • TQEvent::IMStart - The start of input method composition, TQIMEvent. -
    • TQEvent::IMCompose - Input method composition is taking place, TQIMEvent. -
    • TQEvent::IMEnd - The end of input method composition, TQIMEvent. -
    • TQEvent::FocusIn - Widget gains keyboard focus, TQFocusEvent. -
    • TQEvent::FocusOut - Widget loses keyboard focus, TQFocusEvent. -
    • TQEvent::Enter - Mouse enters widget's boundaries. -
    • TQEvent::Leave - Mouse leaves widget's boundaries. -
    • TQEvent::Paint - Screen update necessary, TQPaintEvent. -
    • TQEvent::Move - Widget's position changed, TQMoveEvent. -
    • TQEvent::Resize - Widget's size changed, TQResizeEvent. -
    • TQEvent::Show - Widget was shown on screen, TQShowEvent. -
    • TQEvent::Hide - Widget was hidden, TQHideEvent. -
    • TQEvent::ShowToParent - A child widget has been shown. -
    • TQEvent::HideToParent - A child widget has been hidden. -
    • TQEvent::Close - Widget was closed (permanently), TQCloseEvent. -
    • TQEvent::ShowNormal - Widget should be shown normally (obsolete). -
    • TQEvent::ShowMaximized - Widget should be shown maximized (obsolete). -
    • TQEvent::ShowMinimized - Widget should be shown minimized (obsolete). -
    • TQEvent::ShowFullScreen - Widget should be shown full-screen (obsolete). -
    • TQEvent::ShowWindowRequest - Widget's window should be shown (obsolete). -
    • TQEvent::DeferredDelete - The object will be deleted after it has -cleaned up. -
    • TQEvent::Accel - Key press in child for shortcut key handling, TQKeyEvent. -
    • TQEvent::Wheel - Mouse wheel rolled, TQWheelEvent. -
    • TQEvent::ContextMenu - Context popup menu, TQContextMenuEvent -
    • TQEvent::AccelOverride - Key press in child, for overriding shortcut key handling, TQKeyEvent. -
    • TQEvent::AccelAvailable - internal. -
    • TQEvent::WindowActivate - Window was activated. -
    • TQEvent::WindowDeactivate - Window was deactivated. -
    • TQEvent::CaptionChange - Widget's caption changed. -
    • TQEvent::IconChange - Widget's icon changed. -
    • TQEvent::ParentFontChange - Font of the parent widget changed. -
    • TQEvent::ApplicationFontChange - Default application font changed. -
    • TQEvent::PaletteChange - Palette of the widget changed. -
    • TQEvent::ParentPaletteChange - Palette of the parent widget changed. -
    • TQEvent::ApplicationPaletteChange - Default application palette changed. -
    • TQEvent::Clipboard - Clipboard contents have changed. -
    • TQEvent::SockAct - Socket activated, used to implement TQSocketNotifier. -
    • TQEvent::DragEnter - A drag-and-drop enters widget, TQDragEnterEvent. -
    • TQEvent::DragMove - A drag-and-drop is in progress, TQDragMoveEvent. -
    • TQEvent::DragLeave - A drag-and-drop leaves widget, TQDragLeaveEvent. -
    • TQEvent::Drop - A drag-and-drop is completed, TQDropEvent. -
    • TQEvent::DragResponse - Internal event used by TQt on some platforms. -
    • TQEvent::ChildInserted - Object gets a child, TQChildEvent. -
    • TQEvent::ChildRemoved - Object loses a child, TQChildEvent. -
    • TQEvent::LayoutHint - Widget child has changed layout properties. -
    • TQEvent::ActivateControl - Internal event used by TQt on some platforms. -
    • TQEvent::DeactivateControl - Internal event used by TQt on some platforms. -
    • TQEvent::LanguageChange - The application translation changed, TQTranslator -
    • TQEvent::LayoutDirectionChange - The direction of layouts changed -
    • TQEvent::LocaleChange - The system locale changed -
    • TQEvent::Quit - Reserved. -
    • TQEvent::Create - Reserved. -
    • TQEvent::Destroy - Reserved. -
    • TQEvent::Reparent - Reserved. -
    • TQEvent::Speech - Reserved for speech input. -
    • TQEvent::TabletMove - A Wacom Tablet Move Event. -
    • TQEvent::Style - Internal use only -
    • TQEvent::TabletPress - A Wacom Tablet Press Event -
    • TQEvent::TabletRelease - A Wacom Tablet Release Event -
    • TQEvent::OkRequest - Internal event used by TQt on some platforms. -
    • TQEvent::HelpRequest - Internal event used by TQt on some platforms. -
    • TQEvent::IconDrag - Internal event used by TQt on some platforms when proxy icon is dragged. -
    • TQEvent::WindowStateChange - The window's state, i.e. minimized, -maximized or full-screen, has changed. See TQWidget::windowState(). -
    • TQEvent::WindowBlocked - The window is modally blocked -
    • TQEvent::WindowUnblocked - The window leaves modal blocking -
    • TQEvent::User - User defined event. -
    • TQEvent::MaxUser - Last user event id. -

    User events should have values between User and MaxUser inclusive. - -


    Member Function Documentation

    -

    TQEvent::TQEvent ( Type type ) -

    - -

    Contructs an event object of type type. - -

    TQEvent::~TQEvent () [virtual] -

    -Destroys the event. If it was posted, -it will be removed from the list of events to be posted. - -

    bool TQEvent::spontaneous () const -

    - -

    Returns TRUE if the event originated outside the application, i.e. -it is a system event; otherwise returns FALSE. - -

    Type TQEvent::type () const -

    - -

    Returns the event type. - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/ntqeventloop.html b/doc/html/ntqeventloop.html deleted file mode 100644 index a232eaf9f..000000000 --- a/doc/html/ntqeventloop.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - -TQEventLoop Class - - - - - - - -
    - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

    TQEventLoop Class Reference

    - -

    The TQEventLoop class manages the event queue. -More... -

    #include <ntqeventloop.h> -

    Inherits TQObject. -

    Inherited by TQMotif. -

    List of all member functions. -

    Public Members

    - -

    Signals

    - -

    Detailed Description

    - - -The TQEventLoop class manages the event queue. -

    - -

    It receives events from the window system and other sources. It -then sends them to TQApplication for processing and delivery. -

    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. -

    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. -

    To use your own instance of TQEventLoop or TQEventLoop subclass create -it before you create the TQApplication object. -

    See also Main Window and Related Classes and Event Classes. - -


    Member Type Documentation

    -

    TQEventLoop::ProcessEvents

    -

    This enum controls the types of events processed by the -processEvents() functions. -

      -
    • TQEventLoop::AllEvents - All events are processed -
    • TQEventLoop::ExcludeUserInput - Do not process user input events. -( ButtonPress, KeyPress, etc. ) -
    • TQEventLoop::ExcludeSocketNotifiers - Do not process socket notifier -events. -
    • TQEventLoop::WaitForMore - Wait for events if no pending events -are available. -

    See also processEvents(). - -

    TQEventLoop::ProcessEventsFlags

    -A typedef to allow various ProcessEvents values to be OR'ed together. -

    See also ProcessEvents. - -


    Member Function Documentation

    -

    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 TQApplication::eventLoop(). To create your own event loop object create -it before you instantiate the TQApplication object. -

    The parent and name arguments are passed on to the TQObject constructor. - -

    TQEventLoop::~TQEventLoop () -

    -Destructs the TQEventLoop object. - -

    void TQEventLoop::aboutToBlock () [signal] -

    -

    This signal is emitted before the event loop calls a function that -could block. -

    See also awake(). - -

    int TQEventLoop::activateSocketNotifiers () -

    -

    Activates all pending socket notifiers and returns the number of -socket notifiers that were activated. - -

    int TQEventLoop::activateTimers () -

    -

    Activates all TQt timers and returns the number of timers that were -activated. -

    TQEventLoop subclasses that do their own timer handling need to -call this after the time returned by timeToWait() has elapsed. -

    Note: This function is only useful on systems where select() 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. - -

    void TQEventLoop::awake () [signal] -

    -

    This signal is emitted after the event loop returns from a -function that could block. -

    See also wakeUp() and aboutToBlock(). - -

    int TQEventLoop::enterLoop () [virtual] -

    -

    This function enters the main event loop (recursively). Do not call -it unless you really know what you are doing. - -

    int TQEventLoop::exec () [virtual] -

    -Enters the main event loop and waits until exit() is called, and -returns the value that was set to exit(). -

    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. -

    Generally speaking, no user interaction can take place before -calling exec(). As a special case, modal widgets like TQMessageBox -can be used before calling exec(), because modal widgets call -exec() to start a local event loop. -

    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(). -

    See also TQApplication::quit(), exit(), and processEvents(). - -

    void TQEventLoop::exit ( int retcode = 0 ) [virtual] -

    -

    Tells the event loop to exit with a return code. -

    After this function has been called, the event loop returns from -the call to exec(). The exec() function returns retcode. -

    By convention, a retcode of 0 means success, and any non-zero -value indicates an error. -

    Note that unlike the C library function of the same name, this -function does return to the caller -- it is event processing that -stops. -

    See also TQApplication::quit() and exec(). - -

    void TQEventLoop::exitLoop () [virtual] -

    -

    This function exits from a recursive call to the main event loop. -Do not call it unless you really know what you are doing. - -

    bool TQEventLoop::hasPendingEvents () const [virtual] -

    -

    Returns TRUE if there is an event waiting, otherwise it returns FALSE. - -

    int TQEventLoop::loopLevel () const [virtual] -

    -

    Returns the current loop level. - -

    void TQEventLoop::processEvents ( ProcessEventsFlags flags, int maxTime ) -

    -Process pending events that match flags for a maximum of maxTime milliseconds, or until there are no more events to -process, which ever is shorter. -

    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. -

    NOTE: This function will not process events continuously; it -returns after all available events are processed. -

    NOTE: Specifying the WaitForMore flag makes no sense and will -be ignored. - -

    bool TQEventLoop::processEvents ( ProcessEventsFlags flags ) [virtual] -

    - -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

    Processes pending events that match flags until there are no -more events to process. -

    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. -

    If the WaitForMore flag is set in flags, the behavior of -this function is as follows: -

      -

    • If events are available, this function returns after processing -them. -

    • If no events are available, this function will wait until more -are available and return after processing newly available events. -

    -

    If the WaitForMore flag is not set in flags, and no -events are available, this function will return immediately. -

    NOTE: This function will not process events continuously; it -returns after all available events are processed. -

    This function returns TRUE if an event was processed; otherwise it -returns FALSE. -

    See also ProcessEvents and hasPendingEvents(). - -

    void TQEventLoop::registerSocketNotifier ( TQSocketNotifier * notifier ) [virtual] -

    -

    Registers notifier with the event loop. Subclasses need to -reimplement this method to tie a socket notifier into another -event loop. Reimplementations MUST call the base -implementation. - -

    void TQEventLoop::setSocketNotifierPending ( TQSocketNotifier * notifier ) -

    -

    Marks notifier as pending. The socket notifier will be -activated the next time activateSocketNotifiers() is called. - -

    int TQEventLoop::timeToWait () const -

    -

    Returns the number of milliseconds that TQt needs to handle its -timers or -1 if there are no timers running. -

    TQEventLoop subclasses that do their own timer handling need to use -this to make sure that TQt's timers continue to work. -

    Note: This function is only useful on systems where select() 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. - -

    void TQEventLoop::unregisterSocketNotifier ( TQSocketNotifier * notifier ) [virtual] -

    -

    Unregisters notifier from the event loop. Subclasses need to -reimplement this method to tie a socket notifier into another -event loop. Reimplementations MUST call the base -implementation. - -

    void TQEventLoop::wakeUp () [virtual] -

    Note: This function is thread-safe when TQt is built withthread support.

    - - -

    Wakes up the event loop. -

    See also awake(). - - -


    -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


    - -
    Copyright © 2007 -TrolltechTrademarks -
    TQt 3.3.8
    -
    - diff --git a/doc/html/ntqlistview.html b/doc/html/ntqlistview.html index 65b1fc86b..09def9db3 100644 --- a/doc/html/ntqlistview.html +++ b/doc/html/ntqlistview.html @@ -620,7 +620,7 @@ vertically if necessary and opening (expanding) any parent items if this is required to show the item.

    See also itemRect() and TQScrollView::ensureVisible(). -

    bool TQListView::eventFilter ( TQObject * o, TQEvent * e ) [virtual] +

    bool TQListView::eventFilter ( TQObject * o, TQEvent * e ) [virtual]

    Redirects the event e relating to object o, for the viewport to mousePressEvent(), keyPressEvent() and friends. diff --git a/doc/html/ntqprogressdialog.html b/doc/html/ntqprogressdialog.html index d8ee3b536..dda71b3b3 100644 --- a/doc/html/ntqprogressdialog.html +++ b/doc/html/ntqprogressdialog.html @@ -117,7 +117,7 @@ behavior.

    There are two ways of using TQProgressDialog: modal and modeless.

    Using a modal TQProgressDialog is simpler for the programmer, but you must call TQApplication::processEvents() or -TQEventLoop::processEvents(ExcludeUserInput) to keep the event loop +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: diff --git a/doc/html/ntqscrollview.html b/doc/html/ntqscrollview.html index c04ffc228..3c60a01e9 100644 --- a/doc/html/ntqscrollview.html +++ b/doc/html/ntqscrollview.html @@ -591,7 +591,7 @@ This is an overloaded member function, provided for convenience. It behaves esse least the xmargin and ymargin margins (if possible, otherwise centered). -

    bool TQScrollView::eventFilter ( TQObject * obj, TQEvent * e ) [virtual protected] +

    bool TQScrollView::eventFilter ( TQObject * obj, TQEvent * e ) [virtual protected]

    This event filter ensures the scroll bars are updated when a single contents widget is resized, shown, hidden or destroyed; it diff --git a/doc/html/ntqspinbox.html b/doc/html/ntqspinbox.html index 42495b790..088c95db6 100644 --- a/doc/html/ntqspinbox.html +++ b/doc/html/ntqspinbox.html @@ -236,7 +236,7 @@ Returns the geometry of the "down" button. Returns a pointer to the embedded TQLineEdit. -

    bool TQSpinBox::eventFilter ( TQObject * o, TQEvent * ev ) [virtual protected] +

    bool TQSpinBox::eventFilter ( TQObject * o, TQEvent * ev ) [virtual protected]

    Intercepts and handles the events coming to the embedded TQLineEdit that have special meaning for the TQSpinBox. The object is passed diff --git a/doc/html/ntqt.html b/doc/html/ntqt.html index 410f355e9..e14ca78ac 100644 --- a/doc/html/ntqt.html +++ b/doc/html/ntqt.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } that need to be global-like. More...

    #include <ntqnamespace.h> -

    Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, TQCursor, TQPainter, TQEvent, TQIconViewItem, TQKeySequence, TQListViewItem, TQCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, TQTab, TQTableItem, TQThread, TQToolTip, and TQWhatsThis. +

    Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, TQCursor, TQPainter, TQEvent, TQIconViewItem, TQKeySequence, TQListViewItem, TQCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, TQTab, TQTableItem, TQThread, TQToolTip, and TQWhatsThis.

    List of all member functions.

    Public Members

      diff --git a/doc/html/ntqtranslator.html b/doc/html/ntqtranslator.html deleted file mode 100644 index 3bcf92f14..000000000 --- a/doc/html/ntqtranslator.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - -TQTranslator Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQTranslator Class Reference

      - -

      The TQTranslator class provides internationalization support for text -output. -More... -

      #include <ntqtranslator.h> -

      Inherits TQObject. -

      List of all member functions. -

      Public Members

      -
        -
      • TQTranslator ( TQObject * parent = 0, const char * name = 0 )
      • -
      • ~TQTranslator ()
      • -
      • TQString find ( const char * context, const char * sourceText, const char * comment = 0 ) const  (obsolete)
      • -
      • virtual TQTranslatorMessage findMessage ( const char * context, const char * sourceText, const char * comment = 0 ) const
      • -
      • bool load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null )
      • -
      • bool load ( const uchar * data, int len )
      • -
      • void clear ()
      • -
      • enum SaveMode { Everything, Stripped }
      • -
      • bool save ( const TQString & filename, SaveMode mode = Everything )
      • -
      • void insert ( const TQTranslatorMessage & message )
      • -
      • void insert ( const char * context, const char * sourceText, const TQString & translation )  (obsolete)
      • -
      • void remove ( const TQTranslatorMessage & message )
      • -
      • void remove ( const char * context, const char * sourceText )  (obsolete)
      • -
      • bool contains ( const char * context, const char * sourceText, const char * comment = 0 ) const
      • -
      • void squeeze ( SaveMode mode = Everything )
      • -
      • void unsqueeze ()
      • -
      • TQValueList<TQTranslatorMessage> messages () const
      • -
      • bool isEmpty () const
      • -
      -

      Detailed Description

      - - -

      The TQTranslator class provides internationalization support for text -output. -

      - - -

      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. -

      The most common use of TQTranslator is to: load a translator file -created with TQt Linguist, -install it using TQApplication::installTranslator(), and use it via -TQObject::tr(). For example: -

      -    int main( int argc, char ** argv )
      -    {
      -        TQApplication app( argc, argv );
      -
      -        TQTranslator translator( 0 );
      -        translator.load( "french.qm", "." );
      -        app.installTranslator( &translator );
      -
      -        MyWidget m;
      -        app.setMainWidget( &m );
      -        m.show();
      -
      -        return app.exec();
      -    }
      -    
      - -Note that the translator must be created before the -application's main window. -

      Most applications will never need to do anything else with this -class. The other functions provided by this class are useful for -applications that work on translator files. -

      We call a translation a "messsage". For this reason, translation -files are sometimes referred to as "message files". -

      It is possible to lookup a translation using findMessage() (as -tr() and TQApplication::translate() do) and contains(), to insert a -new translation messsage using insert(), and to remove one using -remove(). -

      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(). -

      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. -

      "Everything" means that for each translation item the following -information is kept: -

        -
      • The translated text - the return value from tr(). -
      • The input key: -
          -
        • The source text - usually the argument to tr(). -
        • The context - usually the class name for the tr() caller. -
        • The comment - a comment that helps disambiguate different uses -of the same text in the same context. -
        -
      -

      The minimum for each item is just the information necessary for -findMessage() to return the right text. This may include the -source, context and comment, but usually it is just a hash value -and the translated text. -

      For example, the "Cancel" in a dialog might have "Anuluj" when the -program runs in Polish (in this case the source text would be -"Cancel"). The context would (normally) be the dialog's class -name; there would normally be no comment, and the translated text -would be "Anuluj". -

      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. -

      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. -

      See also TQTranslatorMessage, TQApplication::installTranslator(), TQApplication::removeTranslator(), TQObject::tr(), TQApplication::translate(), Environment Classes, and Internationalization with TQt. - -


      Member Type Documentation

      -

      TQTranslator::SaveMode

      - -

      This enum type defines how TQTranslator writes translation -files. There are two modes: -

        -
      • TQTranslator::Everything - files are saved with all available information -
      • TQTranslator::Stripped - files are saved with just enough information for -end-user applications -

      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. - -


      Member Function Documentation

      -

      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 name with parent parent. - -

      TQTranslator::~TQTranslator () -

      -Destroys the object and frees any allocated resources. - -

      void TQTranslator::clear () -

      -Empties this translator of all contents. -

      This function works with stripped translator files. - -

      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 -(context, sourceText, comment); otherwise returns FALSE. -

      This function works with stripped translator files. -

      (This is is a one-liner that calls findMessage().) - -

      TQString TQTranslator::find ( const char * context, const char * sourceText, const char * comment = 0 ) const -

      - -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Please use findMessage() instead. -

      Returns the translation for the key (context, sourceText, -comment) or TQString::null if there is none in this translator. - -

      TQTranslatorMessage TQTranslator::findMessage ( const char * context, const char * sourceText, const char * comment = 0 ) const [virtual] -

      Returns the TQTranslatorMessage for the key -(context, sourceText, comment). If none is found, -also tries (context, sourceText, ""). - -

      void TQTranslator::insert ( const TQTranslatorMessage & message ) -

      -Inserts message into this message file. -

      This function does not work with stripped translator files. It -may appear to, but that is not dependable. -

      See also remove(). - -

      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. -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      -

      bool TQTranslator::isEmpty () const -

      -Returns TRUE if this translator is empty, otherwise returns FALSE. -This function works with stripped and unstripped translation files. - -

      bool TQTranslator::load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null ) -

      -Loads filename, which may be an absolute file name or relative -to directory. The previous contents of this translator object -is discarded. Returns TRUE if the file is loaded successfully; -otherwise returns FALSE. -

      If the full file name does not exist, other file names are tried -in the following order: -

        -
      1. File name with suffix appended (".qm" if the suffix is -TQString::null). -
      2. File name with text after a character in search_delimiters -stripped ("_." is the default for search_delimiters if it is -TQString::null). -
      3. File name stripped and suffix appended. -
      4. File name stripped further, etc. -
      -

      For example, an application running in the fr_CA locale -(French-speaking Canada) might call load("foo.fr_ca", -"/opt/foolib"). load() would then try to open the first existing -readable file from this list: -

        -
      1. /opt/foolib/foo.fr_ca -
      2. /opt/foolib/foo.fr_ca.qm -
      3. /opt/foolib/foo.fr -
      4. /opt/foolib/foo.fr.qm -
      5. /opt/foolib/foo -
      6. /opt/foolib/foo.qm -
      -

      See also save(). - -

      Example: i18n/main.cpp. -

      bool TQTranslator::load ( const uchar * data, int len ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Loads the .qm file data data of length len into the -translator. Returns TRUE if the data is loaded successfully; -otherwise returns FALSE. -

      The data is not copied. The caller must be able to guarantee that data -will not be deleted or modified. - -

      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. -

      If you want to iterate over the list, you should iterate over a -copy, e.g. -

      -    TQValueList<TQTranslatorMessage> list = myTranslator.messages();
      -    TQValueList<TQTranslatorMessage>::Iterator it = list.begin();
      -    while ( it != list.end() ) {
      -        process_message( *it );
      -        ++it;
      -    }
      -  
      - - -

      void TQTranslator::remove ( const TQTranslatorMessage & message ) -

      -Removes message from this translator. -

      This function works with stripped translator files. -

      See also insert(). - -

      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. -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Removes the translation associated to the key (context, sourceText, -"") from this translator. - -

      bool TQTranslator::save ( const TQString & filename, SaveMode mode = Everything ) -

      -Saves this message file to filename, overwriting the previous -contents of filename. If mode is Everything (the -default), all the information is preserved. If mode is Stripped, any information that is not necessary for findMessage() -is stripped away. -

      See also load(). - -

      void TQTranslator::squeeze ( SaveMode mode = Everything ) -

      -Converts this message file to the compact format used to store -message files on disk. -

      You should never need to call this directly; save() and other -functions call it as necessary. mode is for internal use. -

      See also save() and unsqueeze(). - -

      void TQTranslator::unsqueeze () -

      -Converts this message file into an easily modifiable data -structure, less compact than the format used in the files. -

      You should never need to call this function; it is called by -insert() and friends as necessary. -

      See also squeeze(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/porting.html b/doc/html/porting.html index 6bd143cc3..d3b57cb4c 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -379,9 +379,9 @@ new code.
    • TQToolBar::TQToolBar( const TQString & label, TQMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char *name = 0 )
    • TQToolTip::enabled()
    • TQToolTip::setEnabled( bool enable ) -
    • TQTranslator::find( const char *context, const char *sourceText, const char *comment = 0 ) const -
    • TQTranslator::insert( const char *context, const char *sourceText, const TQString & translation ) -
    • TQTranslator::remove( const char *context, const char *sourceText ) +
    • TQTranslator::find( const char *context, const char *sourceText, const char *comment = 0 ) const +
    • TQTranslator::insert( const char *context, const char *sourceText, const TQString & translation ) +
    • TQTranslator::remove( const char *context, const char *sourceText )
    • TQUriDrag::setFilenames( const TQStringList & fnames )
    • TQWidget::backgroundColor() const
    • TQWidget::backgroundPixmap() const @@ -682,21 +682,21 @@ have been removed, together with the following two functions as well. were renamed to qSetW(), qSetFill() and qSetPrecision() to avoid conflicts with <iostream.h>. If you used them, you must rename the occurrences to the new names. -

      TQTranslator +

      TQTranslator

      -

      The TQTranslator class was extended in TQt 2.2, and these extensions +

      The TQTranslator class was extended in TQt 2.2, and these extensions lead to a new interface. This interface is used mainly by translation tools (for example, TQt Linguist). For source compatibility, no member function was -effectively removed. The TQTranslator documentation points out +effectively removed. The TQTranslator documentation points out which functions are obsolete.

      This function is no longer virtual:

      If you have a class that inherits TQTranslator and which reimplements -TQTranslator::find(), you should reimplement TQTranslator::findMessage() instead. +TQTranslator::find(), you should reimplement TQTranslator::findMessage() instead. In fact, find() is now defined in terms of findMessage(). By doing the conversion, you will also gain support for translator comments and for any future extensions. diff --git a/doc/html/propertydocs b/doc/html/propertydocs index cc448070f..08509d035 100644 --- a/doc/html/propertydocs +++ b/doc/html/propertydocs @@ -5056,7 +5056,7 @@ sizeHint(). <p>This property holds whether the widget is under the mouse cursor. <p>This value is not updated properly during drag and drop operations. -<p> <p>See also <a href="ntqevent.html#Type-enum">QEvent::Enter</a> and <a href="ntqevent.html#Type-enum">QEvent::Leave</a>. +<p> <p>See also <a href="tqevent.html#Type-enum">TQEvent::Enter</a> and <a href="tqevent.html#Type-enum">TQEvent::Leave</a>. <p>Get this property's value with <a href="tqwidget.html#hasMouse">hasMouse</a>(). diff --git a/doc/html/qapplication-h.html b/doc/html/qapplication-h.html index ff07d0c2b..6591eeb2a 100644 --- a/doc/html/qapplication-h.html +++ b/doc/html/qapplication-h.html @@ -78,10 +78,10 @@ body { background: #ffffff; color: black; } #define TQAPPLICATION_H #ifndef QT_H -#include "ntqdesktopwidget.h" +#include "tqdesktopwidget.h" #include "tqasciidict.h" #include "tqpalette.h" -#include "ntqtranslator.h" +#include "tqtranslator.h" #include "tqstrlist.h" #include "tqstringlist.h" #endif // QT_H diff --git a/doc/html/qchildevent-members.html b/doc/html/qchildevent-members.html index f5fca9cc2..e9bb83933 100644 --- a/doc/html/qchildevent-members.html +++ b/doc/html/qchildevent-members.html @@ -1,5 +1,5 @@ - + @@ -39,8 +39,8 @@ body { background: #ffffff; color: black; }

    • child()
    • inserted()
    • removed() -
    • spontaneous() -
    • type() +
    • spontaneous() +
    • type()


    diff --git a/doc/html/qchildevent.html b/doc/html/qchildevent.html index 0da7b80b8..3c4e7cc04 100644 --- a/doc/html/qchildevent.html +++ b/doc/html/qchildevent.html @@ -1,5 +1,5 @@ - + @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; }

    The TQChildEvent class contains event parameters for child object events. More... -

    #include <ntqevent.h> -

    Inherits TQEvent. +

    #include <tqevent.h> +

    Inherits TQEvent.

    List of all member functions.

    Public Members


    diff --git a/doc/html/qcloseevent.html b/doc/html/qcloseevent.html index 02d514b46..5526cb39f 100644 --- a/doc/html/qcloseevent.html +++ b/doc/html/qcloseevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

    The TQCloseEvent class contains parameters that describe a close event. More... -

    #include <ntqevent.h> -

    Inherits TQEvent. +

    #include <tqevent.h> +

    Inherits TQEvent.

    List of all member functions.

    Public Members

      diff --git a/doc/html/qcontextmenuevent-members.html b/doc/html/qcontextmenuevent-members.html index 7b168bc4b..8f145c35d 100644 --- a/doc/html/qcontextmenuevent-members.html +++ b/doc/html/qcontextmenuevent-members.html @@ -1,5 +1,5 @@ - + @@ -46,9 +46,9 @@ body { background: #ffffff; color: black; }
    • isConsumed()
    • pos()
    • reason() -
    • spontaneous() +
    • spontaneous()
    • state() -
    • type() +
    • type()
    • x()
    • y()
    diff --git a/doc/html/qcontextmenuevent.html b/doc/html/qcontextmenuevent.html index 2f84bbea8..05795d274 100644 --- a/doc/html/qcontextmenuevent.html +++ b/doc/html/qcontextmenuevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

    The TQContextMenuEvent class contains parameters that describe a context menu event. More... -

    #include <ntqevent.h> -

    Inherits TQEvent. +

    #include <tqevent.h> +

    Inherits TQEvent.

    List of all member functions.

    Public Members

      diff --git a/doc/html/qcustomevent-members.html b/doc/html/qcustomevent-members.html index ed5f7d224..38a04ce79 100644 --- a/doc/html/qcustomevent-members.html +++ b/doc/html/qcustomevent-members.html @@ -1,5 +1,5 @@ - + @@ -38,8 +38,8 @@ body { background: #ffffff; color: black; }
    • TQCustomEvent()
    • data()
    • setData() -
    • spontaneous() -
    • type() +
    • spontaneous() +
    • type()


    diff --git a/doc/html/qcustomevent.html b/doc/html/qcustomevent.html index d1f78e0de..e2f62db04 100644 --- a/doc/html/qcustomevent.html +++ b/doc/html/qcustomevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

    The TQCustomEvent class provides support for custom events. More... -

    #include <ntqevent.h> -

    Inherits TQEvent. +

    #include <tqevent.h> +

    Inherits TQEvent.

    List of all member functions.

    Public Members

      @@ -88,7 +88,7 @@ suitable for your event type. void MyWidget::customEvent( TQCustomEvent * e ) { - if ( e->type() == 65432 ) { // It must be a ColorChangeEvent + if ( e->type() == 65432 ) { // It must be a ColorChangeEvent ColorChangeEvent* ce = (ColorChangeEvent*)e; newColor = ce->color(); } @@ -104,7 +104,7 @@ Constructs a custom event object with event type type. The value of type must be at least as large as TQEvent::User. The data pointer is set to 0. -

      TQCustomEvent::TQCustomEvent ( Type type, void * data ) +

      TQCustomEvent::TQCustomEvent ( Type type, void * data )

      Constructs a custom event object with the event type type and a diff --git a/doc/html/qdesktopwidget-h.html b/doc/html/qdesktopwidget-h.html deleted file mode 100644 index 1777fe4f7..000000000 --- a/doc/html/qdesktopwidget-h.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - -ntqdesktopwidget.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqdesktopwidget.h

      - -

      This is the verbatim text of the ntqdesktopwidget.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqdesktopwidget.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQDesktopWidget class.
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQDESKTOPWIDGET_H
      -#define TQDESKTOPWIDGET_H
      -
      -#ifndef QT_H
      -#include "tqwidget.h"
      -#endif // QT_H
      -
      -class TQApplication;
      -class TQDesktopWidgetPrivate; /* Don't touch! */
      -
      -class TQ_EXPORT TQDesktopWidget : public TQWidget
      -{
      -    TQ_OBJECT
      -public:
      -    TQDesktopWidget();
      -    ~TQDesktopWidget();
      -
      -    bool isVirtualDesktop() const;
      -
      -    int numScreens() const;
      -    int primaryScreen() const;
      -
      -    int screenNumber( TQWidget *widget = 0 ) const; // ### 4.0: const TQWidget*
      -    int screenNumber( const TQPoint & ) const;
      -
      -    TQWidget *screen( int screen = -1 );
      -
      -    const TQRect& screenGeometry( int screen = -1 ) const;
      -    const TQRect& screenGeometry( TQWidget *widget ) const
      -    { return screenGeometry( screenNumber( widget ) ); }
      -    const TQRect& screenGeometry( const TQPoint &point ) const
      -    { return screenGeometry( screenNumber( point ) ); }
      -
      -    const TQRect& availableGeometry( int screen = -1 ) const;
      -    const TQRect& availableGeometry( TQWidget *widget ) const
      -    { return availableGeometry( screenNumber( widget ) ); }
      -    const TQRect& availableGeometry( const TQPoint &point ) const
      -    { return availableGeometry( screenNumber( point ) ); }
      -
      -    void insertChild( TQObject * );
      -
      -signals:
      -    void resized( int );
      -    void workAreaResized( int );
      -
      -protected:
      -    void resizeEvent( TQResizeEvent *e );
      -
      -private:
      -    TQDesktopWidgetPrivate *d;
      -
      -#if defined(TQ_DISABLE_COPY) // Disabled copy constructor and operator=
      -    TQDesktopWidget( const TQDesktopWidget & );
      -    TQDesktopWidget &operator=( const TQDesktopWidget & );
      -#endif
      -
      -    friend class TQApplication;
      -};
      -
      -#endif //TQDESKTOPWIDGET_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdesktopwidget-members.html b/doc/html/qdesktopwidget-members.html deleted file mode 100644 index a08637431..000000000 --- a/doc/html/qdesktopwidget-members.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - -TQDesktopWidget Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQDesktopWidget

      - -

      This is the complete list of member functions for -TQDesktopWidget, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qdesktopwidget.png b/doc/html/qdesktopwidget.png deleted file mode 100644 index 5bd077e5b..000000000 Binary files a/doc/html/qdesktopwidget.png and /dev/null differ diff --git a/doc/html/qevent-h.html b/doc/html/qevent-h.html deleted file mode 100644 index c3a077d11..000000000 --- a/doc/html/qevent-h.html +++ /dev/null @@ -1,662 +0,0 @@ - - - - - -ntqevent.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqevent.h

      - -

      This is the verbatim text of the ntqevent.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqevent.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of event classes
      -**
      -** Created : 931029
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQEVENT_H
      -#define TQEVENT_H
      -
      -#ifndef QT_H
      -#include "ntqwindowdefs.h"
      -#include "tqregion.h"
      -#include "ntqnamespace.h"
      -#include "tqmime.h"
      -#include "tqpair.h"
      -#endif // QT_H
      -
      -class TQ_EXPORT TQEvent: public TQt		// event base class
      -{
      -public:
      -    enum Type {
      -
      -	/*
      -	  If you get a strange compiler error on the line with None,
      -	  it's probably because you're also including X11 headers,
      -	  which #define the symbol None. Put the X11 includes after
      -	  the TQt includes to solve this problem.
      -	*/
      -
      -	None = 0,				// invalid event
      -
      -
      -	Timer = 1,				// timer event
      -	MouseButtonPress = 2,			// mouse button pressed
      -	MouseButtonRelease = 3,			// mouse button released
      -	MouseButtonDblClick = 4,		// mouse button double click
      -	MouseMove = 5,				// mouse move
      -	KeyPress = 6,				// key pressed
      -	KeyRelease = 7,				// key released
      -	FocusIn = 8,				// keyboard focus received
      -	FocusOut = 9,				// keyboard focus lost
      -	Enter = 10,				// mouse enters widget
      -	Leave = 11,				// mouse leaves widget
      -	Paint = 12,				// paint widget
      -	Move = 13,				// move widget
      -	Resize = 14,				// resize widget
      -	Create = 15,				// after object creation
      -	Destroy = 16,				// during object destruction
      -	Show = 17,				// widget is shown
      -	Hide = 18,				// widget is hidden
      -	Close = 19,				// request to close widget
      -	Quit = 20,				// request to quit application
      -	Reparent = 21,				// widget has been reparented
      -	ShowMinimized = 22,		       	// widget is shown minimized
      -	ShowNormal = 23,	       		// widget is shown normal
      -	WindowActivate = 24,	       		// window was activated
      -	WindowDeactivate = 25,	       		// window was deactivated
      -	ShowToParent = 26,	       		// widget is shown to parent
      -	HideToParent = 27,	       		// widget is hidden to parent
      -	ShowMaximized = 28,		       	// widget is shown maximized
      -	ShowFullScreen = 29,			// widget is shown full-screen
      -	Accel = 30,				// accelerator event
      -	Wheel = 31,				// wheel event
      -	AccelAvailable = 32,			// accelerator available event
      -	CaptionChange = 33,			// caption changed
      -	IconChange = 34,			// icon changed
      -	ParentFontChange = 35,			// parent font changed
      -	ApplicationFontChange = 36,		// application font changed
      -	ParentPaletteChange = 37,		// parent palette changed
      -	ApplicationPaletteChange = 38,		// application palette changed
      -	PaletteChange = 39,			// widget palette changed
      -	Clipboard = 40,				// internal clipboard event
      -	Speech = 42,				// reserved for speech input
      -	SockAct = 50,				// socket activation
      -	AccelOverride = 51,			// accelerator override event
      -	DeferredDelete = 52,			// deferred delete event
      -	DragEnter = 60,				// drag moves into widget
      -	DragMove = 61,				// drag moves in widget
      -	DragLeave = 62,				// drag leaves or is cancelled
      -	Drop = 63,				// actual drop
      -	DragResponse = 64,			// drag accepted/rejected
      -	ChildInserted = 70,			// new child widget
      -	ChildRemoved = 71,			// deleted child widget
      -	LayoutHint = 72,			// child min/max size changed
      -	ShowWindowRequest = 73,			// widget's window should be mapped
      -	WindowBlocked = 74,			// window is about to be blocked modally
      -	WindowUnblocked = 75,			// windows modal blocking has ended
      -	ActivateControl = 80,			// ActiveX activation
      -	DeactivateControl = 81,			// ActiveX deactivation
      -	ContextMenu = 82,			// context popup menu
      -	IMStart = 83,				// input method composition start
      -	IMCompose = 84,				// input method composition
      -	IMEnd = 85,				// input method composition end
      -	Accessibility = 86,			// accessibility information is requested
      -	TabletMove = 87,			// Wacom tablet event
      -	LocaleChange = 88,			// the system locale changed
      -	LanguageChange = 89,			// the application language changed
      -	LayoutDirectionChange = 90,		// the layout direction changed
      -	Style = 91,				// internal style event
      -	TabletPress = 92,			// tablet press
      -	TabletRelease = 93,			// tablet release
      -	OkRequest = 94,				// CE (Ok) button pressed
      -	HelpRequest = 95,			// CE (?)  button pressed
      -	WindowStateChange = 96,			// window state has changed
      -	IconDrag = 97,                          // proxy icon dragged
      -	User = 1000,				// first user event id
      -	MaxUser = 65535				// last user event id
      -    };
      -
      -
      -    TQEvent( Type type ) : t(type), posted(FALSE), spont(FALSE) {}
      -    virtual ~TQEvent();
      -    Type  type() const	{ return t; }
      -    bool spontaneous() const 	{ return spont; }
      -protected:
      -    Type  t;
      -private:
      -    uint posted : 1;
      -    uint spont : 1;
      -
      -
      -    friend class TQApplication;
      -    friend class TQAccelManager;
      -    friend class TQBaseApplication;
      -    friend class TQETWidget;
      -};
      -
      -
      -class TQ_EXPORT TQTimerEvent : public TQEvent
      -{
      -public:
      -    TQTimerEvent( int timerId )
      -	: TQEvent(Timer), id(timerId) {}
      -    int	  timerId()	const	{ return id; }
      -protected:
      -    int	  id;
      -};
      -
      -
      -class TQ_EXPORT TQMouseEvent : public TQEvent
      -{
      -public:
      -    TQMouseEvent( Type type, const TQPoint &pos, int button, int state );
      -
      -    TQMouseEvent( Type type, const TQPoint &pos, const TQPoint&globalPos,
      -		 int button, int state )
      -	: TQEvent(type), p(pos), g(globalPos), b((ushort)button),s((ushort)state),accpt(TRUE) {};
      -
      -    const TQPoint &pos() const	{ return p; }
      -    const TQPoint &globalPos() const { return g; }
      -    int	   x()		const	{ return p.x(); }
      -    int	   y()		const	{ return p.y(); }
      -    int	   globalX()	const	{ return g.x(); }
      -    int	   globalY()	const	{ return g.y(); }
      -    ButtonState button() const	{ return (ButtonState) b; }
      -    ButtonState state()	const	{ return (ButtonState) s; }
      -    ButtonState stateAfter() const;
      -    bool   isAccepted() const	{ return accpt; }
      -    void   accept()		{ accpt = TRUE; }
      -    void   ignore()		{ accpt = FALSE; }
      -protected:
      -    TQPoint p;
      -    TQPoint g;
      -    ushort b;
      -    ushort s;
      -    uint   accpt:1;
      -};
      -
      -
      -#ifndef TQT_NO_WHEELEVENT
      -class TQ_EXPORT TQWheelEvent : public TQEvent
      -{
      -public:
      -    TQWheelEvent( const TQPoint &pos, int delta, int state, Orientation orient = Vertical );
      -    TQWheelEvent( const TQPoint &pos, const TQPoint& globalPos, int delta, int state, Orientation orient = Vertical  )
      -	: TQEvent(Wheel), p(pos), g(globalPos), d(delta), s((ushort)state),
      -	  accpt(TRUE), o(orient) {}
      -    int	   delta()	const	{ return d; }
      -    const TQPoint &pos() const	{ return p; }
      -    const TQPoint &globalPos() const	{ return g; }
      -    int	   x()		const	{ return p.x(); }
      -    int	   y()		const	{ return p.y(); }
      -    int	   globalX()	const	{ return g.x(); }
      -    int	   globalY()	const	{ return g.y(); }
      -    ButtonState state()	const	{ return ButtonState(s); }
      -    Orientation orientation() 	const 	{ return o; }
      -    bool   isAccepted() const	{ return accpt; }
      -    void   accept()		{ accpt = TRUE; }
      -    void   ignore()		{ accpt = FALSE; }
      -protected:
      -    TQPoint p;
      -    TQPoint g;
      -    int d;
      -    ushort s;
      -    bool   accpt;
      -    Orientation o;
      -};
      -#endif
      -
      -class TQ_EXPORT TQTabletEvent : public TQEvent
      -{
      -public:
      -    enum TabletDevice { NoDevice = -1, Puck, Stylus, Eraser };
      -    TQTabletEvent( Type t, const TQPoint &pos, const TQPoint &globalPos, int device,
      -		  int pressure, int xTilt, int yTilt, const TQPair<int,int> &uId );
      -    TQTabletEvent( const TQPoint &pos, const TQPoint &globalPos, int device,
      -		  int pressure, int xTilt, int yTilt, const TQPair<int,int> &uId )
      -	: TQEvent( TabletMove ), mPos( pos ), mGPos( globalPos ), mDev( device ),
      -	  mPress( pressure ), mXT( xTilt ), mYT( yTilt ), mType( uId.first ),
      -	  mPhy( uId.second ), mbAcc(TRUE)
      -    {}
      -    int pressure()	const { return mPress; }
      -    int xTilt()		const { return mXT; }
      -    int yTilt()		const { return mYT; }
      -    const TQPoint &pos()	const { return mPos; }
      -    const TQPoint &globalPos() const { return mGPos; }
      -    int x()		const { return mPos.x(); }
      -    int y()		const { return mPos.y(); }
      -    int globalX()	const { return mGPos.x(); }
      -    int globalY()	const { return mGPos.y(); }
      -    TabletDevice device() 	const { return TabletDevice(mDev); }
      -    int isAccepted() const { return mbAcc; }
      -    void accept() { mbAcc = TRUE; }
      -    void ignore() { mbAcc = FALSE; }
      -    TQPair<int,int> uniqueId() { return TQPair<int,int>( mType, mPhy); }
      -protected:
      -    TQPoint mPos;
      -    TQPoint mGPos;
      -    int mDev,
      -	mPress,
      -	mXT,
      -	mYT,
      -	mType,
      -	mPhy;
      -    bool mbAcc;
      -
      -};
      -
      -class TQ_EXPORT TQKeyEvent : public TQEvent
      -{
      -public:
      -    TQKeyEvent( Type type, int key, int ascii, int state,
      -		const TQString& text=TQString::null, bool autorep=FALSE, ushort count=1 )
      -	: TQEvent(type), txt(text), k((ushort)key), s((ushort)state),
      -	    a((uchar)ascii), accpt(TRUE), autor(autorep), c(count)
      -    {
      -	if ( key >= Key_Back && key <= Key_MediaLast )
      -	    accpt = FALSE;
      -    }
      -    int	   key()	const	{ return k; }
      -    int	   ascii()	const	{ return a; }
      -    ButtonState state()	const	{ return ButtonState(s); }
      -    ButtonState stateAfter() const;
      -    bool   isAccepted() const	{ return accpt; }
      -    TQString text()      const   { return txt; }
      -    bool   isAutoRepeat() const	{ return autor; }
      -    int   count() const	{ return int(c); }
      -    void   accept()		{ accpt = TRUE; }
      -    void   ignore()		{ accpt = FALSE; }
      -
      -protected:
      -    TQString txt;
      -    ushort k, s;
      -    uchar  a;
      -    uint   accpt:1;
      -    uint   autor:1;
      -    ushort c;
      -};
      -
      -
      -class TQ_EXPORT TQFocusEvent : public TQEvent
      -{
      -public:
      -
      -    TQFocusEvent( Type type )
      -	: TQEvent(type) {}
      -
      -    bool   gotFocus()	const { return type() == FocusIn; }
      -    bool   lostFocus()	const { return type() == FocusOut; }
      -
      -    enum Reason { Mouse, Tab, Backtab, ActiveWindow, Popup, Shortcut, Other };
      -    static Reason reason();
      -    static void setReason( Reason reason );
      -    static void resetReason();
      -
      -private:
      -    static Reason m_reason;
      -    static Reason prev_reason;
      -};
      -
      -
      -class TQ_EXPORT TQPaintEvent : public TQEvent
      -{
      -public:
      -    TQPaintEvent( const TQRegion& paintRegion, bool erased = TRUE)
      -	: TQEvent(Paint),
      -	  rec(paintRegion.boundingRect()),
      -	  reg(paintRegion),
      -	  erase(erased){}
      -    TQPaintEvent( const TQRect &paintRect, bool erased = TRUE )
      -	: TQEvent(Paint),
      -	  rec(paintRect),
      -	  reg(paintRect),
      -	  erase(erased){}
      -    TQPaintEvent( const TQRegion &paintRegion, const TQRect &paintRect, bool erased = TRUE )
      -	: TQEvent(Paint),
      -	  rec(paintRect),
      -	  reg(paintRegion),
      -	  erase(erased){}
      -
      -    const TQRect &rect() const	  { return rec; }
      -    const TQRegion &region() const { return reg; }
      -    bool erased() const { return erase; }
      -protected:
      -    friend class TQApplication;
      -    friend class TQBaseApplication;
      -    TQRect rec;
      -    TQRegion reg;
      -    bool erase;
      -};
      -
      -
      -class TQ_EXPORT TQMoveEvent : public TQEvent
      -{
      -public:
      -    TQMoveEvent( const TQPoint &pos, const TQPoint &oldPos )
      -	: TQEvent(Move), p(pos), oldp(oldPos) {}
      -    const TQPoint &pos()	  const { return p; }
      -    const TQPoint &oldPos()const { return oldp;}
      -protected:
      -    TQPoint p, oldp;
      -    friend class TQApplication;
      -    friend class TQBaseApplication;
      -};
      -
      -
      -class TQ_EXPORT TQResizeEvent : public TQEvent
      -{
      -public:
      -    TQResizeEvent( const TQSize &size, const TQSize &oldSize )
      -	: TQEvent(Resize), s(size), olds(oldSize) {}
      -    const TQSize &size()	  const { return s; }
      -    const TQSize &oldSize()const { return olds;}
      -protected:
      -    TQSize s, olds;
      -    friend class TQApplication;
      -    friend class TQBaseApplication;
      -};
      -
      -
      -class TQ_EXPORT TQCloseEvent : public TQEvent
      -{
      -public:
      -    TQCloseEvent()
      -	: TQEvent(Close), accpt(FALSE) {}
      -    bool   isAccepted() const	{ return accpt; }
      -    void   accept()		{ accpt = TRUE; }
      -    void   ignore()		{ accpt = FALSE; }
      -protected:
      -    bool   accpt;
      -};
      -
      -
      -class TQ_EXPORT TQIconDragEvent : public TQEvent
      -{
      -public:
      -    TQIconDragEvent() 
      -	: TQEvent(IconDrag), accpt(FALSE) {}
      -
      -    bool   isAccepted() const	{ return accpt; }
      -    void   accept()		{ accpt = TRUE; }
      -    void   ignore()		{ accpt = FALSE; }
      -protected:
      -    bool   accpt;
      -};
      -
      -class TQ_EXPORT TQShowEvent : public TQEvent
      -{
      -public:
      -    TQShowEvent()
      -	: TQEvent(Show) {}
      -};
      -
      -
      -class TQ_EXPORT TQHideEvent : public TQEvent
      -{
      -public:
      -    TQHideEvent()
      -	: TQEvent(Hide) {}
      -};
      -
      -class TQ_EXPORT TQContextMenuEvent : public TQEvent
      -{
      -public:
      -    enum Reason { Mouse, Keyboard, Other };
      -    TQContextMenuEvent( Reason reason, const TQPoint &pos, const TQPoint &globalPos, int state )
      -	: TQEvent( ContextMenu ), p( pos ), gp( globalPos ), accpt( TRUE ), consum( TRUE ),
      -	reas( reason ), s((ushort)state) {}
      -    TQContextMenuEvent( Reason reason, const TQPoint &pos, int state );
      -
      -    int	    x() const { return p.x(); }
      -    int	    y() const { return p.y(); }
      -    int	    globalX() const { return gp.x(); }
      -    int	    globalY() const { return gp.y(); }
      -
      -    const TQPoint&   pos() const { return p; }
      -    const TQPoint&   globalPos() const { return gp; }
      -
      -    ButtonState state()	const	{ return (ButtonState) s; }
      -    bool    isAccepted() const	{ return accpt; }
      -    bool    isConsumed() const	{ return consum; }
      -    void    consume()		{ accpt = FALSE; consum = TRUE; }
      -    void    accept()		{ accpt = TRUE; consum = TRUE; }
      -    void    ignore()		{ accpt = FALSE; consum = FALSE; }
      -
      -    Reason  reason() const { return Reason( reas ); }
      -
      -protected:
      -    TQPoint  p;
      -    TQPoint  gp;
      -    bool    accpt;
      -    bool    consum;
      -    uint    reas:8;
      -    ushort s;
      -};
      -
      -
      -class TQ_EXPORT TQIMEvent : public TQEvent
      -{
      -public:
      -    TQIMEvent( Type type, const TQString &text, int cursorPosition )
      -	: TQEvent(type), txt(text), cpos(cursorPosition), a(TRUE) {}
      -    const TQString &text() const { return txt; }
      -    int cursorPos() const { return cpos; }
      -    bool isAccepted() const { return a; }
      -    void accept() { a = TRUE; }
      -    void ignore() { a = FALSE; }
      -    int selectionLength() const;
      -
      -private:
      -    TQString txt;
      -    int cpos;
      -    bool a;
      -};
      -
      -class TQ_EXPORT TQIMComposeEvent : public TQIMEvent
      -{
      -public:
      -    TQIMComposeEvent( Type type, const TQString &text, int cursorPosition,
      -		     int selLength )
      -	: TQIMEvent( type, text, cursorPosition ), selLen( selLength ) { }
      -
      -private:
      -    int selLen;
      -
      -    friend class TQIMEvent;
      -};
      -
      -inline int TQIMEvent::selectionLength() const
      -{
      -    if ( type() != IMCompose ) return 0;
      -    TQIMComposeEvent *that = (TQIMComposeEvent *) this;
      -    return that->selLen;
      -}
      -
      -
      -#ifndef TQT_NO_DRAGANDDROP
      -
      -// This class is rather closed at the moment.  If you need to create your
      -// own DND event objects, write to qt-bugs@trolltech.com and we'll try to
      -// find a way to extend it so it covers your needs.
      -
      -class TQ_EXPORT TQDropEvent : public TQEvent, public TQMimeSource
      -{
      -public:
      -    TQDropEvent( const TQPoint& pos, Type typ=Drop )
      -	: TQEvent(typ), p(pos),
      -	  act(0), accpt(0), accptact(0), resv(0),
      -	  d(0)
      -	{}
      -    const TQPoint &pos() const	{ return p; }
      -    bool isAccepted() const	{ return accpt || accptact; }
      -    void accept(bool y=TRUE)	{ accpt = y; }
      -    void ignore()		{ accpt = FALSE; }
      -
      -    bool isActionAccepted() const { return accptact; }
      -    void acceptAction(bool y=TRUE) { accptact = y; }
      -    enum Action { Copy, Link, Move, Private, UserAction=100 };
      -    void setAction( Action a ) { act = (uint)a; }
      -    Action action() const { return Action(act); }
      -
      -    TQWidget* source() const;
      -    const char* format( int n = 0 ) const;
      -    TQByteArray encodedData( const char* ) const;
      -    bool provides( const char* ) const;
      -
      -    TQByteArray data(const char* f) const { return encodedData(f); }
      -
      -    void setPoint( const TQPoint& np ) { p = np; }
      -
      -protected:
      -    TQPoint p;
      -    uint act:8;
      -    uint accpt:1;
      -    uint accptact:1;
      -    uint resv:5;
      -    void * d;
      -};
      -
      -
      -
      -class TQ_EXPORT TQDragMoveEvent : public TQDropEvent
      -{
      -public:
      -    TQDragMoveEvent( const TQPoint& pos, Type typ=DragMove )
      -	: TQDropEvent(pos,typ),
      -	  rect( pos, TQSize( 1, 1 ) ) {}
      -    TQRect answerRect() const { return rect; }
      -    void accept( bool y=TRUE ) { TQDropEvent::accept(y); }
      -    void accept( const TQRect & r) { accpt = TRUE; rect = r; }
      -    void ignore( const TQRect & r) { accpt =FALSE; rect = r; }
      -    void ignore()		{ TQDropEvent::ignore(); }
      -
      -protected:
      -    TQRect rect;
      -};
      -
      -
      -class TQ_EXPORT TQDragEnterEvent : public TQDragMoveEvent
      -{
      -public:
      -    TQDragEnterEvent( const TQPoint& pos ) :
      -	TQDragMoveEvent(pos, DragEnter) { }
      -};
      -
      -
      -/* An internal class */
      -class TQ_EXPORT TQDragResponseEvent : public TQEvent
      -{
      -public:
      -    TQDragResponseEvent( bool accepted )
      -	: TQEvent(DragResponse), a(accepted) {}
      -    bool   dragAccepted() const	{ return a; }
      -protected:
      -    bool a;
      -};
      -
      -
      -class TQ_EXPORT TQDragLeaveEvent : public TQEvent
      -{
      -public:
      -    TQDragLeaveEvent()
      -	: TQEvent(DragLeave) {}
      -};
      -
      -#endif // TQT_NO_DRAGANDDROP
      -
      -class TQ_EXPORT TQChildEvent : public TQEvent
      -{
      -public:
      -    TQChildEvent( Type type, TQObject *child )
      -	: TQEvent(type), c(child) {}
      -    TQObject *child() const	{ return c; }
      -    bool inserted() const { return t == ChildInserted; }
      -    bool removed() const { return t == ChildRemoved; }
      -protected:
      -    TQObject *c;
      -};
      -
      -
      -class TQ_EXPORT TQCustomEvent : public TQEvent
      -{
      -public:
      -    TQCustomEvent( int type );
      -    TQCustomEvent( Type type, void *data )
      -	: TQEvent(type), d(data) {};
      -    void       *data()	const	{ return d; }
      -    void	setData( void* data )	{ d = data; }
      -private:
      -    void       *d;
      -};
      -
      -#endif // TQEVENT_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qevent-members.html b/doc/html/qevent-members.html deleted file mode 100644 index c56cf8e80..000000000 --- a/doc/html/qevent-members.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -TQEvent Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQEvent

      - -

      This is the complete list of member functions for -TQEvent, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qeventloop-h.html b/doc/html/qeventloop-h.html deleted file mode 100644 index ae75d50d7..000000000 --- a/doc/html/qeventloop-h.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - -ntqeventloop.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqeventloop.h

      - -

      This is the verbatim text of the ntqeventloop.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqeventloop.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Declaration of TQEventLoop class
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQEVENTLOOP_H
      -#define TQEVENTLOOP_H
      -
      -#ifndef QT_H
      -#include "tqobject.h"
      -#include "tqsocketnotifier.h"
      -#endif // QT_H
      -
      -class TQEventLoopPrivate;
      -class TQSocketNotifier;
      -class TQTimer;
      -#ifdef TQ_WS_MAC
      -struct timeval; //stdc struct
      -struct TimerInfo; //internal structure (qeventloop_mac.cpp)
      -#endif
      -
      -#if defined(TQT_THREAD_SUPPORT)
      -class TQMutex;
      -#endif // TQT_THREAD_SUPPORT
      -
      -
      -class TQ_EXPORT TQEventLoop : public TQObject
      -{
      -    TQ_OBJECT
      -
      -public:
      -    TQEventLoop( TQObject *parent = 0, const char *name = 0 );
      -    ~TQEventLoop();
      -
      -    enum ProcessEvents {
      -	AllEvents		= 0x00,
      -	ExcludeUserInput	= 0x01,
      -	ExcludeSocketNotifiers	= 0x02,
      -	WaitForMore		= 0x04
      -    };
      -    typedef uint ProcessEventsFlags;
      -
      -    void processEvents( ProcessEventsFlags flags, int maxtime );
      -    virtual bool processEvents( ProcessEventsFlags flags );
      -
      -    virtual bool hasPendingEvents() const;
      -
      -    virtual void registerSocketNotifier( TQSocketNotifier * );
      -    virtual void unregisterSocketNotifier( TQSocketNotifier * );
      -    void setSocketNotifierPending( TQSocketNotifier * );
      -    int activateSocketNotifiers();
      -
      -    int activateTimers();
      -    int timeToWait() const;
      -
      -    virtual int exec();
      -    virtual void exit( int retcode = 0 );
      -
      -    virtual int enterLoop();
      -    virtual void exitLoop();
      -    virtual int loopLevel() const;
      -
      -    virtual void wakeUp();
      -
      -signals:
      -    void awake();
      -    void aboutToBlock();
      -
      -private:
      -#if defined(TQ_WS_MAC)
      -    friend TQMAC_PASCAL void qt_mac_select_timer_callbk(EventLoopTimerRef, void *);
      -    int macHandleSelect(timeval *);
      -    void macHandleTimer(TimerInfo *);
      -#endif // TQ_WS_MAC
      -
      -    // internal initialization/cleanup - implemented in various platform specific files
      -    void init();
      -    void cleanup();
      -    virtual void appStartingUp();
      -    virtual void appClosingDown();
      -
      -    // data for the default implementation - other implementations should not
      -    // use/need this data
      -    TQEventLoopPrivate *d;
      -
      -    friend class TQApplication;
      -};
      -
      -#endif // TQEVENTLOOP_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qeventloop-members.html b/doc/html/qeventloop-members.html deleted file mode 100644 index a6c7cc3ec..000000000 --- a/doc/html/qeventloop-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - -TQEventLoop Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQEventLoop

      - -

      This is the complete list of member functions for -TQEventLoop, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfocusevent-members.html b/doc/html/qfocusevent-members.html index 3002e5879..efcb5cf9c 100644 --- a/doc/html/qfocusevent-members.html +++ b/doc/html/qfocusevent-members.html @@ -1,5 +1,5 @@ - + @@ -41,8 +41,8 @@ body { background: #ffffff; color: black; }
    • reason()
    • resetReason()
    • setReason() -
    • spontaneous() -
    • type() +
    • spontaneous() +
    • type()


    diff --git a/doc/html/qfocusevent.html b/doc/html/qfocusevent.html index e4ce49089..3475e1bd1 100644 --- a/doc/html/qfocusevent.html +++ b/doc/html/qfocusevent.html @@ -1,5 +1,5 @@ - + @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; }

    The TQFocusEvent class contains event parameters for widget focus events. More... -

    #include <ntqevent.h> -

    Inherits TQEvent. +

    #include <tqevent.h> +

    Inherits TQEvent.

    List of all member functions.

    Public Members

      @@ -86,11 +86,11 @@ in force before the last setReason() call. about focus.

      Member Function Documentation

      -

      TQFocusEvent::TQFocusEvent ( Type type ) +

      TQFocusEvent::TQFocusEvent ( Type type )

      Constructs a focus event object. -

      The type parameter must be either TQEvent::FocusIn or TQEvent::FocusOut. +

      The type parameter must be either TQEvent::FocusIn or TQEvent::FocusOut.

      bool TQFocusEvent::gotFocus () const

      diff --git a/doc/html/qhideevent-members.html b/doc/html/qhideevent-members.html index 8ee910093..9878ee6df 100644 --- a/doc/html/qhideevent-members.html +++ b/doc/html/qhideevent-members.html @@ -1,5 +1,5 @@ - + @@ -36,8 +36,8 @@ body { background: #ffffff; color: black; }


      diff --git a/doc/html/qhideevent.html b/doc/html/qhideevent.html index 159027769..92ef072e4 100644 --- a/doc/html/qhideevent.html +++ b/doc/html/qhideevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

      The TQHideEvent class provides an event which is sent after a widget is hidden. More... -

      #include <ntqevent.h> -

      Inherits TQEvent. +

      #include <tqevent.h> +

      Inherits TQEvent.

      List of all member functions.

      Public Members

        @@ -47,7 +47,7 @@ The TQHideEvent class provides an event which is sent after a widget is hidden.

        This event is sent just before TQWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user. -

        If spontaneous() is TRUE the event originated outside the +

        If spontaneous() is TRUE the event originated outside the application, i.e. the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window isn't visible. The window diff --git a/doc/html/qimevent-members.html b/doc/html/qimevent-members.html index 0689ed146..cfe18f92f 100644 --- a/doc/html/qimevent-members.html +++ b/doc/html/qimevent-members.html @@ -1,5 +1,5 @@ - + @@ -41,9 +41,9 @@ body { background: #ffffff; color: black; }

      • ignore()
      • isAccepted()
      • selectionLength() -
      • spontaneous() +
      • spontaneous()
      • text() -
      • type() +
      • type()


      diff --git a/doc/html/qimevent.html b/doc/html/qimevent.html index 779eca399..846e5c369 100644 --- a/doc/html/qimevent.html +++ b/doc/html/qimevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

      The TQIMEvent class provides parameters for input method events. More... -

      #include <ntqevent.h> -

      Inherits TQEvent. +

      #include <tqevent.h> +

      Inherits TQEvent.

      List of all member functions.

      Public Members

        @@ -107,7 +107,7 @@ composition up to that point (which may be an empty string).

        See also Event Classes.


        Member Function Documentation

        -

        TQIMEvent::TQIMEvent ( Type type, const TQString & text, int cursorPosition ) +

        TQIMEvent::TQIMEvent ( Type type, const TQString & text, int cursorPosition )

        Constructs a new TQIMEvent with the accept flag set to FALSE. type can be one of TQEvent::IMStartEvent, TQEvent::IMComposeEvent diff --git a/doc/html/qkeyevent-members.html b/doc/html/qkeyevent-members.html index 1cf380310..6ae025a14 100644 --- a/doc/html/qkeyevent-members.html +++ b/doc/html/qkeyevent-members.html @@ -1,5 +1,5 @@ - + @@ -43,11 +43,11 @@ body { background: #ffffff; color: black; }

      • isAccepted()
      • isAutoRepeat()
      • key() -
      • spontaneous() +
      • spontaneous()
      • state()
      • stateAfter()
      • text() -
      • type() +
      • type()


      diff --git a/doc/html/qkeyevent.html b/doc/html/qkeyevent.html index 6579d260f..ca0ef8096 100644 --- a/doc/html/qkeyevent.html +++ b/doc/html/qkeyevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

      The TQKeyEvent class contains describes a key event. More... -

      #include <ntqevent.h> -

      Inherits TQEvent. +

      #include <tqevent.h> +

      Inherits TQEvent.

      List of all member functions.

      Public Members

        @@ -71,11 +71,11 @@ mouse and keyboard events for a widget.

        See also TQFocusEvent, TQWidget::grabKeyboard(), and Event Classes.


        Member Function Documentation

        -

        TQKeyEvent::TQKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 ) +

        TQKeyEvent::TQKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )

        Constructs a key event object. -

        The type parameter must be TQEvent::KeyPress or TQEvent::KeyRelease. If key is 0 the event is not a result of a +

        The type parameter must be TQEvent::KeyPress or TQEvent::KeyRelease. If key 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). ascii is the ASCII code of the key that was pressed or released. state holds the keyboard modifiers. text is the Unicode text that the key generated. If autorep is diff --git a/doc/html/qmotif-h.html b/doc/html/qmotif-h.html index 848a5b988..e4fdca761 100644 --- a/doc/html/qmotif-h.html +++ b/doc/html/qmotif-h.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; } #ifndef TQMOTIF_H #define TQMOTIF_H -#include <ntqeventloop.h> +#include <tqeventloop.h> #include <X11/Intrinsic.h> diff --git a/doc/html/qmotif-members.html b/doc/html/qmotif-members.html index 4560d66a9..2c9854166 100644 --- a/doc/html/qmotif-members.html +++ b/doc/html/qmotif-members.html @@ -37,11 +37,11 @@ body { background: #ffffff; color: black; }

        diff --git a/doc/html/qmotif.html b/doc/html/qmotif.html index b882eaff4..0234253ee 100644 --- a/doc/html/qmotif.html +++ b/doc/html/qmotif.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

        This class is part of the TQt Motif Extension.

        #include <qmotif.h> -

        Inherits TQEventLoop. +

        Inherits TQEventLoop.

        List of all member functions.

        Public Members

          diff --git a/doc/html/qmouseevent-members.html b/doc/html/qmouseevent-members.html index dba223f9b..dc976eb36 100644 --- a/doc/html/qmouseevent-members.html +++ b/doc/html/qmouseevent-members.html @@ -1,5 +1,5 @@ - + @@ -44,10 +44,10 @@ body { background: #ffffff; color: black; }
        • ignore()
        • isAccepted()
        • pos() -
        • spontaneous() +
        • spontaneous()
        • state()
        • stateAfter() -
        • type() +
        • type()
        • x()
        • y()
        diff --git a/doc/html/qmouseevent.html b/doc/html/qmouseevent.html index a485f73ac..9a1c933b3 100644 --- a/doc/html/qmouseevent.html +++ b/doc/html/qmouseevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

        The TQMouseEvent class contains parameters that describe a mouse event. More... -

        #include <ntqevent.h> -

        Inherits TQEvent. +

        #include <tqevent.h> +

        Inherits TQEvent.

        List of all member functions.

        Public Members


        diff --git a/doc/html/qmoveevent.html b/doc/html/qmoveevent.html index 04687ffb0..eae9a1954 100644 --- a/doc/html/qmoveevent.html +++ b/doc/html/qmoveevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

        The TQMoveEvent class contains event parameters for move events. More... -

        #include <ntqevent.h> -

        Inherits TQEvent. +

        #include <tqevent.h> +

        Inherits TQEvent.

        List of all member functions.

        Public Members

          diff --git a/doc/html/qnamespace-h.html b/doc/html/qnamespace-h.html index 0da21b4eb..60338b915 100644 --- a/doc/html/qnamespace-h.html +++ b/doc/html/qnamespace-h.html @@ -108,7 +108,7 @@ public: static const TQColor & darkMagenta; static const TQColor & darkYellow; - // documented in qevent.cpp + // documented in tqevent.cpp enum ButtonState { // mouse/keyboard state values NoButton = 0x0000, LeftButton = 0x0001, @@ -352,7 +352,7 @@ public: Identical }; - // documented in qevent.cpp + // documented in tqevent.cpp enum Modifier { // accelerator modifiers META = 0x00100000, SHIFT = 0x00200000, @@ -364,7 +364,7 @@ public: ASCII_ACCEL = UNICODE_ACCEL // 1.x compat }; - // documented in qevent.cpp + // documented in tqevent.cpp enum Key { Key_Escape = 0x1000, // misc keys Key_Tab = 0x1001, diff --git a/doc/html/qresizeevent-members.html b/doc/html/qresizeevent-members.html index 163c05c9b..f5d1705c5 100644 --- a/doc/html/qresizeevent-members.html +++ b/doc/html/qresizeevent-members.html @@ -1,5 +1,5 @@ - + @@ -38,8 +38,8 @@ body { background: #ffffff; color: black; }
        • TQResizeEvent()
        • oldSize()
        • size() -
        • spontaneous() -
        • type() +
        • spontaneous() +
        • type()


        diff --git a/doc/html/qresizeevent.html b/doc/html/qresizeevent.html index e837b1725..685271264 100644 --- a/doc/html/qresizeevent.html +++ b/doc/html/qresizeevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

        The TQResizeEvent class contains event parameters for resize events. More... -

        #include <ntqevent.h> -

        Inherits TQEvent. +

        #include <tqevent.h> +

        Inherits TQEvent.

        List of all member functions.

        Public Members

          diff --git a/doc/html/qshowevent-members.html b/doc/html/qshowevent-members.html index 0e0153737..71709dacd 100644 --- a/doc/html/qshowevent-members.html +++ b/doc/html/qshowevent-members.html @@ -1,5 +1,5 @@ - + @@ -36,8 +36,8 @@ body { background: #ffffff; color: black; }


          diff --git a/doc/html/qshowevent.html b/doc/html/qshowevent.html index 6c1bcb960..ae4d48ace 100644 --- a/doc/html/qshowevent.html +++ b/doc/html/qshowevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

          The TQShowEvent class provides an event which is sent when a widget is shown. More... -

          #include <ntqevent.h> -

          Inherits TQEvent. +

          #include <tqevent.h> +

          Inherits TQEvent.

          List of all member functions.

          Public Members

            diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index 1b7a2df7c..5800fab1d 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -921,7 +921,7 @@ inserted removed
            -
            +
            TQClipboard @@ -949,7 +949,7 @@ ignore isAccepted
            -
            +
            TQColor @@ -1153,7 +1153,7 @@ x y
            -
            +
            TQCString @@ -1241,7 +1241,7 @@ data setData
            -
            +
            QCustomMenuItem @@ -1600,19 +1600,19 @@
            -
            - QDesktopWidget - availableGeometry - isVirtualDesktop - numScreens - primaryScreen - resized - screen - screenGeometry - screenNumber - ~QDesktopWidget -
            -
            +
            + TQDesktopWidget + availableGeometry + isVirtualDesktop + numScreens + primaryScreen + resized + screen + screenGeometry + screenNumber + ~TQDesktopWidget +
            +
            QDial @@ -2184,12 +2184,12 @@
            TQDragEnterEvent
            -
            +
            TQDragLeaveEvent
            -
            +
            TQDragMoveEvent @@ -2197,7 +2197,7 @@ answerRect ignore
            -
            +
            TQDragObject @@ -2232,7 +2232,7 @@ setPoint source
            -
            +
            ~TQDropSite @@ -2270,38 +2270,38 @@
            -
            - QEvent - Type - spontaneous - type - ~QEvent -
            -
            -
            -
            - QEventLoop - ProcessEvents - ProcessEventsFlags - aboutToBlock - activateSocketNotifiers - activateTimers - awake - enterLoop - exec - exit - exitLoop - hasPendingEvents - loopLevel - processEvents - registerSocketNotifier - setSocketNotifierPending - timeToWait - unregisterSocketNotifier - wakeUp - ~QEventLoop -
            -
            +
            + TQEvent + Type + spontaneous + type + ~TQEvent +
            +
            +
            +
            + TQEventLoop + ProcessEvents + ProcessEventsFlags + aboutToBlock + activateSocketNotifiers + activateTimers + awake + enterLoop + exec + exit + exitLoop + hasPendingEvents + loopLevel + processEvents + registerSocketNotifier + setSocketNotifierPending + timeToWait + unregisterSocketNotifier + wakeUp + ~TQEventLoop +
            +
            TQFile @@ -2476,7 +2476,7 @@ resetReason setReason
            -
            +
            TQFont @@ -3048,7 +3048,7 @@
            QHideEvent
            -
            +
            TQHostAddress @@ -3157,7 +3157,7 @@ ignore isAccepted
            -
            +
            TQIconDragItem @@ -3541,7 +3541,7 @@ selectionLength text
            -
            +
            QInputDialog @@ -3722,7 +3722,7 @@ stateAfter text
            -
            +
            QKeySequence @@ -4753,14 +4753,14 @@ x y
            -
            +
            QMoveEvent oldPos pos
            -
            +
            TQMovie @@ -5197,7 +5197,7 @@ rect region
            -
            +
            TQPair @@ -5967,7 +5967,7 @@ oldSize size
            -
            +
            QScrollBar @@ -6182,7 +6182,7 @@
            QShowEvent
            -
            +
            TQSignal @@ -7564,7 +7564,7 @@ y yTilt
            -
            +
            QTabWidget @@ -8013,7 +8013,7 @@ TQTimerEvent timerId
            -
            +
            TQToolBar @@ -8129,44 +8129,44 @@
            -
            - QTranslator - SaveMode - clear - contains - findMessage - insert - isEmpty - load - messages - remove - save - squeeze - unsqueeze - ~QTranslator -
            -
            -
            -
            - QTranslatorMessage - Prefix - comment - commonPrefix - context - hash - operator!= - operator< - operator<= - operator= - operator== - operator> - operator>= - setTranslation - sourceText - translation - write -
            -
            +
            + TQTranslator + SaveMode + clear + contains + findMessage + insert + isEmpty + load + messages + remove + save + squeeze + unsqueeze + ~TQTranslator +
            +
            +
            +
            + TQTranslatorMessage + Prefix + comment + commonPrefix + context + hash + operator!= + operator< + operator<= + operator= + operator== + operator> + operator>= + setTranslation + sourceText + translation + write +
            +
            TQTsciiCodec @@ -8619,7 +8619,7 @@ x y
            -
            +
            TQWidget diff --git a/doc/html/qtabletevent-members.html b/doc/html/qtabletevent-members.html index 80a2ef574..d9925c6a6 100644 --- a/doc/html/qtabletevent-members.html +++ b/doc/html/qtabletevent-members.html @@ -1,5 +1,5 @@ - + @@ -45,8 +45,8 @@ body { background: #ffffff; color: black; }
          • isAccepted()
          • pos()
          • pressure() -
          • spontaneous() -
          • type() +
          • spontaneous() +
          • type()
          • uniqueId()
          • x()
          • xTilt() diff --git a/doc/html/qtabletevent.html b/doc/html/qtabletevent.html index 14d9c0e87..c3ee1af3a 100644 --- a/doc/html/qtabletevent.html +++ b/doc/html/qtabletevent.html @@ -1,5 +1,5 @@ - + @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; }

            The TQTabletEvent class contains parameters that describe a Tablet event. More... -

            #include <ntqevent.h> -

            Inherits TQEvent. +

            #include <tqevent.h> +

            Inherits TQEvent.

            List of all member functions.

            Public Members

              @@ -97,7 +97,7 @@ a transparent circle with cross-hairs).
            • TQTabletEvent::Eraser - An Eraser (the broad end of the pen).

            Member Function Documentation

            -

            TQTabletEvent::TQTabletEvent ( Type t, const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId ) +

            TQTabletEvent::TQTabletEvent ( Type t, const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )

            Construct a tablet event of type t. The position of when the event occurred is given diff --git a/doc/html/qtranslator-h.html b/doc/html/qtranslator-h.html deleted file mode 100644 index 504c24d64..000000000 --- a/doc/html/qtranslator-h.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - -ntqtranslator.h Include File - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            ntqtranslator.h

            - -

            This is the verbatim text of the ntqtranslator.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


            -
            -/****************************************************************************
            -** $Id: qt/ntqtranslator.h   3.3.8   edited Jan 11 14:46 $
            -**
            -** Definition of the translator class
            -**
            -** Created : 980906
            -**
            -** Copyright (C) 1998-2007 Trolltech ASA.  All rights reserved.
            -**
            -** This file is part of the kernel module of the TQt GUI Toolkit.
            -**
            -** This file may be used under the terms of the GNU General Public
            -** License versions 2.0 or 3.0 as published by the Free Software
            -** Foundation and appearing in the file LICENSE.GPL included in the
            -** packaging of this file. Alternatively you may (at your option) use any
            -** later version of the GNU General Public License if such license has
            -** been publicly approved by Trolltech ASA (or its successors, if any)
            -** and the KDE Free TQt Foundation.
            -**
            -** Please review the following information to ensure GNU General
            -** Public Licensing requirements will be met:
            -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
            -** If you are unsure which license is appropriate for your use, please
            -** review the following information:
            -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
            -** or contact the sales department at sales@trolltech.com.
            -**
            -** This file may be used under the terms of the Q Public License as
            -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
            -** included in the packaging of this file.  Licensees holding valid TQt
            -** Commercial licenses may use this file in accordance with the TQt
            -** Commercial License Agreement provided with the Software.
            -**
            -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
            -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
            -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
            -** herein.
            -**
            -**********************************************************************/
            -
            -
            -#ifndef TQTRANSLATOR_H
            -#define TQTRANSLATOR_H
            -
            -#ifndef QT_H
            -#include "tqobject.h"
            -#include "tqvaluelist.h"
            -#endif // QT_H
            -
            -#ifndef TQT_NO_TRANSLATION
            -
            -class TQTranslatorPrivate;
            -
            -class TQ_EXPORT TQTranslatorMessage
            -{
            -public:
            -    TQTranslatorMessage();
            -    TQTranslatorMessage( const char * context,
            -			const char * sourceText,
            -			const char * comment,
            -			const TQString& translation = TQString::null );
            -    TQTranslatorMessage( TQDataStream & );
            -    TQTranslatorMessage( const TQTranslatorMessage & m );
            -
            -    TQTranslatorMessage & operator=( const TQTranslatorMessage & m );
            -
            -    uint hash() const { return h; }
            -    const char *context() const { return cx; }
            -    const char *sourceText() const { return st; }
            -    const char *comment() const { return cm; }
            -
            -    void setTranslation( const TQString & translation ) { tn = translation; }
            -    TQString translation() const { return tn; }
            -
            -    enum Prefix { NoPrefix, Hash, HashContext, HashContextSourceText,
            -		  HashContextSourceTextComment };
            -    void write( TQDataStream & s, bool strip = FALSE,
            -		Prefix prefix = HashContextSourceTextComment ) const;
            -    Prefix commonPrefix( const TQTranslatorMessage& ) const;
            -
            -    bool operator==( const TQTranslatorMessage& m ) const;
            -    bool operator!=( const TQTranslatorMessage& m ) const
            -    { return !operator==( m ); }
            -    bool operator<( const TQTranslatorMessage& m ) const;
            -    bool operator<=( const TQTranslatorMessage& m ) const
            -    { return !m.operator<( *this ); }
            -    bool operator>( const TQTranslatorMessage& m ) const
            -    { return m.operator<( *this ); }
            -    bool operator>=( const TQTranslatorMessage& m ) const
            -    { return !operator<( m ); }
            -
            -private:
            -    uint h;
            -    TQCString cx;
            -    TQCString st;
            -    TQCString cm;
            -    TQString tn;
            -
            -    enum Tag { Tag_End = 1, Tag_SourceText16, Tag_Translation, Tag_Context16,
            -	       Tag_Hash, Tag_SourceText, Tag_Context, Tag_Comment,
            -	       Tag_Obsolete1 };
            -};
            -
            -
            -class TQ_EXPORT TQTranslator: public TQObject
            -{
            -    TQ_OBJECT
            -public:
            -    TQTranslator( TQObject * parent = 0, const char * name = 0 );
            -    ~TQTranslator();
            -
            -#ifndef TQT_NO_COMPAT
            -    TQString find( const char *context, const char *sourceText, const char * comment = 0 ) const {
            -	return findMessage( context, sourceText, comment ).translation();
            -    }
            -#endif
            -    virtual TQTranslatorMessage findMessage( const char *, const char *,
            -					    const char * = 0 ) const;
            -
            -    bool load( const TQString & filename,
            -	       const TQString & directory = TQString::null,
            -	       const TQString & search_delimiters = TQString::null,
            -	       const TQString & suffix = TQString::null );
            -    bool load( const uchar *data, int len ) {
            -	clear();
            -	return do_load( data, len );
            -    }
            -
            -    void clear();
            -
            -#ifndef TQT_NO_TRANSLATION_BUILDER
            -    enum SaveMode { Everything, Stripped };
            -
            -    bool save( const TQString & filename, SaveMode mode = Everything );
            -
            -    void insert( const TQTranslatorMessage& );
            -    void insert( const char *context, const char *sourceText, const TQString &translation ) {
            -	insert( TQTranslatorMessage(context, sourceText, "", translation) );
            -    }
            -    void remove( const TQTranslatorMessage& );
            -    void remove( const char *context, const char *sourceText ) {
            -	remove( TQTranslatorMessage(context, sourceText, "") );
            -    }
            -    bool contains( const char *, const char *, const char * comment = 0 ) const;
            -
            -    void squeeze( SaveMode = Everything );
            -    void unsqueeze();
            -
            -    TQValueList<TQTranslatorMessage> messages() const;
            -#endif
            -
            -    bool isEmpty() const;
            -
            -private:
            -#if defined(TQ_DISABLE_COPY)
            -    TQTranslator( const TQTranslator & );
            -    TQTranslator &operator=( const TQTranslator & );
            -#endif
            -
            -    bool do_load( const uchar *data, int len );
            -
            -    TQTranslatorPrivate * d;
            -};
            -
            -#endif // TQT_NO_TRANSLATION
            -
            -#endif
            -
            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qtranslator-members.html b/doc/html/qtranslator-members.html deleted file mode 100644 index ffcc5c1a5..000000000 --- a/doc/html/qtranslator-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - -TQTranslator Member List - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            Complete Member List for TQTranslator

            - -

            This is the complete list of member functions for -TQTranslator, including inherited members. - -

            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qtranslatormessage-members.html b/doc/html/qtranslatormessage-members.html deleted file mode 100644 index 95cb56e3b..000000000 --- a/doc/html/qtranslatormessage-members.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - -TQTranslatorMessage Member List - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            Complete Member List for TQTranslatorMessage

            - -

            This is the complete list of member functions for -TQTranslatorMessage, including inherited members. - -

            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qtranslatormessage.html b/doc/html/qtranslatormessage.html deleted file mode 100644 index 486008d92..000000000 --- a/doc/html/qtranslatormessage.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - -TQTranslatorMessage Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQTranslatorMessage Class Reference

            - -

            The TQTranslatorMessage class contains a translator message and its -properties. -More... -

            #include <ntqtranslator.h> -

            List of all member functions. -

            Public Members

            -
              -
            • TQTranslatorMessage ()
            • -
            • TQTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null )
            • -
            • TQTranslatorMessage ( TQDataStream & stream )
            • -
            • TQTranslatorMessage ( const TQTranslatorMessage & m )
            • -
            • TQTranslatorMessage & operator= ( const TQTranslatorMessage & m )
            • -
            • uint hash () const
            • -
            • const char * context () const
            • -
            • const char * sourceText () const
            • -
            • const char * comment () const
            • -
            • void setTranslation ( const TQString & translation )
            • -
            • TQString translation () const
            • -
            • enum Prefix { NoPrefix, Hash, HashContext, HashContextSourceText, HashContextSourceTextComment }
            • -
            • void write ( TQDataStream & stream, bool strip = FALSE, Prefix prefix = HashContextSourceTextComment ) const
            • -
            • Prefix commonPrefix ( const TQTranslatorMessage & m ) const
            • -
            • bool operator== ( const TQTranslatorMessage & m ) const
            • -
            • bool operator!= ( const TQTranslatorMessage & m ) const
            • -
            • bool operator< ( const TQTranslatorMessage & m ) const
            • -
            • bool operator<= ( const TQTranslatorMessage & m ) const
            • -
            • bool operator> ( const TQTranslatorMessage & m ) const
            • -
            • bool operator>= ( const TQTranslatorMessage & m ) const
            • -
            -

            Detailed Description

            - - -

            The TQTranslatorMessage class contains a translator message and its -properties. -

            - -

            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. -

            For a TQTranslator object, a lookup key is a triple (context, source text, comment) that uniquely identifies a message. An -extended key is a quadruple (hash, context, source text, comment), where hash 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. -

            TQTranslatorMessage stores this triple or quadruple and the relevant -translation if there is any. -

            See also TQTranslator, Environment Classes, and Internationalization with TQt. - -


            Member Type Documentation

            -

            TQTranslatorMessage::Prefix

            - -

            Let (h, c, s, m) be the extended key. The possible -prefixes are -

              -
            • TQTranslatorMessage::NoPrefix - no prefix -
            • TQTranslatorMessage::Hash - only (h) -
            • TQTranslatorMessage::HashContext - only (h, c) -
            • TQTranslatorMessage::HashContextSourceText - only (h, c, s) -
            • TQTranslatorMessage::HashContextSourceTextComment - the whole extended key, (h, c, s, m) -

            See also write() and commonPrefix(). - -


            Member Function Documentation

            -

            TQTranslatorMessage::TQTranslatorMessage () -

            -Constructs a translator message with the extended key (0, 0, 0, 0) -and TQString::null as translation. - -

            TQTranslatorMessage::TQTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null ) -

            -Constructs an translator message with the extended key (h, context, sourceText, comment), where h is computed from -sourceText and comment, and possibly with a translation. - -

            TQTranslatorMessage::TQTranslatorMessage ( TQDataStream & stream ) -

            -Constructs a translator message read from the stream. The -resulting message may have any combination of content. -

            See also TQTranslator::save(). - -

            TQTranslatorMessage::TQTranslatorMessage ( const TQTranslatorMessage & m ) -

            -Constructs a copy of translator message m. - -

            const char * TQTranslatorMessage::comment () const -

            - -

            Returns the comment for this message (e.g. "File|Save"). -

            Warning: This may return 0 if the TQTranslator object is stripped -(compressed). - -

            Prefix TQTranslatorMessage::commonPrefix ( const TQTranslatorMessage & m ) const -

            -Returns the widest lookup prefix that is common to this translator -message and to message m. -

            For example, if the extended key is for this message is (71, -"PrintDialog", "Yes", "Print?") and that for m is (71, -"PrintDialog", "No", "Print?"), this function returns HashContext. -

            See also write(). - -

            const char * TQTranslatorMessage::context () const -

            - -

            Returns the context for this message (e.g. "MyDialog"). -

            Warning: This may return 0 if the TQTranslator object is stripped -(compressed). - -

            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. -

            The hashing function is unspecified, but it will remain unchanged -in future versions of TQt. - -

            bool TQTranslatorMessage::operator!= ( const TQTranslatorMessage & m ) const -

            - -

            Returns TRUE if the extended key of this object is different from -that of m; otherwise returns FALSE. - -

            bool TQTranslatorMessage::operator< ( const TQTranslatorMessage & m ) const -

            -Returns TRUE if the extended key of this object is -lexicographically before than that of m; otherwise returns -FALSE. - -

            bool TQTranslatorMessage::operator<= ( const TQTranslatorMessage & m ) const -

            - -

            Returns TRUE if the extended key of this object is -lexicographically before that of m or if they are equal; -otherwise returns FALSE. - -

            TQTranslatorMessage & TQTranslatorMessage::operator= ( const TQTranslatorMessage & m ) -

            -Assigns message m to this translator message and returns a -reference to this translator message. - -

            bool TQTranslatorMessage::operator== ( const TQTranslatorMessage & m ) const -

            -Returns TRUE if the extended key of this object is equal to that of -m; otherwise returns FALSE. - -

            bool TQTranslatorMessage::operator> ( const TQTranslatorMessage & m ) const -

            - -

            Returns TRUE if the extended key of this object is -lexicographically after that of m; otherwise returns FALSE. - -

            bool TQTranslatorMessage::operator>= ( const TQTranslatorMessage & m ) const -

            - -

            Returns TRUE if the extended key of this object is -lexicographically after that of m or if they are equal; -otherwise returns FALSE. - -

            void TQTranslatorMessage::setTranslation ( const TQString & translation ) -

            - -

            Sets the translation of the source text to translation. -

            See also translation(). - -

            const char * TQTranslatorMessage::sourceText () const -

            - -

            Returns the source text of this message (e.g. "&Save"). -

            Warning: This may return 0 if the TQTranslator object is stripped -(compressed). - -

            TQString TQTranslatorMessage::translation () const -

            - -

            Returns the translation of the source text (e.g., "&Sauvegarder"). -

            See also setTranslation(). - -

            void TQTranslatorMessage::write ( TQDataStream & stream, bool strip = FALSE, Prefix prefix = HashContextSourceTextComment ) const -

            -Writes this translator message to the stream. If strip is -FALSE (the default), all the information in the message is -written. If strip is TRUE, only the part of the extended key -specified by prefix is written with the translation (HashContextSourceTextComment by default). -

            See also commonPrefix(). - - -


            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qwheelevent-members.html b/doc/html/qwheelevent-members.html index e89a7a10e..945be8108 100644 --- a/doc/html/qwheelevent-members.html +++ b/doc/html/qwheelevent-members.html @@ -1,5 +1,5 @@ - + @@ -45,9 +45,9 @@ body { background: #ffffff; color: black; }
          • isAccepted()
          • orientation()
          • pos() -
          • spontaneous() +
          • spontaneous()
          • state() -
          • type() +
          • type()
          • x()
          • y()
          diff --git a/doc/html/qwheelevent.html b/doc/html/qwheelevent.html index ce9d790f1..2d46ab76e 100644 --- a/doc/html/qwheelevent.html +++ b/doc/html/qwheelevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

          The TQWheelEvent class contains parameters that describe a wheel event. More... -

          #include <ntqevent.h> -

          Inherits TQEvent. +

          #include <tqevent.h> +

          Inherits TQEvent.

          List of all member functions.

          Public Members


          diff --git a/doc/html/tqdragenterevent.html b/doc/html/tqdragenterevent.html index 135d0cb60..a42f27b3c 100644 --- a/doc/html/tqdragenterevent.html +++ b/doc/html/tqdragenterevent.html @@ -1,5 +1,5 @@ - + @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; }

          The TQDragEnterEvent class provides an event which is sent to the widget when a drag and drop first drags onto the widget. More... -

          #include <ntqevent.h> +

          #include <tqevent.h>

          Inherits TQDragMoveEvent.

          List of all member functions.

          Public Members

          diff --git a/doc/html/tqdragleaveevent-members.html b/doc/html/tqdragleaveevent-members.html index 86b2f8828..dc03ca9a4 100644 --- a/doc/html/tqdragleaveevent-members.html +++ b/doc/html/tqdragleaveevent-members.html @@ -1,5 +1,5 @@ - + @@ -36,8 +36,8 @@ body { background: #ffffff; color: black; }


          diff --git a/doc/html/tqdragleaveevent.html b/doc/html/tqdragleaveevent.html index c8c9789c1..1087865de 100644 --- a/doc/html/tqdragleaveevent.html +++ b/doc/html/tqdragleaveevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

          The TQDragLeaveEvent class provides an event which is sent to the widget when a drag and drop leaves the widget. More... -

          #include <ntqevent.h> -

          Inherits TQEvent. +

          #include <tqevent.h> +

          Inherits TQEvent.

          List of all member functions.

          Public Members

            diff --git a/doc/html/tqdragmoveevent-members.html b/doc/html/tqdragmoveevent-members.html index ae3f07e77..7ad3910f3 100644 --- a/doc/html/tqdragmoveevent-members.html +++ b/doc/html/tqdragmoveevent-members.html @@ -1,5 +1,5 @@ - + @@ -52,8 +52,8 @@ body { background: #ffffff; color: black; }
          • setAction()
          • setPoint()
          • source() -
          • spontaneous() -
          • type() +
          • spontaneous() +
          • type()


          diff --git a/doc/html/tqdragmoveevent.html b/doc/html/tqdragmoveevent.html index cd132df80..a5d091bbe 100644 --- a/doc/html/tqdragmoveevent.html +++ b/doc/html/tqdragmoveevent.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; }

          The TQDragMoveEvent class provides an event which is sent while a drag and drop is in progress. More... -

          #include <ntqevent.h> +

          #include <tqevent.h>

          Inherits TQDropEvent.

          Inherited by TQDragEnterEvent.

          List of all member functions. @@ -59,7 +59,7 @@ the event to see what data it provides,

          See also Drag And Drop Classes and Event Classes.


          Member Function Documentation

          -

          TQDragMoveEvent::TQDragMoveEvent ( const TQPoint & pos, Type type = DragMove ) +

          TQDragMoveEvent::TQDragMoveEvent ( const TQPoint & pos, Type type = DragMove )

          Creates a TQDragMoveEvent for which the mouse is at point pos, diff --git a/doc/html/tqdropevent-members.html b/doc/html/tqdropevent-members.html index 7ad014ece..0adea62da 100644 --- a/doc/html/tqdropevent-members.html +++ b/doc/html/tqdropevent-members.html @@ -1,5 +1,5 @@ - + @@ -51,8 +51,8 @@ body { background: #ffffff; color: black; }

        • setAction()
        • setPoint()
        • source() -
        • spontaneous() -
        • type() +
        • spontaneous() +
        • type()


        diff --git a/doc/html/tqdropevent.html b/doc/html/tqdropevent.html index df6589737..2c3b277fd 100644 --- a/doc/html/tqdropevent.html +++ b/doc/html/tqdropevent.html @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

        The TQDropEvent class provides an event which is sent when a drag and drop is completed. More... -

        #include <ntqevent.h> -

        Inherits TQEvent and TQMimeSource. +

        #include <tqevent.h> +

        Inherits TQEvent and TQMimeSource.

        Inherited by TQDragMoveEvent.

        List of all member functions.

        Public Members

        @@ -91,7 +91,7 @@ supported. reference, for example, text/uri-list file lists (see TQUriDrag).

        Member Function Documentation

        -

        TQDropEvent::TQDropEvent ( const TQPoint & pos, Type typ = Drop ) +

        TQDropEvent::TQDropEvent ( const TQPoint & pos, Type typ = Drop )

        Constructs a drop event that drops a drop of type typ on point diff --git a/doc/html/tqevent-h.html b/doc/html/tqevent-h.html new file mode 100644 index 000000000..f2967186c --- /dev/null +++ b/doc/html/tqevent-h.html @@ -0,0 +1,662 @@ + + + + + +tqevent.h Include File + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        tqevent.h

        + +

        This is the verbatim text of the tqevent.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


        +
        +/****************************************************************************
        +** $Id: qt/tqevent.h   3.3.8   edited Jan 11 14:38 $
        +**
        +** Definition of event classes
        +**
        +** Created : 931029
        +**
        +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
        +**
        +** This file is part of the kernel module of the TQt GUI Toolkit.
        +**
        +** This file may be used under the terms of the GNU General Public
        +** License versions 2.0 or 3.0 as published by the Free Software
        +** Foundation and appearing in the file LICENSE.GPL included in the
        +** packaging of this file. Alternatively you may (at your option) use any
        +** later version of the GNU General Public License if such license has
        +** been publicly approved by Trolltech ASA (or its successors, if any)
        +** and the KDE Free TQt Foundation.
        +**
        +** Please review the following information to ensure GNU General
        +** Public Licensing requirements will be met:
        +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
        +** If you are unsure which license is appropriate for your use, please
        +** review the following information:
        +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
        +** or contact the sales department at sales@trolltech.com.
        +**
        +** This file may be used under the terms of the Q Public License as
        +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
        +** included in the packaging of this file.  Licensees holding valid TQt
        +** Commercial licenses may use this file in accordance with the TQt
        +** Commercial License Agreement provided with the Software.
        +**
        +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
        +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
        +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
        +** herein.
        +**
        +**********************************************************************/
        +
        +#ifndef TQEVENT_H
        +#define TQEVENT_H
        +
        +#ifndef QT_H
        +#include "ntqwindowdefs.h"
        +#include "tqregion.h"
        +#include "ntqnamespace.h"
        +#include "tqmime.h"
        +#include "tqpair.h"
        +#endif // QT_H
        +
        +class TQ_EXPORT TQEvent: public TQt		// event base class
        +{
        +public:
        +    enum Type {
        +
        +	/*
        +	  If you get a strange compiler error on the line with None,
        +	  it's probably because you're also including X11 headers,
        +	  which #define the symbol None. Put the X11 includes after
        +	  the TQt includes to solve this problem.
        +	*/
        +
        +	None = 0,				// invalid event
        +
        +
        +	Timer = 1,				// timer event
        +	MouseButtonPress = 2,			// mouse button pressed
        +	MouseButtonRelease = 3,			// mouse button released
        +	MouseButtonDblClick = 4,		// mouse button double click
        +	MouseMove = 5,				// mouse move
        +	KeyPress = 6,				// key pressed
        +	KeyRelease = 7,				// key released
        +	FocusIn = 8,				// keyboard focus received
        +	FocusOut = 9,				// keyboard focus lost
        +	Enter = 10,				// mouse enters widget
        +	Leave = 11,				// mouse leaves widget
        +	Paint = 12,				// paint widget
        +	Move = 13,				// move widget
        +	Resize = 14,				// resize widget
        +	Create = 15,				// after object creation
        +	Destroy = 16,				// during object destruction
        +	Show = 17,				// widget is shown
        +	Hide = 18,				// widget is hidden
        +	Close = 19,				// request to close widget
        +	Quit = 20,				// request to quit application
        +	Reparent = 21,				// widget has been reparented
        +	ShowMinimized = 22,		       	// widget is shown minimized
        +	ShowNormal = 23,	       		// widget is shown normal
        +	WindowActivate = 24,	       		// window was activated
        +	WindowDeactivate = 25,	       		// window was deactivated
        +	ShowToParent = 26,	       		// widget is shown to parent
        +	HideToParent = 27,	       		// widget is hidden to parent
        +	ShowMaximized = 28,		       	// widget is shown maximized
        +	ShowFullScreen = 29,			// widget is shown full-screen
        +	Accel = 30,				// accelerator event
        +	Wheel = 31,				// wheel event
        +	AccelAvailable = 32,			// accelerator available event
        +	CaptionChange = 33,			// caption changed
        +	IconChange = 34,			// icon changed
        +	ParentFontChange = 35,			// parent font changed
        +	ApplicationFontChange = 36,		// application font changed
        +	ParentPaletteChange = 37,		// parent palette changed
        +	ApplicationPaletteChange = 38,		// application palette changed
        +	PaletteChange = 39,			// widget palette changed
        +	Clipboard = 40,				// internal clipboard event
        +	Speech = 42,				// reserved for speech input
        +	SockAct = 50,				// socket activation
        +	AccelOverride = 51,			// accelerator override event
        +	DeferredDelete = 52,			// deferred delete event
        +	DragEnter = 60,				// drag moves into widget
        +	DragMove = 61,				// drag moves in widget
        +	DragLeave = 62,				// drag leaves or is cancelled
        +	Drop = 63,				// actual drop
        +	DragResponse = 64,			// drag accepted/rejected
        +	ChildInserted = 70,			// new child widget
        +	ChildRemoved = 71,			// deleted child widget
        +	LayoutHint = 72,			// child min/max size changed
        +	ShowWindowRequest = 73,			// widget's window should be mapped
        +	WindowBlocked = 74,			// window is about to be blocked modally
        +	WindowUnblocked = 75,			// windows modal blocking has ended
        +	ActivateControl = 80,			// ActiveX activation
        +	DeactivateControl = 81,			// ActiveX deactivation
        +	ContextMenu = 82,			// context popup menu
        +	IMStart = 83,				// input method composition start
        +	IMCompose = 84,				// input method composition
        +	IMEnd = 85,				// input method composition end
        +	Accessibility = 86,			// accessibility information is requested
        +	TabletMove = 87,			// Wacom tablet event
        +	LocaleChange = 88,			// the system locale changed
        +	LanguageChange = 89,			// the application language changed
        +	LayoutDirectionChange = 90,		// the layout direction changed
        +	Style = 91,				// internal style event
        +	TabletPress = 92,			// tablet press
        +	TabletRelease = 93,			// tablet release
        +	OkRequest = 94,				// CE (Ok) button pressed
        +	HelpRequest = 95,			// CE (?)  button pressed
        +	WindowStateChange = 96,			// window state has changed
        +	IconDrag = 97,                          // proxy icon dragged
        +	User = 1000,				// first user event id
        +	MaxUser = 65535				// last user event id
        +    };
        +
        +
        +    TQEvent( Type type ) : t(type), posted(FALSE), spont(FALSE) {}
        +    virtual ~TQEvent();
        +    Type  type() const	{ return t; }
        +    bool spontaneous() const 	{ return spont; }
        +protected:
        +    Type  t;
        +private:
        +    uint posted : 1;
        +    uint spont : 1;
        +
        +
        +    friend class TQApplication;
        +    friend class TQAccelManager;
        +    friend class TQBaseApplication;
        +    friend class TQETWidget;
        +};
        +
        +
        +class TQ_EXPORT TQTimerEvent : public TQEvent
        +{
        +public:
        +    TQTimerEvent( int timerId )
        +	: TQEvent(Timer), id(timerId) {}
        +    int	  timerId()	const	{ return id; }
        +protected:
        +    int	  id;
        +};
        +
        +
        +class TQ_EXPORT TQMouseEvent : public TQEvent
        +{
        +public:
        +    TQMouseEvent( Type type, const TQPoint &pos, int button, int state );
        +
        +    TQMouseEvent( Type type, const TQPoint &pos, const TQPoint&globalPos,
        +		 int button, int state )
        +	: TQEvent(type), p(pos), g(globalPos), b((ushort)button),s((ushort)state),accpt(TRUE) {};
        +
        +    const TQPoint &pos() const	{ return p; }
        +    const TQPoint &globalPos() const { return g; }
        +    int	   x()		const	{ return p.x(); }
        +    int	   y()		const	{ return p.y(); }
        +    int	   globalX()	const	{ return g.x(); }
        +    int	   globalY()	const	{ return g.y(); }
        +    ButtonState button() const	{ return (ButtonState) b; }
        +    ButtonState state()	const	{ return (ButtonState) s; }
        +    ButtonState stateAfter() const;
        +    bool   isAccepted() const	{ return accpt; }
        +    void   accept()		{ accpt = TRUE; }
        +    void   ignore()		{ accpt = FALSE; }
        +protected:
        +    TQPoint p;
        +    TQPoint g;
        +    ushort b;
        +    ushort s;
        +    uint   accpt:1;
        +};
        +
        +
        +#ifndef TQT_NO_WHEELEVENT
        +class TQ_EXPORT TQWheelEvent : public TQEvent
        +{
        +public:
        +    TQWheelEvent( const TQPoint &pos, int delta, int state, Orientation orient = Vertical );
        +    TQWheelEvent( const TQPoint &pos, const TQPoint& globalPos, int delta, int state, Orientation orient = Vertical  )
        +	: TQEvent(Wheel), p(pos), g(globalPos), d(delta), s((ushort)state),
        +	  accpt(TRUE), o(orient) {}
        +    int	   delta()	const	{ return d; }
        +    const TQPoint &pos() const	{ return p; }
        +    const TQPoint &globalPos() const	{ return g; }
        +    int	   x()		const	{ return p.x(); }
        +    int	   y()		const	{ return p.y(); }
        +    int	   globalX()	const	{ return g.x(); }
        +    int	   globalY()	const	{ return g.y(); }
        +    ButtonState state()	const	{ return ButtonState(s); }
        +    Orientation orientation() 	const 	{ return o; }
        +    bool   isAccepted() const	{ return accpt; }
        +    void   accept()		{ accpt = TRUE; }
        +    void   ignore()		{ accpt = FALSE; }
        +protected:
        +    TQPoint p;
        +    TQPoint g;
        +    int d;
        +    ushort s;
        +    bool   accpt;
        +    Orientation o;
        +};
        +#endif
        +
        +class TQ_EXPORT TQTabletEvent : public TQEvent
        +{
        +public:
        +    enum TabletDevice { NoDevice = -1, Puck, Stylus, Eraser };
        +    TQTabletEvent( Type t, const TQPoint &pos, const TQPoint &globalPos, int device,
        +		  int pressure, int xTilt, int yTilt, const TQPair<int,int> &uId );
        +    TQTabletEvent( const TQPoint &pos, const TQPoint &globalPos, int device,
        +		  int pressure, int xTilt, int yTilt, const TQPair<int,int> &uId )
        +	: TQEvent( TabletMove ), mPos( pos ), mGPos( globalPos ), mDev( device ),
        +	  mPress( pressure ), mXT( xTilt ), mYT( yTilt ), mType( uId.first ),
        +	  mPhy( uId.second ), mbAcc(TRUE)
        +    {}
        +    int pressure()	const { return mPress; }
        +    int xTilt()		const { return mXT; }
        +    int yTilt()		const { return mYT; }
        +    const TQPoint &pos()	const { return mPos; }
        +    const TQPoint &globalPos() const { return mGPos; }
        +    int x()		const { return mPos.x(); }
        +    int y()		const { return mPos.y(); }
        +    int globalX()	const { return mGPos.x(); }
        +    int globalY()	const { return mGPos.y(); }
        +    TabletDevice device() 	const { return TabletDevice(mDev); }
        +    int isAccepted() const { return mbAcc; }
        +    void accept() { mbAcc = TRUE; }
        +    void ignore() { mbAcc = FALSE; }
        +    TQPair<int,int> uniqueId() { return TQPair<int,int>( mType, mPhy); }
        +protected:
        +    TQPoint mPos;
        +    TQPoint mGPos;
        +    int mDev,
        +	mPress,
        +	mXT,
        +	mYT,
        +	mType,
        +	mPhy;
        +    bool mbAcc;
        +
        +};
        +
        +class TQ_EXPORT TQKeyEvent : public TQEvent
        +{
        +public:
        +    TQKeyEvent( Type type, int key, int ascii, int state,
        +		const TQString& text=TQString::null, bool autorep=FALSE, ushort count=1 )
        +	: TQEvent(type), txt(text), k((ushort)key), s((ushort)state),
        +	    a((uchar)ascii), accpt(TRUE), autor(autorep), c(count)
        +    {
        +	if ( key >= Key_Back && key <= Key_MediaLast )
        +	    accpt = FALSE;
        +    }
        +    int	   key()	const	{ return k; }
        +    int	   ascii()	const	{ return a; }
        +    ButtonState state()	const	{ return ButtonState(s); }
        +    ButtonState stateAfter() const;
        +    bool   isAccepted() const	{ return accpt; }
        +    TQString text()      const   { return txt; }
        +    bool   isAutoRepeat() const	{ return autor; }
        +    int   count() const	{ return int(c); }
        +    void   accept()		{ accpt = TRUE; }
        +    void   ignore()		{ accpt = FALSE; }
        +
        +protected:
        +    TQString txt;
        +    ushort k, s;
        +    uchar  a;
        +    uint   accpt:1;
        +    uint   autor:1;
        +    ushort c;
        +};
        +
        +
        +class TQ_EXPORT TQFocusEvent : public TQEvent
        +{
        +public:
        +
        +    TQFocusEvent( Type type )
        +	: TQEvent(type) {}
        +
        +    bool   gotFocus()	const { return type() == FocusIn; }
        +    bool   lostFocus()	const { return type() == FocusOut; }
        +
        +    enum Reason { Mouse, Tab, Backtab, ActiveWindow, Popup, Shortcut, Other };
        +    static Reason reason();
        +    static void setReason( Reason reason );
        +    static void resetReason();
        +
        +private:
        +    static Reason m_reason;
        +    static Reason prev_reason;
        +};
        +
        +
        +class TQ_EXPORT TQPaintEvent : public TQEvent
        +{
        +public:
        +    TQPaintEvent( const TQRegion& paintRegion, bool erased = TRUE)
        +	: TQEvent(Paint),
        +	  rec(paintRegion.boundingRect()),
        +	  reg(paintRegion),
        +	  erase(erased){}
        +    TQPaintEvent( const TQRect &paintRect, bool erased = TRUE )
        +	: TQEvent(Paint),
        +	  rec(paintRect),
        +	  reg(paintRect),
        +	  erase(erased){}
        +    TQPaintEvent( const TQRegion &paintRegion, const TQRect &paintRect, bool erased = TRUE )
        +	: TQEvent(Paint),
        +	  rec(paintRect),
        +	  reg(paintRegion),
        +	  erase(erased){}
        +
        +    const TQRect &rect() const	  { return rec; }
        +    const TQRegion &region() const { return reg; }
        +    bool erased() const { return erase; }
        +protected:
        +    friend class TQApplication;
        +    friend class TQBaseApplication;
        +    TQRect rec;
        +    TQRegion reg;
        +    bool erase;
        +};
        +
        +
        +class TQ_EXPORT TQMoveEvent : public TQEvent
        +{
        +public:
        +    TQMoveEvent( const TQPoint &pos, const TQPoint &oldPos )
        +	: TQEvent(Move), p(pos), oldp(oldPos) {}
        +    const TQPoint &pos()	  const { return p; }
        +    const TQPoint &oldPos()const { return oldp;}
        +protected:
        +    TQPoint p, oldp;
        +    friend class TQApplication;
        +    friend class TQBaseApplication;
        +};
        +
        +
        +class TQ_EXPORT TQResizeEvent : public TQEvent
        +{
        +public:
        +    TQResizeEvent( const TQSize &size, const TQSize &oldSize )
        +	: TQEvent(Resize), s(size), olds(oldSize) {}
        +    const TQSize &size()	  const { return s; }
        +    const TQSize &oldSize()const { return olds;}
        +protected:
        +    TQSize s, olds;
        +    friend class TQApplication;
        +    friend class TQBaseApplication;
        +};
        +
        +
        +class TQ_EXPORT TQCloseEvent : public TQEvent
        +{
        +public:
        +    TQCloseEvent()
        +	: TQEvent(Close), accpt(FALSE) {}
        +    bool   isAccepted() const	{ return accpt; }
        +    void   accept()		{ accpt = TRUE; }
        +    void   ignore()		{ accpt = FALSE; }
        +protected:
        +    bool   accpt;
        +};
        +
        +
        +class TQ_EXPORT TQIconDragEvent : public TQEvent
        +{
        +public:
        +    TQIconDragEvent() 
        +	: TQEvent(IconDrag), accpt(FALSE) {}
        +
        +    bool   isAccepted() const	{ return accpt; }
        +    void   accept()		{ accpt = TRUE; }
        +    void   ignore()		{ accpt = FALSE; }
        +protected:
        +    bool   accpt;
        +};
        +
        +class TQ_EXPORT TQShowEvent : public TQEvent
        +{
        +public:
        +    TQShowEvent()
        +	: TQEvent(Show) {}
        +};
        +
        +
        +class TQ_EXPORT TQHideEvent : public TQEvent
        +{
        +public:
        +    TQHideEvent()
        +	: TQEvent(Hide) {}
        +};
        +
        +class TQ_EXPORT TQContextMenuEvent : public TQEvent
        +{
        +public:
        +    enum Reason { Mouse, Keyboard, Other };
        +    TQContextMenuEvent( Reason reason, const TQPoint &pos, const TQPoint &globalPos, int state )
        +	: TQEvent( ContextMenu ), p( pos ), gp( globalPos ), accpt( TRUE ), consum( TRUE ),
        +	reas( reason ), s((ushort)state) {}
        +    TQContextMenuEvent( Reason reason, const TQPoint &pos, int state );
        +
        +    int	    x() const { return p.x(); }
        +    int	    y() const { return p.y(); }
        +    int	    globalX() const { return gp.x(); }
        +    int	    globalY() const { return gp.y(); }
        +
        +    const TQPoint&   pos() const { return p; }
        +    const TQPoint&   globalPos() const { return gp; }
        +
        +    ButtonState state()	const	{ return (ButtonState) s; }
        +    bool    isAccepted() const	{ return accpt; }
        +    bool    isConsumed() const	{ return consum; }
        +    void    consume()		{ accpt = FALSE; consum = TRUE; }
        +    void    accept()		{ accpt = TRUE; consum = TRUE; }
        +    void    ignore()		{ accpt = FALSE; consum = FALSE; }
        +
        +    Reason  reason() const { return Reason( reas ); }
        +
        +protected:
        +    TQPoint  p;
        +    TQPoint  gp;
        +    bool    accpt;
        +    bool    consum;
        +    uint    reas:8;
        +    ushort s;
        +};
        +
        +
        +class TQ_EXPORT TQIMEvent : public TQEvent
        +{
        +public:
        +    TQIMEvent( Type type, const TQString &text, int cursorPosition )
        +	: TQEvent(type), txt(text), cpos(cursorPosition), a(TRUE) {}
        +    const TQString &text() const { return txt; }
        +    int cursorPos() const { return cpos; }
        +    bool isAccepted() const { return a; }
        +    void accept() { a = TRUE; }
        +    void ignore() { a = FALSE; }
        +    int selectionLength() const;
        +
        +private:
        +    TQString txt;
        +    int cpos;
        +    bool a;
        +};
        +
        +class TQ_EXPORT TQIMComposeEvent : public TQIMEvent
        +{
        +public:
        +    TQIMComposeEvent( Type type, const TQString &text, int cursorPosition,
        +		     int selLength )
        +	: TQIMEvent( type, text, cursorPosition ), selLen( selLength ) { }
        +
        +private:
        +    int selLen;
        +
        +    friend class TQIMEvent;
        +};
        +
        +inline int TQIMEvent::selectionLength() const
        +{
        +    if ( type() != IMCompose ) return 0;
        +    TQIMComposeEvent *that = (TQIMComposeEvent *) this;
        +    return that->selLen;
        +}
        +
        +
        +#ifndef TQT_NO_DRAGANDDROP
        +
        +// This class is rather closed at the moment.  If you need to create your
        +// own DND event objects, write to qt-bugs@trolltech.com and we'll try to
        +// find a way to extend it so it covers your needs.
        +
        +class TQ_EXPORT TQDropEvent : public TQEvent, public TQMimeSource
        +{
        +public:
        +    TQDropEvent( const TQPoint& pos, Type typ=Drop )
        +	: TQEvent(typ), p(pos),
        +	  act(0), accpt(0), accptact(0), resv(0),
        +	  d(0)
        +	{}
        +    const TQPoint &pos() const	{ return p; }
        +    bool isAccepted() const	{ return accpt || accptact; }
        +    void accept(bool y=TRUE)	{ accpt = y; }
        +    void ignore()		{ accpt = FALSE; }
        +
        +    bool isActionAccepted() const { return accptact; }
        +    void acceptAction(bool y=TRUE) { accptact = y; }
        +    enum Action { Copy, Link, Move, Private, UserAction=100 };
        +    void setAction( Action a ) { act = (uint)a; }
        +    Action action() const { return Action(act); }
        +
        +    TQWidget* source() const;
        +    const char* format( int n = 0 ) const;
        +    TQByteArray encodedData( const char* ) const;
        +    bool provides( const char* ) const;
        +
        +    TQByteArray data(const char* f) const { return encodedData(f); }
        +
        +    void setPoint( const TQPoint& np ) { p = np; }
        +
        +protected:
        +    TQPoint p;
        +    uint act:8;
        +    uint accpt:1;
        +    uint accptact:1;
        +    uint resv:5;
        +    void * d;
        +};
        +
        +
        +
        +class TQ_EXPORT TQDragMoveEvent : public TQDropEvent
        +{
        +public:
        +    TQDragMoveEvent( const TQPoint& pos, Type typ=DragMove )
        +	: TQDropEvent(pos,typ),
        +	  rect( pos, TQSize( 1, 1 ) ) {}
        +    TQRect answerRect() const { return rect; }
        +    void accept( bool y=TRUE ) { TQDropEvent::accept(y); }
        +    void accept( const TQRect & r) { accpt = TRUE; rect = r; }
        +    void ignore( const TQRect & r) { accpt =FALSE; rect = r; }
        +    void ignore()		{ TQDropEvent::ignore(); }
        +
        +protected:
        +    TQRect rect;
        +};
        +
        +
        +class TQ_EXPORT TQDragEnterEvent : public TQDragMoveEvent
        +{
        +public:
        +    TQDragEnterEvent( const TQPoint& pos ) :
        +	TQDragMoveEvent(pos, DragEnter) { }
        +};
        +
        +
        +/* An internal class */
        +class TQ_EXPORT TQDragResponseEvent : public TQEvent
        +{
        +public:
        +    TQDragResponseEvent( bool accepted )
        +	: TQEvent(DragResponse), a(accepted) {}
        +    bool   dragAccepted() const	{ return a; }
        +protected:
        +    bool a;
        +};
        +
        +
        +class TQ_EXPORT TQDragLeaveEvent : public TQEvent
        +{
        +public:
        +    TQDragLeaveEvent()
        +	: TQEvent(DragLeave) {}
        +};
        +
        +#endif // TQT_NO_DRAGANDDROP
        +
        +class TQ_EXPORT TQChildEvent : public TQEvent
        +{
        +public:
        +    TQChildEvent( Type type, TQObject *child )
        +	: TQEvent(type), c(child) {}
        +    TQObject *child() const	{ return c; }
        +    bool inserted() const { return t == ChildInserted; }
        +    bool removed() const { return t == ChildRemoved; }
        +protected:
        +    TQObject *c;
        +};
        +
        +
        +class TQ_EXPORT TQCustomEvent : public TQEvent
        +{
        +public:
        +    TQCustomEvent( int type );
        +    TQCustomEvent( Type type, void *data )
        +	: TQEvent(type), d(data) {};
        +    void       *data()	const	{ return d; }
        +    void	setData( void* data )	{ d = data; }
        +private:
        +    void       *d;
        +};
        +
        +#endif // TQEVENT_H
        +
        + +


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqevent-members.html b/doc/html/tqevent-members.html new file mode 100644 index 000000000..5d5a53fc4 --- /dev/null +++ b/doc/html/tqevent-members.html @@ -0,0 +1,50 @@ + + + + + +TQEvent Member List + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        Complete Member List for TQEvent

        + +

        This is the complete list of member functions for +TQEvent, including inherited members. + +

        + +


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqevent.html b/doc/html/tqevent.html new file mode 100644 index 000000000..1c272778d --- /dev/null +++ b/doc/html/tqevent.html @@ -0,0 +1,193 @@ + + + + + +TQEvent Class + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        TQEvent Class Reference

        + +

        The TQEvent class is the base class of all +event classes. Event objects contain event parameters. +More... +

        #include <tqevent.h> +

        Inherits TQt. +

        Inherited by TQTimerEvent, TQMouseEvent, TQWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, TQShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent. +

        List of all member functions. +

        Public Members

        +
          +
        • enum Type { 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 }
        • +
        • TQEvent ( Type type )
        • +
        • virtual ~TQEvent ()
        • +
        • Type type () const
        • +
        • bool spontaneous () const
        • +
        +

        Detailed Description

        + + +The TQEvent class is the base class of all +event classes. Event objects contain event parameters. +

        + +

        TQt's main event loop (TQApplication::exec()) fetches native window +system events from the event queue, translates them into TQEvents +and sends the translated events to TQObjects. +

        In general, events come from the underlying window system +(spontaneous() returns TRUE) but it is also possible to manually +send events using TQApplication::sendEvent() and +TQApplication::postEvent() (spontaneous() returns FALSE). +

        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. +

        The basic TQEvent contains only an event type parameter. +Subclasses of TQEvent contain additional parameters that describe +the particular event. +

        See also TQObject::event(), TQObject::installEventFilter(), TQWidget::event(), TQApplication::sendEvent(), TQApplication::postEvent(), TQApplication::processEvents(), Environment Classes, and Event Classes. + +


        Member Type Documentation

        +

        TQEvent::Type

        + +

        This enum type defines the valid event types in TQt. The event +types and the specialized classes for each type are these: +

          +
        • TQEvent::None - Not an event. +
        • TQEvent::Accessibility - Accessibility information is requested +
        • TQEvent::Timer - Regular timer events, TQTimerEvent. +
        • TQEvent::MouseButtonPress - Mouse press, TQMouseEvent. +
        • TQEvent::MouseButtonRelease - Mouse release, TQMouseEvent. +
        • TQEvent::MouseButtonDblClick - Mouse press again, TQMouseEvent. +
        • TQEvent::MouseMove - Mouse move, TQMouseEvent. +
        • TQEvent::KeyPress - Key press (including Shift, for example), TQKeyEvent. +
        • TQEvent::KeyRelease - Key release, TQKeyEvent. +
        • TQEvent::IMStart - The start of input method composition, TQIMEvent. +
        • TQEvent::IMCompose - Input method composition is taking place, TQIMEvent. +
        • TQEvent::IMEnd - The end of input method composition, TQIMEvent. +
        • TQEvent::FocusIn - Widget gains keyboard focus, TQFocusEvent. +
        • TQEvent::FocusOut - Widget loses keyboard focus, TQFocusEvent. +
        • TQEvent::Enter - Mouse enters widget's boundaries. +
        • TQEvent::Leave - Mouse leaves widget's boundaries. +
        • TQEvent::Paint - Screen update necessary, TQPaintEvent. +
        • TQEvent::Move - Widget's position changed, TQMoveEvent. +
        • TQEvent::Resize - Widget's size changed, TQResizeEvent. +
        • TQEvent::Show - Widget was shown on screen, TQShowEvent. +
        • TQEvent::Hide - Widget was hidden, TQHideEvent. +
        • TQEvent::ShowToParent - A child widget has been shown. +
        • TQEvent::HideToParent - A child widget has been hidden. +
        • TQEvent::Close - Widget was closed (permanently), TQCloseEvent. +
        • TQEvent::ShowNormal - Widget should be shown normally (obsolete). +
        • TQEvent::ShowMaximized - Widget should be shown maximized (obsolete). +
        • TQEvent::ShowMinimized - Widget should be shown minimized (obsolete). +
        • TQEvent::ShowFullScreen - Widget should be shown full-screen (obsolete). +
        • TQEvent::ShowWindowRequest - Widget's window should be shown (obsolete). +
        • TQEvent::DeferredDelete - The object will be deleted after it has +cleaned up. +
        • TQEvent::Accel - Key press in child for shortcut key handling, TQKeyEvent. +
        • TQEvent::Wheel - Mouse wheel rolled, TQWheelEvent. +
        • TQEvent::ContextMenu - Context popup menu, TQContextMenuEvent +
        • TQEvent::AccelOverride - Key press in child, for overriding shortcut key handling, TQKeyEvent. +
        • TQEvent::AccelAvailable - internal. +
        • TQEvent::WindowActivate - Window was activated. +
        • TQEvent::WindowDeactivate - Window was deactivated. +
        • TQEvent::CaptionChange - Widget's caption changed. +
        • TQEvent::IconChange - Widget's icon changed. +
        • TQEvent::ParentFontChange - Font of the parent widget changed. +
        • TQEvent::ApplicationFontChange - Default application font changed. +
        • TQEvent::PaletteChange - Palette of the widget changed. +
        • TQEvent::ParentPaletteChange - Palette of the parent widget changed. +
        • TQEvent::ApplicationPaletteChange - Default application palette changed. +
        • TQEvent::Clipboard - Clipboard contents have changed. +
        • TQEvent::SockAct - Socket activated, used to implement TQSocketNotifier. +
        • TQEvent::DragEnter - A drag-and-drop enters widget, TQDragEnterEvent. +
        • TQEvent::DragMove - A drag-and-drop is in progress, TQDragMoveEvent. +
        • TQEvent::DragLeave - A drag-and-drop leaves widget, TQDragLeaveEvent. +
        • TQEvent::Drop - A drag-and-drop is completed, TQDropEvent. +
        • TQEvent::DragResponse - Internal event used by TQt on some platforms. +
        • TQEvent::ChildInserted - Object gets a child, TQChildEvent. +
        • TQEvent::ChildRemoved - Object loses a child, TQChildEvent. +
        • TQEvent::LayoutHint - Widget child has changed layout properties. +
        • TQEvent::ActivateControl - Internal event used by TQt on some platforms. +
        • TQEvent::DeactivateControl - Internal event used by TQt on some platforms. +
        • TQEvent::LanguageChange - The application translation changed, TQTranslator +
        • TQEvent::LayoutDirectionChange - The direction of layouts changed +
        • TQEvent::LocaleChange - The system locale changed +
        • TQEvent::Quit - Reserved. +
        • TQEvent::Create - Reserved. +
        • TQEvent::Destroy - Reserved. +
        • TQEvent::Reparent - Reserved. +
        • TQEvent::Speech - Reserved for speech input. +
        • TQEvent::TabletMove - A Wacom Tablet Move Event. +
        • TQEvent::Style - Internal use only +
        • TQEvent::TabletPress - A Wacom Tablet Press Event +
        • TQEvent::TabletRelease - A Wacom Tablet Release Event +
        • TQEvent::OkRequest - Internal event used by TQt on some platforms. +
        • TQEvent::HelpRequest - Internal event used by TQt on some platforms. +
        • TQEvent::IconDrag - Internal event used by TQt on some platforms when proxy icon is dragged. +
        • TQEvent::WindowStateChange - The window's state, i.e. minimized, +maximized or full-screen, has changed. See TQWidget::windowState(). +
        • TQEvent::WindowBlocked - The window is modally blocked +
        • TQEvent::WindowUnblocked - The window leaves modal blocking +
        • TQEvent::User - User defined event. +
        • TQEvent::MaxUser - Last user event id. +

        User events should have values between User and MaxUser inclusive. + +


        Member Function Documentation

        +

        TQEvent::TQEvent ( Type type ) +

        + +

        Contructs an event object of type type. + +

        TQEvent::~TQEvent () [virtual] +

        +Destroys the event. If it was posted, +it will be removed from the list of events to be posted. + +

        bool TQEvent::spontaneous () const +

        + +

        Returns TRUE if the event originated outside the application, i.e. +it is a system event; otherwise returns FALSE. + +

        Type TQEvent::type () const +

        + +

        Returns the event type. + + +


        +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqeventloop-h.html b/doc/html/tqeventloop-h.html new file mode 100644 index 000000000..c8374c943 --- /dev/null +++ b/doc/html/tqeventloop-h.html @@ -0,0 +1,167 @@ + + + + + +tqeventloop.h Include File + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        tqeventloop.h

        + +

        This is the verbatim text of the tqeventloop.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


        +
        +/****************************************************************************
        +** $Id: qt/tqeventloop.h   3.3.8   edited Jan 11 14:38 $
        +**
        +** Declaration of TQEventLoop class
        +**
        +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
        +**
        +** This file is part of the kernel module of the TQt GUI Toolkit.
        +**
        +** This file may be used under the terms of the GNU General Public
        +** License versions 2.0 or 3.0 as published by the Free Software
        +** Foundation and appearing in the file LICENSE.GPL included in the
        +** packaging of this file. Alternatively you may (at your option) use any
        +** later version of the GNU General Public License if such license has
        +** been publicly approved by Trolltech ASA (or its successors, if any)
        +** and the KDE Free TQt Foundation.
        +**
        +** Please review the following information to ensure GNU General
        +** Public Licensing requirements will be met:
        +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
        +** If you are unsure which license is appropriate for your use, please
        +** review the following information:
        +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
        +** or contact the sales department at sales@trolltech.com.
        +**
        +** This file may be used under the terms of the Q Public License as
        +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
        +** included in the packaging of this file.  Licensees holding valid TQt
        +** Commercial licenses may use this file in accordance with the TQt
        +** Commercial License Agreement provided with the Software.
        +**
        +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
        +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
        +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
        +** herein.
        +**
        +**********************************************************************/
        +
        +#ifndef TQEVENTLOOP_H
        +#define TQEVENTLOOP_H
        +
        +#ifndef QT_H
        +#include "tqobject.h"
        +#include "tqsocketnotifier.h"
        +#endif // QT_H
        +
        +class TQEventLoopPrivate;
        +class TQSocketNotifier;
        +class TQTimer;
        +#ifdef TQ_WS_MAC
        +struct timeval; //stdc struct
        +struct TimerInfo; //internal structure (tqeventloop_mac.cpp)
        +#endif
        +
        +#if defined(TQT_THREAD_SUPPORT)
        +class TQMutex;
        +#endif // TQT_THREAD_SUPPORT
        +
        +
        +class TQ_EXPORT TQEventLoop : public TQObject
        +{
        +    TQ_OBJECT
        +
        +public:
        +    TQEventLoop( TQObject *parent = 0, const char *name = 0 );
        +    ~TQEventLoop();
        +
        +    enum ProcessEvents {
        +	AllEvents		= 0x00,
        +	ExcludeUserInput	= 0x01,
        +	ExcludeSocketNotifiers	= 0x02,
        +	WaitForMore		= 0x04
        +    };
        +    typedef uint ProcessEventsFlags;
        +
        +    void processEvents( ProcessEventsFlags flags, int maxtime );
        +    virtual bool processEvents( ProcessEventsFlags flags );
        +
        +    virtual bool hasPendingEvents() const;
        +
        +    virtual void registerSocketNotifier( TQSocketNotifier * );
        +    virtual void unregisterSocketNotifier( TQSocketNotifier * );
        +    void setSocketNotifierPending( TQSocketNotifier * );
        +    int activateSocketNotifiers();
        +
        +    int activateTimers();
        +    int timeToWait() const;
        +
        +    virtual int exec();
        +    virtual void exit( int retcode = 0 );
        +
        +    virtual int enterLoop();
        +    virtual void exitLoop();
        +    virtual int loopLevel() const;
        +
        +    virtual void wakeUp();
        +
        +signals:
        +    void awake();
        +    void aboutToBlock();
        +
        +private:
        +#if defined(TQ_WS_MAC)
        +    friend TQMAC_PASCAL void qt_mac_select_timer_callbk(EventLoopTimerRef, void *);
        +    int macHandleSelect(timeval *);
        +    void macHandleTimer(TimerInfo *);
        +#endif // TQ_WS_MAC
        +
        +    // internal initialization/cleanup - implemented in various platform specific files
        +    void init();
        +    void cleanup();
        +    virtual void appStartingUp();
        +    virtual void appClosingDown();
        +
        +    // data for the default implementation - other implementations should not
        +    // use/need this data
        +    TQEventLoopPrivate *d;
        +
        +    friend class TQApplication;
        +};
        +
        +#endif // TQEVENTLOOP_H
        +
        + +


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqeventloop-members.html b/doc/html/tqeventloop-members.html new file mode 100644 index 000000000..db63118ed --- /dev/null +++ b/doc/html/tqeventloop-members.html @@ -0,0 +1,106 @@ + + + + + +TQEventLoop Member List + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        Complete Member List for TQEventLoop

        + +

        This is the complete list of member functions for +TQEventLoop, including inherited members. + +

        + +


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqeventloop.html b/doc/html/tqeventloop.html new file mode 100644 index 000000000..e2373c53e --- /dev/null +++ b/doc/html/tqeventloop.html @@ -0,0 +1,280 @@ + + + + + +TQEventLoop Class + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        TQEventLoop Class Reference

        + +

        The TQEventLoop class manages the event queue. +More... +

        #include <tqeventloop.h> +

        Inherits TQObject. +

        Inherited by TQMotif. +

        List of all member functions. +

        Public Members

        + +

        Signals

        + +

        Detailed Description

        + + +The TQEventLoop class manages the event queue. +

        + +

        It receives events from the window system and other sources. It +then sends them to TQApplication for processing and delivery. +

        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. +

        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. +

        To use your own instance of TQEventLoop or TQEventLoop subclass create +it before you create the TQApplication object. +

        See also Main Window and Related Classes and Event Classes. + +


        Member Type Documentation

        +

        TQEventLoop::ProcessEvents

        +

        This enum controls the types of events processed by the +processEvents() functions. +

          +
        • TQEventLoop::AllEvents - All events are processed +
        • TQEventLoop::ExcludeUserInput - Do not process user input events. +( ButtonPress, KeyPress, etc. ) +
        • TQEventLoop::ExcludeSocketNotifiers - Do not process socket notifier +events. +
        • TQEventLoop::WaitForMore - Wait for events if no pending events +are available. +

        See also processEvents(). + +

        TQEventLoop::ProcessEventsFlags

        +A typedef to allow various ProcessEvents values to be OR'ed together. +

        See also ProcessEvents. + +


        Member Function Documentation

        +

        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 TQApplication::eventLoop(). To create your own event loop object create +it before you instantiate the TQApplication object. +

        The parent and name arguments are passed on to the TQObject constructor. + +

        TQEventLoop::~TQEventLoop () +

        +Destructs the TQEventLoop object. + +

        void TQEventLoop::aboutToBlock () [signal] +

        +

        This signal is emitted before the event loop calls a function that +could block. +

        See also awake(). + +

        int TQEventLoop::activateSocketNotifiers () +

        +

        Activates all pending socket notifiers and returns the number of +socket notifiers that were activated. + +

        int TQEventLoop::activateTimers () +

        +

        Activates all TQt timers and returns the number of timers that were +activated. +

        TQEventLoop subclasses that do their own timer handling need to +call this after the time returned by timeToWait() has elapsed. +

        Note: This function is only useful on systems where select() 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. + +

        void TQEventLoop::awake () [signal] +

        +

        This signal is emitted after the event loop returns from a +function that could block. +

        See also wakeUp() and aboutToBlock(). + +

        int TQEventLoop::enterLoop () [virtual] +

        +

        This function enters the main event loop (recursively). Do not call +it unless you really know what you are doing. + +

        int TQEventLoop::exec () [virtual] +

        +Enters the main event loop and waits until exit() is called, and +returns the value that was set to exit(). +

        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. +

        Generally speaking, no user interaction can take place before +calling exec(). As a special case, modal widgets like TQMessageBox +can be used before calling exec(), because modal widgets call +exec() to start a local event loop. +

        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(). +

        See also TQApplication::quit(), exit(), and processEvents(). + +

        void TQEventLoop::exit ( int retcode = 0 ) [virtual] +

        +

        Tells the event loop to exit with a return code. +

        After this function has been called, the event loop returns from +the call to exec(). The exec() function returns retcode. +

        By convention, a retcode of 0 means success, and any non-zero +value indicates an error. +

        Note that unlike the C library function of the same name, this +function does return to the caller -- it is event processing that +stops. +

        See also TQApplication::quit() and exec(). + +

        void TQEventLoop::exitLoop () [virtual] +

        +

        This function exits from a recursive call to the main event loop. +Do not call it unless you really know what you are doing. + +

        bool TQEventLoop::hasPendingEvents () const [virtual] +

        +

        Returns TRUE if there is an event waiting, otherwise it returns FALSE. + +

        int TQEventLoop::loopLevel () const [virtual] +

        +

        Returns the current loop level. + +

        void TQEventLoop::processEvents ( ProcessEventsFlags flags, int maxTime ) +

        +Process pending events that match flags for a maximum of maxTime milliseconds, or until there are no more events to +process, which ever is shorter. +

        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. +

        NOTE: This function will not process events continuously; it +returns after all available events are processed. +

        NOTE: Specifying the WaitForMore flag makes no sense and will +be ignored. + +

        bool TQEventLoop::processEvents ( ProcessEventsFlags flags ) [virtual] +

        + +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

        Processes pending events that match flags until there are no +more events to process. +

        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. +

        If the WaitForMore flag is set in flags, the behavior of +this function is as follows: +

          +

        • If events are available, this function returns after processing +them. +

        • If no events are available, this function will wait until more +are available and return after processing newly available events. +

        +

        If the WaitForMore flag is not set in flags, and no +events are available, this function will return immediately. +

        NOTE: This function will not process events continuously; it +returns after all available events are processed. +

        This function returns TRUE if an event was processed; otherwise it +returns FALSE. +

        See also ProcessEvents and hasPendingEvents(). + +

        void TQEventLoop::registerSocketNotifier ( TQSocketNotifier * notifier ) [virtual] +

        +

        Registers notifier with the event loop. Subclasses need to +reimplement this method to tie a socket notifier into another +event loop. Reimplementations MUST call the base +implementation. + +

        void TQEventLoop::setSocketNotifierPending ( TQSocketNotifier * notifier ) +

        +

        Marks notifier as pending. The socket notifier will be +activated the next time activateSocketNotifiers() is called. + +

        int TQEventLoop::timeToWait () const +

        +

        Returns the number of milliseconds that TQt needs to handle its +timers or -1 if there are no timers running. +

        TQEventLoop subclasses that do their own timer handling need to use +this to make sure that TQt's timers continue to work. +

        Note: This function is only useful on systems where select() 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. + +

        void TQEventLoop::unregisterSocketNotifier ( TQSocketNotifier * notifier ) [virtual] +

        +

        Unregisters notifier from the event loop. Subclasses need to +reimplement this method to tie a socket notifier into another +event loop. Reimplementations MUST call the base +implementation. + +

        void TQEventLoop::wakeUp () [virtual] +

        Note: This function is thread-safe when TQt is built withthread support.

        + + +

        Wakes up the event loop. +

        See also awake(). + + +


        +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqicondragevent-members.html b/doc/html/tqicondragevent-members.html index 0b2897ad9..550ae7520 100644 --- a/doc/html/tqicondragevent-members.html +++ b/doc/html/tqicondragevent-members.html @@ -1,5 +1,5 @@ - + @@ -39,8 +39,8 @@ body { background: #ffffff; color: black; }
      • accept()
      • ignore()
      • isAccepted() -
      • spontaneous() -
      • type() +
      • spontaneous() +
      • type()


      diff --git a/doc/html/tqicondragevent.html b/doc/html/tqicondragevent.html index 022251e72..7d338cb22 100644 --- a/doc/html/tqicondragevent.html +++ b/doc/html/tqicondragevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

      The TQIconDragEvent class signals that a main icon drag has begun. More... -

      #include <ntqevent.h> -

      Inherits TQEvent. +

      #include <tqevent.h> +

      Inherits TQEvent.

      List of all member functions.

      Public Members

        diff --git a/doc/html/tqobject-h.html b/doc/html/tqobject-h.html index 55760f94f..78f4f0999 100644 --- a/doc/html/tqobject-h.html +++ b/doc/html/tqobject-h.html @@ -81,7 +81,7 @@ body { background: #ffffff; color: black; } #include "tqobjectdefs.h" #include "ntqwindowdefs.h" #include "tqstring.h" -#include "ntqevent.h" +#include "tqevent.h" #include "ntqnamespace.h" #endif // QT_H diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index 3b3262874..1aeb4eb38 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; }

        All the functions in this class are reentrant when TQt is built with thread support.

        #include <tqobject.h>

        Inherits TQt. --

        Inherited by TQAccel, TQAccessibleObject, TQAction, TQApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, TQNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, TQSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and TQValidator. +-

        Inherited by TQAccel, TQAccessibleObject, TQAction, TQApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, TQNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, TQSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and TQValidator.

        List of all member functions.

        Public Members

          @@ -231,7 +231,7 @@ This event handler can be reimplemented in a subclass to receive child events.

          Child events are sent to objects when children are inserted or removed. -

          Note that events with TQEvent::type() TQEvent::ChildInserted are +

          Note that events with TQEvent::type() TQEvent::ChildInserted are posted (with TQApplication::postEvent()) to make sure that the child's construction is completed before this function is called.

          If a child is removed immediately after it is inserted, the ChildInserted event may be suppressed, but the ChildRemoved @@ -356,7 +356,7 @@ signal. 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 +value at least as large as the "User" item of the TQEvent::Type enum, and is typically a TQCustomEvent or TQCustomEvent subclass.

          See also event() and TQCustomEvent. @@ -479,7 +479,7 @@ Dumps a tree of children to the debug output. library has been compiled in release mode (i.e. without debugging information). -

          bool TQObject::event ( TQEvent * e ) [virtual] +

          bool TQObject::event ( TQEvent * e ) [virtual]

          This virtual function receives events to an object and should return TRUE if the event e was recognized and processed. @@ -488,7 +488,7 @@ behavior of an object.

          See also installEventFilter(), timerEvent(), TQApplication::sendEvent(), TQApplication::postEvent(), and TQWidget::event().

          Reimplemented in TQWidget. -

          bool TQObject::eventFilter ( TQObject * watched, TQEvent * e ) [virtual] +

          bool TQObject::eventFilter ( TQObject * watched, TQEvent * e ) [virtual]

          Filters events if this object has been installed as an event filter for the watched object. @@ -867,7 +867,7 @@ some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some.

          The TQTimer class provides a high-level programming interface with one-shot timers and timer signals instead of events. -

          See also timerEvent(), killTimer(), killTimers(), TQEventLoop::awake(), and TQEventLoop::aboutToBlock(). +

          See also timerEvent(), killTimer(), killTimers(), TQEventLoop::awake(), and TQEventLoop::aboutToBlock().

          void TQObject::timerEvent ( TQTimerEvent * ) [virtual protected]

          diff --git a/doc/html/tqpaintevent-members.html b/doc/html/tqpaintevent-members.html index 836e79f85..5ee527ba0 100644 --- a/doc/html/tqpaintevent-members.html +++ b/doc/html/tqpaintevent-members.html @@ -1,5 +1,5 @@ - + @@ -39,8 +39,8 @@ body { background: #ffffff; color: black; }
        • erased()
        • rect()
        • region() -
        • spontaneous() -
        • type() +
        • spontaneous() +
        • type()


        diff --git a/doc/html/tqpaintevent.html b/doc/html/tqpaintevent.html index 71971c101..03333774a 100644 --- a/doc/html/tqpaintevent.html +++ b/doc/html/tqpaintevent.html @@ -1,5 +1,5 @@ - + @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

        The TQPaintEvent class contains event parameters for paint events. More... -

        #include <ntqevent.h> -

        Inherits TQEvent. +

        #include <tqevent.h> +

        Inherits TQEvent.

        List of all member functions.

        Public Members

          diff --git a/doc/html/tqtimerevent-members.html b/doc/html/tqtimerevent-members.html index ee12f0957..e08a492b8 100644 --- a/doc/html/tqtimerevent-members.html +++ b/doc/html/tqtimerevent-members.html @@ -1,5 +1,5 @@ - + @@ -36,9 +36,9 @@ body { background: #ffffff; color: black; }


          diff --git a/doc/html/tqtimerevent.html b/doc/html/tqtimerevent.html index 7fe8976ce..14c42fd00 100644 --- a/doc/html/tqtimerevent.html +++ b/doc/html/tqtimerevent.html @@ -1,5 +1,5 @@ - + @@ -34,8 +34,8 @@ body { background: #ffffff; color: black; }

          The TQTimerEvent class contains parameters that describe a timer event. More... -

          #include <ntqevent.h> -

          Inherits TQEvent. +

          #include <tqevent.h> +

          Inherits TQEvent.

          List of all member functions.

          Public Members

            diff --git a/doc/html/tqtranslator-h.html b/doc/html/tqtranslator-h.html new file mode 100644 index 000000000..e24783aaa --- /dev/null +++ b/doc/html/tqtranslator-h.html @@ -0,0 +1,212 @@ + + + + + +tqtranslator.h Include File + + + + + + + +
            + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

            tqtranslator.h

            + +

            This is the verbatim text of the tqtranslator.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


            +
            +/****************************************************************************
            +** $Id: qt/tqtranslator.h   3.3.8   edited Jan 11 14:46 $
            +**
            +** Definition of the translator class
            +**
            +** Created : 980906
            +**
            +** Copyright (C) 1998-2007 Trolltech ASA.  All rights reserved.
            +**
            +** This file is part of the kernel module of the TQt GUI Toolkit.
            +**
            +** This file may be used under the terms of the GNU General Public
            +** License versions 2.0 or 3.0 as published by the Free Software
            +** Foundation and appearing in the file LICENSE.GPL included in the
            +** packaging of this file. Alternatively you may (at your option) use any
            +** later version of the GNU General Public License if such license has
            +** been publicly approved by Trolltech ASA (or its successors, if any)
            +** and the KDE Free TQt Foundation.
            +**
            +** Please review the following information to ensure GNU General
            +** Public Licensing requirements will be met:
            +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
            +** If you are unsure which license is appropriate for your use, please
            +** review the following information:
            +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
            +** or contact the sales department at sales@trolltech.com.
            +**
            +** This file may be used under the terms of the Q Public License as
            +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
            +** included in the packaging of this file.  Licensees holding valid TQt
            +** Commercial licenses may use this file in accordance with the TQt
            +** Commercial License Agreement provided with the Software.
            +**
            +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
            +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
            +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
            +** herein.
            +**
            +**********************************************************************/
            +
            +
            +#ifndef TQTRANSLATOR_H
            +#define TQTRANSLATOR_H
            +
            +#ifndef QT_H
            +#include "tqobject.h"
            +#include "tqvaluelist.h"
            +#endif // QT_H
            +
            +#ifndef TQT_NO_TRANSLATION
            +
            +class TQTranslatorPrivate;
            +
            +class TQ_EXPORT TQTranslatorMessage
            +{
            +public:
            +    TQTranslatorMessage();
            +    TQTranslatorMessage( const char * context,
            +			const char * sourceText,
            +			const char * comment,
            +			const TQString& translation = TQString::null );
            +    TQTranslatorMessage( TQDataStream & );
            +    TQTranslatorMessage( const TQTranslatorMessage & m );
            +
            +    TQTranslatorMessage & operator=( const TQTranslatorMessage & m );
            +
            +    uint hash() const { return h; }
            +    const char *context() const { return cx; }
            +    const char *sourceText() const { return st; }
            +    const char *comment() const { return cm; }
            +
            +    void setTranslation( const TQString & translation ) { tn = translation; }
            +    TQString translation() const { return tn; }
            +
            +    enum Prefix { NoPrefix, Hash, HashContext, HashContextSourceText,
            +		  HashContextSourceTextComment };
            +    void write( TQDataStream & s, bool strip = FALSE,
            +		Prefix prefix = HashContextSourceTextComment ) const;
            +    Prefix commonPrefix( const TQTranslatorMessage& ) const;
            +
            +    bool operator==( const TQTranslatorMessage& m ) const;
            +    bool operator!=( const TQTranslatorMessage& m ) const
            +    { return !operator==( m ); }
            +    bool operator<( const TQTranslatorMessage& m ) const;
            +    bool operator<=( const TQTranslatorMessage& m ) const
            +    { return !m.operator<( *this ); }
            +    bool operator>( const TQTranslatorMessage& m ) const
            +    { return m.operator<( *this ); }
            +    bool operator>=( const TQTranslatorMessage& m ) const
            +    { return !operator<( m ); }
            +
            +private:
            +    uint h;
            +    TQCString cx;
            +    TQCString st;
            +    TQCString cm;
            +    TQString tn;
            +
            +    enum Tag { Tag_End = 1, Tag_SourceText16, Tag_Translation, Tag_Context16,
            +	       Tag_Hash, Tag_SourceText, Tag_Context, Tag_Comment,
            +	       Tag_Obsolete1 };
            +};
            +
            +
            +class TQ_EXPORT TQTranslator: public TQObject
            +{
            +    TQ_OBJECT
            +public:
            +    TQTranslator( TQObject * parent = 0, const char * name = 0 );
            +    ~TQTranslator();
            +
            +#ifndef TQT_NO_COMPAT
            +    TQString find( const char *context, const char *sourceText, const char * comment = 0 ) const {
            +	return findMessage( context, sourceText, comment ).translation();
            +    }
            +#endif
            +    virtual TQTranslatorMessage findMessage( const char *, const char *,
            +					    const char * = 0 ) const;
            +
            +    bool load( const TQString & filename,
            +	       const TQString & directory = TQString::null,
            +	       const TQString & search_delimiters = TQString::null,
            +	       const TQString & suffix = TQString::null );
            +    bool load( const uchar *data, int len ) {
            +	clear();
            +	return do_load( data, len );
            +    }
            +
            +    void clear();
            +
            +#ifndef TQT_NO_TRANSLATION_BUILDER
            +    enum SaveMode { Everything, Stripped };
            +
            +    bool save( const TQString & filename, SaveMode mode = Everything );
            +
            +    void insert( const TQTranslatorMessage& );
            +    void insert( const char *context, const char *sourceText, const TQString &translation ) {
            +	insert( TQTranslatorMessage(context, sourceText, "", translation) );
            +    }
            +    void remove( const TQTranslatorMessage& );
            +    void remove( const char *context, const char *sourceText ) {
            +	remove( TQTranslatorMessage(context, sourceText, "") );
            +    }
            +    bool contains( const char *, const char *, const char * comment = 0 ) const;
            +
            +    void squeeze( SaveMode = Everything );
            +    void unsqueeze();
            +
            +    TQValueList<TQTranslatorMessage> messages() const;
            +#endif
            +
            +    bool isEmpty() const;
            +
            +private:
            +#if defined(TQ_DISABLE_COPY)
            +    TQTranslator( const TQTranslator & );
            +    TQTranslator &operator=( const TQTranslator & );
            +#endif
            +
            +    bool do_load( const uchar *data, int len );
            +
            +    TQTranslatorPrivate * d;
            +};
            +
            +#endif // TQT_NO_TRANSLATION
            +
            +#endif
            +
            + +


            + +
            Copyright © 2007 +TrolltechTrademarks +
            TQt 3.3.8
            +
            + diff --git a/doc/html/tqtranslator-members.html b/doc/html/tqtranslator-members.html new file mode 100644 index 000000000..c8f7672b8 --- /dev/null +++ b/doc/html/tqtranslator-members.html @@ -0,0 +1,102 @@ + + + + + +TQTranslator Member List + + + + + + + +
            + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

            Complete Member List for TQTranslator

            + +

            This is the complete list of member functions for +TQTranslator, including inherited members. + +

            + +


            + +
            Copyright © 2007 +TrolltechTrademarks +
            TQt 3.3.8
            +
            + diff --git a/doc/html/tqtranslator.html b/doc/html/tqtranslator.html new file mode 100644 index 000000000..787175750 --- /dev/null +++ b/doc/html/tqtranslator.html @@ -0,0 +1,326 @@ + + + + + +TQTranslator Class + + + + + + + +
            + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

            TQTranslator Class Reference

            + +

            The TQTranslator class provides internationalization support for text +output. +More... +

            #include <tqtranslator.h> +

            Inherits TQObject. +

            List of all member functions. +

            Public Members

            +
              +
            • TQTranslator ( TQObject * parent = 0, const char * name = 0 )
            • +
            • ~TQTranslator ()
            • +
            • TQString find ( const char * context, const char * sourceText, const char * comment = 0 ) const  (obsolete)
            • +
            • virtual TQTranslatorMessage findMessage ( const char * context, const char * sourceText, const char * comment = 0 ) const
            • +
            • bool load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null )
            • +
            • bool load ( const uchar * data, int len )
            • +
            • void clear ()
            • +
            • enum SaveMode { Everything, Stripped }
            • +
            • bool save ( const TQString & filename, SaveMode mode = Everything )
            • +
            • void insert ( const TQTranslatorMessage & message )
            • +
            • void insert ( const char * context, const char * sourceText, const TQString & translation )  (obsolete)
            • +
            • void remove ( const TQTranslatorMessage & message )
            • +
            • void remove ( const char * context, const char * sourceText )  (obsolete)
            • +
            • bool contains ( const char * context, const char * sourceText, const char * comment = 0 ) const
            • +
            • void squeeze ( SaveMode mode = Everything )
            • +
            • void unsqueeze ()
            • +
            • TQValueList<TQTranslatorMessage> messages () const
            • +
            • bool isEmpty () const
            • +
            +

            Detailed Description

            + + +

            The TQTranslator class provides internationalization support for text +output. +

            + + +

            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. +

            The most common use of TQTranslator is to: load a translator file +created with TQt Linguist, +install it using TQApplication::installTranslator(), and use it via +TQObject::tr(). For example: +

            +    int main( int argc, char ** argv )
            +    {
            +        TQApplication app( argc, argv );
            +
            +        TQTranslator translator( 0 );
            +        translator.load( "french.qm", "." );
            +        app.installTranslator( &translator );
            +
            +        MyWidget m;
            +        app.setMainWidget( &m );
            +        m.show();
            +
            +        return app.exec();
            +    }
            +    
            + +Note that the translator must be created before the +application's main window. +

            Most applications will never need to do anything else with this +class. The other functions provided by this class are useful for +applications that work on translator files. +

            We call a translation a "messsage". For this reason, translation +files are sometimes referred to as "message files". +

            It is possible to lookup a translation using findMessage() (as +tr() and TQApplication::translate() do) and contains(), to insert a +new translation messsage using insert(), and to remove one using +remove(). +

            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(). +

            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. +

            "Everything" means that for each translation item the following +information is kept: +

              +
            • The translated text - the return value from tr(). +
            • The input key: +
                +
              • The source text - usually the argument to tr(). +
              • The context - usually the class name for the tr() caller. +
              • The comment - a comment that helps disambiguate different uses +of the same text in the same context. +
              +
            +

            The minimum for each item is just the information necessary for +findMessage() to return the right text. This may include the +source, context and comment, but usually it is just a hash value +and the translated text. +

            For example, the "Cancel" in a dialog might have "Anuluj" when the +program runs in Polish (in this case the source text would be +"Cancel"). The context would (normally) be the dialog's class +name; there would normally be no comment, and the translated text +would be "Anuluj". +

            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. +

            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. +

            See also TQTranslatorMessage, TQApplication::installTranslator(), TQApplication::removeTranslator(), TQObject::tr(), TQApplication::translate(), Environment Classes, and Internationalization with TQt. + +


            Member Type Documentation

            +

            TQTranslator::SaveMode

            + +

            This enum type defines how TQTranslator writes translation +files. There are two modes: +

              +
            • TQTranslator::Everything - files are saved with all available information +
            • TQTranslator::Stripped - files are saved with just enough information for +end-user applications +

            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. + +


            Member Function Documentation

            +

            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 name with parent parent. + +

            TQTranslator::~TQTranslator () +

            +Destroys the object and frees any allocated resources. + +

            void TQTranslator::clear () +

            +Empties this translator of all contents. +

            This function works with stripped translator files. + +

            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 +(context, sourceText, comment); otherwise returns FALSE. +

            This function works with stripped translator files. +

            (This is is a one-liner that calls findMessage().) + +

            TQString TQTranslator::find ( const char * context, const char * sourceText, const char * comment = 0 ) const +

            + +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

            Please use findMessage() instead. +

            Returns the translation for the key (context, sourceText, +comment) or TQString::null if there is none in this translator. + +

            TQTranslatorMessage TQTranslator::findMessage ( const char * context, const char * sourceText, const char * comment = 0 ) const [virtual] +

            Returns the TQTranslatorMessage for the key +(context, sourceText, comment). If none is found, +also tries (context, sourceText, ""). + +

            void TQTranslator::insert ( const TQTranslatorMessage & message ) +

            +Inserts message into this message file. +

            This function does not work with stripped translator files. It +may appear to, but that is not dependable. +

            See also remove(). + +

            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. +

            This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

            +

            bool TQTranslator::isEmpty () const +

            +Returns TRUE if this translator is empty, otherwise returns FALSE. +This function works with stripped and unstripped translation files. + +

            bool TQTranslator::load ( const TQString & filename, const TQString & directory = TQString::null, const TQString & search_delimiters = TQString::null, const TQString & suffix = TQString::null ) +

            +Loads filename, which may be an absolute file name or relative +to directory. The previous contents of this translator object +is discarded. Returns TRUE if the file is loaded successfully; +otherwise returns FALSE. +

            If the full file name does not exist, other file names are tried +in the following order: +

              +
            1. File name with suffix appended (".qm" if the suffix is +TQString::null). +
            2. File name with text after a character in search_delimiters +stripped ("_." is the default for search_delimiters if it is +TQString::null). +
            3. File name stripped and suffix appended. +
            4. File name stripped further, etc. +
            +

            For example, an application running in the fr_CA locale +(French-speaking Canada) might call load("foo.fr_ca", +"/opt/foolib"). load() would then try to open the first existing +readable file from this list: +

              +
            1. /opt/foolib/foo.fr_ca +
            2. /opt/foolib/foo.fr_ca.qm +
            3. /opt/foolib/foo.fr +
            4. /opt/foolib/foo.fr.qm +
            5. /opt/foolib/foo +
            6. /opt/foolib/foo.qm +
            +

            See also save(). + +

            Example: i18n/main.cpp. +

            bool TQTranslator::load ( const uchar * data, int len ) +

            +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

            +

            Loads the .qm file data data of length len into the +translator. Returns TRUE if the data is loaded successfully; +otherwise returns FALSE. +

            The data is not copied. The caller must be able to guarantee that data +will not be deleted or modified. + +

            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. +

            If you want to iterate over the list, you should iterate over a +copy, e.g. +

            +    TQValueList<TQTranslatorMessage> list = myTranslator.messages();
            +    TQValueList<TQTranslatorMessage>::Iterator it = list.begin();
            +    while ( it != list.end() ) {
            +        process_message( *it );
            +        ++it;
            +    }
            +  
            + + +

            void TQTranslator::remove ( const TQTranslatorMessage & message ) +

            +Removes message from this translator. +

            This function works with stripped translator files. +

            See also insert(). + +

            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. +

            This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

            Removes the translation associated to the key (context, sourceText, +"") from this translator. + +

            bool TQTranslator::save ( const TQString & filename, SaveMode mode = Everything ) +

            +Saves this message file to filename, overwriting the previous +contents of filename. If mode is Everything (the +default), all the information is preserved. If mode is Stripped, any information that is not necessary for findMessage() +is stripped away. +

            See also load(). + +

            void TQTranslator::squeeze ( SaveMode mode = Everything ) +

            +Converts this message file to the compact format used to store +message files on disk. +

            You should never need to call this directly; save() and other +functions call it as necessary. mode is for internal use. +

            See also save() and unsqueeze(). + +

            void TQTranslator::unsqueeze () +

            +Converts this message file into an easily modifiable data +structure, less compact than the format used in the files. +

            You should never need to call this function; it is called by +insert() and friends as necessary. +

            See also squeeze(). + + +


            +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


            + +
            Copyright © 2007 +TrolltechTrademarks +
            TQt 3.3.8
            +
            + diff --git a/doc/html/tqtranslatormessage-members.html b/doc/html/tqtranslatormessage-members.html new file mode 100644 index 000000000..cdaa4f16d --- /dev/null +++ b/doc/html/tqtranslatormessage-members.html @@ -0,0 +1,62 @@ + + + + + +TQTranslatorMessage Member List + + + + + + + +
            + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

            Complete Member List for TQTranslatorMessage

            + +

            This is the complete list of member functions for +TQTranslatorMessage, including inherited members. + +

            + +


            + +
            Copyright © 2007 +TrolltechTrademarks +
            TQt 3.3.8
            +
            + diff --git a/doc/html/tqtranslatormessage.html b/doc/html/tqtranslatormessage.html new file mode 100644 index 000000000..192d372fd --- /dev/null +++ b/doc/html/tqtranslatormessage.html @@ -0,0 +1,226 @@ + + + + + +TQTranslatorMessage Class + + + + + + + +
            + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

            TQTranslatorMessage Class Reference

            + +

            The TQTranslatorMessage class contains a translator message and its +properties. +More... +

            #include <tqtranslator.h> +

            List of all member functions. +

            Public Members

            +
              +
            • TQTranslatorMessage ()
            • +
            • TQTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null )
            • +
            • TQTranslatorMessage ( TQDataStream & stream )
            • +
            • TQTranslatorMessage ( const TQTranslatorMessage & m )
            • +
            • TQTranslatorMessage & operator= ( const TQTranslatorMessage & m )
            • +
            • uint hash () const
            • +
            • const char * context () const
            • +
            • const char * sourceText () const
            • +
            • const char * comment () const
            • +
            • void setTranslation ( const TQString & translation )
            • +
            • TQString translation () const
            • +
            • enum Prefix { NoPrefix, Hash, HashContext, HashContextSourceText, HashContextSourceTextComment }
            • +
            • void write ( TQDataStream & stream, bool strip = FALSE, Prefix prefix = HashContextSourceTextComment ) const
            • +
            • Prefix commonPrefix ( const TQTranslatorMessage & m ) const
            • +
            • bool operator== ( const TQTranslatorMessage & m ) const
            • +
            • bool operator!= ( const TQTranslatorMessage & m ) const
            • +
            • bool operator< ( const TQTranslatorMessage & m ) const
            • +
            • bool operator<= ( const TQTranslatorMessage & m ) const
            • +
            • bool operator> ( const TQTranslatorMessage & m ) const
            • +
            • bool operator>= ( const TQTranslatorMessage & m ) const
            • +
            +

            Detailed Description

            + + +

            The TQTranslatorMessage class contains a translator message and its +properties. +

            + +

            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. +

            For a TQTranslator object, a lookup key is a triple (context, source text, comment) that uniquely identifies a message. An +extended key is a quadruple (hash, context, source text, comment), where hash 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. +

            TQTranslatorMessage stores this triple or quadruple and the relevant +translation if there is any. +

            See also TQTranslator, Environment Classes, and Internationalization with TQt. + +


            Member Type Documentation

            +

            TQTranslatorMessage::Prefix

            + +

            Let (h, c, s, m) be the extended key. The possible +prefixes are +

              +
            • TQTranslatorMessage::NoPrefix - no prefix +
            • TQTranslatorMessage::Hash - only (h) +
            • TQTranslatorMessage::HashContext - only (h, c) +
            • TQTranslatorMessage::HashContextSourceText - only (h, c, s) +
            • TQTranslatorMessage::HashContextSourceTextComment - the whole extended key, (h, c, s, m) +

            See also write() and commonPrefix(). + +


            Member Function Documentation

            +

            TQTranslatorMessage::TQTranslatorMessage () +

            +Constructs a translator message with the extended key (0, 0, 0, 0) +and TQString::null as translation. + +

            TQTranslatorMessage::TQTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const TQString & translation = TQString::null ) +

            +Constructs an translator message with the extended key (h, context, sourceText, comment), where h is computed from +sourceText and comment, and possibly with a translation. + +

            TQTranslatorMessage::TQTranslatorMessage ( TQDataStream & stream ) +

            +Constructs a translator message read from the stream. The +resulting message may have any combination of content. +

            See also TQTranslator::save(). + +

            TQTranslatorMessage::TQTranslatorMessage ( const TQTranslatorMessage & m ) +

            +Constructs a copy of translator message m. + +

            const char * TQTranslatorMessage::comment () const +

            + +

            Returns the comment for this message (e.g. "File|Save"). +

            Warning: This may return 0 if the TQTranslator object is stripped +(compressed). + +

            Prefix TQTranslatorMessage::commonPrefix ( const TQTranslatorMessage & m ) const +

            +Returns the widest lookup prefix that is common to this translator +message and to message m. +

            For example, if the extended key is for this message is (71, +"PrintDialog", "Yes", "Print?") and that for m is (71, +"PrintDialog", "No", "Print?"), this function returns HashContext. +

            See also write(). + +

            const char * TQTranslatorMessage::context () const +

            + +

            Returns the context for this message (e.g. "MyDialog"). +

            Warning: This may return 0 if the TQTranslator object is stripped +(compressed). + +

            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. +

            The hashing function is unspecified, but it will remain unchanged +in future versions of TQt. + +

            bool TQTranslatorMessage::operator!= ( const TQTranslatorMessage & m ) const +

            + +

            Returns TRUE if the extended key of this object is different from +that of m; otherwise returns FALSE. + +

            bool TQTranslatorMessage::operator< ( const TQTranslatorMessage & m ) const +

            +Returns TRUE if the extended key of this object is +lexicographically before than that of m; otherwise returns +FALSE. + +

            bool TQTranslatorMessage::operator<= ( const TQTranslatorMessage & m ) const +

            + +

            Returns TRUE if the extended key of this object is +lexicographically before that of m or if they are equal; +otherwise returns FALSE. + +

            TQTranslatorMessage & TQTranslatorMessage::operator= ( const TQTranslatorMessage & m ) +

            +Assigns message m to this translator message and returns a +reference to this translator message. + +

            bool TQTranslatorMessage::operator== ( const TQTranslatorMessage & m ) const +

            +Returns TRUE if the extended key of this object is equal to that of +m; otherwise returns FALSE. + +

            bool TQTranslatorMessage::operator> ( const TQTranslatorMessage & m ) const +

            + +

            Returns TRUE if the extended key of this object is +lexicographically after that of m; otherwise returns FALSE. + +

            bool TQTranslatorMessage::operator>= ( const TQTranslatorMessage & m ) const +

            + +

            Returns TRUE if the extended key of this object is +lexicographically after that of m or if they are equal; +otherwise returns FALSE. + +

            void TQTranslatorMessage::setTranslation ( const TQString & translation ) +

            + +

            Sets the translation of the source text to translation. +

            See also translation(). + +

            const char * TQTranslatorMessage::sourceText () const +

            + +

            Returns the source text of this message (e.g. "&Save"). +

            Warning: This may return 0 if the TQTranslator object is stripped +(compressed). + +

            TQString TQTranslatorMessage::translation () const +

            + +

            Returns the translation of the source text (e.g., "&Sauvegarder"). +

            See also setTranslation(). + +

            void TQTranslatorMessage::write ( TQDataStream & stream, bool strip = FALSE, Prefix prefix = HashContextSourceTextComment ) const +

            +Writes this translator message to the stream. If strip is +FALSE (the default), all the information in the message is +written. If strip is TRUE, only the part of the extended key +specified by prefix is written with the translation (HashContextSourceTextComment by default). +

            See also commonPrefix(). + + +


            +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


            + +
            Copyright © 2007 +TrolltechTrademarks +
            TQt 3.3.8
            +
            + diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index 1063a49d2..3623121ea 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

            #include <tqwidget.h>

            Inherits TQObject and TQPaintDevice. --

            Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, TQNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, TQSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and TQXtWidget. +-

            Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, TQNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, TQSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and TQXtWidget.

            List of all member functions.

            Public Members

              @@ -663,7 +663,7 @@ parent. close() is called).

            There are also some rather obscure events. They are listed in -ntqevent.h and you need to reimplement event() to handle them. +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. @@ -681,7 +681,7 @@ indicates a "good" size for the widget.

          • If your widget is a top-level window, setCaption() and setIcon() set the title bar and icon respectively.

          -

          See also TQEvent, TQPainter, TQGridLayout, TQBoxLayout, and Abstract Widget Classes. +

          See also TQEvent, TQPainter, TQGridLayout, TQBoxLayout, and Abstract Widget Classes.


          Member Type Documentation

          TQWidget::BackgroundOrigin

          @@ -977,7 +977,7 @@ update the widget using update(). widget.

          See also enabled, enabled, repaint(), update(), and clipRegion(). -

          void TQWidget::enterEvent ( TQEvent * ) [virtual protected] +

          void TQWidget::enterEvent ( TQEvent * ) [virtual protected]

          This event handler can be reimplemented in a subclass to receive widget enter events. @@ -1022,7 +1022,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Returns the widget's erase pixmap.

          See also setErasePixmap() and eraseColor(). -

          bool TQWidget::event ( TQEvent * e ) [virtual protected] +

          bool TQWidget::event ( TQEvent * e ) [virtual protected]

          This is the main event handler; it handles event e. You can reimplement this function in a subclass, but we recommend using @@ -1424,7 +1424,7 @@ widget's children.

          See also sizePolicy.

          Examples: chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp. -

          void TQWidget::leaveEvent ( TQEvent * ) [virtual protected] +

          void TQWidget::leaveEvent ( TQEvent * ) [virtual protected]

          This event handler can be reimplemented in a subclass to receive widget leave events. @@ -3144,7 +3144,7 @@ sizeHint().

          This property holds whether the widget is under the mouse cursor.

          This value is not updated properly during drag and drop operations. -

          See also TQEvent::Enter and TQEvent::Leave. +

          See also TQEvent::Enter and TQEvent::Leave.

          Get this property's value with hasMouse().

          bool updatesEnabled

          diff --git a/doc/html/unicode.html b/doc/html/unicode.html index 61692afc2..ac031a6e4 100644 --- a/doc/html/unicode.html +++ b/doc/html/unicode.html @@ -94,7 +94,7 @@ translation support, like this:

    tr() (simplifying somewhat) maps from const char * to a -Unicode string, and uses installable TQTranslator objects to do the +Unicode string, and uses installable TQTranslator objects to do the mapping.

    TQt provides a number of built-in TQTextCodec classes, that is, classes that know how to translate between Unicode and legacy diff --git a/doc/html/whatsthis b/doc/html/whatsthis index fbf74ee06..481a976c4 100644 --- a/doc/html/whatsthis +++ b/doc/html/whatsthis @@ -21,7 +21,7 @@ Abstraction used by TQImageDecoder. | TQImageConsumer Access serialization between threads. | TQMutex Access to a selected area in a QTable. | QTableSelection Access to directory structures and their contents in a platform-independent way. | TQDir -Access to screen information on multi-head systems. | QDesktopWidget +Access to screen information on multi-head systems. | TQDesktopWidget Access to the platform audio facilities. | QSound Access to the session manager. | TQSessionManager Access to the window system clipboard. | TQClipboard @@ -181,7 +181,7 @@ Interface to report the lexical content of XML data. | TQXmlLexicalHandler Interface to report the logical content of XML data. | TQXmlContentHandler Interface to resolve external entities contained in XML data. | TQXmlEntityResolver Internal class, used with TQBitArray. | TQBitVal -Internationalization support for text output. | QTranslator +Internationalization support for text output. | TQTranslator Iterator for TQAsciiCache collections. | TQAsciiCacheIterator Iterator for TQAsciiDict collections. | TQAsciiDictIterator Iterator for TQCache collections. | TQCacheIterator @@ -216,7 +216,7 @@ Main application window, with a menu bar, dock windows (e.g. for toolbars), and Maintains the list of widgets in the focus chain. | QFocusData Manages and lays out QDockWindows. | QDockArea Manages the GUI application's control flow and main settings. | QApplication -Manages the event queue. | QEventLoop +Manages the event queue. | TQEventLoop Manipulates the fields in SQL database tables and views. | TQSqlField Maps open-standard MIME to Mac flavors. | TQMacMime Maps open-standard MIME to Window Clipboard formats. | TQWindowsMime @@ -342,7 +342,7 @@ The abstract base class of button widgets, providing functionality common to but The base class for all the nodes in a DOM tree. | TQDomNode The base class of I/O devices. | TQIODevice The base class of all TQt objects. | TQObject -The base class of all event classes. Event objects contain event parameters. | QEvent +The base class of all event classes. Event objects contain event parameters. | TQEvent The base class of all list box items. | QListBoxItem The base class of all user interface objects. | TQWidget The base class of dialog windows. | QDialog @@ -361,7 +361,7 @@ The structures in a QTabBar. | QTab Time editor. | TQTimeEdit Timer signals and single-shot timers. | TQTimer Tool tips (balloon help) for any widget or rectangular part of a widget. | TQToolTip -Translator message and its properties. | QTranslatorMessage +Translator message and its properties. | TQTranslatorMessage Tree of TQDomNodes which is not usually a complete TQDomDocument. | TQDomDocumentFragment URL parser and simplifies working with URLs. | TQUrl Used for installing custom colormaps into TQGLWidgets. | TQGLColormap -- cgit v1.2.3