diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-03 20:48:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-03 20:48:26 +0900 |
commit | 4161606c301841f973f0319f46e6853c4a3fe906 (patch) | |
tree | 192d1b081650aa96c7b69dcb38cc9e5d6415bfa4 | |
parent | 6964feed838dec70e7743ea90b390e4ae706d3c9 (diff) | |
download | tqt3-4161606c301841f973f0319f46e6853c4a3fe906.tar.gz tqt3-4161606c301841f973f0319f46e6853c4a3fe906.zip |
Remove documentation for Motif extension classes. Those classes are not included in tqt3 source code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
82 files changed, 64 insertions, 4962 deletions
@@ -11,7 +11,6 @@ bin Place for TQt executables (moc, uic, etc.) config.tests Qt configuration system doc Qt documentation in HTML and manpage format examples Qt example programs -extensions Qt extensions (Browser Plugin, Xt/Motif support, etc.) include Qt include files lib Place for the TQt libraries mkspecs Platform/compiler configuration files diff --git a/doc/editions.doc b/doc/editions.doc index 6df02c4f0..86543b00d 100644 --- a/doc/editions.doc +++ b/doc/editions.doc @@ -118,13 +118,6 @@ Editions. </td> <td width="100" align="center"><b>X</b></td> </tr> - <tr> - <td><a href="motif-extension.html"><b>TQMotif extension</b></a><br> - Motif co-existence and migration support.</td> - <td width="100" align="center"><br> - </td> - <td width="100" align="center"><b>X</b></td> - </tr> </table> */ diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 60709674a..562855252 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -240,11 +240,8 @@ body { background: #ffffff; color: black; } <tr bgcolor=#f0f0f0><td><b><a href="tqmetaproperty.html">TQMetaProperty</a></b><td>Stores meta data about a property <tr bgcolor=#f0f0f0><td><b><a href="tqmimesource.html">TQMimeSource</a></b><td>Abstraction of objects which provide formatted data of a certain MIME type <tr bgcolor=#f0f0f0><td><b><a href="tqmimesourcefactory.html">TQMimeSourceFactory</a></b><td>Extensible provider of mime-typed data -<tr bgcolor=#f0f0f0><td><b><a href="tqmotif.html">TQMotif</a></b><td>The basis of the <a href="motif-extension.html#Motif">Motif</a> Extension -<tr bgcolor=#f0f0f0><td><b><a href="tqmotifdialog.html">TQMotifDialog</a></b><td>The TQDialog API for Motif-based dialogs <tr bgcolor=#f0f0f0><td><b><a href="tqmotifplusstyle.html">TQMotifPlusStyle</a></b><td>More sophisticated Motif-ish look and feel <tr bgcolor=#f0f0f0><td><b><a href="tqmotifstyle.html">TQMotifStyle</a></b><td>Motif look and feel -<tr bgcolor=#f0f0f0><td><b><a href="tqmotifwidget.html">TQMotifWidget</a></b><td>The TQWidget API for Xt/Motif widgets <tr bgcolor=#f0f0f0><td><b><a href="tqmouseevent.html">TQMouseEvent</a></b><td>Parameters that describe a mouse event <tr bgcolor=#f0f0f0><td><b><a href="tqmoveevent.html">TQMoveEvent</a></b><td>Event parameters for move events <tr bgcolor=#f0f0f0><td><b><a href="tqmovie.html">TQMovie</a></b><td>Incremental loading of animations or images, signalling as it progresses diff --git a/doc/html/classes.html b/doc/html/classes.html index a01228231..e7d97b533 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -625,8 +625,8 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="tqgbkcodec.html">TQGbkCodec</a> <td align="right"> -<td><a href="tqmotif.html">TQMotif</a> -*<td align="right"> +<td align="right"> +<td align="right"> <td><a href="tqsqldatabase.html">TQSqlDatabase</a> <td align="right"> <td><a href="tqwidgetplugin.html">TQWidgetPlugin</a> @@ -636,8 +636,8 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td align="right"> <td align="right"> -<td><a href="tqmotifdialog.html">TQMotifDialog</a> -*<td align="right"> +<td align="right"> +<td align="right"> <td><a href="tqsqldriver.html">TQSqlDriver</a> <td align="right"> <td><a href="tqwidgetstack.html">TQWidgetStack</a> @@ -669,8 +669,8 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> <td><a href="tqglayoutiterator.html">TQGLayoutIterator</a> <td align="right"> -<td><a href="tqmotifwidget.html">TQMotifWidget</a> -*<td align="right"> +<td align="right"> +<td align="right"> <td><a href="tqsqlerror.html">TQSqlError</a> <td align="right"> <td><a href="tqwizard.html">TQWizard</a> @@ -961,8 +961,6 @@ classes, see <a href="mainclasses.html">TQt's Main Classes</a>. <td align="right"> </table> -<p> * Extension classes of <a href="motif-extension.html#Motif">Motif</a></a>. - <!-- eof --> <p><address><hr><div align=center> diff --git a/doc/html/customstyles.html b/doc/html/customstyles.html index 9bca441c7..dab94e510 100644 --- a/doc/html/customstyles.html +++ b/doc/html/customstyles.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } <p> A style in TQt implements the look and feel found in a GUI for a particular platform. For example, Windows platforms may use the -Windows or Windows-XP style, Unix platforms may use the <a href="motif-extension.html#Motif">Motif</a> style, +Windows or Windows-XP style, Unix platforms may use the Motif style, and so on. <p> This is a short guide that describes the steps that are necessary to get started creating and using custom styles with the TQt 3.x style diff --git a/doc/html/dnd.html b/doc/html/dnd.html index 53cc80fdb..b5c4170be 100644 --- a/doc/html/dnd.html +++ b/doc/html/dnd.html @@ -339,7 +339,7 @@ TQt has facilities for translating proprietary clipboard formats to and from MIME types. This interface will be made public at some time, but if you need to do such translations now, contact your TQt Technical Support service. -<p> On X11, TQt also supports drops via the <a href="motif-extension.html#Motif">Motif</a> Drag&Drop Protocol. The +<p> On X11, TQt also supports drops via the Motif Drag&Drop Protocol. The implementation incorporates some code that was originally written by Daniel Dardailler, and adapted for TQt by Matt Koss <koss@napri.sk> and Trolltech. Here is the original copyright notice: diff --git a/doc/html/editions.html b/doc/html/editions.html index d8b9915e4..bf32ca1f1 100644 --- a/doc/html/editions.html +++ b/doc/html/editions.html @@ -107,18 +107,6 @@ Well-formed XML parser with SAX interface and DOM Level 1.</td> </td> <td width="100" align="center"><b>X</b></td> </tr> -<tr> -<td width="100" align="center"><br> -</td> -<td width="100" align="center"><b>X</b></td> -</tr> -<tr> -<td><a href="motif-extension.html"><b>TQMotif extension</b></a><br> -<a href="motif-extension.html#Motif">Motif</a> co-existence and migration support.</td> -<td width="100" align="center"><br> -</td> -<td width="100" align="center"><b>X</b></td> -</tr> </table> <p> <!-- eof --> diff --git a/doc/html/examples.html b/doc/html/examples.html index 33046591f..9bbea63e4 100644 --- a/doc/html/examples.html +++ b/doc/html/examples.html @@ -58,11 +58,6 @@ in a line-by-line coverage please refer to the tutorials <li> <a href="table-examples.html">Table examples</a> <li> <a href="sql-examples.html">SQL examples</a> </ul> -<p> <h2> TQt Extensions: Assorted Examples -</h2> -<a name="3"></a><p> <ul> -<li> <a href="motif-examples.html">TQMotif support extension</a> -</ul> <p> <h2> Miscellaneous Examples </h2> <a name="4"></a><p> diff --git a/doc/html/functions.html b/doc/html/functions.html index cec33522b..1d495d7d2 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -55,8 +55,7 @@ abort: <a href="tqdir.html#absPath">TQDir</a><li>accel: <a href="tqaction.html#accel">TQAction</a> <a href="tqbutton.html#accel">TQButton</a> <a href="tqbutton.html#accel">TQCheckBox</a> <a href="tqmenudata.html#accel">TQMenuData</a> <a href="tqmenudata.html#accel">TQPopupMenu</a> <a href="tqbutton.html#accel">TQPushButton</a> <a href="tqbutton.html#accel">TQRadioButton</a><li>accept: <a href="tqcloseevent.html#accept">TQCloseEvent</a> <a href="tqcontextmenuevent.html#accept">TQContextMenuEvent</a> <a href="tqdialog.html#accept">TQDialog</a> <a href="tqdragmoveevent.html#accept">TQDragMoveEvent</a> <a href="tqdropevent.html#accept">TQDropEvent</a> <a href="tqimevent.html#accept">TQIMEvent</a> <a href="tqicondragevent.html#accept">TQIconDragEvent</a> <a href="tqkeyevent.html#accept">TQKeyEvent</a> <a href="tqmouseevent.html#accept">TQMouseEvent</a> <a href="tqsocketdevice.html#accept">TQSocketDevice</a> <a href="tqtabletevent.html#accept">TQTabletEvent</a> <a href="qwheelevent.html#accept">TQWheelEvent</a><li>acceptAction: - <a href="tqdropevent.html#acceptAction">TQDropEvent</a><li>acceptCallback: - <a href="tqmotifdialog.html#acceptCallback">TQMotifDialog</a><li>acceptDrop: + <a href="tqdropevent.html#acceptAction">TQDropEvent</a><li>acceptDrop: <a href="tqiconviewitem.html#acceptDrop">TQIconViewItem</a> <a href="tqlistviewitem.html#acceptDrop">TQListViewItem</a><li>acceptDrops: <a href="tqwidget.html#acceptDrops">TQWidget</a><li>accum: <a href="tqglformat.html#accum">TQGLFormat</a><li>action: @@ -153,8 +152,7 @@ abort: <a href="tqdragmoveevent.html#answerRect">TQDragMoveEvent</a><li>append: <a href="tqcstring.html#append">TQCString</a> <a href="tqicondrag.html#append">TQIconDrag</a> <a href="tqptrlist.html#append">TQPtrList</a> <a href="tqsqlcursor.html#append">TQSqlCursor</a> <a href="tqsqlindex.html#append">TQSqlIndex</a> <a href="tqsqlrecord.html#append">TQSqlRecord</a> <a href="tqstring.html#append">TQString</a> <a href="tqtextedit.html#append">TQTextEdit</a> <a href="tqvaluelist.html#append">TQValueList</a> <a href="tqvaluevector.html#append">TQValueVector</a> <a href="tqxmlattributes.html#append">TQXmlAttributes</a><li>appendChild: <a href="tqdomnode.html#appendChild">TQDomNode</a><li>appendData: - <a href="tqdomcharacterdata.html#appendData">TQDomCharacterData</a><li>applicationContext: - <a href="tqmotif.html#applicationContext">TQMotif</a><li>applicationDirPath: + <a href="tqdomcharacterdata.html#appendData">TQDomCharacterData</a><li>applicationDirPath: <a href="ntqapplication.html#applicationDirPath">TQApplication</a><li>applicationFilePath: <a href="ntqapplication.html#applicationFilePath">TQApplication</a><li>applyButtonPressed: <a href="tqtabdialog.html#applyButtonPressed">TQTabDialog</a><li>appropriate: @@ -702,8 +700,7 @@ dark: <a href="tqglcontext.html#deviceIsPixmap">TQGLContext</a><li>dialMoved: <a href="tqdial.html#dialMoved">TQDial</a><li>dialPressed: <a href="tqdial.html#dialPressed">TQDial</a><li>dialReleased: - <a href="tqdial.html#dialReleased">TQDial</a><li>dialog: - <a href="tqmotifdialog.html#dialog">TQMotifDialog</a><li>digitValue: + <a href="tqdial.html#dialReleased">TQDial</a><li>digitValue: <a href="tqchar.html#digitValue">TQChar</a><li>dimensionChange: <a href="tqgridview.html#dimensionChange">TQGridView</a><li>dir: <a href="tqfiledialog.html#dir">TQFileDialog</a> <a href="tqfileinfo.html#dir">TQFileInfo</a><li>dirEntered: @@ -1250,7 +1247,7 @@ icon: <a href="tqcloseevent.html#isAccepted">TQCloseEvent</a> <a href="tqcontextmenuevent.html#isAccepted">TQContextMenuEvent</a> <a href="tqdropevent.html#isAccepted">TQDropEvent</a> <a href="tqimevent.html#isAccepted">TQIMEvent</a> <a href="tqicondragevent.html#isAccepted">TQIconDragEvent</a> <a href="tqkeyevent.html#isAccepted">TQKeyEvent</a> <a href="tqmouseevent.html#isAccepted">TQMouseEvent</a> <a href="tqtabletevent.html#isAccepted">TQTabletEvent</a> <a href="qwheelevent.html#isAccepted">TQWheelEvent</a><li>isActionAccepted: <a href="tqdropevent.html#isActionAccepted">TQDropEvent</a><li>isActive: <a href="tqaccessible.html#isActive">TQAccessible</a> <a href="tqcanvasitem.html#isActive">TQCanvasItem</a> <a href="tqpainter.html#isActive">TQPainter</a> <a href="tqsqlquery.html#isActive">TQSqlQuery</a> <a href="tqsqlresult.html#isActive">TQSqlResult</a> <a href="tqtableselection.html#isActive">TQTableSelection</a> <a href="tqtimer.html#isActive">TQTimer</a><li>isActiveWindow: - <a href="tqwidget.html#isActiveWindow">TQWidget</a> <a href="qxtwidget.html#isActiveWindow">TQXtWidget</a><li>isAnchor: + <a href="tqwidget.html#isActiveWindow">TQWidget</a><li>isAnchor: <a href="tqstylesheetitem.html#isAnchor">TQStyleSheetItem</a><li>isAsynchronous: <a href="tqiodevice.html#isAsynchronous">TQIODevice</a><li>isAttr: <a href="tqdomattr.html#isAttr">TQDomAttr</a> <a href="tqdomnode.html#isAttr">TQDomNode</a><li>isAutoRepeat: @@ -1653,8 +1650,7 @@ m11: <a href="tqdir.html#mkdir">TQDir</a> <a href="tqftp.html#mkdir">TQFtp</a> <a href="tqurloperator.html#mkdir">TQUrlOperator</a><li>mode: <a href="tqfiledialog.html#mode">TQFileDialog</a> <a href="tqiodevice.html#mode">TQIODevice</a> <a href="tqlcdnumber.html#mode">TQLCDNumber</a> <a href="tqsqlcursor.html#mode">TQSqlCursor</a><li>modificationChanged: <a href="tqtextedit.html#modificationChanged">TQTextEdit</a><li>month: - <a href="tqdate.html#month">TQDate</a><li>motifWidget: - <a href="tqmotifwidget.html#motifWidget">TQMotifWidget</a><li>mouseButtonClicked: + <a href="tqdate.html#month">TQDate</a><li>mouseButtonClicked: <a href="tqiconview.html#mouseButtonClicked">TQIconView</a> <a href="tqlistbox.html#mouseButtonClicked">TQListBox</a> <a href="tqlistview.html#mouseButtonClicked">TQListView</a><li>mouseButtonPressed: <a href="tqiconview.html#mouseButtonPressed">TQIconView</a> <a href="tqlistbox.html#mouseButtonPressed">TQListBox</a> <a href="tqlistview.html#mouseButtonPressed">TQListView</a><li>mouseDoubleClickEvent: <a href="tqwidget.html#mouseDoubleClickEvent">TQWidget</a><li>mouseGrabber: @@ -2085,8 +2081,7 @@ rBottom: <a href="tqeventloop.html#registerSocketNotifier">TQEventLoop</a><li>registerSqlDriver: <a href="tqsqldatabase.html#registerSqlDriver">TQSqlDatabase</a><li>rehighlight: <a href="tqsyntaxhighlighter.html#rehighlight">TQSyntaxHighlighter</a><li>reject: - <a href="tqdialog.html#reject">TQDialog</a><li>rejectCallback: - <a href="tqmotifdialog.html#rejectCallback">TQMotifDialog</a><li>release: + <a href="tqdialog.html#reject">TQDialog</a><li>release: <a href="tqsessionmanager.html#release">TQSessionManager</a><li>releaseKeyboard: <a href="tqwidget.html#releaseKeyboard">TQWidget</a><li>releaseMouse: <a href="tqwidget.html#releaseMouse">TQWidget</a><li>released: @@ -2297,7 +2292,7 @@ sRect: <a href="tqdropevent.html#setAction">TQDropEvent</a><li>setActive: <a href="tqcanvasitem.html#setActive">TQCanvasItem</a> <a href="tqpalette.html#setActive">TQPalette</a> <a href="tqsqlresult.html#setActive">TQSqlResult</a><li>setActiveItem: <a href="tqpopupmenu.html#setActiveItem">TQPopupMenu</a><li>setActiveWindow: - <a href="tqwidget.html#setActiveWindow">TQWidget</a> <a href="qxtwidget.html#setActiveWindow">TQXtWidget</a><li>setAddress: + <a href="tqwidget.html#setActiveWindow">TQWidget</a><li>setAddress: <a href="tqhostaddress.html#setAddress">TQHostAddress</a><li>setAddressReusable: <a href="tqsocketdevice.html#setAddressReusable">TQSocketDevice</a><li>setAdvancePeriod: <a href="tqcanvas.html#setAdvancePeriod">TQCanvas</a><li>setAlignment: @@ -3000,8 +2995,7 @@ sRect: <a href="tqlistviewitem.html#setup">TQListViewItem</a> <a href="tqprinter.html#setup">TQPrinter</a><li>shadow: <a href="tqcolorgroup.html#shadow">TQColorGroup</a><li>shape: <a href="tqcursor.html#shape">TQCursor</a> <a href="tqtabbar.html#shape">TQTabBar</a><li>shear: - <a href="tqpainter.html#shear">TQPainter</a> <a href="tqwmatrix.html#shear">TQWMatrix</a><li>shell: - <a href="tqmotifdialog.html#shell">TQMotifDialog</a><li>shortDayName: + <a href="tqpainter.html#shear">TQPainter</a> <a href="tqwmatrix.html#shear">TQWMatrix</a><li>shortDayName: <a href="tqdate.html#shortDayName">TQDate</a><li>shortMonthName: <a href="tqdate.html#shortMonthName">TQDate</a><li>shortcutKey: <a href="tqaccel.html#shortcutKey">TQAccel</a><li>show: @@ -3487,8 +3481,8 @@ x: <a href="tqpaintdevice.html#x11DefaultColormap">TQPaintDevice</a><li>x11DefaultVisual: <a href="tqpaintdevice.html#x11DefaultVisual">TQPaintDevice</a><li>x11Depth: <a href="tqpaintdevice.html#x11Depth">TQPaintDevice</a><li>x11Display: - <a href="tqmotif.html#x11Display">TQMotif</a> <a href="tqpaintdevice.html#x11Display">TQPaintDevice</a><li>x11Event: - <a href="tqwidget.html#x11Event">TQMotifWidget</a> <a href="tqwidget.html#x11Event">TQWidget</a> <a href="qxtwidget.html#x11Event">TQXtWidget</a><li>x11EventFilter: + <a href="tqpaintdevice.html#x11Display">TQPaintDevice</a><li>x11Event: + <a href="tqwidget.html#x11Event">TQWidget</a><li>x11EventFilter: <a href="ntqapplication.html#x11EventFilter">TQApplication</a><li>x11ProcessEvent: <a href="ntqapplication.html#x11ProcessEvent">TQApplication</a><li>x11Screen: <a href="tqpaintdevice.html#x11Screen">TQPaintDevice</a><li>x11SetAppDpiX: @@ -3498,8 +3492,7 @@ x: <a href="tqbitmap.html#xForm">TQBitmap</a> <a href="tqimage.html#xForm">TQImage</a> <a href="tqpainter.html#xForm">TQPainter</a> <a href="tqpixmap.html#xForm">TQPixmap</a><li>xFormDev: <a href="tqpainter.html#xFormDev">TQPainter</a><li>xTilt: <a href="tqtabletevent.html#xTilt">TQTabletEvent</a><li>xVelocity: - <a href="tqcanvasitem.html#xVelocity">TQCanvasItem</a><li>xtWidget: - <a href="qxtwidget.html#xtWidget">TQXtWidget</a><li><a name="y"></a> + <a href="tqcanvasitem.html#xVelocity">TQCanvasItem</a><li><a name="y"></a> y: <a href="tqcanvasitem.html#y">TQCanvasItem</a> <a href="tqcontextmenuevent.html#y">TQContextMenuEvent</a> <a href="tqiconviewitem.html#y">TQIconViewItem</a> <a href="tqmouseevent.html#y">TQMouseEvent</a> <a href="tqpoint.html#y">TQPoint</a> <a href="tqrect.html#y">TQRect</a> <a href="tqtabletevent.html#y">TQTabletEvent</a> <a href="qwheelevent.html#y">TQWheelEvent</a> <a href="tqwidget.html#y">TQWidget</a><li>yTilt: <a href="tqtabletevent.html#yTilt">TQTabletEvent</a><li>yVelocity: diff --git a/doc/html/guibooks.html b/doc/html/guibooks.html index 981f15e86..9612d5ca8 100644 --- a/doc/html/guibooks.html +++ b/doc/html/guibooks.html @@ -51,7 +51,7 @@ supposed to use. alphabetical dictionary of widgets and other user interface elements, with comprehensive coverage of each. Each chapter covers one widget or other element, contains the most important recommendation from the -Macintosh, Windows and <a href="motif-extension.html#Motif">Motif</a> style guides, notes about common +Macintosh, Windows and Motif style guides, notes about common problems, comparison with other widgets that can serve some of the same roles as this one, etc. <p> <a href="http://www.amazon.com/exec/obidos/ASIN/0070592748/trolltech/t">(Read more or buy it.)</a> diff --git a/doc/html/headers.html b/doc/html/headers.html index b71e332af..6abd63c27 100644 --- a/doc/html/headers.html +++ b/doc/html/headers.html @@ -140,11 +140,8 @@ body { background: #ffffff; color: black; } <li><a href="tqmessagebox-h.html">tqmessagebox.h</a> <li><a href="tqmetaobject-h.html">tqmetaobject.h</a> <li><a href="tqmime-h.html">tqmime.h</a> -<li><a href="tqmotif-h.html">tqmotif.h</a> -<li><a href="tqmotifdialog-h.html">tqmotifdialog.h</a> <li><a href="tqmotifplusstyle-h.html">tqmotifplusstyle.h</a> <li><a href="tqmotifstyle-h.html">tqmotifstyle.h</a> -<li><a href="tqmotifwidget-h.html">tqmotifwidget.h</a> <li><a href="tqmovie-h.html">tqmovie.h</a> <li><a href="tqmultilineedit-h.html">tqmultilineedit.h</a> <li><a href="tqmutex-h.html">tqmutex.h</a> @@ -273,7 +270,6 @@ body { background: #ffffff; color: black; } <li><a href="tqwmatrix-h.html">tqwmatrix.h</a> <li><a href="tqworkspace-h.html">tqworkspace.h</a> <li><a href="tqxml-h.html">tqxml.h</a> -<li><a href="qxtwidget-h.html">qxtwidget.h</a> </ul> diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 419e69b58..19f6000d7 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -323,8 +323,6 @@ classes in the TQt API. </ul> <li><a href="tqeventloop.html">TQEventLoop</a> <ul> -<li><a href="tqmotif.html">TQMotif</a> -</ul> <li><a href="tqfileiconprovider.html">TQFileIconProvider</a> <li><a href="tqlayout.html">TQLayout</a> <ul> @@ -410,7 +408,6 @@ classes in the TQt API. <li><a href="tqfontdialog.html">TQFontDialog</a> <li><a href="tqinputdialog.html">TQInputDialog</a> <li><a href="tqmessagebox.html">TQMessageBox</a> -<li><a href="tqmotifdialog.html">TQMotifDialog</a> <li><a href="tqprogressdialog.html">TQProgressDialog</a> <li><a href="tqtabdialog.html">TQTabDialog</a> <li><a href="tqwizard.html">TQWizard</a> @@ -468,7 +465,6 @@ classes in the TQt API. <li><a href="tqglwidget.html">TQGLWidget</a> <li><a href="tqheader.html">TQHeader</a> <li><a href="tqmainwindow.html">TQMainWindow</a> -<li><a href="tqmotifwidget.html">TQMotifWidget</a> <li><a href="tqscrollbar.html">TQScrollBar</a> <li><a href="tqsizegrip.html">TQSizeGrip</a> <li><a href="tqslider.html">TQSlider</a> @@ -478,7 +474,6 @@ classes in the TQt API. <li><a href="tqtabbar.html">TQTabBar</a> <li><a href="tqtabwidget.html">TQTabWidget</a> <li><a href="tqworkspace.html">TQWorkspace</a> -<li><a href="qxtwidget.html">TQXtWidget</a> </ul> <li><a href="tqpainter.html">TQPainter</a> <li><a href="tqpen.html">TQPen</a> diff --git a/doc/html/index b/doc/html/index index 5914351d6..ce66e4c63 100644 --- a/doc/html/index +++ b/doc/html/index @@ -3,7 +3,6 @@ "A Complete Application Window with Actions" tqaction-application-example.html "A Complete Canvas Application" canvas-chart-example.html "A Directory Browser" dirview-example.html -"A Motif Dialog" motif-dialog-example.html "A Rectangle Draw \"Benchmark\"" forever-example.html "A Small Application for Testing Regular Expressions" regexptester-example.html "A Tiny Example Featuring a Toggle Action" toggleaction-example.html @@ -36,7 +35,6 @@ "Class Inheritance Hierarchy" hierarchy.html "Company Information" troll.html "Connect the Points" drawlines-example.html -"Continuing Development" motif-walkthrough-10.html "Conway's Game of Life" life-example.html "Cursors" cursor-example.html "Customized Layoutmanager" customlayout-example.html @@ -54,7 +52,6 @@ "Font Displayer" qfd-example.html "Format of the TQDataStream Operators" datastreamformat.html "GNU General Public License" gpl.html -"Getting Started" motif-walkthrough-1.html "Grouped Classes" groups.html "Header File Index" headers.html "Hello, World" hello-example.html @@ -101,7 +98,6 @@ "Pictures of Most TQt Widgets" pictures.html "Popup Widgets" popup-example.html "Porting to TQt 3.x" porting.html -"Preparing to Migrate the User Interface" motif-walkthrough-2.html "Presenting the GUI" tutorial2-05.html "Progress Bar" progressbar-example.html "Progress Bar and Dialog Example" progress-example.html @@ -4040,23 +4036,10 @@ "TQMimeSourceFactory::setText" tqmimesourcefactory.html#setText "TQMimeSourceFactory::takeDefaultFactory" tqmimesourcefactory.html#takeDefaultFactory "TQMimeSourceFactory::~TQMimeSourceFactory" tqmimesourcefactory.html#~TQMimeSourceFactory -"TQMotif" tqmotif.html -"TQMotif::applicationContext" tqmotif.html#applicationContext -"TQMotif::x11Display" tqmotif.html#x11Display -"TQMotif::~TQMotif" tqmotif.html#~TQMotif -"TQMotifDialog" tqmotifdialog.html -"TQMotifDialog::acceptCallback" tqmotifdialog.html#acceptCallback -"TQMotifDialog::dialog" tqmotifdialog.html#dialog -"TQMotifDialog::rejectCallback" tqmotifdialog.html#rejectCallback -"TQMotifDialog::shell" tqmotifdialog.html#shell -"TQMotifDialog::~TQMotifDialog" tqmotifdialog.html#~TQMotifDialog "TQMotifPlusStyle" tqmotifplusstyle.html "TQMotifStyle" tqmotifstyle.html "TQMotifStyle::setUseHighlightColors" tqmotifstyle.html#setUseHighlightColors "TQMotifStyle::useHighlightColors" tqmotifstyle.html#useHighlightColors -"TQMotifWidget" tqmotifwidget.html -"TQMotifWidget::motifWidget" tqmotifwidget.html#motifWidget -"TQMotifWidget::~TQMotifWidget" tqmotifwidget.html#~TQMotifWidget "TQMouseEvent" tqmouseevent.html "TQMouseEvent::accept" tqmouseevent.html#accept "TQMouseEvent::button" tqmouseevent.html#button @@ -7712,11 +7695,6 @@ "TQXmlSimpleReader::parseContinue" tqxmlsimplereader.html#parseContinue "TQXmlSimpleReader::setFeature" tqxmlsimplereader.html#setFeature "TQXmlSimpleReader::~TQXmlSimpleReader" tqxmlsimplereader.html#~TQXmlSimpleReader -"QXtWidget::isActiveWindow" qxtwidget.html#isActiveWindow -"QXtWidget::setActiveWindow" qxtwidget.html#setActiveWindow -"QXtWidget::x11Event" qxtwidget.html#x11Event -"QXtWidget::xtWidget" qxtwidget.html#xtWidget -"QXtWidget::~QXtWidget" qxtwidget.html#~QXtWidget "Q_ASSERT" ntqapplication.html#Q_ASSERT "TQ_CHECK_PTR" ntqapplication.html#TQ_CHECK_PTR "Qt" tqt.html @@ -7724,8 +7702,6 @@ "TQt Demo" demo-example.html "TQt Distribution Example" distributor-example.html "TQt Editions" editions.html -"TQt Motif Extension" motif-extension.html -"TQt Motif Extension - A Migration Walkthrough" motif-walkthrough.html "TQt Object Model" object.html "TQt Open Source Edition" opensourceedition.html "TQt Open Source Edition License Agreement" license.html @@ -7786,9 +7762,6 @@ "TQt::WindowState" tqt.html#WindowState "TQt::WindowsVersion" tqt.html#WindowsVersion "Range controls" rangecontrols-example.html -"Refactoring Existing Code" motif-walkthrough-7.html -"Replacing the Print Dialog" motif-walkthrough-9.html -"Replacing the View Widget" motif-walkthrough-8.html "Richtext" richtext-example.html "Rot13" rot-example.html "SQL Module" sql.html @@ -7834,13 +7807,8 @@ "Transformed Graphics Demo" xform-example.html "Tutorial #2" tutorial2.html "User Interface Compiler (uic)" uic.html -"Using Custom TQDialogs" motif-walkthrough-4.html -"Using Existing Dialogs with TQMotifDialog" motif-walkthrough-5.html -"Using TQt Main Window Classes" motif-walkthrough-6.html -"Using TQt Standard Dialogs" motif-walkthrough-3.html "Using menus" menu-example.html "Using the Meta Object Compiler" moc.html -"Using the Motif Event Loop" motif-customwidget-example.html "Walkthrough: A Simple Application" simple-application.html "Walkthrough: How to use the TQt SAX2 classes" xml-sax-walkthrough.html "Walkthrough: Using SAX2 features with the TQt XML classes" xml-sax-features-walkthrough.html @@ -7876,7 +7844,6 @@ "images" images.html "io" io.html "misc" misc.html -"motif-examples" motif-examples.html "multimedia" multimedia.html "network-examples" network-examples.html "objectmodel" objectmodel.html diff --git a/doc/html/index.html b/doc/html/index.html index f362b508d..6f1213728 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -148,7 +148,6 @@ Licenses & Credits <td valign="top"> <ul> <li> <a href="winsystem.html">Window system specific notes</a> -<li> <a href="motif-extension.html">Motif Extension</a> <li> <a href="mac-differences.html">Mac OS X development</a> <li> <a href="porting.html">Porting from TQt 2.x to TQt 3.x</a> </ul> diff --git a/doc/html/modules.html b/doc/html/modules.html index 954e2bd94..282ff6b9c 100644 --- a/doc/html/modules.html +++ b/doc/html/modules.html @@ -50,7 +50,6 @@ with each Edition. <li> <a href="table.html">Table Module</a> <li> <a href="workspace.html">Workspace (MDI) Module</a> <li> <a href="xml.html">XML Module</a> -<li> <a href="motif-extension.html">TQMotif Extension</a> </ul> <p> <!-- eof --> diff --git a/doc/html/motif-customwidget-example.html b/doc/html/motif-customwidget-example.html deleted file mode 100644 index 613b03302..000000000 --- a/doc/html/motif-customwidget-example.html +++ /dev/null @@ -1,148 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/examples/customwidget/customwidget.doc:1 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Using the Motif Event Loop</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Using the Motif Event Loop</h1> - - -<p> -<p> -<p> <hr> -<p> Header -<p> <pre>#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> - - -class TQMotifWidget; - -class MainWindow : public <a href="tqmainwindow.html">TQMainWindow</a> -{ -public: - MainWindow(); - -private: - <a href="tqmotifwidget.html">TQMotifWidget</a> *customwidget; -}; - -#endif // MAINWINDOW_H -</pre> - -<p> <hr> -<p> Implementation: -<p> <pre>#include "mainwindow.h" - -#include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="tqmotif-h.html">tqmotif.h</a>> - - -int main( int argc, char **argv ) -{ - XtSetLanguageProc( NULL, NULL, NULL ); - - <a href="tqmotif.html">TQMotif</a> integrator( "customwidget" ); - <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); - - MainWindow mainwindow; - app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &mainwindow ); - mainwindow.<a href="tqwidget.html#show">show</a>(); - - return app.<a href="ntqapplication.html#exec">exec</a>(); -} -</pre> - -<p> <pre>#include "mainwindow.h" - -#include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="tqmenubar-h.html">tqmenubar.h</a>> -#include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> -#include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> - -#include <<a href="tqmotifwidget-h.html">tqmotifwidget.h</a>> - -#include <Xm/Form.h> -#include <Xm/PushB.h> -#include <Xm/Text.h> - - -<a name="f563"></a>MainWindow::MainWindow() - : <a href="tqmainwindow.html">TQMainWindow</a>( 0, "mainwindow" ) -{ - <a href="tqpopupmenu.html">TQPopupMenu</a> *filemenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this ); - filemenu-><a href="tqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&Quit"), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); - - <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>("&File"), filemenu ); - <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( <a href="tqobject.html#tr">tr</a>("This is a TQMainWindow with an XmText widget.") ); - - customwidget = - new <a href="tqmotifwidget.html">TQMotifWidget</a>( this, xmFormWidgetClass, NULL, 0, "form" ); - - XmString str; - Arg args[6]; - - str = XmStringCreateLocalized( "Push Button (XmPushButton)" ); - XtSetArg( args[0], XmNlabelString, str ); - XtSetArg( args[1], XmNleftAttachment, XmATTACH_FORM ); - XtSetArg( args[2], XmNrightAttachment, XmATTACH_FORM ); - XtSetArg( args[3], XmNbottomAttachment, XmATTACH_FORM ); - Widget button = - XmCreatePushButton( customwidget->motifWidget(), "Push Button", args, 4 ); - XmStringFree( str ); - - XtSetArg( args[0], XmNeditMode, XmMULTI_LINE_EDIT ); - XtSetArg( args[1], XmNleftAttachment, XmATTACH_FORM ); - XtSetArg( args[2], XmNrightAttachment, XmATTACH_FORM ); - XtSetArg( args[3], XmNtopAttachment, XmATTACH_FORM ); - XtSetArg( args[4], XmNbottomAttachment, XmATTACH_WIDGET ); - XtSetArg( args[5], XmNbottomWidget, button ); - Widget texteditor = - XmCreateScrolledText( customwidget->motifWidget(), "Text Editor", args, 6 ); - - XtManageChild( texteditor ); - XtManageChild( button ); - - <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( customwidget ); - - <a href="tqwidget.html#resize">resize</a>( 400, 600 ); -} - -</pre> - -<p> <p>See also <a href="motif-examples.html">TQMotif Support Extension</a>. - -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-dialog-example.html b/doc/html/motif-dialog-example.html deleted file mode 100644 index 470b1a0da..000000000 --- a/doc/html/motif-dialog-example.html +++ /dev/null @@ -1,237 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/examples/dialog/dialog.doc:1 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>A Motif Dialog</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>A Motif Dialog</h1> - - -<p> -<p> -<p> <hr> -<p> Header -<p> <pre>#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include <<a href="tqmotifwidget-h.html">tqmotifwidget.h</a>> - - -class MainWindow : public <a href="tqmotifwidget.html">TQMotifWidget</a> -{ -public: - MainWindow(); - - void showMotifDialog(); - void showTQtDialog(); -}; - -#endif // MAINWINDOW_H -</pre> - -<p> <hr> -<p> Implementation: -<p> <pre>#include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="tqmotif-h.html">tqmotif.h</a>> - -#include "mainwindow.h" - - -int main( int argc, char **argv ) -{ - XtSetLanguageProc( NULL, NULL, NULL ); - - <a href="tqmotif.html">TQMotif</a> integrator( "dialog" ); - <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); - - MainWindow *mainwindow = new MainWindow; - app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( mainwindow ); - mainwindow-><a href="tqwidget.html#show">show</a>(); - - return app.<a href="ntqapplication.html#exec">exec</a>(); -} -</pre> - -<p> <pre>#include "mainwindow.h" -#include "dialog.h" - -#include <Xm/MainW.h> -#include <Xm/RowColumn.h> -#include <Xm/CascadeB.h> -#include <Xm/PushB.h> -#include <Xm/PushBG.h> -#include <Xm/SeparatoG.h> -#include <Xm/Text.h> -#include <Xm/MessageB.h> -#include <Xm/Form.h> -#include <Xm/LabelG.h> - -#include <<a href="qapplication-h.html">ntqapplication.h</a>> - - -static void motifDialogCallback( Widget, XtPointer client_data, XtPointer ) -{ - MainWindow *mw = (MainWindow *) client_data; - mw->showMotifDialog(); -} - -static void qtDialogCallback( Widget, XtPointer client_data, XtPointer ) -{ - MainWindow *mw = (MainWindow *) client_data; - mw->showTQtDialog(); -} - -static void quitCallback( Widget, XtPointer client_data, XtPointer ) -{ - MainWindow *mw = (MainWindow *) client_data; -<a name="x2708"></a> mw-><a href="tqwidget.html#close">close</a>(); -} - - -<a name="f560"></a>MainWindow::MainWindow() - : <a href="tqmotifwidget.html">TQMotifWidget</a>( 0, xmMainWindowWidgetClass, NULL, 0, "mainwindow" ) -{ - Widget menubar = XmCreateMenuBar( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(), "menubar", NULL, 0 ); - Widget filemenu = XmCreatePulldownMenu( menubar, "filemenu", NULL, 0 ); - Widget item; - - item = XtVaCreateManagedWidget( "Motif Dialog...", - xmPushButtonGadgetClass, filemenu, - XmNmnemonic, 'C', - NULL ); - XtAddCallback( item, XmNactivateCallback, motifDialogCallback, this ); - - item = XtVaCreateManagedWidget( "TQt Dialog...", - xmPushButtonGadgetClass, filemenu, - XmNmnemonic, 'Q', - NULL ); - XtAddCallback( item, XmNactivateCallback, qtDialogCallback, this ); - - item = XtVaCreateManagedWidget( "sep", - xmSeparatorGadgetClass, filemenu, - NULL ); - - item = XtVaCreateManagedWidget( "Exit", - xmPushButtonGadgetClass, filemenu, - XmNmnemonic, 'x', - NULL ); - XtAddCallback( item, XmNactivateCallback, quitCallback, this ); - - XmString str = XmStringCreateLocalized( "File" ); - item = XtVaCreateManagedWidget( "File", - xmCascadeButtonWidgetClass, menubar, - XmNlabelString, str, - XmNmnemonic, 'F', - XmNsubMenuId, filemenu, - NULL ); - XmStringFree( str ); - - Arg args[2]; - XtSetArg( args[0], XmNeditMode, XmMULTI_LINE_EDIT ); - Widget texteditor = - XmCreateScrolledText( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(), "texteditor", - args, 1 ); - - XtManageChild( menubar ); - XtManageChild( texteditor ); - - // pick a nice default size - XtVaSetValues( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(), - XmNwidth, 400, - XmNheight, 300, - NULL ); - - <a href="tqwidget.html#setCaption">setCaption</a>( <a href="tqobject.html#tr">tr</a>("TQMotif Dialog Example") ); - -} - -void <a name="f561"></a>MainWindow::showMotifDialog() -{ - <a href="tqmotifdialog.html">TQMotifDialog</a> dialog( this, "custom dialog", TRUE ); - dialog.<a href="tqwidget.html#setCaption">setCaption</a>( <a href="tqobject.html#tr">tr</a>("Custom <a href="motif-extension.html#Motif">Motif</a> Dialog") ); - -<a name="x2707"></a> Widget form = XmCreateForm( dialog.<a href="tqmotifdialog.html#shell">shell</a>(), "custom motif dialog", NULL, 0 ); - - XmString str; - Arg args[9]; - - str = XmStringCreateLocalized( "Close" ); - XtSetArg( args[0], XmNlabelString, str ); - XtSetArg( args[1], XmNshowAsDefault, True ); - XtSetArg( args[2], XmNleftAttachment, XmATTACH_POSITION ); - XtSetArg( args[3], XmNleftPosition, 40 ); - XtSetArg( args[4], XmNrightAttachment, XmATTACH_POSITION ); - XtSetArg( args[5], XmNrightPosition, 60 ); - XtSetArg( args[7], XmNbottomAttachment, XmATTACH_FORM ); - XtSetArg( args[6], XmNtopOffset, 10 ); - XtSetArg( args[8], XmNbottomOffset, 10 ); - Widget button = XmCreatePushButton( form, "Close", args, 9 ); - XmStringFree( str ); - - str = - XmStringCreateLocalized( "This is a custom Motif-based dialog using\n" - "TQMotifDialog with a TQWidget-based parent." ); - XtSetArg( args[0], XmNlabelString, str ); - XtSetArg( args[1], XmNleftAttachment, XmATTACH_FORM ); - XtSetArg( args[2], XmNrightAttachment, XmATTACH_FORM ); - XtSetArg( args[3], XmNtopAttachment, XmATTACH_FORM ); - XtSetArg( args[4], XmNbottomAttachment, XmATTACH_WIDGET ); - XtSetArg( args[5], XmNbottomWidget, button ); - XtSetArg( args[6], XmNtopOffset, 10 ); - XtSetArg( args[7], XmNbottomOffset, 10 ); - Widget label = XmCreateLabelGadget( form, "label", args, 8 ); - XmStringFree( str ); - - XtManageChild( button ); - XtManageChild( label ); - XtManageChild( form ); - - XtAddCallback( button, XmNactivateCallback, - (XtCallbackProc) TQMotifDialog::acceptCallback, &dialog ); - -<a name="x2706"></a> dialog.<a href="tqdialog.html#exec">exec</a>(); -} - -void <a name="f562"></a>MainWindow::showTQtDialog() -{ - // custom TQt-based dialog using a Motif-based parent - CustomDialog customdialog( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(), "custom dialog", TRUE ); - customdialog.<a href="tqdialog.html#exec">exec</a>(); -} -</pre> - -<p> <p>See also <a href="motif-examples.html">TQMotif Support Extension</a>. - -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-examples.html b/doc/html/motif-examples.html deleted file mode 100644 index 9ce8ed6bb..000000000 --- a/doc/html/motif-examples.html +++ /dev/null @@ -1,52 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/indices.doc:471 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQMotif Support Extension</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQMotif Support Extension</h1> - - -<p> The following example programs illustrate the use of the <a href="tqmotif.html">TQMotif</a> Extension -assisting in the migration process of old Xt and <a href="motif-extension.html#Motif">Motif</a> based code -to the more comfortable TQt toolkit. -<p> For more information see the <a href="motif-extension.html">TQMotif -Support Extension documentation.</a> - -<p><table width="100%"> -<tr bgcolor=#f0f0f0><td><b><a href="motif-customwidget-example.html">Using the Motif Event Loop</a></b> -<tr bgcolor=#f0f0f0><td><b><a href="motif-dialog-example.html">A Motif Dialog</a></b> -</table> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-extension.html b/doc/html/motif-extension.html deleted file mode 100644 index 86e53c7d1..000000000 --- a/doc/html/motif-extension.html +++ /dev/null @@ -1,127 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/index.doc:3 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQt Motif Extension</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQt Motif Extension</h1> - - -<p> <!-- index Motif --><a name="Motif"></a> -<p> This module is part of the <a href="commercialeditions.html">TQt Enterprise -Edition</a> and is <em>not</em> part of the Free or Non-Commercial -Editions. -<p> <h2> Introduction -</h2> -<a name="1"></a><p> The TQt Motif Extension assists the migration of old Xt and Motif based -applications to the more comfortable TQt toolkit. This extension -replaces the older Xt/Motif Support Extension included with earlier -versions of TQt. -<p> The TQt Motif Extension consists of the following classes: -<p> <ul> -<li> <a href="tqmotif.html">TQMotif</a> - Provides the basis of the TQt Motif Extension. -<li> <a href="tqmotifwidget.html">TQMotifWidget</a> - Provides the <a href="tqwidget.html">TQWidget</a> API for Motif widgets. -<li> <a href="tqmotifdialog.html">TQMotifDialog</a> - Provides the <a href="tqdialog.html">TQDialog</a> API for Motif dialogs. -<li> <a href="qxtwidget.html">TQXtWidget</a> - The Xt/Motif integration widget from the previous -Xt/Motif extension. This class is unsupported and has many known -problems and limitations. It is provided only to keep existing source -working; it should not be used in new code. -</ul> -<p> <h3> Additional Documentation -</h3> -<a name="1-1"></a><p> <ul> -<p> <li> <a href="motif-examples.html">Examples</a> -<li> <a href="motif-walkthrough.html">Migration Walkthrough</a> - A -complete migration of a Motif based program to the TQt toolkit. -<p> </ul> -<p> <h2> Common Problems -</h2> -<a name="2"></a><p> <h3> Incorrect CDE Color Scheme -</h3> -<a name="2-1"></a><p> <a href="tqmotifwidget.html">TQMotifWidget</a> and <a href="tqmotifdialog.html">TQMotifDialog</a> will use the same Visual, Colormap -and color depth that <a href="ntqapplication.html">TQApplication</a> uses. When using CDE, the color -scheme may be incorrect when using a Visual, Colormap and color depth -that is not the default. To work around this problem, add the -following resource string to your startup files (for example, -<tt>$HOME/.dt/sessions/current/dt.resources</tt>): -<p> <pre> - *userColorObj: false -</pre> - -<p> <h3> X11 Header Conflicts -</h3> -<a name="2-2"></a><p> The X11 headers define some constants that conflict with the TQt -headers. The solution is to include all TQt headers first, followed by -headers from this extension, and all Xt/Motif and X11 headers last. -For example: -<p> <pre> - // TQt headers first - #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> - #include <<a href="tqsocket-h.html">tqsocket.h</a>> - ... - - // TQMotif* headers next - #include <<a href="tqmotif-h.html">tqmotif.h</a>> - #include <<a href="tqmotifdialog-h.html">tqmotifdialog.h</a>> - #include <<a href="tqmotifwidget-h.html">tqmotifwidget.h</a>> - - // Xt/Motif and X11 headers last - #include <X11/Xlib.h> - #include <Xt/Intrinsic.h> - #include <Xm/Xm.h> - ... -</pre> - -<p> <h3> Multiple Screen Support -</h3> -<a name="2-3"></a><p> <a href="tqmotifwidget.html">TQMotifWidget</a> can be used together with <a href="tqdesktopwidget.html">TQDesktopWidget</a> 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 -to both TQMotifWidget and the Xt/Motif child. For example: -<p> <pre> - Display *dpy = TQMotif::<a href="tqmotif.html#x11Display">x11Display</a>(); - Arg args[1]; - - // make sure both TQMotifWidget and the XmMainWindow are on screen 1 - XtSetArg(args[0], XtNscreen, ScreenOfDisplay(dpy, 1)); - <a href="tqmotifwidget.html">TQMotifWidget</a> *toplevel = - new <a href="tqmotifwidget.html">TQMotifWidget</a>(TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()->screen(1), - xmMainWindowWidgetClass, args, 1, "mainwindow"); -</pre> - -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-todo.png b/doc/html/motif-todo.png Binary files differdeleted file mode 100644 index d7634922f..000000000 --- a/doc/html/motif-todo.png +++ /dev/null diff --git a/doc/html/motif-walkthrough-1.html b/doc/html/motif-walkthrough-1.html deleted file mode 100644 index 5f7a2fa17..000000000 --- a/doc/html/motif-walkthrough-1.html +++ /dev/null @@ -1,98 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:147 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Getting Started</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Getting Started</h1> - - - -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-2.html">Next: Preparing to Migrate the User Interface</a> ] -<p> <h2> Starting with <a href="tqmotif.html">TQMotif</a> and <a href="ntqapplication.html">TQApplication</a> -</h2> -<a name="1"></a><p> To be able to use TQt, we need to create a TQApplication object. The -TQApplication class controls all the event delivery and display -management for all other TQt objects and widgets. We need to use the -TQMotif class from the <em>TQt <a href="motif-extension.html#Motif">Motif</a> Extension</em> to allow TQApplication -and the <tt>XtAppContext</tt> to coexist. -<p> The TQApplication object must be created in the <tt>main()</tt> function. -We will need to modify <tt>todo.c</tt> to compile with a C++ compiler, so we -rename <tt>todo.c</tt> to <tt>todo.cpp</tt>. -<p> Next, we add the appropriate includes for the TQMotif and TQApplication -classes. -<p> - -<pre></pre> -<p> Next, we create the TQMotif and TQApplication objects. We create TQMotif -with a foreign <tt>XtAppContext</tt>, and we create TQApplication with a -foreign <tt>Display</tt>. -<p> <pre></pre> -<p> The next change is not yet necessary, but it is included to show that -the <em>TQt Motif Extension</em> provides a complete integration. -Normally, a Motif based program would use the <tt>XtAppMainLoop()</tt> -function to run the application's event loop. This is still possible, -but since we are migrating to the TQt toolkit, we prefer to use the -<a href="ntqapplication.html#exec">TQApplication::exec</a>() function for running the event loop. -<p> <pre></pre> -<p> Since we renamed <tt>todo.c</tt> to <tt>todo.cpp</tt>, we must change the -project file and rerun <em>qmake</em> to regenerate our <tt>Makefile</tt>. When we -build our project, there are compile and link errors: we will fix -these in the following section. -<p> <h2> Migrating to C++ -</h2> -<a name="2"></a><p> We need to convert the code in this file to proper C++ code. -Fortunately, the changes are not too large. Most files included from -existing C projects are not C++ compatible, so we make them compatible -by wrapping them in an <tt>extern "C"</tt> block. -<p> - -<p> <pre></pre> -<p> Global C functions that are forward declared must also be wrapped into -an <tt>extern "C"</tt> block. -<p> <pre></pre> -<p> The <tt>manageCB()</tt> function needs to be converted to proper C++. -<p> <pre></pre> -<p> And we need to fix two invalid casts. One is in the <tt>Save()</tt> function. -<p> <pre></pre> -<p> The other invalid cast is in the <tt>Open()</tt> function. -<p> <pre></pre> -<p> After these changes, the project compiles and links, and the -application runs and operates correctly. -<p> [ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-2.html">Next: Preparing to Migrate the User Interface</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-10.html b/doc/html/motif-walkthrough-10.html deleted file mode 100644 index 204c218b0..000000000 --- a/doc/html/motif-walkthrough-10.html +++ /dev/null @@ -1,103 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:1579 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Continuing Development</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Continuing Development</h1> - - - -[ <a href="motif-walkthrough-9.html">Previous: Replacing the Print Dialog</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -<p> We have not quite finished with the migration to TQt, even though our -project does not use <a href="motif-extension.html#Motif">Motif</a> any more. TQt provides many useful features -that we can begin using immediately. Some of the most interesting -ones are presented below as a guide for where to start extending your -existing projects. -<p> <h2> Using Unicode -</h2> -<a name="1"></a><p> Support for <a href="i18n.html">internationalization</a> is very easy -with TQt. Using <a href="tqstring.html">TQString</a> instead of <tt>char*</tt> for storing text gives -us support for most of the written languages around the world. Our <tt>Page</tt> and <tt>Options</tt> structs look much simpler now. -<p> - -<p> <pre></pre> -<p> <pre></pre> -<p> All functions that use the <tt>Page</tt> and <tt>Options</tt> structs need to be -updated to use TQString properly. Since TQString is also an <a href="shclass.html#implicitly-shared">implicitly shared</a> class, we no longer have to do any memory management with our -strings. We can remove all occurences of the <a href="tqcstring.html#qstrdup">tqstrdup</a>() function, -and we never need to use <em>new</em> or <em>delete</em> when done with a string. -TQString will allocate and delete data when needed. -<p> Here are the <tt>MainWindow::fileOpen()</tt> and <tt>MainWindow::pageChange()</tt> -functions from <tt>mainwindow.ui.h</tt>. Notice that the code no longer -uses <em>delete</em> or <a href="tqcstring.html#qstrdup">tqstrdup</a>() when storing text. -<p> - -<p> <pre></pre> -<p> <pre> - ... -</pre> - -<p> <pre></pre> -<p> Almost all of the functions in our application are affected by this -change. In most cases, we end up removing more code than we are -adding. To keep the size of this walkthrough reasonable, we've only -shown a small portion of the required changes, since the changes are -very similar to those shown above. -<p> <h2> Writing Platform-Independent Code -</h2> -<a name="2"></a><p> TQt provides many <a href="io.html">input and output</a> classes. We -can use these in <tt>MainWindow::readDB()</tt> and <tt>MainWindow::saveDB()</tt>. -Currently, these functions use functions only found on UNIX machines. -Using <a href="tqfile.html">TQFile</a> and <a href="tqtextstream.html">TQTextStream</a> removes this dependency on UNIX, and we can -begin building and testing our application on Microsoft Windows and -Apple Mac OS X. -<p> The platform-independent versions of the <tt>MainWindow::readDB()</tt> and -<tt>MainWindow::saveDB()</tt> functions can be found in the <tt>io.cpp</tt> file. -<p> <h2> Designing a Modern User Interface -</h2> -<a name="3"></a><p> Since we used the <em>TQt Designer</em> to design the <em>Main Window</em> -widget, we can extend the interface easily. We can use some of the -more advanced features of <a href="tqmainwindow.html">TQMainWindow</a>, which includes dockable -toolbars. Adding these is simple with the <em>TQt Designer</em>. The -final version of our project includes a toolbar, which provides quick -access to the <em>Open</em>, <em>Save</em>, <em>Print</em>, <em>New Page</em> and <em>Delete to Trash</em> actions. -<p> The possibilities are endless. An <em>Edit</em> menu, with the common <em>Cut</em>, <em>Copy</em> and <em>Paste</em> actions, could be added in a relatively -short period of time. -<p> [ <a href="motif-walkthrough-9.html">Previous: Replacing the Print Dialog</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-2.html b/doc/html/motif-walkthrough-2.html deleted file mode 100644 index 6d7c7978c..000000000 --- a/doc/html/motif-walkthrough-2.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:243 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Preparing to Migrate the User Interface</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Preparing to Migrate the User Interface</h1> - - - -[ <a href="motif-walkthrough-1.html">Previous: Getting Started</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-3.html">Next: Using TQt Standard Dialogs</a> ] -<p> We are ready to start migrating the user interface for our project. -As mentioned in the introduction, we do this in steps, ensuring that -our application is still usable at every step of the migration process. -<p> The user interface can be viewed as a hierarchy; each top-level window -and dialog depends upon a parent (which is another top-level window or -dialog). When using <a href="motif-extension.html#Motif">Motif</a> <tt>XmMainWindow</tt> widgets, these should be -viewed as two separate entities: the <em>Main Window</em> widget with the -popup-menu hierarchy and the <em>View</em> widget contained in the <em>Main Window</em> widget. The <em>View</em> widget depends on the <em>Main Window</em> -widget. -<p> We begin migrating the pieces that have no dependencies, and work our -way up the dependency tree until all the pieces have been migrated. -<p> The hierarchy for this project looks something like this: -<p> <center><img src="motif-todo.png" alt="Motif Todo Hierarchy"></center> -<p> We will begin by migrating and replacing all of the dialogs, then the -<em>Main Window</em> widget with popup-menu hierarchy, and finally the <em>View</em> widget. -<p> However, we are not ready to begin just yet. The migration process can -be long, but it does not have to be difficult. The <em>Open</em>, <em>Save As</em>, <em>Page Delete</em> and <em>IO Error</em> dialogs use Motif <tt>XmFileSelectionBox</tt> and <tt>XmMessageBox</tt> dialogs. TQt provides similar -functionality with <a href="tqfiledialog.html">TQFileDialog</a> and <a href="tqmessagebox.html">TQMessageBox</a>, which we can begin -using immediately. -<p> The <em>Print</em> dialog is special, however. The <em>Print</em> dialog cannot be -replaced until after we have replaced the <em>View</em> widget. TQt provides -a complete printing mechanism with <a href="tqprinter.html">TQPrinter</a>, but we cannot start using -it until we have replaced the <em>View</em> widget. -<p> <h2> Removing the <em>Help</em> Dialog -</h2> -<a name="1"></a><p> The <em>Help</em> dialog is also special. Instead of replacing the <em>Help</em> -dialog with a custom <a href="tqdialog.html">TQDialog</a>, we will use the <a href="helpsystem.html">TQt -Help System</a> classes to provide a more advanced online help. -However, we cannot start using classes like <a href="tqtooltip.html">TQToolTip</a> and <a href="tqwhatsthis.html">TQWhatsThis</a> -until we replace the <em>Main Window</em> and <em>View</em> widgets. -<p> The help text included with the original project is very small and -only contains information about the <tt>XmNoteBook</tt> widget. The use of -tooltips and whats-this text will suffice for this example. If your -migration project has a large online <a href="helpsystem.html#help-system">help system</a>, we recommend looking -at the <a href="helpviewer-example.html">Simple HTML Help Browser</a> -example for information on how to build an rich text help system with -hypertext navigation and full printing capabilities, or using <a href="assistant.html">TQt Assistant</a>. -<p> Removing the existing <em>Help</em> dialog is relatively simple. We remove -the <tt>Xmd/Help.h</tt>, <tt>Xmd/HelpP.h</tt> and <tt>Xmd/Help.c</tt> files from our -project file and regenerate our <tt>Makefile</tt>. -<p> The code to create the <em>Help</em> menu and <em>Help</em> dialog is in <tt>todo.cpp</tt>. We remove the <tt>Xmd/Help.h</tt> include, the <tt>*help_manager</tt> -resource string, the <tt>help_cb()</tt> function forward declaration and the -<tt>help_widget</tt> global variable. We also need to remove the code that -creates the <em>Help</em> dialog. We will also remove the code to create -the <em>Help</em> menu, since this menu is now empty. Finally, we remove -the <tt>help_cb()</tt> function implementation. -<p> The <em>Help</em> dialog is now removed from our project. We cannot add -<a href="tqtooltip.html">TQToolTip</a> and <a href="tqwhatsthis.html">TQWhatsThis</a> help at the moment, since we are still using -<tt>XmMainWindow</tt> for the <em>Main Window</em> widget. Once we have -migrated the <em>Main Window</em> and the popup-menu hierarchy, we can -begin using TQToolTip and TQWhatsThis for online help. -<p> [ <a href="motif-walkthrough-1.html">Previous: Getting Started</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-3.html">Next: Using TQt Standard Dialogs</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-3.html b/doc/html/motif-walkthrough-3.html deleted file mode 100644 index 22b522586..000000000 --- a/doc/html/motif-walkthrough-3.html +++ /dev/null @@ -1,178 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:334 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Using TQt Standard Dialogs</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Using TQt Standard Dialogs</h1> - - - -[ <a href="motif-walkthrough-2.html">Previous: Preparing to Migrate the User Interface</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-4.html">Next: Using Custom TQDialogs</a> ] -<p> We start by using two of the <a href="dialogs.html">TQt Standard -Dialogs</a>: <a href="tqfiledialog.html">TQFileDialog</a> and <a href="tqmessagebox.html">TQMessageBox</a>. Both of these classes -provide useful static convenience functions. -<p> <center><table cellpadding="4" cellspacing="2" border="0"> -<tr bgcolor="#f0f0f0"> <td valign="top">TQFileDialog::getOpenFileName() <td valign="top">replacement for the <em>Open</em> dialog -<tr bgcolor="#d0d0d0"> <td valign="top">TQFileDialog::getSaveFileName() <td valign="top">replacement for the <em>Save As</em> dialog -<tr bgcolor="#f0f0f0"> <td valign="top">TQMessageBox::information() <td valign="top">replacement for <em>Page Delete</em> dialog -<tr bgcolor="#d0d0d0"> <td valign="top">TQMessageBox::warning() <td valign="top">replacement for <em>IO Error</em> dialog. -</table></center> -<p> Each of these functions takes a <em>TQWidget *parent</em> argument. If we -pass zero as the <em>parent</em> argument, then we will have dialogs that -are centered on the screen, instead of being centered over our main -window. We can have <a href="tqmotifwidget.html">TQMotifWidget</a> create our <tt>XmMainWindow</tt>, and we -can then use this class as the parent for both <a href="motif-extension.html#Motif">Motif</a> dialogs and TQt -dialogs. -<p> We need to include the appropriate headers for TQMotifWidget and -<a href="tqfiledialog.html">TQFileDialog</a> in <tt>todo.cpp</tt>. -<p> - -<pre></pre> -<p> Next, we make a few modifications to how the application is -initialized. We could initialize Xt/Motif and create the <tt>XtAppContext</tt> ourselves, but <a href="tqmotif.html">TQMotif</a> can do this for us. -We also let <a href="ntqapplication.html">TQApplication</a> open the connection to the X server. Next, -we create a TQMotifWidget, passing <tt>xmMainWindowWidgetClass</tt> as the <em>widgetclass</em> argument. We can now use the <a href="tqmotifwidget.html#motifWidget">TQMotifWidget::motifWidget</a>() -function to access the Motif widget. The shell widget is created -automatically by TQMotifWidget. We use <tt>XtParent()</tt> to access it. -The top-level window is now a TQMotifWidget, which means we can use it -as the parent for the TQt Standard Dialogs. -<p> <pre></pre> -<p> <h2> Replacing the <em>Open</em> and <em>Save As</em> Dialogs -</h2> -<a name="1"></a><p> First, we completely remove all use of the existing Motif file -selection dialog. We remove the <tt>Xm/FileSB.h</tt> include, the global <tt>file_dialog</tt> variable, and the code to create the dialog. We also -remove the <tt>PresentFDialog()</tt> callback function. None of this code -is needed to use <a href="tqfiledialog.html">TQFileDialog</a>. -<p> After removing the <tt>PresentFDialog()</tt> callback function, we need to -make <em>Open</em> and <em>Save As</em> popup-menu callbacks call the <tt>Open()</tt> -and <tt>Save()</tt> functions. -<p> First we must change the declaration of these two functions. -<p> - -<p> <pre></pre> -<p> We also change the arguments to the callbacks. We pass the top-level -<a href="tqmotifwidget.html">TQMotifWidget</a> as the <tt>client_data</tt> to these functions, since we will -be using it as the parent for the TQFileDialog. -<p> <pre></pre> -<p> <pre> - ... -</pre> - -<p> <pre></pre> -<p> Next, we modify the <tt>Save()</tt> function to use -<a href="tqfiledialog.html#getSaveFileName">TQFileDialog::getSaveFileName</a>(). -<p> <pre></pre> -<p> ... and the <tt>Open()</tt> function to use <a href="tqfiledialog.html#getOpenFileName">TQFileDialog::getOpenFileName</a>(). -<p> <pre></pre> -<p> After we build the project, the application runs and operates as -expected. The difference is that the <em>Open</em> and <em>Save As</em> dialogs -now use <a href="tqfiledialog.html">TQFileDialog</a>. -<p> <h2> Replacing the <em>Page Delete</em> and <em>IO Error</em> Dialogs -</h2> -<a name="2"></a><p> The <em>Page Delete</em> dialog is created and used in <tt>actions.c</tt>. We -need to migrate this file to C++. We rename it to <tt>actions.cpp</tt>, -modify the project file and regenerate the <tt>Makefile</tt>. -<p> The changes required to make <tt>actions.cpp</tt> compile are minimal. We -need to wrap more C header files and global variables in an <tt>extern "C"</tt> block. -<p> - -<p> <pre></pre> -<p> We need to forward declare the <tt>NewPage()</tt>, <tt>DeletePage()</tt>, <tt>EditPage()</tt> and <tt>SaveIt()</tt> functions so that the compiler generates -the correct symbols for these functions. -<p> <pre></pre> -<p> We need to fix a single invalid pointer cast. -<p> <pre></pre> -<p> And we need to change the variable named <em>new</em> to <em>newstr</em> in the <tt>Trim()</tt> function. -<p> We can now change the <tt>DeletePage()</tt> function to use -<a href="tqmessagebox.html#information">TQMessageBox::information</a>(). -<p> First, we need to make sure we include the proper header for -<a href="tqmessagebox.html">TQMessageBox</a>. -<p> - -<pre></pre> -<p> The code for <tt>DeletePage()</tt> looks like this: -<p> <pre></pre> -<p> At this point in the code, the page should be deleted. The code to do -this is in the <tt>DoDeletePage()</tt> function. We move the contents of <tt>DoDeletePage()</tt> to this point and remove the <tt>DoDeletePage()</tt> function -completely. -<p> Next, we change <tt>todo.cpp</tt> to pass the top-level <a href="tqmotifwidget.html">TQMotifWidget</a> as the -<tt>client_data</tt> tot he <tt>DeletePage()</tt> function. -<p> - -<p> <pre></pre> -<p> The <em>IO Error</em> dialog is created and used in <tt>io.c</tt>. We need to -migrate this file to C++. We rename it to <tt>io.cpp</tt>, modify the -project file and regenerate the <tt>Makefile</tt>. -<p> The changes required to make <tt>io.cpp</tt> compile are minimal. We need -to wrap more C header files and global variables in an <tt>extern "C"</tt> -block. -<p> - -<p> <pre></pre> -<p> We need to forward declare the <tt>ReadDB()</tt> and <tt>SaveDB()</tt> functions -so that the compiler generates the correct symbols for these -functions. -<p> <pre></pre> -<p> The <tt>ParseNewLines()</tt> function needs to be converted to proper C++. -<p> <pre></pre> -<p> The <tt>PrintWithNewLines()</tt> function also needs to be converted to proper -C++. -<p> <pre></pre> -<p> We can now change the <tt>ReadDB()</tt> and <tt>SaveDB()</tt> functions to use -<a href="tqmessagebox.html#warning">TQMessageBox::warning</a>(). -<p> First, we need to make sure we include the proper header for <a href="tqmessagebox.html">TQMessageBox</a>. -<p> - -<pre></pre> -<p> The code for <tt>ReadDB()</tt> looks like this: -<p> <pre></pre><pre> - ... -</pre> - -<p> The code for <tt>SaveDB()</tt> looks like this: -<p> <pre></pre><pre> - ... -</pre> - -<p> After we build the project, the application runs and operates as -expected. The difference is that the <em>Page Delete</em> and <em>IO Error</em> dialogs now use TQMessageBox. -<p> [ <a href="motif-walkthrough-2.html">Previous: Preparing to Migrate the User Interface</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-4.html">Next: Using Custom TQDialogs</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-4.html b/doc/html/motif-walkthrough-4.html deleted file mode 100644 index f58108711..000000000 --- a/doc/html/motif-walkthrough-4.html +++ /dev/null @@ -1,102 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:561 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Using Custom TQDialogs</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Using Custom TQDialogs</h1> - - - -[ <a href="motif-walkthrough-3.html">Previous: Using TQt Standard Dialogs</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-5.html">Next: Using Existing Dialogs with TQMotifDialog</a> ] -<p> After we have replaced the standard dialogs, we move onto the custom -dialogs. This project has a single custom dialog: the <em>Page Edit</em> -dialog. -<p> Instead of writing the code ourselves, we use <a href="designer-manual.html">TQt Designer</a> to design our dialog. -Designing a custom dialog is beyond the scope of -this document: see the <a href="designer-manual.html">TQt Designer Manual</a> if you're unfamiliar -with TQt's visual design tool. -<p> <h2> Replacing the <em>Page Edit</em> Dialog -</h2> -<a name="1"></a><p> The custom <a href="tqdialog.html">TQDialog</a> description for the <em>Page Edit</em> dialog is saved -as <tt>pageeditdialog.ui</tt>. We add this file to the project file by -adding the line -<pre> -FORMS = pageeditdialog.ui -</pre> - -to the <tt>.pro</tt> file, and regenerate the <tt>Makefile</tt>. The <em>uic</em> -utility generates the code for our custom TQDialog, which is then -compiled and linked into our application. (<em>uic</em> is invoked -automatically from makefiles generated from <tt>.pro</tt> files.) -<p> We need to pass the top-level <a href="tqmotifwidget.html">TQMotifWidget</a> as the <em>client_data</em> -argument to the <tt>EditPage</tt> function, which we will use as the parent -for our new <tt>PageEditDialog</tt>. We do this the same way as we have -done for the <em>Open</em> and <em>Save As</em> dialogs in <tt>todo.cpp</tt>. -<p> - -<p> <pre></pre> -<p> The <tt>EditPage()</tt> function is implemented in <tt>actions.cpp</tt>. We start -by adding the includes needed for the <tt>PageEditDialog</tt> and <a href="tqlineedit.html">TQLineEdit</a>. -<p> - -<p> <pre></pre> -<p> In the <tt>EditPage()</tt> function, We create the <tt>PageEditDialog</tt>, set -the initial values of the three TQLineEdit widgets with values from the -current page and execute the dialog. -<p> <pre></pre><pre> - ... -</pre> - -<p> At this point in the code, the page properties should be modified. The -code to do this is in the <tt>DoEditPage()</tt> function. We move the -contents of <tt>DoEditPage()</tt> to this point and remove the <tt>DoEditPage()</tt> function completely. -<p> The <tt>Page</tt> struct defined in <tt>page.h</tt> stores strings in <tt>char*</tt> -arrays. Since the PageEditDialog and the data it contains will be -destroyed when we return from this function, we need to convert the -unicode <a href="tqstring.html">TQString</a> data into a <a href="tqcstring.html">TQCString</a> in the local encoding and -duplicate it with <a href="tqcstring.html#qstrdup">tqstrdup</a>(). -<p> <pre></pre> -<p> The same process must be done for the minorTab text: -<p> <pre></pre> -<p> ... and for the majorTab text: -<p> <pre></pre> -<p> [ <a href="motif-walkthrough-3.html">Previous: Using TQt Standard Dialogs</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-5.html">Next: Using Existing Dialogs with TQMotifDialog</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-5.html b/doc/html/motif-walkthrough-5.html deleted file mode 100644 index 31b1aebf9..000000000 --- a/doc/html/motif-walkthrough-5.html +++ /dev/null @@ -1,109 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:661 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Using Existing Dialogs with TQMotifDialog</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Using Existing Dialogs with TQMotifDialog</h1> - - - -[ <a href="motif-walkthrough-4.html">Previous: Using Custom TQDialogs</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-6.html">Next: Using TQt Main Window Classes</a> ] -<p> As mentioned earlier, the <em>Print</em> dialog cannot be replaced until we -have converted the <em>View</em> widget. The <em>Print</em> dialog will be -removed once we have finished our migration, since we will use -<a href="tqprinter.html">TQPrinter</a> instead. Based on this information, we decide that it is not -worth replacing the <em>Print</em> dialog with a custom <a href="tqdialog.html">TQDialog</a> replacement. -Instead, we will keep the <a href="motif-extension.html#Motif">Motif</a> based dialog and use <a href="tqmotifdialog.html">TQMotifDialog</a> to -integrate the dialog with the application. -<p> <h2> Modality Requirements -</h2> -<a name="1"></a><p> Modality with TQDialog is different from Motif. The <a href="tqdialog.html#exec">TQDialog::exec</a>() -function does not return until the dialog is finished. In Motif, -modality is simply a property of the shell, and the application -programmer must write TQDialog::exec() style functionality if they -want that behavior. -<p> Since we will be using TQMotifDialog (which is a TQDialog subclass), we -will need to have an <em>accept</em> and a <em>reject</em> callback for each -dialog we integrate with TQMotifDialog. The predefined Motif dialogs -have these already: the <tt>XmNokCallback</tt> and <tt>XmNcancelCallback</tt> -callbacks. However, the <em>Print</em> dialog only has an <em>accept</em> callback -(the <tt>XmdNprintCallback</tt>), but it does not have a <em>reject</em> callback. -We need to add this. -<p> This is easily done. We add an <tt>XtCallbackList</tt> for the <tt>XmNcancelCallback</tt> callback in <tt>Xmd/PrintP.h</tt>: -<p> - -<pre></pre> -<p> We add the <tt>XmNcancelCallback</tt> callback to the list of resources for -the <tt>XmdPrint</tt> widget class in <tt>Xmd/Print.c</tt>: -<p> - -<pre></pre> -<p> We need to activate this callback whenever we unmanage the widget and -do not activate the <em>print</em> callback, which is in the <tt>do_help_cb()</tt> -function: -<p> <pre></pre> -<p> ... and in the unmanage_cb() function: -<p> <pre></pre> -<p> <h2> Integrating the <em>Print</em> Dialog -</h2> -<a name="2"></a><p> Now that the <em>Print</em> dialog has the appropriate <em>accept</em> and <em>reject</em> callbacks, we can use <a href="tqmotifdialog.html">TQMotifDialog</a>. First we need to include -the TQMotifDialog header in <tt>todo.cpp</tt>. -<p> - -<p> <pre></pre> -<p> We add a <tt>ShowPrintDialog()</tt> function which will create and execute the -print dialog. -<p> <pre></pre> -<p> We change the <em>Print</em> menu item callback to call the new <tt>ShowPrintDialog()</tt> function. We pass the top-level <a href="tqmotifwidget.html">TQMotifWidget</a>, which -we will use as the parent for the dialog. -<p> <pre></pre> -<p> The <tt>ShowPrintDialog()</tt> function creates the <em>Print</em> dialog and -executes it. We use the <tt>XmdNprintCallback</tt> callback to accept the -dialog and the <tt>XmNcancelCallback</tt> callback to reject the dialog. We -can do this easily by using the <a href="tqmotifdialog.html#acceptCallback">TQMotifDialog::acceptCallback</a>() and -<a href="tqmotifdialog.html#rejectCallback">TQMotifDialog::rejectCallback</a>() functions, respectively. We also -ensure that the <em>print</em> callback continues to call the <tt>Print()</tt> function as before. -<p> <pre></pre> -<p> After we build the project, the application runs and operates as -expected. There is no visual or behavioral difference, even though -the <em>Print</em> dialog is using <a href="tqmotifdialog.html">TQMotifDialog</a>. -<p> [ <a href="motif-walkthrough-4.html">Previous: Using Custom TQDialogs</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-6.html">Next: Using TQt Main Window Classes</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-6.html b/doc/html/motif-walkthrough-6.html deleted file mode 100644 index ba890fa91..000000000 --- a/doc/html/motif-walkthrough-6.html +++ /dev/null @@ -1,129 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:776 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Using TQt Main Window Classes</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Using TQt Main Window Classes</h1> - - - -[ <a href="motif-walkthrough-5.html">Previous: Using Existing Dialogs with TQMotifDialog</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-7.html">Next: Refactoring Existing Code</a> ] -<p> After we have replaced all the dialogs, we are ready to begin replacing -the <em>Main Window</em>. <a href="motif-walkthrough.html#4">As mentioned -above</a>, we will replace the existing <tt>XmMainWindow</tt> and -popup-menu heirarchy with <a href="application.html">TQt Main Window -Classes</a>. -<p> We will use <a href="designer-manual.html">TQt Designer</a> to design -our new main window. -<p> <h2> Implementing the <em>Main Window</em> -</h2> -<a name="1"></a><p> The description for the <em>Main Window</em> is saved as <tt>mainwindow.ui</tt>. -We add this file to the project file and regenerate the <tt>Makefile</tt>. -The <em>uic</em> utility generates the code for our <em>Main Window</em>, which -is then compiled and linked into our application. -<p> <em>TQt Designer</em> also created the <tt>mainwindow.ui.h</tt> file. We need to -add the implementation for our <em>Main Window</em> to this skeleton -implementation. -<p> We begin by adding the necessary includes for <a href="ntqapplication.html">TQApplication</a> -and <a href="tqmotifwidget.html">TQMotifWidget</a>. -<p> - -<p> <pre></pre> -<p> We need includes for the <a href="motif-extension.html#Motif">Motif</a> callback structs and the <tt>XmdPrint</tt> -widget. -<p> <pre></pre><pre></pre> -<p> We are now ready to add implementations for the slots in our <em>Main Window</em>. We have one slot per menu item. Each slot will call the -existing callback functions found in <tt>todo.cpp</tt> and <tt>actions.cpp</tt>. -<p> <center><table cellpadding="4" cellspacing="2" border="0"> -<tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> File menu -<tr bgcolor="#f0f0f0"> <td valign="top">New <td valign="top"><tt>MainWindow::fileNew()</tt> <td valign="top">calls the <tt>New()</tt> callback -<tr bgcolor="#d0d0d0"> <td valign="top">Open <td valign="top"><tt>MainWindow::fileOpen()</tt> <td valign="top">calls the <tt>Open()</tt> callback -<tr bgcolor="#f0f0f0"> <td valign="top">Save <td valign="top"><tt>MainWindow::fileSave()</tt> <td valign="top">calls the <tt>SaveIt()</tt> callback -<tr bgcolor="#d0d0d0"> <td valign="top">Save As <td valign="top"><tt>MainWindow::fileSaveAs()</tt> <td valign="top">calls the <tt>Save()</tt> callback -<tr bgcolor="#f0f0f0"> <td valign="top">Print <td valign="top"><tt>MainWindow::filePrint()</tt> <td valign="top">calls the <tt>ShowPrintDialog()</tt> callback -<tr bgcolor="#d0d0d0"> <td valign="top">Exit <td valign="top"><tt>MainWindow::fileExit()</tt> <td valign="top">calls <a href="ntqapplication.html#quit">TQApplication::quit</a>() -<tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Selected menu -<tr bgcolor="#f0f0f0"> <td valign="top">Properties <td valign="top"><tt>MainWindow::selProperties()</tt> <td valign="top">calls the <tt>EditPage()</tt> callback -<tr bgcolor="#d0d0d0"> <td valign="top">New <td valign="top"><tt>MainWindow::selNewPage()</tt> <td valign="top">calls the <tt>NewPage()</tt> callback -<tr bgcolor="#f0f0f0"> <td valign="top">Delete to Trash <td valign="top"><tt>MainWindow::selDeletePage()</tt> <td valign="top">calls the <tt>DeletePage()</tt> callback -</table></center> -<p> We need to add forward declarations for these callbacks before we can -use them. -<p> <pre></pre> -<p> Each of the existing callback functions takes three arguments. We pass -<em>NULL</em> to all of the arguments in this example (with a few exceptions, -see below). The existing code does not rely on any of the arguments. -Each slot implementation is a single line calling the related callback -function. The code is not very interesting and would just take up -space, so we've omitted it. -<p> There are four exceptions to the above. The <tt>Open()</tt>, <tt>Save()</tt>, <tt>EditPage()</tt> and <tt>DeletePage()</tt> callbacks accept a pointer to the -toplevel <a href="tqwidget.html">TQWidget</a> as argument 2 (the <em>client_data</em> argument). For -these four functions, we pass <em>this</em> as the second argument, which is -a toplevel <tt>MainWindow</tt> derived from <a href="tqmainwindow.html">TQMainWindow</a>. -<p> <h2> Replacing the <em>Main Window</em> -</h2> -<a name="2"></a><p> The next step is to use the new <em>Main Window</em> in our application. -The changes needed in <tt>todo.cpp</tt> are large due to the large amount of -code being removed. -<p> First, we add the include for our new <em>Main Window</em>. -<p> - -<p> <pre></pre> -<p> We can cleanup the Motif includes, since many of them are no longer -needed. -<p> <pre></pre><pre></pre><pre></pre> -<p> The <tt>QuitAppl()</tt> and <tt>manageCB()</tt> callbacks are not needed any more, -so we remove them. We do not need the global <tt>shell</tt> variable -either. We remove it and all references to it in the <tt>New()</tt>, <tt>Save()</tt> and <tt>Open()</tt> callbacks. -<p> In <tt>main()</tt>, we make the large changes. First, we use our new <tt>MainWindow</tt> instead of <a href="tqmotifwidget.html">TQMotifWidget</a> with <tt>XmMainWindow</tt>. -<p> - -<p> <pre></pre> -<p> We will now use TQMotifWidget to create the <tt>XmNotebook</tt> widget. -<p> <pre></pre> -<p> We remove all of the code used to create the Motif menus. The -remaining code in <tt>main()</tt> is self-explanatory. -<p> <pre></pre> -<p> Our application is now using <a href="tqmainwindow.html">TQMainWindow</a> instead of <tt>XmMainWindow</tt>. -After we build the project, the application runs and operates as -expected. -<p> [ <a href="motif-walkthrough-5.html">Previous: Using Existing Dialogs with TQMotifDialog</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-7.html">Next: Refactoring Existing Code</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-7.html b/doc/html/motif-walkthrough-7.html deleted file mode 100644 index 7a3912fed..000000000 --- a/doc/html/motif-walkthrough-7.html +++ /dev/null @@ -1,214 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:921 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Refactoring Existing Code</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Refactoring Existing Code</h1> - - - -[ <a href="motif-walkthrough-6.html">Previous: Using TQt Main Window Classes</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-8.html">Next: Replacing the View Widget</a> ] -<p> In the author's view, the existing code is slightly disorganized. -Even though the code <em>does</em> work, some cleanups and reorganization -can only help with readability and maintainability. The steps -described below are not necessary during the migration process but are -included for completeness. -<p> <h2> Migrating Data Structures to C++ -</h2> -<a name="1"></a><p> The <tt>Page</tt> data structure is an opaque data type. The real data -structure is called <tt>PageRec</tt>; <tt>Page</tt> defined to be a pointer to a -<tt>PageRec</tt>. In addition, we have the <tt>AllocPage()</tt> function that -allocates and initializes memory for a <tt>PageRec</tt> struct. -<p> With C++, we can do this in the constructor. We can also write a -destructor which automatically frees all resources in the <tt>PageRec</tt>, -instead of having to do it in several different places. -<p> The <tt>PageRec</tt> struct declaration is removed from <tt>page.h</tt>. We -declare a <tt>Page</tt> struct with the same data members as <tt>PageRec</tt>, a -constructor and a destructor. -<p> - -<pre></pre> -<p> The existing <tt>pages</tt>, <tt>currentPage</tt> and <tt>maxpages</tt> global variables -are removed from the source files. We replace them with <tt>extern</tt> -declarations in <tt>page.h</tt>. -<p> <pre></pre> -<p> The global variable instantiations are placed in <tt>todo.cpp</tt>. -<p> Each source file contains function declarations that deal with the -global <tt>Page</tt> related variables. We remove these declarations from -the source files and declare them once in the <tt>page.h</tt> header file. -<p> <pre></pre> -<p> Now that <tt>Page</tt> has a constructor, we remove the <tt>AllocPage()</tt> -function. It is no longer needed. The calls to <tt>AllocPage()</tt> are -replaced with <tt>'new Page()'</tt> in the <tt>NewPage()</tt>, <tt>DeletePage()</tt> -and <tt>ReadDB()</tt> functions. We also replace the code to deallocate -pages with <tt>delete pages[X]</tt>, where <em>X</em> is the appropriate index -value. This is done in the <tt>ReadDB</tt> and <tt>DeletePage()</tt> functions. -<p> Code that accesses the global <tt>pages</tt> variable does not need to be -modified since the data members of the <tt>Page</tt> struct did not change. -The existing code will continue to work. -<p> The <tt>OptionsRec</tt> struct declared in <tt>page.h</tt> is also updated, -following the same pattern as the <tt>Page</tt> struct above. -<p> <pre></pre> -<p> The global variable instantiation is also placed in <tt>todo.cpp</tt>. -<p> Code that accesses the global <tt>options</tt> variable does not need to be -modified since the data members of the <tt>Options</tt> struct did not -change. The existing code will continue to work. -<p> <h2> Using <em>new</em> and <em>delete</em> -</h2> -<a name="2"></a><p> The destructors of the <tt>Page</tt> and <tt>Options</tt> structs use <em>delete</em> -instead of <tt>XtFree()</tt> to deallocate all <tt>char*</tt> members. This is a -necessary change since we are migrating away from Xt/Motif. We need -to fix existing code that modifies the <tt>Page</tt> struct members to use -<em>new</em> and <em>delete</em> ( instead of <tt>XtMalloc()</tt>, <tt>XtNewString()</tt> and -<tt>XtFree()</tt> ). -<p> The <tt>PageChange()</tt> function in <tt>todo.cpp</tt> simply saves the contents -and cursor position of current page before calling <tt>SetPage()</tt>. We -use <em>new</em> and <em>delete</em> when modifying members of the <tt>Page</tt> struct. -<p> - -<pre></pre> -<p> When storing the context of the <tt>XmText</tt> widget, we use <a href="tqcstring.html#qstrdup">tqstrdup</a>() -to make a copy of the string returned by the <tt>XmTextGetString()</tt> -function. -<p> <pre></pre> -<p> The <tt>ReadDB()</tt> function in <tt>io.cpp</tt> needs similar changes. We -replace all use of <tt>XtMalloc()</tt> and <tt>XtNewString()</tt> with <em>new</em> and -<a href="tqcstring.html#qstrdup">tqstrdup</a>(), respectively. -<p> This needs to be done just after opening the file. -<p> - -<pre></pre> -<p> ... when starting a new page ... -<p> <pre> - ... -</pre> - -<pre></pre> -<p> ... and when reading in the label and tab texts/ -<p> <pre> - ... -</pre> - -<pre></pre><pre> - ... -</pre> - -<pre></pre><pre> - ... -</pre> - -<pre></pre> -<p> The <tt>ReadDB()</tt> function uses <tt>XtRealloc()</tt> to expand the data -storage buffer. Unfortunately, C++ does not provide a way to -reallocate an existing block of data, so we have to do this ourselves. -<p> <pre></pre> -<p> There is also one occurence in <tt>ReadDB()</tt> where we call <tt>XtMalloc()</tt> -with an argument of 2. This was done when a file could not be read. -Creating an empty string is not necessary, so we remove this code -instead of using <em>new</em>. -<p> <pre></pre> -<p> The <tt>SaveDB()</tt> function in <tt>io.cpp</tt> also needs these changes. We -change one occurence of <tt>XtFree()</tt> to <em>delete</em>. -<p> <pre></pre> -<p> Finally, We need to replace two occurences of <tt>XtNewString()</tt> in the <tt>main()</tt> function in <tt>todo.cpp</tt>. -<p> - -<pre></pre> -<p> <h2> Moving Existing Code -</h2> -<a name="3"></a><p> The rest of the refactoring process involves moving existing code into -new places. Currently, each function in the <tt>mainwindow.ui.h</tt> file -simply calls the old callback handlers present in the other files. -Instead of calling the old callback functions, the implementations are -moved accordingly. -<p> <center><table cellpadding="4" cellspacing="2" border="0"> -<tr bgcolor="#a2c511"> <th valign="top">Function <th valign="top">Original File <th valign="top">Moved to Function -<tr bgcolor="#f0f0f0"> <td valign="top"><tt>New()</tt> <td valign="top"><tt>todo.cpp</tt> <td valign="top"><tt>MainWindow::fileNew()</tt> -<tr bgcolor="#d0d0d0"> <td valign="top"><tt>Open()</tt> <td valign="top"><tt>todo.cpp</tt> <td valign="top"><tt>MainWindow::fileOpen()</tt> -<tr bgcolor="#f0f0f0"> <td valign="top"><tt>SaveIt()</tt> <td valign="top"><tt>actions.cpp</tt> <td valign="top"><tt>MainWindow::fileSave()</tt> -<tr bgcolor="#d0d0d0"> <td valign="top"><tt>Save()</tt> <td valign="top"><tt>todo.cpp</tt> <td valign="top"><tt>MainWindow::fileSaveAs()</tt> -<tr bgcolor="#f0f0f0"> <td valign="top"><tt>ShowPrintDialog()</tt> <td valign="top"><tt>todo.cpp</tt> <td valign="top"><tt>MainWindow::filePrint()</tt> -<tr bgcolor="#d0d0d0"> <td valign="top"><tt>EditPage()</tt> <td valign="top"><tt>actions.cpp</tt> <td valign="top"><tt>MainWindow::selProperties()</tt> -<tr bgcolor="#f0f0f0"> <td valign="top"><tt>NewPage()</tt> <td valign="top"><tt>actions.cpp</tt> <td valign="top"><tt>MainWindow::selNewPage()</tt> -<tr bgcolor="#d0d0d0"> <td valign="top"><tt>DeletePage()</tt> <td valign="top"><tt>actions.cpp</tt> <td valign="top"><tt>MainWindow::selDeletePage()</tt> -</table></center> -<p> The <tt>Print()</tt> callback function is still used by the <em>Print</em> -dialog, so we move it into <tt>mainwindow.ui.h</tt> and make it <tt>static</tt>. -<p> Previously, the <tt>Open()</tt>, <tt>Save()</tt>, <tt>EditPage()</tt> and <tt>DeletePage()</tt> -functions created dialogs with <em>client_data</em> as the parent argument. -Since we have moved the code directly into the <em>Main Window</em> -implementation, we create these dialogs with <em>this</em> as the parent -argument. -<p> The <tt>PageChange()</tt> callback function is moved from <tt>actions.cpp</tt> -to <tt>todo.cpp</tt> and made <tt>static</tt> since it is not used anywhere else. -<p> Earlier modifications to <tt>actions.cpp</tt> caused the <tt>Trim()</tt> function -to become redundant, so we remove it. -<p> The <tt>MIN()</tt> and <tt>MAX()</tt> macros in <tt>todo.cpp</tt> are redundant. TQt -provides the <tt>TQMIN()</tt> and <tt>TQMAX()</tt> macros which we will use. -<p> Earlier modifications caused the <tt>fallback_resources</tt> array to become -redundant, so we remove it. -<p> In the near future, our program will not use <a href="motif-extension.html#Motif">Motif</a> any more, and we -will no longer need to use <a href="tqmotif.html">TQMotif</a>. To prepare for this, we remove the -<tt>resources</tt> and <tt>optionDesc</tt> arrays and create the TQMotif instance -with just the <em>APP_CLASS</em> argument. -<p> The <tt>#include</tt> statements in the source files are mostly incorrect -due to the refactoring changes. Many of the <tt>#include</tt> statements -are no longer needed. The <tt>#include</tt> statements from each file are -listed below, instead of describing which includes are removed and -added to each file. -<p> Includes for <tt>actions.cpp</tt>: -<p> - -<pre></pre> -<p> Includes for <tt>io.cpp</tt>: -<p> - -<pre></pre><pre></pre><pre></pre> -<p> Includes for <tt>todo.cpp</tt>: -<p> - -<pre></pre><pre></pre><pre></pre> -<p> Includes for <tt>mainwindow.ui.h</tt>: -<p> - -<pre></pre><pre></pre><pre></pre><pre></pre><pre></pre> -<p> [ <a href="motif-walkthrough-6.html">Previous: Using TQt Main Window Classes</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-8.html">Next: Replacing the View Widget</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-8.html b/doc/html/motif-walkthrough-8.html deleted file mode 100644 index 15c54a2b1..000000000 --- a/doc/html/motif-walkthrough-8.html +++ /dev/null @@ -1,212 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:1190 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Replacing the View Widget</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Replacing the View Widget</h1> - - - -[ <a href="motif-walkthrough-7.html">Previous: Refactoring Existing Code</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-9.html">Next: Replacing the Print Dialog</a> ] -<p> We are ready to start replacing the <em>View</em> widget. However, our -example program uses the <tt>XmNotebook</tt> widget class. TQt does not -provide a direct equivalent of this class, so we are faced with three -possibilities, each with several advantages and disadvantages. -<p> <ol type=1> -<p> <li> We can continue the conversion using existing TQt widgets. -<p> <ul> -<p> <li> Advantages - The widgets provided by TQt are well designed and -tested, allowing us to quickly redesign the user interface. -<p> <li> Disadvantages - Most, if not all, of the existing data structures -and code will need to be modified or rewritten. New code must be -written in a way that maintains compatibility with previous versions -of our application. -<p> </ul> -<p> <li> We can write a new <a href="tqwidget.html">TQWidget</a> subclass that is identical to the <tt>XmNotebook</tt> widget class. -<p> <ul> -<p> <li> Advantages - The existing data structures will not change, allowing -compatibility with previous and future versions. -<p> <li> Disadvantages - The new widget will need to be written and -regression tested. Existing code in our application will need to be -changed in order to deal with the new widget's API. -<p> </ul> -<p> <li> We can leave the <tt>XmNotebook</tt> widget untouched. -<p> <ul> -<p> <li> Advantages - The existing data structures and code remain -unchanged, allowing us to continue development on other projects, -new features, etc. -<p> <li> Disadvantages - This is the simplest solution, but the application -will still be dependent upon X11; we will not be able to deploy our -application on all platforms supported by TQt. -<p> </ul> -<p> </ol> -<p> We will use the first approach to complete the migration of the -example project used in this walkthrough, using <a href="tqtextedit.html">TQTextEdit</a>, <a href="tqlabel.html">TQLabel</a> and -<a href="tqspinbox.html">TQSpinBox</a> to provide a similar look. The only difference is that we -will not have tabs. -<p> We use <a href="designer-manual.html">TQt Designer</a> to add the -TQTextEdit, TQLabel and TQSpinBox widgets to the <em>Main Window</em> widget. -<p> <h2> Data Structure Modifications -</h2> -<a name="1"></a><p> The <tt>Page</tt> struct contains <tt>majorPB</tt> and <tt>minorPB</tt> members which -need to be removed. These members correspond to the tabs displayed in -the existing version. The new version will not have any tabs, so we -remove them. -<p> - -<pre></pre> -<p> <h2> Code Modifications -</h2> -<a name="2"></a><p> Most of the existing functions in our application need to be modified -to work with the new <em>View</em> widget. The <tt>MainWindow</tt> class has five -new functions that correspond to existing functions. -<p> <center><table cellpadding="4" cellspacing="2" border="0"> -<tr bgcolor="#a2c511"> <th valign="top">Existing Function <th valign="top">New Function -<tr bgcolor="#f0f0f0"> <td valign="top"><tt>void SetPage( int )</tt> <td valign="top"><tt>void MainWindow::setPage( int )</tt> -<tr bgcolor="#d0d0d0"> <td valign="top"><tt>void PageChange( ... )</tt> <td valign="top"><tt>void MainWnidow::pageChange( int )</tt> -<tr bgcolor="#f0f0f0"> <td valign="top"><tt>void TextChanged( ... )</tt> <td valign="top"><tt>void MainWnidow::textChanged()</tt> -<tr bgcolor="#d0d0d0"> <td valign="top"><tt>void ReadDB( char * )</tt> <td valign="top"><tt>void MainWindow::readDB( char * )</tt> -<tr bgcolor="#f0f0f0"> <td valign="top"><tt>void SaveDB( char * )</tt> <td valign="top"><tt>void MainWindow::saveDB( char * )</tt> -</table></center> -<p> <a name="mainwindow-ui-h-view-widget-modifications"></a> -<p> The <tt>SetPage()</tt> function implementation is moved to the <tt>MainWindow::setPage()</tt> function in <tt>mainwindow.ui.h</tt>. We remove the -<tt>SetPage()</tt> function declaration and implementation from <tt>page.h</tt> -and <tt>actions.cpp</tt>, respectively. In order to make <tt>MainWindow::setPage()</tt> work correctly, we need to modify the code to -use the new widgets in our <em>Main Window</em> widget. -<p> - -<pre></pre> -<p> First, we set the current value of the <tt>spinbox</tt> to the current page -number. -<p> <pre></pre> -<p> Next, we set the current text and cursor position of the <tt>textedit</tt> -to the contents of the current page. -<p> <pre></pre> -<p> If the current page has a custom label, we set it as the current text -of the <tt>textlabel</tt>; otherwise we set the <tt>textlabel</tt> contents to -"Page X" (where X is the current page number). -<p> <pre></pre> -<p> If the current page has major and/or minor tab text, we append these -to the <tt>labeltext</tt>. This ensures that all information entered by the -user remains visible. -<p> <pre></pre> -<p> We should continue to handle the possibility that the current page -does not exist. In this case, we clear the contents of the <tt>textedit</tt> widget and set the <tt>textlabel</tt> contents to the current page -number (with an indication that the page is invalid). -<p> <pre></pre> -<p> The <tt>PageChange()</tt> function is moved from <tt>todo.cpp</tt> to the <tt>MainWindow::pageChange()</tt> function in <tt>mainwindow.ui.h</tt>. As with the -<tt>MainWindow::setPae()</tt> function, we need to modify the code to use -the new widgets in our <em>Main Window</em> widget. -<p> Note: <a href="tqtextedit.html#text">TQTextEdit::text</a>() returns a <a href="tqstring.html">TQString</a>, which needs to be converted -into a normal <tt>char*</tt> array. To do this we create a copy of the -string in the local encoding. We need to make the copy using <a href="tqcstring.html#qstrdup">tqstrdup</a>() because the data contained in the <a href="tqcstring.html">TQCString</a> returned by -<a href="tqstring.html#local8Bit">TQString::local8Bit</a>() is deallocated when the TQCString is destroyed. -<p> <pre></pre> -<p> The <tt>TextChanged()</tt> function does nothing more than set the <tt>modified</tt> variable to 1. Our new <tt>MainWindow::textChanged()</tt> function -does exactly the same. -<p> <pre></pre> -<p> Since both the <tt>MainWindow::pageChange()</tt> and <tt>MainWindow::textChanged()</tt> functions access the <tt>modified</tt> global -variable, we add a forward declaration at the top of <tt>mainwindow.ui.h</tt>. -<p> <a name="io-cpp-view-widget-modifications"></a> -<p> The <tt>ReadDB()</tt> and \s SaveDB() implementations in <tt>io.cpp</tt> are -renamed to <tt>MainWindow::readDB()</tt> and <tt>MainWindow::saveDB()</tt>, -respectively. We need to modify the code in order to make the code -work properly. -<p> First, We add <tt>#include</tt> statements for the <tt>MainWindow</tt>, <a href="tqspinbox.html">TQSpinBox</a> -and <a href="tqtextedit.html">TQTextEdit</a> classes. -<p> - -<pre></pre><pre></pre> -<p> The new <tt>MainWindow::readDB()</tt> and <tt>MainWindow::saveDB()</tt> functions -will not use any Xt/Motif functions, so we remove the Xt/Motif <tt>#include</tt> statements and the global variables <tt>notebook</tt> and <tt>textw</tt>. -These functions remain largely unchanged, maintaining compatibility -with previous versions. Also, the <tt>ReadDB()</tt> and <tt>SaveDB()</tt> -functions have been converted into <tt>MainWindow</tt> member functions, so -we can pass <em>this</em> as the <em>parent</em> argument to the <a href="tqmessagebox.html">TQMessageBox</a> -functions. -<p> <pre></pre> -<p> After reading the file in the <tt>MainWindow::readDB()</tt> function, we set -the current and maximum values of the <tt>spinbox</tt> to the appropriate -values. -<p> - -<p> <pre></pre> -<p> In the <tt>MainWindow::saveDB()</tt> function, we need to store the text -currently displayed, so we use <a href="tqtextedit.html#text">TQTextEdit::text</a>() instead of <tt>XmTextGetString()</tt>. Note: TQTextEdit::text() returns a <a href="tqstring.html">TQString</a>, which -needs to be converted into a normal <tt>char*</tt> array. To do this we -create a copy of the string in the local encoding. We need to make -the copy using <a href="tqcstring.html#qstrdup">tqstrdup</a>() because the data contained in the <a href="tqcstring.html">TQCString</a> -returned by <a href="tqstring.html#local8Bit">TQString::local8Bit</a>() is deallocated when the TQCString is -destroyed. -<p> <pre></pre> -<p> <a name="actions-cpp-viewwidget-modifications"></a> -<p> Due to the removal of the <tt>majorPB</tt> and <tt>minorPB</tt> members from the -<tt>Page</tt> struct, the <tt>FixPages()</tt> function in <tt>actions.cpp</tt> is no -longer needed. We remove the implementation and forward declaration -of <tt>FixPages()</tt> from <tt>actions.cpp</tt> and <tt>page.h</tt>, respectively. -Calls to <tt>FixPages()</tt> are removed from the <tt>MainWindow::selNewPage()</tt> and <tt>MainWindow::selDeletePage()</tt>, both of -which are in <tt>mainwindow.ui.h</tt>. -<p> We move <tt>AdjustPages()</tt> to <tt>mainwindow.ui.h</tt> and make it <tt>static</tt>, -since it is only used in this file. We remove the forward declaration -from <tt>page.h</tt> as well. -<p> After our modifications, the <tt>actions.cpp</tt> file is empty. We remove -it from our project file and regenerate our <tt>Makefile</tt>. -<p> <a name="todo-cpp-view-widget-modifications"></a> -<p> Now that we have implemented our new <em>View</em> widget, we need to remove -the old <a href="motif-extension.html#Motif">Motif</a> based view widget from <tt>todo.cpp</tt>. -<p> Since we will not be using any Motif widgets, we remove all Motif <tt>#include</tt> statements, including <a href="tqmotifwidget-h.html">tqmotifwidget.h</a>. -<p> - -<pre></pre><pre></pre> -<p> We also remove the forward declarations of the <tt>ReadDB()</tt> function -and the <tt>notebook</tt>, <tt>textw</tt> and <tt>labelw</tt> global variables. -<p> <pre></pre> -<p> Next, we remove the <tt>center</tt> widget, which uses <a href="tqmotifwidget.html">TQMotifWidget</a>. The <em>Main Window</em> widget and <em>View</em> widget are contained entirely in our -<tt>MainWindow</tt> class, so no extra initialization is needed after -creating the <tt>mainwindow</tt> widget. -<p> <pre></pre> -<p> Since the <tt>ReadDB()</tt> and <tt>SetPage()</tt> functions have been changed into -<tt>MainWindow</tt> member functions, we need to call them using our <tt>mainwindow</tt> instance. -<p> <pre></pre> -<p> The <em>View</em> widget has now been replaced. After building our project, -we confirm that the application works correctly. -<p> [ <a href="motif-walkthrough-7.html">Previous: Refactoring Existing Code</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-9.html">Next: Replacing the Print Dialog</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough-9.html b/doc/html/motif-walkthrough-9.html deleted file mode 100644 index 8d21cd1c4..000000000 --- a/doc/html/motif-walkthrough-9.html +++ /dev/null @@ -1,104 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:1477 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Replacing the Print Dialog</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Replacing the Print Dialog</h1> - - - -[ <a href="motif-walkthrough-8.html">Previous: Replacing the View Widget</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-10.html">Next: Continuing Development</a> ] -<p> The <em>Print</em> dialog is the last component in our application that -uses <a href="motif-extension.html#Motif">Motif</a>. The current <tt>Print()</tt> function does nothing more than -write the plain text to a temporary file, and then executes 'lpr' to -send the text to the printer. Since we will use <a href="tqprinter.html">TQPrinter</a>, we do not -this function any more, so we remove it. The current <tt>MainWindow::filePrint()</tt> implementation is removed as well. We will -write a new <tt>MainWindow::filePrint()</tt> implementation in <tt>mainwindow.ui.h</tt>. -<p> Note: The steps involved in using the TQPrinter class are beyond the -scope of this walkthrough and will not be discussed here. The -TQPrinter Class Reference, <a href="tqsimplerichtext.html">TQSimpleRichText</a> Class Reference and the -<a href="simple-application.html">Simple Application Walkthrough</a> -contain information on the use of TQPrinter. -<p> For completeness, the code to initialize a TQPrinter object is included below. -<p> - -<pre></pre> -<p> <h2> Using Rich Text for Printing -</h2> -<a name="1"></a><p> TQt provides rich text using a subset of HTML. The TQSimpleRichText -class makes rich-text printing simple. All we need to do is create a -string with the proper format tags inserted at the appropriate -places. For our example, we will keep the printing output similar to -previous versions. -<p> First, we create the format tags that we will use. -<p> <pre></pre> -<p> Next we just loop over all pages, appending the page label, contents -and formatting characters to a <tt>printtext</tt> variable (which is a -<a href="tqstring.html">TQString</a>). -<p> <pre></pre> -<p> The rest of the <tt>MainWindow::filePrint()</tt> function is the actual -printing code. Here we simply create a <a href="tqsimplerichtext.html">TQSimpleRichText</a> object using -the string we created above, and draw this string on the <a href="tqprinter.html">TQPrinter</a> -object using <a href="tqpainter.html">TQPainter</a>. -<p> <pre></pre> -<p> <h2> Removing the Dependency on Xt/Motif -</h2> -<a name="2"></a><p> Our application no longer uses any Xt or Motif widgets. We can now -finish removing the dependencies on Xt and Motif. -<p> First, we cleanup the <tt>#include</tt> statements in <tt>mainwindow.ui.h</tt>. -<p> - -<p> <pre></pre><pre></pre> -<p> The <tt>MainWindow::fileNew()</tt> function uses the <tt>Boolean</tt> and <tt>False</tt> -keywords from the Xt library. C++ has these built into the language, -so we use <tt>bool</tt> and <tt>false</tt> instead. -<p> The last modification needed to completely remove Xt and Motif from -our application is to stop using the <a href="tqmotif.html">TQMotif</a> class. We remove the -tqmotif.h <tt>#include</tt> statement from <tt>todo.cpp</tt>, and remove the -instantiation from the <tt>main()</tt> function. -<p> After doing this, we can remove the <tt>-lXm</tt> and <tt>-lqmotif</tt> from the -<tt>LIBS</tt> variable in our project file. Our project file also contains -source and headers for the the old custom Motif widgets previously -used in our application. We remove these as well. -<p> After regenerating the <tt>Makefile</tt> and building our project, we -confirm that the application works correctly. -<p> [ <a href="motif-walkthrough-8.html">Previous: Replacing the View Widget</a> ] -[ <a href="motif-walkthrough.html">Home</a> ] -[ <a href="motif-walkthrough-10.html">Next: Continuing Development</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/motif-walkthrough.html b/doc/html/motif-walkthrough.html deleted file mode 100644 index 1c52bd6e4..000000000 --- a/doc/html/motif-walkthrough.html +++ /dev/null @@ -1,150 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/doc/walkthrough.doc:2 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQt Motif Extension - A Migration Walkthrough</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQt Motif Extension - A Migration Walkthrough</h1> - - - -[ <a href="motif-walkthrough-1.html">Next: Getting Started</a> ] -<p> This walkthrough covers a complete migration of a <a href="motif-extension.html#Motif">Motif</a> based program -to the TQt toolkit using the <em>TQt Motif Extension</em>. -<p> It is rarely practical for a large project with hundreds of thousands -or even millions of lines of code to be migrated all at once; such an -endeavor would require too many development resources and would incur -significant risks. Every line of code would have to be rewritten, -every user interface redesigned, and quality assurance tests and -procedures all rewritten. The <em>TQt Motif Extension</em> provides a -complete and working solution for incremental migration that can be -paced to suit each individual project and the available resources. The -user interface and related code can be migrated in steps while the -rest of the project need not be changed at all. -<p> This walkthrough is intended for programmers who will be migrating an -existing Motif based project to the TQt toolkit. We assume that they -have experience with C/C++ and Xt/Motif. Some experience with the TQt -toolkit is also necessary. For developers completely new to TQt we -recommend following the learning plan outlined in <a href="how-to-learn-tqt.html">How to Learn TQt</a>; or to go on a TQt -training course. (See <a href="http://www.trolltech.com">http://www.trolltech.com</a> for -details of training courses.) -<p> <h2> Goals for the Walkthrough -</h2> -<a name="1"></a><p> The goal of this walkthrough is to provide the reader with enough -knowledge to migrate Motif applications to the TQt toolkit. We will do -this by example: We will convert a real-world Motif based program -step-by-step. This walkthrough will discuss both techniques and their -rationales throughout the process. This walkthrough is broken down -into individual chapters which cover a specific topic: -<p> <ul> -<li> Chapter 1: <a href="motif-walkthrough-1.html">Getting Started</a> -<li> Chapter 2: <a href="motif-walkthrough-2.html">Preparing to Migrate the User Interface</a> -<li> Chapter 3: <a href="motif-walkthrough-3.html">Using TQt Standard Dialogs</a> -<li> Chapter 4: <a href="motif-walkthrough-4.html">Using Custom TQDialogs</a> -<li> Chapter 5: <a href="motif-walkthrough-5.html">Using Existing Dialogs with TQMotifDialog</a> -<li> Chapter 6: <a href="motif-walkthrough-6.html">Using TQt Main Window Classes</a> -<li> Chapter 7: <a href="motif-walkthrough-7.html">Refactoring Existing Code</a> -<li> Chapter 8: <a href="motif-walkthrough-8.html">Replacing the View Widget</a> -<li> Chapter 9: <a href="motif-walkthrough-9.html">Replacing the Print Dialog</a> -<li> Chapter 10: <a href="motif-walkthrough-10.html">Continuing Development</a> -</ul> -<p> We will use the <em>todo</em> demo program included with the Motif 2.x -distribution as our migration project. This walkthrough contains -references to the source code, which is included in the <tt>extensions/motif/examples/walkthrough</tt> subdirectory. -<p> <h2> Prerequisites -</h2> -<a name="2"></a><p> Before we can start using the <em>TQt Motif Extension</em>, we must satisfy -these requirements: -<p> <ol type=1> -<li> We are using the X11R6.x and Motif 2.x libraries. -<li> The project is compilable by a C++ compiler. -<li> We have built and installed the <em>TQt Motif Extension</em>. -<li> We have built and linked the project with the TQt toolkit and the <em>TQt Motif Extension</em> -</ol> -<p> <h3> X11R6.x and Motif 2.x Libraries -</h3> -<a name="2-1"></a><p> The mechanisms used by the <em>TQt Motif Extension</em> require development -headers and libraries from the X11R6 release and the Motif 2.0 -release. Newer versions of these can also be used. -<p> <h3> C++ Compiler -</h3> -<a name="2-2"></a><p> Since TQt is a C++ toolkit, all new code will be written in C++. In -order for existing code to coexist with new code, a C++ compiler must -be able to compile the existing code. -<p> It is possible to keep existing code and new code separate, and only -convert or rewrite existing code as needed. This is a normal part -of the migration process, and does not need to be done before the -migration process begins. This is the most common scenario, and we -will demonstrate it by migrating existing C code to C++ as needed in -this walkthrough. -<p> <h3> Build and Install the TQt Motif Extension -</h3> -<a name="2-3"></a><p> The <em>TQt Motif Extension</em> is not built and installed along with the -TQt toolkit. The extension resides in the <tt>extensions/motif</tt> -subdirectory. Run <em>make</em> in this directory to build the extension -and the examples. Once the extension has been built, run <em>make install</em>. -<p> <pre> - $ cd extensions/motif - $ make - $ make install -</pre> - -<p> The <em>TQt Motif Extension</em> is now installed and ready to use. -<p> <h3> Build and Link the Project with the TQt Toolkit and the TQt Motif Extension -</h3> -<a name="2-4"></a><p> For simplicity, we use <em>qmake</em> to create the <tt>Makefile</tt>. The <tt>-project</tt> option causes <em>qmake</em> to automatically generate a project -file. After <em>qmake -project</em> has generated our project file, we -run <em>qmake</em> again to generate a <tt>Makefile</tt>. Now, we can just run <em>make</em> to build our project. -<p> <pre> - $ qmake -project - $ qmake - $ make -</pre> - -<p> Everything builds correctly, but fails to link because we don't link -with the Motif library. We tell <em>qmake</em> to do this by adding the <tt>-lXm</tt> to the <tt>LIBS</tt> variable in our project file. Since we are -planning to use the <em>TQt Motif Extension</em> in this project as well, -we should also add <tt>-lqmotif</tt> to the list of libraries. -<p> <pre> - LIBS += -lXm -lqmotif -</pre> - -<p> Now we regenerate our <tt>Makefile</tt> by running <tt>qmake</tt> again, and -rebuild using <tt>make</tt>. This time, our project successfully links, and -the application runs as expected. -<p> We are now ready to start using the <em>TQt Motif Extension</em>. -<p> [ <a href="motif-walkthrough-1.html">Next: Getting Started</a> ] -<p> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/opengl.html b/doc/html/opengl.html index 7b6e4f3c9..3fce7175e 100644 --- a/doc/html/opengl.html +++ b/doc/html/opengl.html @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; } <p> OpenGL only deals with 3D rendering and provides little or no support for GUI programming issues. The user interface for an OpenGL<sup>*</sup> application must be created with another toolkit, -such as <a href="motif-extension.html#Motif">Motif</a> on the X platform, Microsoft Foundation Classes (MFC) +such as Motif on the X platform, Microsoft Foundation Classes (MFC) under Windows, or TQt on <em>both</em> platforms. <p> The TQt OpenGL module makes it easy to use OpenGL in TQt applications. It provides an OpenGL widget class that can be used just like any diff --git a/doc/html/overviews-list.html b/doc/html/overviews-list.html index b004d787b..542355551 100644 --- a/doc/html/overviews-list.html +++ b/doc/html/overviews-list.html @@ -77,7 +77,6 @@ body { background: #ffffff; color: black; } <li> <a href="eventsandfilters.html">Events and Event Filters</a> <li> <a href="focus.html">Keyboard Focus Overview</a> <li> <a href="accelerators.html">Standard Accelerators</a> -<li> <a href="motif-extension.html">Motif Support Extension</a> <li> <a href="opengl-x11-overlays.html">OpenGL Overlays (X11)</a> <li> <a href="appicon.html">Setting the Application Icon</a> <li> <a href="session.html">Session Management</a> diff --git a/doc/html/pictures.html b/doc/html/pictures.html index 75f42bb07..23b8a6dec 100644 --- a/doc/html/pictures.html +++ b/doc/html/pictures.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; } -<p> Most of these widgets are shown in either <a href="motif-extension.html#Motif">Motif</a> or Windows style. +<p> Most of these widgets are shown in either Motif or Windows style. All widgets are supported in both styles (and other <a href="tqstyle.html">styles</a>), but for clarity we just present a selection. <p> TQt provides more widgets than the selection shown below. And extra TQt are available from third parties, and as add-ons to TQt; see <a href="http://www.trolltech.com/products/solutions/index.html">TQt diff --git a/doc/html/propertydocs b/doc/html/propertydocs index a48622099..83d70b6d7 100644 --- a/doc/html/propertydocs +++ b/doc/html/propertydocs @@ -424,7 +424,7 @@ setting. <doc href="tqcombobox.html#editable-prop"> <p>This property holds whether the combobox is editable. <p>This property's default is FALSE. Note that the combobox will be -cleared if this property is set to TRUE for a 1.x <a href="motif-extension.html#Motif">Motif</a> style +cleared if this property is set to TRUE for a 1.x Motif style combobox. To avoid this, use <a href="tqcombobox.html#setEditable">setEditable</a>() before inserting any items. Also note that the 1.x version of Motif didn't have any editable comboboxes, so the combobox will change it's appearance @@ -454,7 +454,7 @@ to a 2.0 style Motif combobox is it is set to be editable. <name>TQComboBox::sizeLimit</name> <doc href="tqcombobox.html#sizeLimit-prop"> <p>This property holds the maximum on-screen size of the combobox. -<p>This property is ignored for both <a href="motif-extension.html#Motif">Motif</a> 1.x style and non-editable +<p>This property is ignored for both Motif 1.x style and non-editable comboboxes in Mac style. The default limit is ten lines. If the number of items in the combobox is or grows larger than lines, a scrollbar is added. @@ -2435,7 +2435,7 @@ undefined. <doc href="tqlistview.html#rootIsDecorated-prop"> <p>This property holds whether the list view shows open/close signs on root items. <p>Open/close signs are small <b>+</b> or <b>-</b> symbols in windows -style, or arrows in <a href="motif-extension.html#Motif">Motif</a> style. The default is FALSE. +style, or arrows in Motif style. The default is FALSE. <p>Set this property's value with <a href="tqlistview.html#setRootIsDecorated">setRootIsDecorated</a>() and get this property's value with <a href="tqlistview.html#rootIsDecorated">rootIsDecorated</a>(). </doc> @@ -2616,7 +2616,7 @@ property. The default icon is TQMessageBox::NoIcon. <doc href="tqmessagebox.html#iconPixmap-prop"> <p>This property holds the current icon. <p>The icon currently used by the message box. Note that it's often -hard to draw one pixmap that looks appropriate in both <a href="motif-extension.html#Motif">Motif</a> and +hard to draw one pixmap that looks appropriate in both Motif and Windows GUI styles; you may want to draw two pixmaps. <p> <p>See also <a href="tqmessagebox.html#icon-prop">icon</a>. diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index 65d021140..0c680c35a 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -4701,24 +4701,6 @@ <section ref="tqmimesourcefactory-members.html" title="List of All Member Functions"/> <section ref="tqmime-h.html" title="Header File"/> </section> -<section ref="tqmotif.html" title="TQMotif Class Reference"> - <keyword ref="tqmotif.html">TQMotif</keyword> - <keyword ref="tqmotif.html#applicationContext">applicationContext</keyword> - <keyword ref="tqmotif.html#x11Display">x11Display</keyword> - <keyword ref="tqmotif.html#~TQMotif">~TQMotif</keyword> - <section ref="tqmotif-members.html" title="List of All Member Functions"/> - <section ref="tqmotif-h.html" title="Header File"/> -</section> -<section ref="tqmotifdialog.html" title="TQMotifDialog Class Reference"> - <keyword ref="tqmotifdialog.html">TQMotifDialog</keyword> - <keyword ref="tqmotifdialog.html#acceptCallback">acceptCallback</keyword> - <keyword ref="tqmotifdialog.html#dialog">dialog</keyword> - <keyword ref="tqmotifdialog.html#rejectCallback">rejectCallback</keyword> - <keyword ref="tqmotifdialog.html#shell">shell</keyword> - <keyword ref="tqmotifdialog.html#~TQMotifDialog">~TQMotifDialog</keyword> - <section ref="tqmotifdialog-members.html" title="List of All Member Functions"/> - <section ref="tqmotifdialog-h.html" title="Header File"/> -</section> <section ref="tqmotifplusstyle.html" title="TQMotifPlusStyle Class Reference"> <keyword ref="tqmotifplusstyle.html">TQMotifPlusStyle</keyword> <section ref="tqmotifplusstyle-members.html" title="List of All Member Functions"/> @@ -4731,13 +4713,6 @@ <section ref="tqmotifstyle-members.html" title="List of All Member Functions"/> <section ref="tqmotifstyle-h.html" title="Header File"/> </section> -<section ref="tqmotifwidget.html" title="TQMotifWidget Class Reference"> - <keyword ref="tqmotifwidget.html">TQMotifWidget</keyword> - <keyword ref="tqmotifwidget.html#motifWidget">motifWidget</keyword> - <keyword ref="tqmotifwidget.html#~TQMotifWidget">~TQMotifWidget</keyword> - <section ref="tqmotifwidget-members.html" title="List of All Member Functions"/> - <section ref="tqmotifwidget-h.html" title="Header File"/> -</section> <section ref="tqmouseevent.html" title="TQMouseEvent Class Reference"> <keyword ref="tqmouseevent.html">TQMouseEvent</keyword> <keyword ref="tqmouseevent.html#accept">accept</keyword> @@ -9164,15 +9139,6 @@ <section ref="tqxmlsimplereader-members.html" title="List of All Member Functions"/> <section ref="tqxml-h.html" title="Header File"/> </section> -<section ref="qxtwidget.html" title="QXtWidget Class Reference"> - <keyword ref="qxtwidget.html#isActiveWindow">isActiveWindow</keyword> - <keyword ref="qxtwidget.html#setActiveWindow">setActiveWindow</keyword> - <keyword ref="qxtwidget.html#x11Event">x11Event</keyword> - <keyword ref="qxtwidget.html#xtWidget">xtWidget</keyword> - <keyword ref="qxtwidget.html#~QXtWidget">~QXtWidget</keyword> - <section ref="qxtwidget-members.html" title="List of All Member Functions"/> - <section ref="qxtwidget-h.html" title="Header File"/> -</section> <section ref="3rdparty.html" title="3rd Party Licenses used in Qt"> <keyword ref="3rdparty.html">3rd Party Licenses used in Qt</keyword> </section> @@ -9188,9 +9154,6 @@ <section ref="dirview-example.html" title="A Directory Browser"> <keyword ref="dirview-example.html">A Directory Browser</keyword> </section> -<section ref="motif-dialog-example.html" title="A Motif Dialog"> - <keyword ref="motif-dialog-example.html">A Motif Dialog</keyword> -</section> <section ref="archivesearch-example.html" title="A qt-interest mail archive search"> <keyword ref="archivesearch-example.html">A qt-interest mail archive search</keyword> </section> @@ -9299,9 +9262,6 @@ <section ref="drawlines-example.html" title="Connect the Points"> <keyword ref="drawlines-example.html">Connect the Points</keyword> </section> -<section ref="motif-walkthrough-10.html" title="Continuing Development"> - <keyword ref="motif-walkthrough-10.html">Continuing Development</keyword> -</section> <section ref="life-example.html" title="Conway's Game of Life"> <keyword ref="life-example.html">Conway's Game of Life</keyword> </section> @@ -9368,9 +9328,6 @@ <section ref="datastreamformat.html" title="Format of the TQDataStream Operators"> <keyword ref="datastreamformat.html">Format of the TQDataStream Operators</keyword> </section> -<section ref="motif-walkthrough-1.html" title="Getting Started"> - <keyword ref="motif-walkthrough-1.html">Getting Started</keyword> -</section> <section ref="gpl.html" title="GNU General Public License"> <keyword ref="gpl.html">GNU General Public License</keyword> </section> @@ -9557,9 +9514,6 @@ <section ref="porting.html" title="Porting to TQt 3.x"> <keyword ref="porting.html">Porting to TQt 3.x</keyword> </section> -<section ref="motif-walkthrough-2.html" title="Preparing to Migrate the User Interface"> - <keyword ref="motif-walkthrough-2.html">Preparing to Migrate the User Interface</keyword> -</section> <section ref="tutorial2-05.html" title="Presenting the GUI"> <keyword ref="tutorial2-05.html">Presenting the GUI</keyword> </section> @@ -9587,9 +9541,6 @@ <section ref="qmag-example.html" title="QMag"> <keyword ref="qmag-example.html">QMag</keyword> </section> -<section ref="motif-examples.html" title="TQMotif Support Extension"> - <keyword ref="motif-examples.html">motif-examples</keyword> -</section> <section ref="tqprocess-examples.html" title="TQProcess Examples"> <keyword ref="tqprocess-examples.html">tqprocess-examples</keyword> </section> @@ -9605,12 +9556,6 @@ <section ref="editions.html" title="TQt Editions"> <keyword ref="editions.html">TQt Editions</keyword> </section> -<section ref="motif-extension.html" title="TQt Motif Extension"> - <keyword ref="motif-extension.html">TQt Motif Extension</keyword> -</section> -<section ref="motif-walkthrough.html" title="TQt Motif Extension - A Migration Walkthrough"> - <keyword ref="motif-walkthrough.html">TQt Motif Extension - A Migration Walkthrough</keyword> -</section> <section ref="object.html" title="TQt Object Model"> <keyword ref="object.html">TQt Object Model</keyword> </section> @@ -9704,15 +9649,6 @@ <section ref="rangecontrols-example.html" title="Range controls"> <keyword ref="rangecontrols-example.html">Range controls</keyword> </section> -<section ref="motif-walkthrough-7.html" title="Refactoring Existing Code"> - <keyword ref="motif-walkthrough-7.html">Refactoring Existing Code</keyword> -</section> -<section ref="motif-walkthrough-9.html" title="Replacing the Print Dialog"> - <keyword ref="motif-walkthrough-9.html">Replacing the Print Dialog</keyword> -</section> -<section ref="motif-walkthrough-8.html" title="Replacing the View Widget"> - <keyword ref="motif-walkthrough-8.html">Replacing the View Widget</keyword> -</section> <section ref="richtext-example.html" title="Richtext"> <keyword ref="richtext-example.html">Richtext</keyword> </section> @@ -9863,27 +9799,12 @@ <section ref="uic.html" title="User Interface Compiler (uic)"> <keyword ref="uic.html">User Interface Compiler (uic)</keyword> </section> -<section ref="motif-walkthrough-4.html" title="Using Custom TQDialogs"> - <keyword ref="motif-walkthrough-4.html">Using Custom TQDialogs</keyword> -</section> -<section ref="motif-walkthrough-5.html" title="Using Existing Dialogs with TQMotifDialog"> - <keyword ref="motif-walkthrough-5.html">Using Existing Dialogs with TQMotifDialog</keyword> -</section> <section ref="menu-example.html" title="Using menus"> <keyword ref="menu-example.html">Using menus</keyword> </section> -<section ref="motif-walkthrough-6.html" title="Using TQt Main Window Classes"> - <keyword ref="motif-walkthrough-6.html">Using TQt Main Window Classes</keyword> -</section> -<section ref="motif-walkthrough-3.html" title="Using TQt Standard Dialogs"> - <keyword ref="motif-walkthrough-3.html">Using TQt Standard Dialogs</keyword> -</section> <section ref="moc.html" title="Using the Meta Object Compiler"> <keyword ref="moc.html">Using the Meta Object Compiler</keyword> </section> -<section ref="motif-customwidget-example.html" title="Using the Motif Event Loop"> - <keyword ref="motif-customwidget-example.html">Using the Motif Event Loop</keyword> -</section> <section ref="simple-application.html" title="Walkthrough: A Simple Application"> <keyword ref="simple-application.html">Walkthrough: A Simple Application</keyword> </section> diff --git a/doc/html/qxtwidget-h.html b/doc/html/qxtwidget-h.html deleted file mode 100644 index d8cde3100..000000000 --- a/doc/html/qxtwidget-h.html +++ /dev/null @@ -1,110 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/qxtwidget.h:1 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>qxtwidget.h Include File</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>qxtwidget.h</h1> - -<p>This is the verbatim text of the qxtwidget.h include file. It is provided only for illustration; the copyright remains with Trolltech. -<hr> -<pre> -/**************************************************************************** -** $Id: qt/qxtwidget.h 3.3.8 edited Jan 11 14:37 $ -** -** Definition of TQt extension classes for Xt/Motif support. -** -** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt extension for Xt/Motif support. -** -** Licensees holding valid TQt Enterprise Edition licenses for X11 may use -** this file in accordance with the TQt Commercial License Agreement provided -** with the Software. -** -** This file is not available for use under any other license without -** express written permission from the copyright holder. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for -** information about TQt Commercial License Agreements. -** -** Contact info@trolltech.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - -#ifndef TQXTWIDGET_H -#define TQXTWIDGET_H - -#include <tqwidget.h> - -#include <X11/Intrinsic.h> - - -class TQXtWidget : public TQWidget { - TQ_OBJECT - Widget xtw; - Widget xtparent; - bool need_reroot; - void init(const char* name, WidgetClass widget_class, - Widget parent, TQWidget* qparent, - ArgList args, Cardinal num_args, - bool managed); - friend void tqwidget_realize( Widget widget, XtValueMask* mask, - XSetWindowAttributes* attributes ); - -public: - TQXtWidget(const char* name, Widget parent, bool managed=FALSE); - TQXtWidget(const char* name, WidgetClass widget_class, - TQWidget *parent=0, ArgList args=0, Cardinal num_args=0, - bool managed=FALSE); - ~TQXtWidget(); - - Widget xtWidget() const { return xtw; } - bool isActiveWindow() const; - void setActiveWindow(); - -protected: - void moveEvent( TQMoveEvent* ); - void resizeEvent( TQResizeEvent* ); - bool x11Event( XEvent * ); -}; - -#endif // TQXTWIDGET_H -</pre> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/qxtwidget-members.html b/doc/html/qxtwidget-members.html deleted file mode 100644 index 1612ab731..000000000 --- a/doc/html/qxtwidget-members.html +++ /dev/null @@ -1,338 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/qxtwidget.h:36 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQXtWidget Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQXtWidget</h1> - -<p>This is the complete list of member functions for -<a href="qxtwidget.html">TQXtWidget</a>, including inherited members. - -<ul> -<li><a href="qxtwidget.html#TQXtWidget">TQXtWidget</a>() -<li><a href="qxtwidget.html#~TQXtWidget">~TQXtWidget</a>() -<li><a href="tqwidget.html#acceptDrops">acceptDrops</a>() -<li><a href="tqwidget.html#adjustSize">adjustSize</a>() -<li><a href="tqwidget.html#autoMask">autoMask</a>() -<li><a href="tqwidget.html#backgroundBrush">backgroundBrush</a>() -<li><a href="tqwidget.html#backgroundColor">backgroundColor</a>() -<li><a href="tqwidget.html#backgroundMode">backgroundMode</a>() -<li><a href="tqwidget.html#backgroundOrigin">backgroundOrigin</a>() -<li><a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() -<li><a href="tqwidget.html#baseSize">baseSize</a>() -<li><a href="tqobject.html#blockSignals">blockSignals</a>() -<li><a href="tqwidget.html#caption">caption</a>() -<li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() -<li><a href="tqobject.html#child">child</a>() -<li><a href="tqwidget.html#childAt">childAt</a>() -<li><a href="tqobject.html#childEvent">childEvent</a>() -<li><a href="tqobject.html#children">children</a>() -<li><a href="tqwidget.html#childrenRect">childrenRect</a>() -<li><a href="tqwidget.html#childrenRegion">childrenRegion</a>() -<li><a href="tqobject.html#className">className</a>() -<li><a href="tqwidget.html#clearFocus">clearFocus</a>() -<li><a href="tqwidget.html#clearMask">clearMask</a>() -<li><a href="tqwidget.html#clearWFlags">clearWFlags</a>() -<li><a href="tqwidget.html#clipRegion">clipRegion</a>() -<li><a href="tqwidget.html#close">close</a>() -<li><a href="tqwidget.html#closeEvent">closeEvent</a>() -<li><a href="tqpaintdevice.html#cmd">cmd</a>() -<li><a href="tqwidget.html#colorGroup">colorGroup</a>() -<li><a href="tqobject.html#connect">connect</a>() -<li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="tqwidget.html#constPolish">constPolish</a>() -<li><a href="tqwidget.html#contextMenuEvent">contextMenuEvent</a>() -<li><a href="tqwidget.html#create">create</a>() -<li><a href="tqwidget.html#cursor">cursor</a>() -<li><a href="tqobject.html#customEvent">customEvent</a>() -<li><a href="tqwidget.html#customWhatsThis">customWhatsThis</a>() -<li><a href="tqobject.html#deleteLater">deleteLater</a>() -<li><a href="tqwidget.html#destroy">destroy</a>() -<li><a href="tqobject.html#destroyed">destroyed</a>() -<li><a href="tqobject.html#disconnect">disconnect</a>() -<li><a href="tqobject.html#disconnectNotify">disconnectNotify</a>() -<li><a href="tqwidget.html#dragEnterEvent">dragEnterEvent</a>() -<li><a href="tqwidget.html#dragLeaveEvent">dragLeaveEvent</a>() -<li><a href="tqwidget.html#dragMoveEvent">dragMoveEvent</a>() -<li><a href="tqwidget.html#drawText">drawText</a>() -<li><a href="tqwidget.html#dropEvent">dropEvent</a>() -<li><a href="tqobject.html#dumpObjectInfo">dumpObjectInfo</a>() -<li><a href="tqobject.html#dumpObjectTree">dumpObjectTree</a>() -<li><a href="tqwidget.html#enabledChange">enabledChange</a>() -<li><a href="tqwidget.html#enterEvent">enterEvent</a>() -<li><a href="tqwidget.html#erase">erase</a>() -<li><a href="tqwidget.html#eraseColor">eraseColor</a>() -<li><a href="tqwidget.html#erasePixmap">erasePixmap</a>() -<li><a href="tqwidget.html#event">event</a>() -<li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="tqwidget.html#find">find</a>() -<li><a href="tqwidget.html#focusData">focusData</a>() -<li><a href="tqwidget.html#focusInEvent">focusInEvent</a>() -<li><a href="tqwidget.html#focusNextPrevChild">focusNextPrevChild</a>() -<li><a href="tqwidget.html#focusOutEvent">focusOutEvent</a>() -<li><a href="tqwidget.html#focusPolicy">focusPolicy</a>() -<li><a href="tqwidget.html#focusProxy">focusProxy</a>() -<li><a href="tqwidget.html#focusWidget">focusWidget</a>() -<li><a href="tqwidget.html#font">font</a>() -<li><a href="tqwidget.html#fontChange">fontChange</a>() -<li><a href="tqwidget.html#fontInfo">fontInfo</a>() -<li><a href="tqwidget.html#fontMetrics">fontMetrics</a>() -<li><a href="tqwidget.html#foregroundColor">foregroundColor</a>() -<li><a href="tqwidget.html#frameGeometry">frameGeometry</a>() -<li><a href="tqwidget.html#frameSize">frameSize</a>() -<li><a href="tqwidget.html#geometry">geometry</a>() -<li><a href="tqwidget.html#getWFlags">getWFlags</a>() -<li><a href="tqwidget.html#grabKeyboard">grabKeyboard</a>() -<li><a href="tqwidget.html#grabMouse">grabMouse</a>() -<li><a href="tqpaintdevice.html#handle">handle</a>() -<li><a href="tqwidget.html#hasFocus">hasFocus</a>() -<li><a href="tqwidget.html#hasMouse">hasMouse</a>() -<li><a href="tqwidget.html#hasMouseTracking">hasMouseTracking</a>() -<li><a href="tqwidget.html#height">height</a>() -<li><a href="tqwidget.html#heightForWidth">heightForWidth</a>() -<li><a href="tqwidget.html#hide">hide</a>() -<li><a href="tqwidget.html#hideEvent">hideEvent</a>() -<li><a href="tqobject.html#highPriority">highPriority</a>() -<li><a href="tqwidget.html#icon">icon</a>() -<li><a href="tqwidget.html#iconText">iconText</a>() -<li><a href="tqwidget.html#iconify">iconify</a>() -<li><a href="tqwidget.html#imComposeEvent">imComposeEvent</a>() -<li><a href="tqwidget.html#imEndEvent">imEndEvent</a>() -<li><a href="tqwidget.html#imStartEvent">imStartEvent</a>() -<li><a href="tqobject.html#inherits">inherits</a>() -<li><a href="tqobject.html#insertChild">insertChild</a>() -<li><a href="tqobject.html#installEventFilter">installEventFilter</a>() -<li><a href="tqobject.html#isA">isA</a>() -<li><a href="qxtwidget.html#isActiveWindow">isActiveWindow</a>() -<li><a href="tqwidget.html#isDesktop">isDesktop</a>() -<li><a href="tqwidget.html#isDialog">isDialog</a>() -<li><a href="tqwidget.html#isEnabled">isEnabled</a>() -<li><a href="tqwidget.html#isEnabledTo">isEnabledTo</a>() -<li><a href="tqwidget.html#isEnabledToTLW">isEnabledToTLW</a>() -<li><a href="tqpaintdevice.html#isExtDev">isExtDev</a>() -<li><a href="tqwidget.html#isFocusEnabled">isFocusEnabled</a>() -<li><a href="tqwidget.html#isFullScreen">isFullScreen</a>() -<li><a href="tqwidget.html#isHidden">isHidden</a>() -<li><a href="tqwidget.html#isInputMethodEnabled">isInputMethodEnabled</a>() -<li><a href="tqwidget.html#isMaximized">isMaximized</a>() -<li><a href="tqwidget.html#isMinimized">isMinimized</a>() -<li><a href="tqwidget.html#isModal">isModal</a>() -<li><a href="tqwidget.html#isPopup">isPopup</a>() -<li><a href="tqwidget.html#isShown">isShown</a>() -<li><a href="tqwidget.html#isTopLevel">isTopLevel</a>() -<li><a href="tqwidget.html#isUpdatesEnabled">isUpdatesEnabled</a>() -<li><a href="tqwidget.html#isVisible">isVisible</a>() -<li><a href="tqwidget.html#isVisibleTo">isVisibleTo</a>() -<li><a href="tqwidget.html#isVisibleToTLW">isVisibleToTLW</a>() -<li><a href="tqobject.html#isWidgetType">isWidgetType</a>() -<li><a href="tqwidget.html#keyPressEvent">keyPressEvent</a>() -<li><a href="tqwidget.html#keyReleaseEvent">keyReleaseEvent</a>() -<li><a href="tqwidget.html#keyboardGrabber">keyboardGrabber</a>() -<li><a href="tqobject.html#killTimer">killTimer</a>() -<li><a href="tqobject.html#killTimers">killTimers</a>() -<li><a href="tqwidget.html#layout">layout</a>() -<li><a href="tqwidget.html#leaveEvent">leaveEvent</a>() -<li><a href="tqwidget.html#lower">lower</a>() -<li><a href="tqwidget.html#macEvent">macEvent</a>() -<li><a href="tqwidget.html#mapFrom">mapFrom</a>() -<li><a href="tqwidget.html#mapFromGlobal">mapFromGlobal</a>() -<li><a href="tqwidget.html#mapFromParent">mapFromParent</a>() -<li><a href="tqwidget.html#mapTo">mapTo</a>() -<li><a href="tqwidget.html#mapToGlobal">mapToGlobal</a>() -<li><a href="tqwidget.html#mapToParent">mapToParent</a>() -<li><a href="tqwidget.html#maximumHeight">maximumHeight</a>() -<li><a href="tqwidget.html#maximumSize">maximumSize</a>() -<li><a href="tqwidget.html#maximumWidth">maximumWidth</a>() -<li><a href="tqobject.html#metaObject">metaObject</a>() -<li><a href="tqwidget.html#metric">metric</a>() -<li><a href="tqwidget.html#microFocusHint">microFocusHint</a>() -<li><a href="tqwidget.html#minimumHeight">minimumHeight</a>() -<li><a href="tqwidget.html#minimumSize">minimumSize</a>() -<li><a href="tqwidget.html#minimumSizeHint">minimumSizeHint</a>() -<li><a href="tqwidget.html#minimumWidth">minimumWidth</a>() -<li><a href="tqwidget.html#mouseDoubleClickEvent">mouseDoubleClickEvent</a>() -<li><a href="tqwidget.html#mouseGrabber">mouseGrabber</a>() -<li><a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>() -<li><a href="tqwidget.html#mousePressEvent">mousePressEvent</a>() -<li><a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>() -<li><a href="tqwidget.html#move">move</a>() -<li><a href="tqwidget.html#moveEvent">moveEvent</a>() -<li><a href="tqobject.html#name">name</a>() -<li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() -<li><a href="tqobject.html#objectTrees">objectTrees</a>() -<li><a href="tqwidget.html#ownCursor">ownCursor</a>() -<li><a href="tqwidget.html#ownFont">ownFont</a>() -<li><a href="tqwidget.html#ownPalette">ownPalette</a>() -<li><a href="tqwidget.html#paintEvent">paintEvent</a>() -<li><a href="tqpaintdevice.html#paintingActive">paintingActive</a>() -<li><a href="tqwidget.html#palette">palette</a>() -<li><a href="tqwidget.html#paletteBackgroundColor">paletteBackgroundColor</a>() -<li><a href="tqwidget.html#paletteBackgroundPixmap">paletteBackgroundPixmap</a>() -<li><a href="tqwidget.html#paletteChange">paletteChange</a>() -<li><a href="tqwidget.html#paletteForegroundColor">paletteForegroundColor</a>() -<li><a href="tqobject.html#parent">parent</a>() -<li><a href="tqwidget.html#parentWidget">parentWidget</a>() -<li><a href="tqwidget.html#polish">polish</a>() -<li><a href="tqwidget.html#pos">pos</a>() -<li><a href="tqobject.html#property">property</a>() -<li><a href="tqobject.html#queryList">queryList</a>() -<li><a href="tqwidget.html#raise">raise</a>() -<li><a href="tqwidget.html#recreate">recreate</a>() -<li><a href="tqwidget.html#rect">rect</a>() -<li><a href="tqwidget.html#releaseKeyboard">releaseKeyboard</a>() -<li><a href="tqwidget.html#releaseMouse">releaseMouse</a>() -<li><a href="tqobject.html#removeChild">removeChild</a>() -<li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() -<li><a href="tqwidget.html#repaint">repaint</a>() -<li><a href="tqwidget.html#reparent">reparent</a>() -<li><a href="tqwidget.html#resetInputContext">resetInputContext</a>() -<li><a href="tqwidget.html#resize">resize</a>() -<li><a href="tqwidget.html#resizeEvent">resizeEvent</a>() -<li><a href="tqwidget.html#scroll">scroll</a>() -<li><a href="tqobject.html#sender">sender</a>() -<li><a href="tqwidget.html#setAcceptDrops">setAcceptDrops</a>() -<li><a href="qxtwidget.html#setActiveWindow">setActiveWindow</a>() -<li><a href="tqwidget.html#setAutoMask">setAutoMask</a>() -<li><a href="tqwidget.html#setBackgroundColor">setBackgroundColor</a>() -<li><a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>() -<li><a href="tqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() -<li><a href="tqwidget.html#setBackgroundPixmap">setBackgroundPixmap</a>() -<li><a href="tqwidget.html#setBaseSize">setBaseSize</a>() -<li><a href="tqwidget.html#setCaption">setCaption</a>() -<li><a href="tqwidget.html#setCursor">setCursor</a>() -<li><a href="tqwidget.html#setDisabled">setDisabled</a>() -<li><a href="tqwidget.html#setEnabled">setEnabled</a>() -<li><a href="tqwidget.html#setEraseColor">setEraseColor</a>() -<li><a href="tqwidget.html#setErasePixmap">setErasePixmap</a>() -<li><a href="tqwidget.html#setFixedHeight">setFixedHeight</a>() -<li><a href="tqwidget.html#setFixedSize">setFixedSize</a>() -<li><a href="tqwidget.html#setFixedWidth">setFixedWidth</a>() -<li><a href="tqwidget.html#setFocus">setFocus</a>() -<li><a href="tqwidget.html#setFocusPolicy">setFocusPolicy</a>() -<li><a href="tqwidget.html#setFocusProxy">setFocusProxy</a>() -<li><a href="tqwidget.html#setFont">setFont</a>() -<li><a href="tqwidget.html#setGeometry">setGeometry</a>() -<li><a href="tqwidget.html#setHidden">setHidden</a>() -<li><a href="tqwidget.html#setIcon">setIcon</a>() -<li><a href="tqwidget.html#setIconText">setIconText</a>() -<li><a href="tqwidget.html#setInputMethodEnabled">setInputMethodEnabled</a>() -<li><a href="tqwidget.html#setKeyCompression">setKeyCompression</a>() -<li><a href="tqwidget.html#setMask">setMask</a>() -<li><a href="tqwidget.html#setMaximumHeight">setMaximumHeight</a>() -<li><a href="tqwidget.html#setMaximumSize">setMaximumSize</a>() -<li><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>() -<li><a href="tqwidget.html#setMicroFocusHint">setMicroFocusHint</a>() -<li><a href="tqwidget.html#setMinimumHeight">setMinimumHeight</a>() -<li><a href="tqwidget.html#setMinimumSize">setMinimumSize</a>() -<li><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>() -<li><a href="tqwidget.html#setMouseTracking">setMouseTracking</a>() -<li><a href="tqobject.html#setName">setName</a>() -<li><a href="tqwidget.html#setPalette">setPalette</a>() -<li><a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() -<li><a href="tqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>() -<li><a href="tqwidget.html#setPaletteForegroundColor">setPaletteForegroundColor</a>() -<li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="tqwidget.html#setShown">setShown</a>() -<li><a href="tqwidget.html#setSizeIncrement">setSizeIncrement</a>() -<li><a href="tqwidget.html#setSizePolicy">setSizePolicy</a>() -<li><a href="tqwidget.html#setStyle">setStyle</a>() -<li><a href="tqwidget.html#setTabOrder">setTabOrder</a>() -<li><a href="tqwidget.html#setUpdatesEnabled">setUpdatesEnabled</a>() -<li><a href="tqwidget.html#setWFlags">setWFlags</a>() -<li><a href="tqwidget.html#setWindowOpacity">setWindowOpacity</a>() -<li><a href="tqwidget.html#setWindowState">setWindowState</a>() -<li><a href="tqwidget.html#show">show</a>() -<li><a href="tqwidget.html#showEvent">showEvent</a>() -<li><a href="tqwidget.html#showFullScreen">showFullScreen</a>() -<li><a href="tqwidget.html#showMaximized">showMaximized</a>() -<li><a href="tqwidget.html#showMinimized">showMinimized</a>() -<li><a href="tqwidget.html#showNormal">showNormal</a>() -<li><a href="tqobject.html#signalsBlocked">signalsBlocked</a>() -<li><a href="tqwidget.html#size">size</a>() -<li><a href="tqwidget.html#sizeHint">sizeHint</a>() -<li><a href="tqwidget.html#sizeIncrement">sizeIncrement</a>() -<li><a href="tqwidget.html#sizePolicy">sizePolicy</a>() -<li><a href="tqwidget.html#stackUnder">stackUnder</a>() -<li><a href="tqobject.html#startTimer">startTimer</a>() -<li><a href="tqwidget.html#style">style</a>() -<li><a href="tqwidget.html#styleChange">styleChange</a>() -<li><a href="tqwidget.html#tabletEvent">tabletEvent</a>() -<li><a href="tqwidget.html#testWFlags">testWFlags</a>() -<li><a href="tqobject.html#timerEvent">timerEvent</a>() -<li><a href="tqwidget.html#topLevelWidget">topLevelWidget</a>() -<li><a href="tqobject.html#tr">tr</a>() -<li><a href="tqobject.html#trUtf8">trUtf8</a>() -<li><a href="tqwidget.html#unsetCursor">unsetCursor</a>() -<li><a href="tqwidget.html#unsetFont">unsetFont</a>() -<li><a href="tqwidget.html#unsetPalette">unsetPalette</a>() -<li><a href="tqwidget.html#update">update</a>() -<li><a href="tqwidget.html#updateGeometry">updateGeometry</a>() -<li><a href="tqwidget.html#updateMask">updateMask</a>() -<li><a href="tqwidget.html#visibleRect">visibleRect</a>() -<li><a href="tqwidget.html#wheelEvent">wheelEvent</a>() -<li><a href="tqwidget.html#width">width</a>() -<li><a href="tqwidget.html#winEvent">winEvent</a>() -<li><a href="tqwidget.html#winId">winId</a>() -<li><a href="tqwidget.html#windowActivationChange">windowActivationChange</a>() -<li><a href="tqwidget.html#windowOpacity">windowOpacity</a>() -<li><a href="tqwidget.html#windowState">windowState</a>() -<li><a href="tqwidget.html#x">x</a>() -<li><a href="tqpaintdevice.html#x11AppCells">x11AppCells</a>() -<li><a href="tqpaintdevice.html#x11AppColormap">x11AppColormap</a>() -<li><a href="tqpaintdevice.html#x11AppDefaultColormap">x11AppDefaultColormap</a>() -<li><a href="tqpaintdevice.html#x11AppDefaultVisual">x11AppDefaultVisual</a>() -<li><a href="tqpaintdevice.html#x11AppDepth">x11AppDepth</a>() -<li><a href="tqpaintdevice.html#x11AppDisplay">x11AppDisplay</a>() -<li><a href="tqpaintdevice.html#x11AppDpiX">x11AppDpiX</a>() -<li><a href="tqpaintdevice.html#x11AppDpiY">x11AppDpiY</a>() -<li><a href="tqpaintdevice.html#x11AppRootWindow">x11AppRootWindow</a>() -<li><a href="tqpaintdevice.html#x11AppScreen">x11AppScreen</a>() -<li><a href="tqpaintdevice.html#x11AppVisual">x11AppVisual</a>() -<li><a href="tqpaintdevice.html#x11Cells">x11Cells</a>() -<li><a href="tqpaintdevice.html#x11Colormap">x11Colormap</a>() -<li><a href="tqpaintdevice.html#x11DefaultColormap">x11DefaultColormap</a>() -<li><a href="tqpaintdevice.html#x11DefaultVisual">x11DefaultVisual</a>() -<li><a href="tqpaintdevice.html#x11Depth">x11Depth</a>() -<li><a href="tqpaintdevice.html#x11Display">x11Display</a>() -<li><a href="qxtwidget.html#x11Event">x11Event</a>() -<li><a href="tqpaintdevice.html#x11Screen">x11Screen</a>() -<li><a href="tqpaintdevice.html#x11SetAppDpiX">x11SetAppDpiX</a>() -<li><a href="tqpaintdevice.html#x11SetAppDpiY">x11SetAppDpiY</a>() -<li><a href="tqpaintdevice.html#x11Visual">x11Visual</a>() -<li><a href="qxtwidget.html#xtWidget">xtWidget</a>() -<li><a href="tqwidget.html#y">y</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/qxtwidget.html b/doc/html/qxtwidget.html deleted file mode 100644 index 84560800e..000000000 --- a/doc/html/qxtwidget.html +++ /dev/null @@ -1,147 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/src/qxtwidget.cpp:144 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQXtWidget Class</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQXtWidget Class Reference<br><small>[obsolete]</small></h1> - -<p>The TQXtWidget class allows mixing of Xt/Motif and TQt widgets. -<b>This class is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<a href="#details">More...</a> -<p>This class is part of the <b>TQt Motif Extension</b>. -<p><tt>#include <<a href="qxtwidget-h.html">qxtwidget.h</a>></tt> -<p>Inherits <a href="tqwidget.html">TQWidget</a>. -<p><a href="qxtwidget-members.html">List of all member functions.</a> -<h2>Public Members</h2> -<ul> -<li class=fn><a href="#TQXtWidget"><b>TQXtWidget</b></a> ( const char * name, Widget parent, bool managed = FALSE )</li> -<li class=fn><a href="#TQXtWidget-2"><b>TQXtWidget</b></a> ( const char * name, WidgetClass widget_class, TQWidget * parent = 0, ArgList args = 0, Cardinal num_args = 0, bool managed = FALSE )</li> -<li class=fn><a href="#~TQXtWidget"><b>~TQXtWidget</b></a> ()</li> -<li class=fn>Widget <a href="#xtWidget"><b>xtWidget</b></a> () const</li> -<li class=fn>bool <a href="#isActiveWindow"><b>isActiveWindow</b></a> () const</li> -<li class=fn>virtual void <a href="#setActiveWindow"><b>setActiveWindow</b></a> ()</li> -</ul> -<h2>Protected Members</h2> -<ul> -<li class=fn>virtual bool <a href="#x11Event"><b>x11Event</b></a> ( XEvent * e )</li> -</ul> -<hr><a name="details"></a><h2>Detailed Description</h2> -<p> This class is defined in the <b>TQt <a href="motif-extension.html#Motif">Motif</a> Extension</b>, which can be found in the <tt>qt/extensions</tt> directory. It is not included in the main TQt API. -<p> - -The TQXtWidget class allows mixing of Xt/Motif and TQt widgets. -<b>This class is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> -<p> TQXtWidget acts as a bridge between Xt and TQt. For utilizing old Xt -widgets, it can be a <a href="tqwidget.html">TQWidget</a> based on a Xt widget class. For -including TQt widgets in an existing Xt/Motif application, it can be -a special Xt widget class that is a TQWidget. See the constructors -for the different behaviors. -<p> <h4> Known TQXtWidget Problems -</h4> -<a name="1"></a><p> This class is unsupported and has many known problems and -limitations. It is provided only to keep existing source working; -it should not be used in new code. Note: These problems will <em>not</em> -be fixed in future releases. -<p> Below is an imcomplete list of know issues: -<p> <ol type=1> -<p> <li> <a href="focus.html#keyboard-focus">Keyboard focus</a> navigation is impossible when using TQXtWidget. -The mouse must be used to focus widgets in both TQt and Xt/Motif -widgets. For example, when embedding a TQXtWidget into an Xt/Motif -widget, key events will go to the TQXtWidget (and its children) while -the mouse is over the TQXtWidget, regardless of where Xt/Motif has -placed the focus. -<p> <li> Reparenting does not work. You cannot use -<a href="tqwidget.html#reparent">TQWidget::reparent</a>(). This includes the functions -<a href="tqwidget.html#showFullScreen">TQWidget::showFullScreen</a>() and <a href="tqwidget.html#showNormal">TQWidget::showNormal</a>(), which use -TQWidget::reparent(). -<p> </ol> - -<hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQXtWidget"></a>TQXtWidget::TQXtWidget ( const char * name, Widget parent, bool managed = FALSE ) -</h3> -Constructs a TQXtWidget of the special Xt widget class known as -"TQWidget" to the resource manager. -<p> Use this constructor to utilize TQt widgets in an Xt/Motif -application. The TQXtWidget is a <a href="tqwidget.html">TQWidget</a>, so you can create -subwidgets, layouts, etc. using TQt functionality. -<p> The <em>name</em> is the object name passed to the TQWidget constructor. -The widget's parent is <em>parent</em>. -<p> If the <em>managed</em> parameter is TRUE and <em>parent</em> in not null, -XtManageChild it used to manage the child. - -<h3 class=fn><a name="TQXtWidget-2"></a>TQXtWidget::TQXtWidget ( const char * name, WidgetClass widget_class, <a href="tqwidget.html">TQWidget</a> * parent = 0, ArgList args = 0, Cardinal num_args = 0, bool managed = FALSE ) -</h3> -Constructs a TQXtWidget of the given <em>widget_class</em> called <em>name</em>. -<p> Use this constructor to utilize Xt or <a href="motif-extension.html#Motif">Motif</a> widgets in a TQt -application. The TQXtWidget looks and behaves -like the Xt class, but can be used like any <a href="tqwidget.html">TQWidget</a>. -<p> Note that Xt requires that the most top level Xt widget is a shell. -This means, if <em>parent</em> is a TQXtWidget, the <em>widget_class</em> can be -of any kind. If there isn't a parent or the parent is just a normal -TQWidget, <em>widget_class</em> should be something like <tt>topLevelShellWidgetClass</tt>. -<p> The arguments, <em>args</em>, <em>num_args</em> are passed on to XtCreateWidget. -<p> If the <em>managed</em> parameter is TRUE and <em>parent</em> in not null, -XtManageChild it used to manage the child. - -<h3 class=fn><a name="~TQXtWidget"></a>TQXtWidget::~TQXtWidget () -</h3> -Destructs the TQXtWidget. - -<h3 class=fn>bool <a name="isActiveWindow"></a>TQXtWidget::isActiveWindow () const -</h3> -Different from <a href="tqwidget.html#isActiveWindow">TQWidget::isActiveWindow</a>() - -<h3 class=fn>void <a name="setActiveWindow"></a>TQXtWidget::setActiveWindow ()<tt> [virtual]</tt> -</h3> -Implement a degree of focus handling for Xt widgets. - -<p>Reimplemented from <a href="tqwidget.html#setActiveWindow">TQWidget</a>. -<h3 class=fn>bool <a name="x11Event"></a>TQXtWidget::x11Event ( XEvent * e )<tt> [virtual protected]</tt> -</h3> -Reimplemented to produce the Xt effect of getting focus when the -mouse enters the widget. The event is passed in <em>e</em>. - -<p>Reimplemented from <a href="tqwidget.html#x11Event">TQWidget</a>. -<h3 class=fn>Widget <a name="xtWidget"></a>TQXtWidget::xtWidget () const -</h3> - -<p> Returns the Xt widget equivalent for the TQt widget. - -<!-- eof --> -<hr><p> -This file is part of the <a href="index.html">TQt toolkit</a>. -Copyright © 1995-2007 -<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/titleindex b/doc/html/titleindex index 8b76d4623..10380c1b7 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -3,7 +3,6 @@ A Complete Application Window | simple-application-example.html A Complete Application Window with Actions | tqaction-application-example.html A Complete Canvas Application | canvas-chart-example.html A Directory Browser | dirview-example.html -A Motif Dialog | motif-dialog-example.html A Rectangle Draw "Benchmark" | forever-example.html A Small Application for Testing Regular Expressions | regexptester-example.html A Tiny Example Featuring a Toggle Action | toggleaction-example.html @@ -40,7 +39,6 @@ Class Inheritance Hierarchy | hierarchy.html Collection Classes | collection.html Company Information | troll.html Connect the Points | drawlines-example.html -Continuing Development | motif-walkthrough-10.html Conway's Game of Life | life-example.html Cursors | cursor-example.html Customized Layoutmanager | customlayout-example.html @@ -64,7 +62,6 @@ File Handling | tutorial2-07.html Font Displayer | qfd-example.html Format of the TQDataStream Operators | datastreamformat.html GNU General Public License | gpl.html -Getting Started | motif-walkthrough-1.html Graphics Classes | graphics.html Grouped Classes | groups.html Header File Index | headers.html @@ -126,7 +123,6 @@ Pictures of Most TQt Widgets | pictures.html Plugins | plugins.html Popup Widgets | popup-example.html Porting to TQt 3.x | porting.html -Preparing to Migrate the User Interface | motif-walkthrough-2.html Presenting the GUI | tutorial2-05.html Progress Bar | progressbar-example.html Progress Bar and Dialog Example | progress-example.html @@ -558,17 +554,10 @@ TQMimeSource Class | tqmimesource.html TQMimeSource Member List | tqmimesource-members.html TQMimeSourceFactory Class | tqmimesourcefactory.html TQMimeSourceFactory Member List | tqmimesourcefactory-members.html -TQMotif Class | tqmotif.html -TQMotif Member List | tqmotif-members.html -TQMotif Support Extension | motif-examples.html -TQMotifDialog Class | tqmotifdialog.html -TQMotifDialog Member List | tqmotifdialog-members.html TQMotifPlusStyle Class | tqmotifplusstyle.html TQMotifPlusStyle Member List | tqmotifplusstyle-members.html TQMotifStyle Class | tqmotifstyle.html TQMotifStyle Member List | tqmotifstyle-members.html -TQMotifWidget Class | tqmotifwidget.html -TQMotifWidget Member List | tqmotifwidget-members.html TQMouseEvent Class | tqmouseevent.html TQMouseEvent Member List | tqmouseevent-members.html TQMoveEvent Class | tqmoveevent.html @@ -926,16 +915,12 @@ TQXmlReader Class | tqxmlreader.html TQXmlReader Member List | tqxmlreader-members.html TQXmlSimpleReader Class | tqxmlsimplereader.html TQXmlSimpleReader Member List | tqxmlsimplereader-members.html -QXtWidget Class | qxtwidget.html -QXtWidget Member List | qxtwidget-members.html Qt Class | tqt.html Qt Commercial Editions | commercialeditions.html Qt Demo | demo-example.html Qt Distribution Example | distributor-example.html Qt Editions | editions.html Qt Member List | qt-members.html -Qt Motif Extension | motif-extension.html -Qt Motif Extension - A Migration Walkthrough | motif-walkthrough.html Qt Object Model | object.html Qt Open Source Edition | opensourceedition.html Qt Open Source Edition License Agreement | license.html @@ -967,9 +952,6 @@ Qt's Tools | tools-list.html Qt/Mac Issues | mac-differences.html Qt/Mac is Mac OS X Native | qtmac-as-native.html Range controls | rangecontrols-example.html -Refactoring Existing Code | motif-walkthrough-7.html -Replacing the Print Dialog | motif-walkthrough-9.html -Replacing the View Widget | motif-walkthrough-8.html Richtext | richtext-example.html Rot13 | rot-example.html SQL Module | sql.html @@ -1020,13 +1002,8 @@ Trademarks | trademarks.html Transformed Graphics Demo | xform-example.html Tutorial #2 | tutorial2.html User Interface Compiler (uic) | uic.html -Using Custom TQDialogs | motif-walkthrough-4.html -Using Existing Dialogs with TQMotifDialog | motif-walkthrough-5.html -Using TQt Main Window Classes | motif-walkthrough-6.html -Using TQt Standard Dialogs | motif-walkthrough-3.html Using menus | menu-example.html Using the Meta Object Compiler | moc.html -Using the Motif Event Loop | motif-customwidget-example.html Walkthrough: A Simple Application | simple-application.html Walkthrough: How to use the TQt SAX2 classes | xml-sax-walkthrough.html Walkthrough: Using SAX2 features with the TQt XML classes | xml-sax-features-walkthrough.html @@ -1163,11 +1140,8 @@ tqmenudata.h Include File | tqmenudata-h.html tqmessagebox.h Include File | tqmessagebox-h.html tqmetaobject.h Include File | tqmetaobject-h.html tqmime.h Include File | tqmime-h.html -tqmotif.h Include File | tqmotif-h.html -tqmotifdialog.h Include File | tqmotifdialog-h.html tqmotifplusstyle.h Include File | tqmotifplusstyle-h.html tqmotifstyle.h Include File | tqmotifstyle-h.html -tqmotifwidget.h Include File | tqmotifwidget-h.html tqmovie.h Include File | tqmovie-h.html tqmultilineedit.h Include File | tqmultilineedit-h.html tqmutex.h Include File | tqmutex-h.html @@ -1297,7 +1271,6 @@ tqwizard.h Include File | tqwizard-h.html tqwmatrix.h Include File | tqwmatrix-h.html tqworkspace.h Include File | tqworkspace-h.html tqxml.h Include File | tqxml-h.html -qxtwidget.h Include File | qxtwidget-h.html sql/overview/basicbrowsing/main.cpp Example File | sql-overview-basicbrowsing-main-cpp.html sql/overview/basicbrowsing2/main.cpp Example File | sql-overview-basicbrowsing2-main-cpp.html sql/overview/basicdatamanip/main.cpp Example File | sql-overview-basicdatamanip-main-cpp.html diff --git a/doc/html/tqcdestyle.html b/doc/html/tqcdestyle.html index 5db7db604..62d33dfce 100644 --- a/doc/html/tqcdestyle.html +++ b/doc/html/tqcdestyle.html @@ -46,7 +46,7 @@ body { background: #ffffff; color: black; } The TQCDEStyle class provides a CDE look and feel. <p> -<p> This style provides a slightly improved <a href="motif-extension.html#Motif">Motif</a> look similar to some +<p> This style provides a slightly improved Motif look similar to some versions of the Common Desktop Environment (CDE). The main differences are thinner frames and more modern radio buttons and checkboxes. Together with a dark background and a bright @@ -62,7 +62,7 @@ documentation. </h3> Constructs a TQCDEStyle. <p> If <em>useHighlightCols</em> is FALSE (the default), then the style will -polish the application's color palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of +polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color. diff --git a/doc/html/tqcolorgroup.html b/doc/html/tqcolorgroup.html index 51fcb788b..1a66aab4a 100644 --- a/doc/html/tqcolorgroup.html +++ b/doc/html/tqcolorgroup.html @@ -137,7 +137,7 @@ effects: By default, the shadow color is <tt>TQt::black</tt>. </ul><p> All of these are normally derived from <a href="#ColorRole-enum">Background</a> and used in ways that depend on that relationship. For example, buttons depend -on it to make the bevels look attractive, and <a href="motif-extension.html#Motif">Motif</a> scroll bars +on it to make the bevels look attractive, and Motif scroll bars depend on <a href="#ColorRole-enum">Mid</a> to be slightly different from <a href="#ColorRole-enum">Background</a>. <p> Selected (marked) items have two roles: <ul> diff --git a/doc/html/tqcombobox.html b/doc/html/tqcombobox.html index 2d5a39147..f44a2ffd9 100644 --- a/doc/html/tqcombobox.html +++ b/doc/html/tqcombobox.html @@ -126,7 +126,7 @@ which case the user can enter arbitrary strings. out of a list of options in a way that takes up the minimum amount of screen space. <p> TQComboBox supports three different display styles: Aqua/Motif 1.x, -<a href="motif-extension.html#Motif">Motif</a> 2.0 and Windows. In Motif 1.x, a combobox was called +Motif 2.0 and Windows. In Motif 1.x, a combobox was called XmOptionMenu. In Motif 2.0, OSF introduced an improved combobox and named that XmComboBox. TQComboBox provides both. <p> TQComboBox provides two different constructors. The simplest @@ -222,7 +222,7 @@ implementation-dependent. <h3 class=fn><a name="TQComboBox"></a>TQComboBox::TQComboBox ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) </h3> Constructs a combobox widget with parent <em>parent</em> called <em>name</em>. -<p> This constructor creates a popup list if the program uses <a href="motif-extension.html#Motif">Motif</a> +<p> This constructor creates a popup list if the program uses Motif (or Aqua) look and feel; this is compatible with Motif 1.x and Aqua. <p> Note: If you use this constructor to create your TQComboBox, then @@ -231,7 +231,7 @@ use the other constructor. <p> <h3 class=fn><a name="TQComboBox-2"></a>TQComboBox::TQComboBox ( bool rw, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) </h3> -Constructs a combobox with a maximum size and either <a href="motif-extension.html#Motif">Motif</a> 2.0 or +Constructs a combobox with a maximum size and either Motif 2.0 or Windows look and feel. <p> The input field can be edited if <em>rw</em> is TRUE, otherwise the user may only choose one of the items in the combobox. @@ -565,7 +565,7 @@ setting. <h3 class=fn>bool <a name="editable-prop"></a>editable</h3> <p>This property holds whether the combobox is editable. <p>This property's default is FALSE. Note that the combobox will be -cleared if this property is set to TRUE for a 1.x <a href="motif-extension.html#Motif">Motif</a> style +cleared if this property is set to TRUE for a 1.x Motif style combobox. To avoid this, use <a href="#setEditable">setEditable</a>() before inserting any items. Also note that the 1.x version of Motif didn't have any editable comboboxes, so the combobox will change it's appearance @@ -583,7 +583,7 @@ to a 2.0 style Motif combobox is it is set to be editable. <p>Set this property's value with <a href="#setMaxCount">setMaxCount</a>() and get this property's value with <a href="#maxCount">maxCount</a>(). <h3 class=fn>int <a name="sizeLimit-prop"></a>sizeLimit</h3> <p>This property holds the maximum on-screen size of the combobox. -<p>This property is ignored for both <a href="motif-extension.html#Motif">Motif</a> 1.x style and non-editable +<p>This property is ignored for both Motif 1.x style and non-editable comboboxes in Mac style. The default limit is ten lines. If the number of items in the combobox is or grows larger than lines, a scrollbar is added. diff --git a/doc/html/tqdialog.html b/doc/html/tqdialog.html index 81cdca74a..8fd4b2a57 100644 --- a/doc/html/tqdialog.html +++ b/doc/html/tqdialog.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } <a href="#details">More...</a> <p><tt>#include <<a href="tqdialog-h.html">tqdialog.h</a>></tt> <p>Inherits <a href="tqwidget.html">TQWidget</a>. -<p>Inherited by <a href="tqcolordialog.html">TQColorDialog</a>, <a href="tqerrormessage.html">TQErrorMessage</a>, <a href="tqfiledialog.html">TQFileDialog</a>, <a href="tqfontdialog.html">TQFontDialog</a>, <a href="tqinputdialog.html">TQInputDialog</a>, <a href="tqmessagebox.html">TQMessageBox</a>, <a href="tqmotifdialog.html">TQMotifDialog</a>, <a href="tqprogressdialog.html">TQProgressDialog</a>, <a href="tqtabdialog.html">TQTabDialog</a>, and <a href="tqwizard.html">TQWizard</a>. +<p>Inherited by <a href="tqcolordialog.html">TQColorDialog</a>, <a href="tqerrormessage.html">TQErrorMessage</a>, <a href="tqfiledialog.html">TQFileDialog</a>, <a href="tqfontdialog.html">TQFontDialog</a>, <a href="tqinputdialog.html">TQInputDialog</a>, <a href="tqmessagebox.html">TQMessageBox</a>, <a href="tqprogressdialog.html">TQProgressDialog</a>, <a href="tqtabdialog.html">TQTabDialog</a>, and <a href="tqwizard.html">TQWizard</a>. <p><a href="tqdialog-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -252,7 +252,7 @@ blocking until the user closes it. The function returns a <a href="#DialogCode-e application until they close the dialog. <p> <p>See also <a href="#show">show</a>() and <a href="#result">result</a>(). -<p>Examples: <a href="canvas-chart-example.html#x2877">chart/chartform.cpp</a>, <a href="motif-dialog-example.html#x2706">dialog/mainwindow.cpp</a>, <a href="i18n-example.html#x1936">i18n/main.cpp</a>, <a href="ftpclient-example.html#x739">network/ftpclient/ftpmainwindow.ui.h</a>, <a href="tqdialog.html#x2126">network/networkprotocol/view.cpp</a>, <a href="tqdir-example.html#x1812">tqdir/tqdir.cpp</a>, and <a href="wizard-example.html#x16">wizard/main.cpp</a>. +<p>Examples: <a href="canvas-chart-example.html#x2877">chart/chartform.cpp</a>, <a href="i18n-example.html#x1936">i18n/main.cpp</a>, <a href="ftpclient-example.html#x739">network/ftpclient/ftpmainwindow.ui.h</a>, <a href="tqdialog.html#x2126">network/networkprotocol/view.cpp</a>, <a href="tqdir-example.html#x1812">tqdir/tqdir.cpp</a>, and <a href="wizard-example.html#x16">wizard/main.cpp</a>. <h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="extension"></a>TQDialog::extension () const </h3> Returns the dialog's extension or 0 if no extension has been diff --git a/doc/html/tqeventloop.html b/doc/html/tqeventloop.html index fa71020d5..8f9b4a448 100644 --- a/doc/html/tqeventloop.html +++ b/doc/html/tqeventloop.html @@ -35,7 +35,6 @@ body { background: #ffffff; color: black; } <a href="#details">More...</a> <p><tt>#include <<a href="tqeventloop-h.html">tqeventloop.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a>. -<p>Inherited by <a href="tqmotif.html">TQMotif</a>. <p><a href="tqeventloop-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -78,9 +77,7 @@ call either processOneEvent() or <a href="#processEvents">processEvents</a>() wi ProcessEvent values OR'ed together to control which events should be delivered. <p> TQEventLoop also allows the integration of an external event loop -with the TQt event loop. The <a href="motif-extension.html#Motif">Motif</a> Extension included with TQt -includes a reimplementation of TQEventLoop for merging TQt and Motif -events together. +with the TQt event loop. <p> To use your own instance of TQEventLoop or TQEventLoop subclass create it before you create the TQApplication object. <p>See also <a href="application.html">Main Window and Related Classes</a> and <a href="events.html">Event Classes</a>. diff --git a/doc/html/tqlineedit.html b/doc/html/tqlineedit.html index 184bdf611..21b6baec5 100644 --- a/doc/html/tqlineedit.html +++ b/doc/html/tqlineedit.html @@ -162,7 +162,7 @@ emitted. Note that if there is a validator set on the line edit, the returnPressed() signal will only be emitted if the validator returns <tt>Acceptable</tt>. <p> By default, TQLineEdits have a frame as specified by the Windows -and <a href="motif-extension.html#Motif">Motif</a> style guides; you can turn it off by calling +and Motif style guides; you can turn it off by calling <a href="#setFrame">setFrame</a>(FALSE). <p> The default key bindings are described below. The line edit also provides a context menu (usually invoked by a right mouse click) diff --git a/doc/html/tqlistview.html b/doc/html/tqlistview.html index 5c6894577..3f80b746d 100644 --- a/doc/html/tqlistview.html +++ b/doc/html/tqlistview.html @@ -280,7 +280,7 @@ need to change the list view's state in response to a signal, use a <a href="tqtimer.html#singleShot">single shot timer</a> with a time out of 0, and connect this timer to a slot that modifies the list view's state. -<p> In <a href="motif-extension.html#Motif">Motif</a> style, TQListView deviates fairly strongly from the look +<p> In Motif style, TQListView deviates fairly strongly from the look and feel of the Motif hierarchical tree view. This is done mostly to provide a usable keyboard interface and to make the list view look better with a white background. @@ -1186,7 +1186,7 @@ undefined. <h3 class=fn>bool <a name="rootIsDecorated-prop"></a>rootIsDecorated</h3> <p>This property holds whether the list view shows open/close signs on root items. <p>Open/close signs are small <b>+</b> or <b>-</b> symbols in windows -style, or arrows in <a href="motif-extension.html#Motif">Motif</a> style. The default is FALSE. +style, or arrows in Motif style. The default is FALSE. <p>Set this property's value with <a href="#setRootIsDecorated">setRootIsDecorated</a>() and get this property's value with <a href="#rootIsDecorated">rootIsDecorated</a>(). <h3 class=fn><a href="tqlistview.html#SelectionMode-enum">SelectionMode</a> <a name="selectionMode-prop"></a>selectionMode</h3> diff --git a/doc/html/tqmenubar.html b/doc/html/tqmenubar.html index 04ebf263d..2e20c794b 100644 --- a/doc/html/tqmenubar.html +++ b/doc/html/tqmenubar.html @@ -490,7 +490,7 @@ Inserts a separator at position <em>index</em>, and returns the <a href="tqmenud number allocated to it. The separator becomes the last menu item if <em>index</em> is negative. <p> In a popup menu a separator is rendered as a horizontal line. In a -<a href="motif-extension.html#Motif">Motif</a> menu bar a separator is spacing, so the rest of the items +Motif menu bar a separator is spacing, so the rest of the items (normally just "Help") are drawn right-justified. In a Windows menu bar separators are ignored (to comply with the Windows style guidelines). diff --git a/doc/html/tqmenudata.html b/doc/html/tqmenudata.html index d393fa405..70d210069 100644 --- a/doc/html/tqmenudata.html +++ b/doc/html/tqmenudata.html @@ -515,7 +515,7 @@ Inserts a separator at position <em>index</em>, and returns the <a href="tqmenud number allocated to it. The separator becomes the last menu item if <em>index</em> is negative. <p> In a popup menu a separator is rendered as a horizontal line. In a -<a href="motif-extension.html#Motif">Motif</a> menu bar a separator is spacing, so the rest of the items +Motif menu bar a separator is spacing, so the rest of the items (normally just "Help") are drawn right-justified. In a Windows menu bar separators are ignored (to comply with the Windows style guidelines). diff --git a/doc/html/tqmessagebox.html b/doc/html/tqmessagebox.html index 83bbb2383..8b52aa3f9 100644 --- a/doc/html/tqmessagebox.html +++ b/doc/html/tqmessagebox.html @@ -716,7 +716,7 @@ property. The default icon is TQMessageBox::NoIcon. <h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="iconPixmap-prop"></a>iconPixmap</h3> <p>This property holds the current icon. <p>The icon currently used by the message box. Note that it's often -hard to draw one pixmap that looks appropriate in both <a href="motif-extension.html#Motif">Motif</a> and +hard to draw one pixmap that looks appropriate in both Motif and Windows GUI styles; you may want to draw two pixmaps. <p> <p>See also <a href="#icon-prop">icon</a>. diff --git a/doc/html/tqmotif-h.html b/doc/html/tqmotif-h.html deleted file mode 100644 index 7c8ab65ef..000000000 --- a/doc/html/tqmotif-h.html +++ /dev/null @@ -1,112 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqmotif.h:1 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>tqmotif.h Include File</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqmotif.h</h1> - -<p>This is the verbatim text of the tqmotif.h include file. It is provided only for illustration; the copyright remains with Trolltech. -<hr> -<pre> -/**************************************************************************** -** $Id: qt/tqmotif.h 3.3.8 edited Jan 11 14:37 $ -** -** Definition of TQt extension classes for Xt/Motif support. -** -** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt extension for Xt/Motif support. -** -** Licensees holding valid TQt Enterprise Edition licenses for X11 may use -** this file in accordance with the TQt Commercial License Agreement provided -** with the Software. -** -** This file is not available for use under any other license without -** express written permission from the copyright holder. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for -** information about TQt Commercial License Agreements. -** -** Contact info@trolltech.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - -#ifndef TQMOTIF_H -#define TQMOTIF_H - -#include <tqeventloop.h> - -#include <X11/Intrinsic.h> - -class TQMotifPrivate; - -class TQMotif : public TQEventLoop -{ - TQ_OBJECT - -public: - TQMotif( const char *applicationClass, XtAppContext context = NULL, XrmOptionDescRec *options = 0, int numOptions = 0); - ~TQMotif(); - - XtAppContext applicationContext() const; - - void registerSocketNotifier( TQSocketNotifier * ); - void unregisterSocketNotifier( TQSocketNotifier * ); - void wakeUp(); - - static void registerWidget( TQWidget* ); - static void unregisterWidget( TQWidget* ); - static bool redeliverEvent( XEvent *event ); - - static Display *x11Display(); - static XEvent* lastEvent(); - -protected: - bool processEvents( ProcessEventsFlags flags ); - -private: - void appStartingUp(); - void appClosingDown(); - TQMotifPrivate *d; -}; - -#endif // TQMOTIF_H -</pre> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotif-members.html b/doc/html/tqmotif-members.html deleted file mode 100644 index 23d5c57fd..000000000 --- a/doc/html/tqmotif-members.html +++ /dev/null @@ -1,108 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqmotif.h:37 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQMotif Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQMotif</h1> - -<p>This is the complete list of member functions for -<a href="tqmotif.html">TQMotif</a>, including inherited members. - -<ul> -<li><a href="tqmotif.html#TQMotif">TQMotif</a>() -<li><a href="tqmotif.html#~TQMotif">~TQMotif</a>() -<li><a href="tqeventloop.html#aboutToBlock">aboutToBlock</a>() -<li><a href="tqeventloop.html#activateSocketNotifiers">activateSocketNotifiers</a>() -<li><a href="tqeventloop.html#activateTimers">activateTimers</a>() -<li><a href="tqmotif.html#applicationContext">applicationContext</a>() -<li><a href="tqeventloop.html#awake">awake</a>() -<li><a href="tqobject.html#blockSignals">blockSignals</a>() -<li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() -<li><a href="tqobject.html#child">child</a>() -<li><a href="tqobject.html#childEvent">childEvent</a>() -<li><a href="tqobject.html#children">children</a>() -<li><a href="tqobject.html#className">className</a>() -<li><a href="tqobject.html#connect">connect</a>() -<li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="tqobject.html#customEvent">customEvent</a>() -<li><a href="tqobject.html#deleteLater">deleteLater</a>() -<li><a href="tqobject.html#destroyed">destroyed</a>() -<li><a href="tqobject.html#disconnect">disconnect</a>() -<li><a href="tqobject.html#disconnectNotify">disconnectNotify</a>() -<li><a href="tqobject.html#dumpObjectInfo">dumpObjectInfo</a>() -<li><a href="tqobject.html#dumpObjectTree">dumpObjectTree</a>() -<li><a href="tqeventloop.html#enterLoop">enterLoop</a>() -<li><a href="tqobject.html#event">event</a>() -<li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="tqeventloop.html#exec">exec</a>() -<li><a href="tqeventloop.html#exit">exit</a>() -<li><a href="tqeventloop.html#exitLoop">exitLoop</a>() -<li><a href="tqeventloop.html#hasPendingEvents">hasPendingEvents</a>() -<li><a href="tqobject.html#highPriority">highPriority</a>() -<li><a href="tqobject.html#inherits">inherits</a>() -<li><a href="tqobject.html#insertChild">insertChild</a>() -<li><a href="tqobject.html#installEventFilter">installEventFilter</a>() -<li><a href="tqobject.html#isA">isA</a>() -<li><a href="tqobject.html#isWidgetType">isWidgetType</a>() -<li><a href="tqobject.html#killTimer">killTimer</a>() -<li><a href="tqobject.html#killTimers">killTimers</a>() -<li><a href="tqeventloop.html#loopLevel">loopLevel</a>() -<li><a href="tqobject.html#metaObject">metaObject</a>() -<li><a href="tqobject.html#name">name</a>() -<li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() -<li><a href="tqobject.html#objectTrees">objectTrees</a>() -<li><a href="tqobject.html#parent">parent</a>() -<li><a href="tqeventloop.html#processEvents">processEvents</a>() -<li><a href="tqobject.html#property">property</a>() -<li><a href="tqobject.html#queryList">queryList</a>() -<li><a href="tqeventloop.html#registerSocketNotifier">registerSocketNotifier</a>() -<li><a href="tqobject.html#removeChild">removeChild</a>() -<li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() -<li><a href="tqobject.html#sender">sender</a>() -<li><a href="tqobject.html#setName">setName</a>() -<li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="tqeventloop.html#setSocketNotifierPending">setSocketNotifierPending</a>() -<li><a href="tqobject.html#signalsBlocked">signalsBlocked</a>() -<li><a href="tqobject.html#startTimer">startTimer</a>() -<li><a href="tqeventloop.html#timeToWait">timeToWait</a>() -<li><a href="tqobject.html#timerEvent">timerEvent</a>() -<li><a href="tqobject.html#tr">tr</a>() -<li><a href="tqobject.html#trUtf8">trUtf8</a>() -<li><a href="tqeventloop.html#unregisterSocketNotifier">unregisterSocketNotifier</a>() -<li><a href="tqeventloop.html#wakeUp">wakeUp</a>() -<li><a href="tqmotif.html#x11Display">x11Display</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotif.html b/doc/html/tqmotif.html deleted file mode 100644 index 0edb91e3b..000000000 --- a/doc/html/tqmotif.html +++ /dev/null @@ -1,115 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/src/tqmotif.cpp:351 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQMotif Class</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQMotif Class Reference</h1> - -<p>The TQMotif class provides the basis of the Motif Extension. -<a href="#details">More...</a> -<p>This class is part of the <b>TQt Motif Extension</b>. -<p><tt>#include <<a href="tqmotif-h.html">tqmotif.h</a>></tt> -<p>Inherits <a href="tqeventloop.html">TQEventLoop</a>. -<p><a href="tqmotif-members.html">List of all member functions.</a> -<h2>Public Members</h2> -<ul> -<li class=fn><a href="#TQMotif"><b>TQMotif</b></a> ( const char * applicationClass, XtAppContext context = NULL, XrmOptionDescRec * options = 0, int numOptions = 0 )</li> -<li class=fn><a href="#~TQMotif"><b>~TQMotif</b></a> ()</li> -<li class=fn>XtAppContext <a href="#applicationContext"><b>applicationContext</b></a> () const</li> -</ul> -<h2>Static Public Members</h2> -<ul> -<li class=fn>Display * <a href="#x11Display"><b>x11Display</b></a> ()</li> -</ul> -<hr><a name="details"></a><h2>Detailed Description</h2> -<p> This class is defined in the <b>TQt <a href="motif-extension.html#Motif">Motif</a> Extension</b>, which can be found in the <tt>qt/extensions</tt> directory. It is not included in the main TQt API. -<p> - -The TQMotif class provides the basis of the Motif Extension. - -<p> -<p> TQMotif only provides a few public functions, but it is at the -heart of the integration. TQMotif is responsible for initializing -the Xt toolkit and the Xt application context. It does not open a -connection to the X server, that is done by <a href="ntqapplication.html">TQApplication</a>. -<p> The only member function in TQMotif that depends on an X server -connection is TQMotif::initialize(). TQMotif must be created before -TQApplication. -<p> Example usage of TQMotif and TQApplication: -<pre> - static char *resources[] = { - ... - }; - - int main(int argc, char **argv) - { - TQMotif integrator( "AppClass" ); - XtAppSetFallbackResources( integrator.<a href="#applicationContext">applicationContext</a>(), - resources ); - <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); - - ... - - return app.<a href="ntqapplication.html#exec">exec</a>(); - } - </pre> - - -<hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQMotif"></a>TQMotif::TQMotif ( const char * applicationClass, XtAppContext context = NULL, XrmOptionDescRec * options = 0, int numOptions = 0 ) -</h3> -Creates TQMotif, which allows TQt and Xt/Motif integration. -<p> If <em>context</em> is 0, TQMotif creates a default application context -itself. The context is accessible through <a href="#applicationContext">applicationContext</a>(). -<p> All arguments passed to this function (<em>applicationClass</em>, <em>options</em> and <em>numOptions</em>) are used to call XtDisplayInitialize() -after <a href="ntqapplication.html">TQApplication</a> has been constructed. - -<h3 class=fn><a name="~TQMotif"></a>TQMotif::~TQMotif () -</h3> -Destroys TQMotif. - -<h3 class=fn>XtAppContext <a name="applicationContext"></a>TQMotif::applicationContext () const -</h3> -Returns the application context. - -<h3 class=fn>Display * <a name="x11Display"></a>TQMotif::x11Display ()<tt> [static]</tt> -</h3> -Returns the X11 display connection used by the TQt <a href="motif-extension.html#Motif">Motif</a> Extension. - -<!-- eof --> -<hr><p> -This file is part of the <a href="index.html">TQt toolkit</a>. -Copyright © 1995-2007 -<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotifdialog-h.html b/doc/html/tqmotifdialog-h.html deleted file mode 100644 index 81ce20873..000000000 --- a/doc/html/tqmotifdialog-h.html +++ /dev/null @@ -1,153 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqmotifdialog.h:1 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>tqmotifdialog.h Include File</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqmotifdialog.h</h1> - -<p>This is the verbatim text of the tqmotifdialog.h include file. It is provided only for illustration; the copyright remains with Trolltech. -<hr> -<pre> -/**************************************************************************** -** $Id: qt/tqmotifdialog.h 3.3.8 edited Jan 11 14:37 $ -** -** Definition of TQt extension classes for Xt/Motif support. -** -** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt extension for Xt/Motif support. -** -** Licensees holding valid TQt Enterprise Edition licenses for X11 may use -** this file in accordance with the TQt Commercial License Agreement provided -** with the Software. -** -** This file is not available for use under any other license without -** express written permission from the copyright holder. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for -** information about TQt Commercial License Agreements. -** -** Contact info@trolltech.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - -#ifndef TQMOTIFDIALOG_H -#define TQMOTIFDIALOG_H - -#include <tqdialog.h> - -#include <X11/Intrinsic.h> -#include <Xm/Xm.h> - -class TQMotifWidget; -class TQMotifDialogPrivate; - -class TQMotifDialog : public TQDialog -{ - TQ_OBJECT - -public: - // obsolete - enum DialogType { - Prompt, - Selection, - Command, - FileSelection, - Template, - Error, - Information, - Message, - Question, - Warning, - Working - }; - // obsolete - TQMotifDialog( DialogType dialogtype, - Widget parent, ArgList args = NULL, Cardinal argcount = 0, - const char *name = 0, bool modal = FALSE, WFlags flags = 0 ); - // obsolete - TQMotifDialog( Widget parent, ArgList args = NULL, Cardinal argcount = 0, - const char *name = 0, bool modal = FALSE, WFlags flags = 0 ); - - TQMotifDialog( Widget parent, const char *name = 0, - bool modal = FALSE, WFlags flags = 0 ); - TQMotifDialog( TQWidget *parent, const char *name = 0, - bool modal = FALSE, WFlags flags = 0 ); - - virtual ~TQMotifDialog(); - - Widget shell() const; - Widget dialog() const; - - void show(); - void hide(); - - static void acceptCallback( Widget, XtPointer, XtPointer ); - static void rejectCallback( Widget, XtPointer, XtPointer ); - -public slots: - void accept(); - void reject(); - -protected: - bool event( TQEvent * ); - -#if !defined(Q_NO_USING_KEYWORD) - using TQObject::insertChild; -#endif - -private: - TQMotifDialogPrivate *d; - - void init( Widget parent = NULL, ArgList args = NULL, Cardinal argcount = 0); - - void realize( Widget w ); - void insertChild( Widget w ); - void deleteChild( Widget w ); - - friend void qmotif_dialog_realize( Widget, XtValueMask *, XSetWindowAttributes *); - friend void qmotif_dialog_insert_child( Widget ); - friend void qmotif_dialog_delete_child( Widget ); - friend void qmotif_dialog_change_managed( Widget ); -}; - -#endif // TQMOTIFDIALOG_H -</pre> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotifdialog-members.html b/doc/html/tqmotifdialog-members.html deleted file mode 100644 index 35c070627..000000000 --- a/doc/html/tqmotifdialog-members.html +++ /dev/null @@ -1,355 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqmotifdialog.h:39 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQMotifDialog Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQMotifDialog</h1> - -<p>This is the complete list of member functions for -<a href="tqmotifdialog.html">TQMotifDialog</a>, including inherited members. - -<ul> -<li><a href="tqmotifdialog.html#TQMotifDialog">TQMotifDialog</a>() -<li><a href="tqmotifdialog.html#~TQMotifDialog">~TQMotifDialog</a>() -<li><a href="tqdialog.html#accept">accept</a>() -<li><a href="tqmotifdialog.html#acceptCallback">acceptCallback</a>() -<li><a href="tqwidget.html#acceptDrops">acceptDrops</a>() -<li><a href="tqwidget.html#adjustSize">adjustSize</a>() -<li><a href="tqwidget.html#autoMask">autoMask</a>() -<li><a href="tqwidget.html#backgroundBrush">backgroundBrush</a>() -<li><a href="tqwidget.html#backgroundColor">backgroundColor</a>() -<li><a href="tqwidget.html#backgroundMode">backgroundMode</a>() -<li><a href="tqwidget.html#backgroundOrigin">backgroundOrigin</a>() -<li><a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() -<li><a href="tqwidget.html#baseSize">baseSize</a>() -<li><a href="tqobject.html#blockSignals">blockSignals</a>() -<li><a href="tqwidget.html#caption">caption</a>() -<li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() -<li><a href="tqobject.html#child">child</a>() -<li><a href="tqwidget.html#childAt">childAt</a>() -<li><a href="tqobject.html#childEvent">childEvent</a>() -<li><a href="tqobject.html#children">children</a>() -<li><a href="tqwidget.html#childrenRect">childrenRect</a>() -<li><a href="tqwidget.html#childrenRegion">childrenRegion</a>() -<li><a href="tqobject.html#className">className</a>() -<li><a href="tqwidget.html#clearFocus">clearFocus</a>() -<li><a href="tqwidget.html#clearMask">clearMask</a>() -<li><a href="tqwidget.html#clearWFlags">clearWFlags</a>() -<li><a href="tqwidget.html#clipRegion">clipRegion</a>() -<li><a href="tqwidget.html#close">close</a>() -<li><a href="tqwidget.html#closeEvent">closeEvent</a>() -<li><a href="tqpaintdevice.html#cmd">cmd</a>() -<li><a href="tqwidget.html#colorGroup">colorGroup</a>() -<li><a href="tqobject.html#connect">connect</a>() -<li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="tqwidget.html#constPolish">constPolish</a>() -<li><a href="tqwidget.html#contextMenuEvent">contextMenuEvent</a>() -<li><a href="tqwidget.html#create">create</a>() -<li><a href="tqwidget.html#cursor">cursor</a>() -<li><a href="tqobject.html#customEvent">customEvent</a>() -<li><a href="tqwidget.html#customWhatsThis">customWhatsThis</a>() -<li><a href="tqobject.html#deleteLater">deleteLater</a>() -<li><a href="tqwidget.html#destroy">destroy</a>() -<li><a href="tqobject.html#destroyed">destroyed</a>() -<li><a href="tqmotifdialog.html#dialog">dialog</a>() -<li><a href="tqobject.html#disconnect">disconnect</a>() -<li><a href="tqobject.html#disconnectNotify">disconnectNotify</a>() -<li><a href="tqdialog.html#done">done</a>() -<li><a href="tqwidget.html#dragEnterEvent">dragEnterEvent</a>() -<li><a href="tqwidget.html#dragLeaveEvent">dragLeaveEvent</a>() -<li><a href="tqwidget.html#dragMoveEvent">dragMoveEvent</a>() -<li><a href="tqwidget.html#drawText">drawText</a>() -<li><a href="tqwidget.html#dropEvent">dropEvent</a>() -<li><a href="tqobject.html#dumpObjectInfo">dumpObjectInfo</a>() -<li><a href="tqobject.html#dumpObjectTree">dumpObjectTree</a>() -<li><a href="tqwidget.html#enabledChange">enabledChange</a>() -<li><a href="tqwidget.html#enterEvent">enterEvent</a>() -<li><a href="tqwidget.html#erase">erase</a>() -<li><a href="tqwidget.html#eraseColor">eraseColor</a>() -<li><a href="tqwidget.html#erasePixmap">erasePixmap</a>() -<li><a href="tqwidget.html#event">event</a>() -<li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="tqdialog.html#exec">exec</a>() -<li><a href="tqdialog.html#extension">extension</a>() -<li><a href="tqwidget.html#find">find</a>() -<li><a href="tqwidget.html#focusData">focusData</a>() -<li><a href="tqwidget.html#focusInEvent">focusInEvent</a>() -<li><a href="tqwidget.html#focusNextPrevChild">focusNextPrevChild</a>() -<li><a href="tqwidget.html#focusOutEvent">focusOutEvent</a>() -<li><a href="tqwidget.html#focusPolicy">focusPolicy</a>() -<li><a href="tqwidget.html#focusProxy">focusProxy</a>() -<li><a href="tqwidget.html#focusWidget">focusWidget</a>() -<li><a href="tqwidget.html#font">font</a>() -<li><a href="tqwidget.html#fontChange">fontChange</a>() -<li><a href="tqwidget.html#fontInfo">fontInfo</a>() -<li><a href="tqwidget.html#fontMetrics">fontMetrics</a>() -<li><a href="tqwidget.html#foregroundColor">foregroundColor</a>() -<li><a href="tqwidget.html#frameGeometry">frameGeometry</a>() -<li><a href="tqwidget.html#frameSize">frameSize</a>() -<li><a href="tqwidget.html#geometry">geometry</a>() -<li><a href="tqwidget.html#getWFlags">getWFlags</a>() -<li><a href="tqwidget.html#grabKeyboard">grabKeyboard</a>() -<li><a href="tqwidget.html#grabMouse">grabMouse</a>() -<li><a href="tqpaintdevice.html#handle">handle</a>() -<li><a href="tqwidget.html#hasFocus">hasFocus</a>() -<li><a href="tqwidget.html#hasMouse">hasMouse</a>() -<li><a href="tqwidget.html#hasMouseTracking">hasMouseTracking</a>() -<li><a href="tqwidget.html#height">height</a>() -<li><a href="tqwidget.html#heightForWidth">heightForWidth</a>() -<li><a href="tqwidget.html#hide">hide</a>() -<li><a href="tqwidget.html#hideEvent">hideEvent</a>() -<li><a href="tqobject.html#highPriority">highPriority</a>() -<li><a href="tqwidget.html#icon">icon</a>() -<li><a href="tqwidget.html#iconText">iconText</a>() -<li><a href="tqwidget.html#iconify">iconify</a>() -<li><a href="tqwidget.html#imComposeEvent">imComposeEvent</a>() -<li><a href="tqwidget.html#imEndEvent">imEndEvent</a>() -<li><a href="tqwidget.html#imStartEvent">imStartEvent</a>() -<li><a href="tqobject.html#inherits">inherits</a>() -<li><a href="tqobject.html#insertChild">insertChild</a>() -<li><a href="tqobject.html#installEventFilter">installEventFilter</a>() -<li><a href="tqobject.html#isA">isA</a>() -<li><a href="tqwidget.html#isActiveWindow">isActiveWindow</a>() -<li><a href="tqwidget.html#isDesktop">isDesktop</a>() -<li><a href="tqwidget.html#isDialog">isDialog</a>() -<li><a href="tqwidget.html#isEnabled">isEnabled</a>() -<li><a href="tqwidget.html#isEnabledTo">isEnabledTo</a>() -<li><a href="tqwidget.html#isEnabledToTLW">isEnabledToTLW</a>() -<li><a href="tqpaintdevice.html#isExtDev">isExtDev</a>() -<li><a href="tqwidget.html#isFocusEnabled">isFocusEnabled</a>() -<li><a href="tqwidget.html#isFullScreen">isFullScreen</a>() -<li><a href="tqwidget.html#isHidden">isHidden</a>() -<li><a href="tqwidget.html#isInputMethodEnabled">isInputMethodEnabled</a>() -<li><a href="tqwidget.html#isMaximized">isMaximized</a>() -<li><a href="tqwidget.html#isMinimized">isMinimized</a>() -<li><a href="tqdialog.html#isModal">isModal</a>() -<li><a href="tqwidget.html#isPopup">isPopup</a>() -<li><a href="tqwidget.html#isShown">isShown</a>() -<li><a href="tqdialog.html#isSizeGripEnabled">isSizeGripEnabled</a>() -<li><a href="tqwidget.html#isTopLevel">isTopLevel</a>() -<li><a href="tqwidget.html#isUpdatesEnabled">isUpdatesEnabled</a>() -<li><a href="tqwidget.html#isVisible">isVisible</a>() -<li><a href="tqwidget.html#isVisibleTo">isVisibleTo</a>() -<li><a href="tqwidget.html#isVisibleToTLW">isVisibleToTLW</a>() -<li><a href="tqobject.html#isWidgetType">isWidgetType</a>() -<li><a href="tqwidget.html#keyPressEvent">keyPressEvent</a>() -<li><a href="tqwidget.html#keyReleaseEvent">keyReleaseEvent</a>() -<li><a href="tqwidget.html#keyboardGrabber">keyboardGrabber</a>() -<li><a href="tqobject.html#killTimer">killTimer</a>() -<li><a href="tqobject.html#killTimers">killTimers</a>() -<li><a href="tqwidget.html#layout">layout</a>() -<li><a href="tqwidget.html#leaveEvent">leaveEvent</a>() -<li><a href="tqwidget.html#lower">lower</a>() -<li><a href="tqwidget.html#macEvent">macEvent</a>() -<li><a href="tqwidget.html#mapFrom">mapFrom</a>() -<li><a href="tqwidget.html#mapFromGlobal">mapFromGlobal</a>() -<li><a href="tqwidget.html#mapFromParent">mapFromParent</a>() -<li><a href="tqwidget.html#mapTo">mapTo</a>() -<li><a href="tqwidget.html#mapToGlobal">mapToGlobal</a>() -<li><a href="tqwidget.html#mapToParent">mapToParent</a>() -<li><a href="tqwidget.html#maximumHeight">maximumHeight</a>() -<li><a href="tqwidget.html#maximumSize">maximumSize</a>() -<li><a href="tqwidget.html#maximumWidth">maximumWidth</a>() -<li><a href="tqobject.html#metaObject">metaObject</a>() -<li><a href="tqwidget.html#metric">metric</a>() -<li><a href="tqwidget.html#microFocusHint">microFocusHint</a>() -<li><a href="tqwidget.html#minimumHeight">minimumHeight</a>() -<li><a href="tqwidget.html#minimumSize">minimumSize</a>() -<li><a href="tqwidget.html#minimumSizeHint">minimumSizeHint</a>() -<li><a href="tqwidget.html#minimumWidth">minimumWidth</a>() -<li><a href="tqwidget.html#mouseDoubleClickEvent">mouseDoubleClickEvent</a>() -<li><a href="tqwidget.html#mouseGrabber">mouseGrabber</a>() -<li><a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>() -<li><a href="tqwidget.html#mousePressEvent">mousePressEvent</a>() -<li><a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>() -<li><a href="tqwidget.html#move">move</a>() -<li><a href="tqwidget.html#moveEvent">moveEvent</a>() -<li><a href="tqobject.html#name">name</a>() -<li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() -<li><a href="tqobject.html#objectTrees">objectTrees</a>() -<li><a href="tqdialog.html#orientation">orientation</a>() -<li><a href="tqwidget.html#ownCursor">ownCursor</a>() -<li><a href="tqwidget.html#ownFont">ownFont</a>() -<li><a href="tqwidget.html#ownPalette">ownPalette</a>() -<li><a href="tqwidget.html#paintEvent">paintEvent</a>() -<li><a href="tqpaintdevice.html#paintingActive">paintingActive</a>() -<li><a href="tqwidget.html#palette">palette</a>() -<li><a href="tqwidget.html#paletteBackgroundColor">paletteBackgroundColor</a>() -<li><a href="tqwidget.html#paletteBackgroundPixmap">paletteBackgroundPixmap</a>() -<li><a href="tqwidget.html#paletteChange">paletteChange</a>() -<li><a href="tqwidget.html#paletteForegroundColor">paletteForegroundColor</a>() -<li><a href="tqobject.html#parent">parent</a>() -<li><a href="tqwidget.html#parentWidget">parentWidget</a>() -<li><a href="tqwidget.html#polish">polish</a>() -<li><a href="tqwidget.html#pos">pos</a>() -<li><a href="tqobject.html#property">property</a>() -<li><a href="tqobject.html#queryList">queryList</a>() -<li><a href="tqwidget.html#raise">raise</a>() -<li><a href="tqwidget.html#recreate">recreate</a>() -<li><a href="tqwidget.html#rect">rect</a>() -<li><a href="tqdialog.html#reject">reject</a>() -<li><a href="tqmotifdialog.html#rejectCallback">rejectCallback</a>() -<li><a href="tqwidget.html#releaseKeyboard">releaseKeyboard</a>() -<li><a href="tqwidget.html#releaseMouse">releaseMouse</a>() -<li><a href="tqobject.html#removeChild">removeChild</a>() -<li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() -<li><a href="tqwidget.html#repaint">repaint</a>() -<li><a href="tqwidget.html#reparent">reparent</a>() -<li><a href="tqwidget.html#resetInputContext">resetInputContext</a>() -<li><a href="tqwidget.html#resize">resize</a>() -<li><a href="tqwidget.html#resizeEvent">resizeEvent</a>() -<li><a href="tqdialog.html#result">result</a>() -<li><a href="tqwidget.html#scroll">scroll</a>() -<li><a href="tqobject.html#sender">sender</a>() -<li><a href="tqwidget.html#setAcceptDrops">setAcceptDrops</a>() -<li><a href="tqwidget.html#setActiveWindow">setActiveWindow</a>() -<li><a href="tqwidget.html#setAutoMask">setAutoMask</a>() -<li><a href="tqwidget.html#setBackgroundColor">setBackgroundColor</a>() -<li><a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>() -<li><a href="tqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() -<li><a href="tqwidget.html#setBackgroundPixmap">setBackgroundPixmap</a>() -<li><a href="tqwidget.html#setBaseSize">setBaseSize</a>() -<li><a href="tqwidget.html#setCaption">setCaption</a>() -<li><a href="tqwidget.html#setCursor">setCursor</a>() -<li><a href="tqwidget.html#setDisabled">setDisabled</a>() -<li><a href="tqwidget.html#setEnabled">setEnabled</a>() -<li><a href="tqwidget.html#setEraseColor">setEraseColor</a>() -<li><a href="tqwidget.html#setErasePixmap">setErasePixmap</a>() -<li><a href="tqdialog.html#setExtension">setExtension</a>() -<li><a href="tqwidget.html#setFixedHeight">setFixedHeight</a>() -<li><a href="tqwidget.html#setFixedSize">setFixedSize</a>() -<li><a href="tqwidget.html#setFixedWidth">setFixedWidth</a>() -<li><a href="tqwidget.html#setFocus">setFocus</a>() -<li><a href="tqwidget.html#setFocusPolicy">setFocusPolicy</a>() -<li><a href="tqwidget.html#setFocusProxy">setFocusProxy</a>() -<li><a href="tqwidget.html#setFont">setFont</a>() -<li><a href="tqwidget.html#setGeometry">setGeometry</a>() -<li><a href="tqwidget.html#setHidden">setHidden</a>() -<li><a href="tqwidget.html#setIcon">setIcon</a>() -<li><a href="tqwidget.html#setIconText">setIconText</a>() -<li><a href="tqwidget.html#setInputMethodEnabled">setInputMethodEnabled</a>() -<li><a href="tqwidget.html#setKeyCompression">setKeyCompression</a>() -<li><a href="tqwidget.html#setMask">setMask</a>() -<li><a href="tqwidget.html#setMaximumHeight">setMaximumHeight</a>() -<li><a href="tqwidget.html#setMaximumSize">setMaximumSize</a>() -<li><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>() -<li><a href="tqwidget.html#setMicroFocusHint">setMicroFocusHint</a>() -<li><a href="tqwidget.html#setMinimumHeight">setMinimumHeight</a>() -<li><a href="tqwidget.html#setMinimumSize">setMinimumSize</a>() -<li><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>() -<li><a href="tqdialog.html#setModal">setModal</a>() -<li><a href="tqwidget.html#setMouseTracking">setMouseTracking</a>() -<li><a href="tqobject.html#setName">setName</a>() -<li><a href="tqdialog.html#setOrientation">setOrientation</a>() -<li><a href="tqwidget.html#setPalette">setPalette</a>() -<li><a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() -<li><a href="tqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>() -<li><a href="tqwidget.html#setPaletteForegroundColor">setPaletteForegroundColor</a>() -<li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="tqdialog.html#setResult">setResult</a>() -<li><a href="tqwidget.html#setShown">setShown</a>() -<li><a href="tqdialog.html#setSizeGripEnabled">setSizeGripEnabled</a>() -<li><a href="tqwidget.html#setSizeIncrement">setSizeIncrement</a>() -<li><a href="tqwidget.html#setSizePolicy">setSizePolicy</a>() -<li><a href="tqwidget.html#setStyle">setStyle</a>() -<li><a href="tqwidget.html#setTabOrder">setTabOrder</a>() -<li><a href="tqwidget.html#setUpdatesEnabled">setUpdatesEnabled</a>() -<li><a href="tqwidget.html#setWFlags">setWFlags</a>() -<li><a href="tqwidget.html#setWindowOpacity">setWindowOpacity</a>() -<li><a href="tqwidget.html#setWindowState">setWindowState</a>() -<li><a href="tqmotifdialog.html#shell">shell</a>() -<li><a href="tqdialog.html#show">show</a>() -<li><a href="tqwidget.html#showEvent">showEvent</a>() -<li><a href="tqdialog.html#showExtension">showExtension</a>() -<li><a href="tqwidget.html#showFullScreen">showFullScreen</a>() -<li><a href="tqwidget.html#showMaximized">showMaximized</a>() -<li><a href="tqwidget.html#showMinimized">showMinimized</a>() -<li><a href="tqwidget.html#showNormal">showNormal</a>() -<li><a href="tqobject.html#signalsBlocked">signalsBlocked</a>() -<li><a href="tqwidget.html#size">size</a>() -<li><a href="tqwidget.html#sizeHint">sizeHint</a>() -<li><a href="tqwidget.html#sizeIncrement">sizeIncrement</a>() -<li><a href="tqwidget.html#sizePolicy">sizePolicy</a>() -<li><a href="tqwidget.html#stackUnder">stackUnder</a>() -<li><a href="tqobject.html#startTimer">startTimer</a>() -<li><a href="tqwidget.html#style">style</a>() -<li><a href="tqwidget.html#styleChange">styleChange</a>() -<li><a href="tqwidget.html#tabletEvent">tabletEvent</a>() -<li><a href="tqwidget.html#testWFlags">testWFlags</a>() -<li><a href="tqobject.html#timerEvent">timerEvent</a>() -<li><a href="tqwidget.html#topLevelWidget">topLevelWidget</a>() -<li><a href="tqobject.html#tr">tr</a>() -<li><a href="tqobject.html#trUtf8">trUtf8</a>() -<li><a href="tqwidget.html#unsetCursor">unsetCursor</a>() -<li><a href="tqwidget.html#unsetFont">unsetFont</a>() -<li><a href="tqwidget.html#unsetPalette">unsetPalette</a>() -<li><a href="tqwidget.html#update">update</a>() -<li><a href="tqwidget.html#updateGeometry">updateGeometry</a>() -<li><a href="tqwidget.html#updateMask">updateMask</a>() -<li><a href="tqwidget.html#visibleRect">visibleRect</a>() -<li><a href="tqwidget.html#wheelEvent">wheelEvent</a>() -<li><a href="tqwidget.html#width">width</a>() -<li><a href="tqwidget.html#winEvent">winEvent</a>() -<li><a href="tqwidget.html#winId">winId</a>() -<li><a href="tqwidget.html#windowActivationChange">windowActivationChange</a>() -<li><a href="tqwidget.html#windowOpacity">windowOpacity</a>() -<li><a href="tqwidget.html#windowState">windowState</a>() -<li><a href="tqwidget.html#x">x</a>() -<li><a href="tqpaintdevice.html#x11AppCells">x11AppCells</a>() -<li><a href="tqpaintdevice.html#x11AppColormap">x11AppColormap</a>() -<li><a href="tqpaintdevice.html#x11AppDefaultColormap">x11AppDefaultColormap</a>() -<li><a href="tqpaintdevice.html#x11AppDefaultVisual">x11AppDefaultVisual</a>() -<li><a href="tqpaintdevice.html#x11AppDepth">x11AppDepth</a>() -<li><a href="tqpaintdevice.html#x11AppDisplay">x11AppDisplay</a>() -<li><a href="tqpaintdevice.html#x11AppDpiX">x11AppDpiX</a>() -<li><a href="tqpaintdevice.html#x11AppDpiY">x11AppDpiY</a>() -<li><a href="tqpaintdevice.html#x11AppRootWindow">x11AppRootWindow</a>() -<li><a href="tqpaintdevice.html#x11AppScreen">x11AppScreen</a>() -<li><a href="tqpaintdevice.html#x11AppVisual">x11AppVisual</a>() -<li><a href="tqpaintdevice.html#x11Cells">x11Cells</a>() -<li><a href="tqpaintdevice.html#x11Colormap">x11Colormap</a>() -<li><a href="tqpaintdevice.html#x11DefaultColormap">x11DefaultColormap</a>() -<li><a href="tqpaintdevice.html#x11DefaultVisual">x11DefaultVisual</a>() -<li><a href="tqpaintdevice.html#x11Depth">x11Depth</a>() -<li><a href="tqpaintdevice.html#x11Display">x11Display</a>() -<li><a href="tqwidget.html#x11Event">x11Event</a>() -<li><a href="tqpaintdevice.html#x11Screen">x11Screen</a>() -<li><a href="tqpaintdevice.html#x11SetAppDpiX">x11SetAppDpiX</a>() -<li><a href="tqpaintdevice.html#x11SetAppDpiY">x11SetAppDpiY</a>() -<li><a href="tqpaintdevice.html#x11Visual">x11Visual</a>() -<li><a href="tqwidget.html#y">y</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotifdialog.html b/doc/html/tqmotifdialog.html deleted file mode 100644 index 998143e9c..000000000 --- a/doc/html/tqmotifdialog.html +++ /dev/null @@ -1,205 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/src/tqmotifdialog.cpp:167 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQMotifDialog Class</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQMotifDialog Class Reference</h1> - -<p>The TQMotifDialog class provides the TQDialog API for Motif-based dialogs. -<a href="#details">More...</a> -<p>This class is part of the <b>TQt Motif Extension</b>. -<p><tt>#include <<a href="tqmotifdialog-h.html">tqmotifdialog.h</a>></tt> -<p>Inherits <a href="tqdialog.html">TQDialog</a>. -<p><a href="tqmotifdialog-members.html">List of all member functions.</a> -<h2>Public Members</h2> -<ul> -<li class=fn>enum DialogType { Prompt, Selection, Command, FileSelection, Template, Error, Information, Message, Question, Warning, Working } <em>(obsolete)</em></li> -<li class=fn>TQMotifDialog ( DialogType dialogtype, Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) <em>(obsolete)</em></li> -<li class=fn>TQMotifDialog ( Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) <em>(obsolete)</em></li> -<li class=fn><a href="#TQMotifDialog-3"><b>TQMotifDialog</b></a> ( Widget parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )</li> -<li class=fn><a href="#TQMotifDialog-4"><b>TQMotifDialog</b></a> ( TQWidget * parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )</li> -<li class=fn>virtual <a href="#~TQMotifDialog"><b>~TQMotifDialog</b></a> ()</li> -<li class=fn>Widget <a href="#shell"><b>shell</b></a> () const</li> -<li class=fn>Widget <a href="#dialog"><b>dialog</b></a> () const</li> -</ul> -<h2>Static Public Members</h2> -<ul> -<li class=fn>void <a href="#acceptCallback"><b>acceptCallback</b></a> ( Widget, XtPointer client_data, XtPointer )</li> -<li class=fn>void <a href="#rejectCallback"><b>rejectCallback</b></a> ( Widget, XtPointer client_data, XtPointer )</li> -</ul> -<hr><a name="details"></a><h2>Detailed Description</h2> -<p> This class is defined in the <b>TQt <a href="motif-extension.html#Motif">Motif</a> Extension</b>, which can be found in the <tt>qt/extensions</tt> directory. It is not included in the main TQt API. -<p> - -The TQMotifDialog class provides the <a href="tqdialog.html">TQDialog</a> API for Motif-based dialogs. - -<p> -<p> TQMotifDialog provides two separate modes of operation. The -application programmer can use TQMotifDialog with an existing -Motif-based dialog and a <a href="tqwidget.html">TQWidget</a> parent, or the application -programmer can use TQMotifDialog with a custom TQt-based dialog and -a Motif-based parent. Modality continues to work as expected. -<p> Motif-based dialogs must have a <tt>Shell</tt> widget parent with a -single child, due to requirements of the Motif toolkit. The <tt>Shell</tt> widget, which is a special subclass of <tt>XmDialogShell</tt>, is -created during construction. It can be accessed using the <a href="#shell">shell</a>() -member function. -<p> The single child of the <tt>Shell</tt> can be accessed using the -<a href="#dialog">dialog</a>() member function <em>after</em> it has been created. -<p> The <a href="#acceptCallback">acceptCallback</a>() and <a href="#rejectCallback">rejectCallback</a>() functions provide a -convenient way to call <a href="tqdialog.html#accept">TQDialog::accept</a>() and <a href="tqdialog.html#reject">TQDialog::reject</a>() -through callbacks. A pointer to the TQMotifDialog should be passed -as the <tt>client_data</tt> argument to the callback. -<p> The API and behavior TQMotifDialog is identical to that of <a href="tqdialog.html">TQDialog</a> -when using a custom TQt-based dialog with a Motif-based parent. -The only difference is that a Motif-based <em>parent</em> argument is -passed to the constructor, instead of a <a href="tqwidget.html">TQWidget</a> parent. - -<hr><h2>Member Type Documentation</h2> -<h3 class=fn><a name="DialogType-enum"></a>TQMotifDialog::DialogType</h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> -<p> This enum lists the predefined <a href="motif-extension.html#Motif">Motif</a> dialog types. -<ul> -<li><tt>TQMotifDialog::Prompt</tt> -<li><tt>TQMotifDialog::Selection</tt> -<li><tt>TQMotifDialog::Command</tt> -<li><tt>TQMotifDialog::FileSelection</tt> -<li><tt>TQMotifDialog::Template</tt> -<li><tt>TQMotifDialog::Error</tt> -<li><tt>TQMotifDialog::Information</tt> -<li><tt>TQMotifDialog::Message</tt> -<li><tt>TQMotifDialog::Question</tt> -<li><tt>TQMotifDialog::Warning</tt> -<li><tt>TQMotifDialog::Working</tt> -</ul> -<hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQMotifDialog"></a>TQMotifDialog::TQMotifDialog ( <a href="tqmotifdialog.html#DialogType-enum">DialogType</a> dialogtype, Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) -</h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Creates a TQMotifDialog using one of the predefined <a href="motif-extension.html#Motif">Motif</a> dialog -types. The <em>name</em>, <em>modal</em> and <em>flags</em> arguments are passed to -the <a href="tqdialog.html">TQDialog</a> constructor. -<p> This constructor creates a Shell widget, which is a special -subclass of XmDialogShell. The <em>parent</em>, <em>args</em> and <em>argcount</em> -arguments are passed to XtCreatePopupShell() when creating the -subclass. You can access the Shell widget with the <a href="#shell">shell</a>() member -function. -<p> This constructor also creates the dialog widget with the Shell -widget as its parent. The type of the dialog created is specified -by the <em>dialogtype</em> argument. See the DialogType enum for a list -of available dialog types. You can access the dialog widget with -the <a href="#dialog">dialog</a>() member function. -<p> <b>Warning:</b> TQMotifDialog takes ownership of the child widget and -destroys it during destruction. You should not destroy the dialog -widget yourself. -<p> <p>See also <a href="#DialogType-enum">DialogType</a>, <a href="#shell">shell</a>(), and <a href="#dialog">dialog</a>(). - -<h3 class=fn><a name="TQMotifDialog-2"></a>TQMotifDialog::TQMotifDialog ( Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) -</h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Creates a TQMotifDialog which allows the application programmer to -use the <a href="motif-extension.html#Motif">Motif</a>-based <em>parent</em> for a custom <a href="tqdialog.html">TQDialog</a>. The <em>name</em>, -<em>modal</em> and <em>flags</em> arguments are passed to the TQDialog -constructor. -<p> This constructor creates a Shell widget, which is a special -subclass of XmDialogShell. The <em>args</em> and <em>argcount</em> arguments -are passed to XtCreatePopupShell() when creating the subclass. -You can access the Shell widget with the <a href="#shell">shell</a>() member function. -<p> The dialog widget is not created by the constructor. You must -create the dialog widget as a child of the the widget returned by -shell(). You can access the child widget with the <a href="#dialog">dialog</a>() member -function. -<p> A dialog widget is not created by this constructor. Instead, you -should create the dialog widget as a child of this -dialog. TQMotifDialog will take ownership of your custom dialog, -and you can access it with the dialog() member function. -<p> <b>Warning:</b> TQMotifDialog takes ownership of the child widget and -destroys it during destruction. You should not destroy the dialog -widget yourself. -<p> <p>See also <a href="#shell">shell</a>() and <a href="#dialog">dialog</a>(). - -<h3 class=fn><a name="TQMotifDialog-3"></a>TQMotifDialog::TQMotifDialog ( Widget parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) -</h3> -Creates a TQMotifDialog which allows the application programmer to -use the <a href="motif-extension.html#Motif">Motif</a>-based <em>parent</em> for a custom <a href="tqdialog.html">TQDialog</a>. The <em>name</em>, -<em>modal</em> and <em>flags</em> arguments are passed to the TQDialog -constructor. -<p> This constructor creates a <tt>Shell</tt> widget, which is a special -subclass of <tt>XmDialogShell</tt>. You can access the <tt>Shell</tt> widget -with the <a href="#shell">shell</a>() member function. -<p> <p>See also <a href="#shell">shell</a>(). - -<h3 class=fn><a name="TQMotifDialog-4"></a>TQMotifDialog::TQMotifDialog ( <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) -</h3> -Creates a TQMotifDialog which allows the application programmer to -use a <a href="tqwidget.html">TQWidget</a> parent for an existing <a href="motif-extension.html#Motif">Motif</a>-based dialog. The <em>parent</em>, <em>name</em>, <em>modal</em> and <em>flags</em> arguments are passed to the -<a href="tqdialog.html">TQDialog</a> constructor. -<p> This constructor creates a <tt>Shell</tt> widget, which is a special -subclass of <tt>XmDialogShell</tt>. You can access the <tt>Shell</tt> widget -with the <a href="#shell">shell</a>() member functon. -<p> A dialog widget is not created by this constructor. Instead, you -should create the dialog widget as a child of this -dialog. TQMotifDialog will take ownership of your custom dialog, -and you can access it with the <a href="#dialog">dialog</a>() member function. -<p> <b>Warning:</b> TQMotifDialog takes ownership of the child widget and -destroys it during destruction. You should not destroy the dialog -widget yourself. -<p> <p>See also <a href="#shell">shell</a>() and <a href="#dialog">dialog</a>(). - -<h3 class=fn><a name="~TQMotifDialog"></a>TQMotifDialog::~TQMotifDialog ()<tt> [virtual]</tt> -</h3> -Destroys the <a href="tqdialog.html">TQDialog</a>, dialog widget and <tt>Shell</tt> widget. - -<h3 class=fn>void <a name="acceptCallback"></a>TQMotifDialog::acceptCallback ( Widget, XtPointer client_data, XtPointer )<tt> [static]</tt> -</h3> -Convenient Xt/Motif callback to accept the TQMotifDialog. -<p> The data is passed in <em>client_data</em>. - -<h3 class=fn>Widget <a name="dialog"></a>TQMotifDialog::dialog () const -</h3> -Returns the <a href="motif-extension.html#Motif">Motif</a> widget embedded in this dialog. - -<h3 class=fn>void <a name="rejectCallback"></a>TQMotifDialog::rejectCallback ( Widget, XtPointer client_data, XtPointer )<tt> [static]</tt> -</h3> -Convenient Xt/Motif callback to reject the TQMotifDialog. -<p> The data is passed in <em>client_data</em>. - -<h3 class=fn>Widget <a name="shell"></a>TQMotifDialog::shell () const -</h3> -Returns the <tt>Shell</tt> widget embedded in this dialog. - -<p>Example: <a href="motif-dialog-example.html#x2707">dialog/mainwindow.cpp</a>. -<!-- eof --> -<hr><p> -This file is part of the <a href="index.html">TQt toolkit</a>. -Copyright © 1995-2007 -<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotifplusstyle.html b/doc/html/tqmotifplusstyle.html index e265a92a9..cf55749c5 100644 --- a/doc/html/tqmotifplusstyle.html +++ b/doc/html/tqmotifplusstyle.html @@ -43,7 +43,7 @@ body { background: #ffffff; color: black; } <hr><a name="details"></a><h2>Detailed Description</h2> -The TQMotifPlusStyle class provides a more sophisticated <a href="motif-extension.html#Motif">Motif</a>-ish look and feel. +The TQMotifPlusStyle class provides a more sophisticated Motif-ish look and feel. <p> <p> This class implements a Motif-ish look and feel with the more sophisticated bevelling as used by the GIMP Toolkit (GTK+) for diff --git a/doc/html/tqmotifstyle.html b/doc/html/tqmotifstyle.html index b5a202d14..1e0d977fc 100644 --- a/doc/html/tqmotifstyle.html +++ b/doc/html/tqmotifstyle.html @@ -46,7 +46,7 @@ body { background: #ffffff; color: black; } <hr><a name="details"></a><h2>Detailed Description</h2> -The TQMotifStyle class provides <a href="motif-extension.html#Motif">Motif</a> look and feel. +The TQMotifStyle class provides Motif look and feel. <p> <p> This class implements the Motif look and feel. It closely resembles the original Motif look as defined by the Open Group, @@ -59,14 +59,14 @@ GUI style on UNIX platforms. </h3> Constructs a TQMotifStyle. <p> If <em>useHighlightCols</em> is FALSE (the default), the style will -polish the application's color palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of +polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color. <h3 class=fn>void <a name="setUseHighlightColors"></a>TQMotifStyle::setUseHighlightColors ( bool arg ) </h3> If <em>arg</em> is FALSE, the style will polish the application's color -palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of highlighting, which is a +palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color. <p> The effect will show up the next time an application palette is set via <a href="ntqapplication.html#setPalette">TQApplication::setPalette</a>(). The current color palette of @@ -76,7 +76,7 @@ the application remains unchanged. <h3 class=fn>bool <a name="useHighlightColors"></a>TQMotifStyle::useHighlightColors () const </h3> Returns TRUE if the style treats the highlight colors of the -palette in a <a href="motif-extension.html#Motif">Motif</a>-like manner, which is a simple inversion +palette in a Motif-like manner, which is a simple inversion between the base and the text color; otherwise returns FALSE. The default is FALSE. diff --git a/doc/html/tqmotifwidget-h.html b/doc/html/tqmotifwidget-h.html deleted file mode 100644 index 3fbdc61e7..000000000 --- a/doc/html/tqmotifwidget-h.html +++ /dev/null @@ -1,115 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqmotifwidget.h:1 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>tqmotifwidget.h Include File</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>tqmotifwidget.h</h1> - -<p>This is the verbatim text of the tqmotifwidget.h include file. It is provided only for illustration; the copyright remains with Trolltech. -<hr> -<pre> -/**************************************************************************** -** $Id: qt/tqmotifwidget.h 3.3.8 edited Jan 11 14:37 $ -** -** Definition of TQt extension classes for Xt/Motif support. -** -** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt extension for Xt/Motif support. -** -** Licensees holding valid TQt Enterprise Edition licenses for X11 may use -** this file in accordance with the TQt Commercial License Agreement provided -** with the Software. -** -** This file is not available for use under any other license without -** express written permission from the copyright holder. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for -** information about TQt Commercial License Agreements. -** -** Contact info@trolltech.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - -#ifndef TQMOTIFWIDGET_H -#define TQMOTIFWIDGET_H - -#include <tqwidget.h> - -#include <X11/Intrinsic.h> - -class TQMotifWidgetPrivate; -class TQKeyEvent; - -class TQMotifWidget : public TQWidget -{ - TQ_OBJECT - -public: - TQMotifWidget( TQWidget *, WidgetClass, ArgList = NULL, Cardinal = 0, - const char * = 0, WFlags = 0 ); - virtual ~TQMotifWidget(); - - Widget motifWidget() const; - - void show(); - void hide(); - -protected: - bool event( TQEvent * ); - bool eventFilter( TQObject *object, TQEvent *event ); - bool x11Event(XEvent *event); - -private: - TQMotifWidgetPrivate *d; - - void realize( Widget ); - - friend void qmotif_widget_shell_destroy(Widget w); - friend void qmotif_widget_shell_realize( Widget, XtValueMask *, - XSetWindowAttributes *); - friend void qmotif_widget_shell_change_managed( Widget ); - static bool dispatchTQEvent( TQEvent*, TQWidget*); - friend class TQMotifDialog; -}; - -#endif // TQMOTIFWIDGET_H -</pre> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotifwidget-members.html b/doc/html/tqmotifwidget-members.html deleted file mode 100644 index 42a3618e4..000000000 --- a/doc/html/tqmotifwidget-members.html +++ /dev/null @@ -1,338 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/include/tqmotifwidget.h:38 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQMotifWidget Member List</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Complete Member List for TQMotifWidget</h1> - -<p>This is the complete list of member functions for -<a href="tqmotifwidget.html">TQMotifWidget</a>, including inherited members. - -<ul> -<li><a href="tqmotifwidget.html#TQMotifWidget">TQMotifWidget</a>() -<li><a href="tqmotifwidget.html#~TQMotifWidget">~TQMotifWidget</a>() -<li><a href="tqwidget.html#acceptDrops">acceptDrops</a>() -<li><a href="tqwidget.html#adjustSize">adjustSize</a>() -<li><a href="tqwidget.html#autoMask">autoMask</a>() -<li><a href="tqwidget.html#backgroundBrush">backgroundBrush</a>() -<li><a href="tqwidget.html#backgroundColor">backgroundColor</a>() -<li><a href="tqwidget.html#backgroundMode">backgroundMode</a>() -<li><a href="tqwidget.html#backgroundOrigin">backgroundOrigin</a>() -<li><a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() -<li><a href="tqwidget.html#baseSize">baseSize</a>() -<li><a href="tqobject.html#blockSignals">blockSignals</a>() -<li><a href="tqwidget.html#caption">caption</a>() -<li><a href="tqobject.html#checkConnectArgs">checkConnectArgs</a>() -<li><a href="tqobject.html#child">child</a>() -<li><a href="tqwidget.html#childAt">childAt</a>() -<li><a href="tqobject.html#childEvent">childEvent</a>() -<li><a href="tqobject.html#children">children</a>() -<li><a href="tqwidget.html#childrenRect">childrenRect</a>() -<li><a href="tqwidget.html#childrenRegion">childrenRegion</a>() -<li><a href="tqobject.html#className">className</a>() -<li><a href="tqwidget.html#clearFocus">clearFocus</a>() -<li><a href="tqwidget.html#clearMask">clearMask</a>() -<li><a href="tqwidget.html#clearWFlags">clearWFlags</a>() -<li><a href="tqwidget.html#clipRegion">clipRegion</a>() -<li><a href="tqwidget.html#close">close</a>() -<li><a href="tqwidget.html#closeEvent">closeEvent</a>() -<li><a href="tqpaintdevice.html#cmd">cmd</a>() -<li><a href="tqwidget.html#colorGroup">colorGroup</a>() -<li><a href="tqobject.html#connect">connect</a>() -<li><a href="tqobject.html#connectNotify">connectNotify</a>() -<li><a href="tqwidget.html#constPolish">constPolish</a>() -<li><a href="tqwidget.html#contextMenuEvent">contextMenuEvent</a>() -<li><a href="tqwidget.html#create">create</a>() -<li><a href="tqwidget.html#cursor">cursor</a>() -<li><a href="tqobject.html#customEvent">customEvent</a>() -<li><a href="tqwidget.html#customWhatsThis">customWhatsThis</a>() -<li><a href="tqobject.html#deleteLater">deleteLater</a>() -<li><a href="tqwidget.html#destroy">destroy</a>() -<li><a href="tqobject.html#destroyed">destroyed</a>() -<li><a href="tqobject.html#disconnect">disconnect</a>() -<li><a href="tqobject.html#disconnectNotify">disconnectNotify</a>() -<li><a href="tqwidget.html#dragEnterEvent">dragEnterEvent</a>() -<li><a href="tqwidget.html#dragLeaveEvent">dragLeaveEvent</a>() -<li><a href="tqwidget.html#dragMoveEvent">dragMoveEvent</a>() -<li><a href="tqwidget.html#drawText">drawText</a>() -<li><a href="tqwidget.html#dropEvent">dropEvent</a>() -<li><a href="tqobject.html#dumpObjectInfo">dumpObjectInfo</a>() -<li><a href="tqobject.html#dumpObjectTree">dumpObjectTree</a>() -<li><a href="tqwidget.html#enabledChange">enabledChange</a>() -<li><a href="tqwidget.html#enterEvent">enterEvent</a>() -<li><a href="tqwidget.html#erase">erase</a>() -<li><a href="tqwidget.html#eraseColor">eraseColor</a>() -<li><a href="tqwidget.html#erasePixmap">erasePixmap</a>() -<li><a href="tqwidget.html#event">event</a>() -<li><a href="tqobject.html#eventFilter">eventFilter</a>() -<li><a href="tqwidget.html#find">find</a>() -<li><a href="tqwidget.html#focusData">focusData</a>() -<li><a href="tqwidget.html#focusInEvent">focusInEvent</a>() -<li><a href="tqwidget.html#focusNextPrevChild">focusNextPrevChild</a>() -<li><a href="tqwidget.html#focusOutEvent">focusOutEvent</a>() -<li><a href="tqwidget.html#focusPolicy">focusPolicy</a>() -<li><a href="tqwidget.html#focusProxy">focusProxy</a>() -<li><a href="tqwidget.html#focusWidget">focusWidget</a>() -<li><a href="tqwidget.html#font">font</a>() -<li><a href="tqwidget.html#fontChange">fontChange</a>() -<li><a href="tqwidget.html#fontInfo">fontInfo</a>() -<li><a href="tqwidget.html#fontMetrics">fontMetrics</a>() -<li><a href="tqwidget.html#foregroundColor">foregroundColor</a>() -<li><a href="tqwidget.html#frameGeometry">frameGeometry</a>() -<li><a href="tqwidget.html#frameSize">frameSize</a>() -<li><a href="tqwidget.html#geometry">geometry</a>() -<li><a href="tqwidget.html#getWFlags">getWFlags</a>() -<li><a href="tqwidget.html#grabKeyboard">grabKeyboard</a>() -<li><a href="tqwidget.html#grabMouse">grabMouse</a>() -<li><a href="tqpaintdevice.html#handle">handle</a>() -<li><a href="tqwidget.html#hasFocus">hasFocus</a>() -<li><a href="tqwidget.html#hasMouse">hasMouse</a>() -<li><a href="tqwidget.html#hasMouseTracking">hasMouseTracking</a>() -<li><a href="tqwidget.html#height">height</a>() -<li><a href="tqwidget.html#heightForWidth">heightForWidth</a>() -<li><a href="tqwidget.html#hide">hide</a>() -<li><a href="tqwidget.html#hideEvent">hideEvent</a>() -<li><a href="tqobject.html#highPriority">highPriority</a>() -<li><a href="tqwidget.html#icon">icon</a>() -<li><a href="tqwidget.html#iconText">iconText</a>() -<li><a href="tqwidget.html#iconify">iconify</a>() -<li><a href="tqwidget.html#imComposeEvent">imComposeEvent</a>() -<li><a href="tqwidget.html#imEndEvent">imEndEvent</a>() -<li><a href="tqwidget.html#imStartEvent">imStartEvent</a>() -<li><a href="tqobject.html#inherits">inherits</a>() -<li><a href="tqobject.html#insertChild">insertChild</a>() -<li><a href="tqobject.html#installEventFilter">installEventFilter</a>() -<li><a href="tqobject.html#isA">isA</a>() -<li><a href="tqwidget.html#isActiveWindow">isActiveWindow</a>() -<li><a href="tqwidget.html#isDesktop">isDesktop</a>() -<li><a href="tqwidget.html#isDialog">isDialog</a>() -<li><a href="tqwidget.html#isEnabled">isEnabled</a>() -<li><a href="tqwidget.html#isEnabledTo">isEnabledTo</a>() -<li><a href="tqwidget.html#isEnabledToTLW">isEnabledToTLW</a>() -<li><a href="tqpaintdevice.html#isExtDev">isExtDev</a>() -<li><a href="tqwidget.html#isFocusEnabled">isFocusEnabled</a>() -<li><a href="tqwidget.html#isFullScreen">isFullScreen</a>() -<li><a href="tqwidget.html#isHidden">isHidden</a>() -<li><a href="tqwidget.html#isInputMethodEnabled">isInputMethodEnabled</a>() -<li><a href="tqwidget.html#isMaximized">isMaximized</a>() -<li><a href="tqwidget.html#isMinimized">isMinimized</a>() -<li><a href="tqwidget.html#isModal">isModal</a>() -<li><a href="tqwidget.html#isPopup">isPopup</a>() -<li><a href="tqwidget.html#isShown">isShown</a>() -<li><a href="tqwidget.html#isTopLevel">isTopLevel</a>() -<li><a href="tqwidget.html#isUpdatesEnabled">isUpdatesEnabled</a>() -<li><a href="tqwidget.html#isVisible">isVisible</a>() -<li><a href="tqwidget.html#isVisibleTo">isVisibleTo</a>() -<li><a href="tqwidget.html#isVisibleToTLW">isVisibleToTLW</a>() -<li><a href="tqobject.html#isWidgetType">isWidgetType</a>() -<li><a href="tqwidget.html#keyPressEvent">keyPressEvent</a>() -<li><a href="tqwidget.html#keyReleaseEvent">keyReleaseEvent</a>() -<li><a href="tqwidget.html#keyboardGrabber">keyboardGrabber</a>() -<li><a href="tqobject.html#killTimer">killTimer</a>() -<li><a href="tqobject.html#killTimers">killTimers</a>() -<li><a href="tqwidget.html#layout">layout</a>() -<li><a href="tqwidget.html#leaveEvent">leaveEvent</a>() -<li><a href="tqwidget.html#lower">lower</a>() -<li><a href="tqwidget.html#macEvent">macEvent</a>() -<li><a href="tqwidget.html#mapFrom">mapFrom</a>() -<li><a href="tqwidget.html#mapFromGlobal">mapFromGlobal</a>() -<li><a href="tqwidget.html#mapFromParent">mapFromParent</a>() -<li><a href="tqwidget.html#mapTo">mapTo</a>() -<li><a href="tqwidget.html#mapToGlobal">mapToGlobal</a>() -<li><a href="tqwidget.html#mapToParent">mapToParent</a>() -<li><a href="tqwidget.html#maximumHeight">maximumHeight</a>() -<li><a href="tqwidget.html#maximumSize">maximumSize</a>() -<li><a href="tqwidget.html#maximumWidth">maximumWidth</a>() -<li><a href="tqobject.html#metaObject">metaObject</a>() -<li><a href="tqwidget.html#metric">metric</a>() -<li><a href="tqwidget.html#microFocusHint">microFocusHint</a>() -<li><a href="tqwidget.html#minimumHeight">minimumHeight</a>() -<li><a href="tqwidget.html#minimumSize">minimumSize</a>() -<li><a href="tqwidget.html#minimumSizeHint">minimumSizeHint</a>() -<li><a href="tqwidget.html#minimumWidth">minimumWidth</a>() -<li><a href="tqmotifwidget.html#motifWidget">motifWidget</a>() -<li><a href="tqwidget.html#mouseDoubleClickEvent">mouseDoubleClickEvent</a>() -<li><a href="tqwidget.html#mouseGrabber">mouseGrabber</a>() -<li><a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>() -<li><a href="tqwidget.html#mousePressEvent">mousePressEvent</a>() -<li><a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>() -<li><a href="tqwidget.html#move">move</a>() -<li><a href="tqwidget.html#moveEvent">moveEvent</a>() -<li><a href="tqobject.html#name">name</a>() -<li><a href="tqobject.html#normalizeSignalSlot">normalizeSignalSlot</a>() -<li><a href="tqobject.html#objectTrees">objectTrees</a>() -<li><a href="tqwidget.html#ownCursor">ownCursor</a>() -<li><a href="tqwidget.html#ownFont">ownFont</a>() -<li><a href="tqwidget.html#ownPalette">ownPalette</a>() -<li><a href="tqwidget.html#paintEvent">paintEvent</a>() -<li><a href="tqpaintdevice.html#paintingActive">paintingActive</a>() -<li><a href="tqwidget.html#palette">palette</a>() -<li><a href="tqwidget.html#paletteBackgroundColor">paletteBackgroundColor</a>() -<li><a href="tqwidget.html#paletteBackgroundPixmap">paletteBackgroundPixmap</a>() -<li><a href="tqwidget.html#paletteChange">paletteChange</a>() -<li><a href="tqwidget.html#paletteForegroundColor">paletteForegroundColor</a>() -<li><a href="tqobject.html#parent">parent</a>() -<li><a href="tqwidget.html#parentWidget">parentWidget</a>() -<li><a href="tqwidget.html#polish">polish</a>() -<li><a href="tqwidget.html#pos">pos</a>() -<li><a href="tqobject.html#property">property</a>() -<li><a href="tqobject.html#queryList">queryList</a>() -<li><a href="tqwidget.html#raise">raise</a>() -<li><a href="tqwidget.html#recreate">recreate</a>() -<li><a href="tqwidget.html#rect">rect</a>() -<li><a href="tqwidget.html#releaseKeyboard">releaseKeyboard</a>() -<li><a href="tqwidget.html#releaseMouse">releaseMouse</a>() -<li><a href="tqobject.html#removeChild">removeChild</a>() -<li><a href="tqobject.html#removeEventFilter">removeEventFilter</a>() -<li><a href="tqwidget.html#repaint">repaint</a>() -<li><a href="tqwidget.html#reparent">reparent</a>() -<li><a href="tqwidget.html#resetInputContext">resetInputContext</a>() -<li><a href="tqwidget.html#resize">resize</a>() -<li><a href="tqwidget.html#resizeEvent">resizeEvent</a>() -<li><a href="tqwidget.html#scroll">scroll</a>() -<li><a href="tqobject.html#sender">sender</a>() -<li><a href="tqwidget.html#setAcceptDrops">setAcceptDrops</a>() -<li><a href="tqwidget.html#setActiveWindow">setActiveWindow</a>() -<li><a href="tqwidget.html#setAutoMask">setAutoMask</a>() -<li><a href="tqwidget.html#setBackgroundColor">setBackgroundColor</a>() -<li><a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>() -<li><a href="tqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>() -<li><a href="tqwidget.html#setBackgroundPixmap">setBackgroundPixmap</a>() -<li><a href="tqwidget.html#setBaseSize">setBaseSize</a>() -<li><a href="tqwidget.html#setCaption">setCaption</a>() -<li><a href="tqwidget.html#setCursor">setCursor</a>() -<li><a href="tqwidget.html#setDisabled">setDisabled</a>() -<li><a href="tqwidget.html#setEnabled">setEnabled</a>() -<li><a href="tqwidget.html#setEraseColor">setEraseColor</a>() -<li><a href="tqwidget.html#setErasePixmap">setErasePixmap</a>() -<li><a href="tqwidget.html#setFixedHeight">setFixedHeight</a>() -<li><a href="tqwidget.html#setFixedSize">setFixedSize</a>() -<li><a href="tqwidget.html#setFixedWidth">setFixedWidth</a>() -<li><a href="tqwidget.html#setFocus">setFocus</a>() -<li><a href="tqwidget.html#setFocusPolicy">setFocusPolicy</a>() -<li><a href="tqwidget.html#setFocusProxy">setFocusProxy</a>() -<li><a href="tqwidget.html#setFont">setFont</a>() -<li><a href="tqwidget.html#setGeometry">setGeometry</a>() -<li><a href="tqwidget.html#setHidden">setHidden</a>() -<li><a href="tqwidget.html#setIcon">setIcon</a>() -<li><a href="tqwidget.html#setIconText">setIconText</a>() -<li><a href="tqwidget.html#setInputMethodEnabled">setInputMethodEnabled</a>() -<li><a href="tqwidget.html#setKeyCompression">setKeyCompression</a>() -<li><a href="tqwidget.html#setMask">setMask</a>() -<li><a href="tqwidget.html#setMaximumHeight">setMaximumHeight</a>() -<li><a href="tqwidget.html#setMaximumSize">setMaximumSize</a>() -<li><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>() -<li><a href="tqwidget.html#setMicroFocusHint">setMicroFocusHint</a>() -<li><a href="tqwidget.html#setMinimumHeight">setMinimumHeight</a>() -<li><a href="tqwidget.html#setMinimumSize">setMinimumSize</a>() -<li><a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>() -<li><a href="tqwidget.html#setMouseTracking">setMouseTracking</a>() -<li><a href="tqobject.html#setName">setName</a>() -<li><a href="tqwidget.html#setPalette">setPalette</a>() -<li><a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() -<li><a href="tqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>() -<li><a href="tqwidget.html#setPaletteForegroundColor">setPaletteForegroundColor</a>() -<li><a href="tqobject.html#setProperty">setProperty</a>() -<li><a href="tqwidget.html#setShown">setShown</a>() -<li><a href="tqwidget.html#setSizeIncrement">setSizeIncrement</a>() -<li><a href="tqwidget.html#setSizePolicy">setSizePolicy</a>() -<li><a href="tqwidget.html#setStyle">setStyle</a>() -<li><a href="tqwidget.html#setTabOrder">setTabOrder</a>() -<li><a href="tqwidget.html#setUpdatesEnabled">setUpdatesEnabled</a>() -<li><a href="tqwidget.html#setWFlags">setWFlags</a>() -<li><a href="tqwidget.html#setWindowOpacity">setWindowOpacity</a>() -<li><a href="tqwidget.html#setWindowState">setWindowState</a>() -<li><a href="tqwidget.html#show">show</a>() -<li><a href="tqwidget.html#showEvent">showEvent</a>() -<li><a href="tqwidget.html#showFullScreen">showFullScreen</a>() -<li><a href="tqwidget.html#showMaximized">showMaximized</a>() -<li><a href="tqwidget.html#showMinimized">showMinimized</a>() -<li><a href="tqwidget.html#showNormal">showNormal</a>() -<li><a href="tqobject.html#signalsBlocked">signalsBlocked</a>() -<li><a href="tqwidget.html#size">size</a>() -<li><a href="tqwidget.html#sizeHint">sizeHint</a>() -<li><a href="tqwidget.html#sizeIncrement">sizeIncrement</a>() -<li><a href="tqwidget.html#sizePolicy">sizePolicy</a>() -<li><a href="tqwidget.html#stackUnder">stackUnder</a>() -<li><a href="tqobject.html#startTimer">startTimer</a>() -<li><a href="tqwidget.html#style">style</a>() -<li><a href="tqwidget.html#styleChange">styleChange</a>() -<li><a href="tqwidget.html#tabletEvent">tabletEvent</a>() -<li><a href="tqwidget.html#testWFlags">testWFlags</a>() -<li><a href="tqobject.html#timerEvent">timerEvent</a>() -<li><a href="tqwidget.html#topLevelWidget">topLevelWidget</a>() -<li><a href="tqobject.html#tr">tr</a>() -<li><a href="tqobject.html#trUtf8">trUtf8</a>() -<li><a href="tqwidget.html#unsetCursor">unsetCursor</a>() -<li><a href="tqwidget.html#unsetFont">unsetFont</a>() -<li><a href="tqwidget.html#unsetPalette">unsetPalette</a>() -<li><a href="tqwidget.html#update">update</a>() -<li><a href="tqwidget.html#updateGeometry">updateGeometry</a>() -<li><a href="tqwidget.html#updateMask">updateMask</a>() -<li><a href="tqwidget.html#visibleRect">visibleRect</a>() -<li><a href="tqwidget.html#wheelEvent">wheelEvent</a>() -<li><a href="tqwidget.html#width">width</a>() -<li><a href="tqwidget.html#winEvent">winEvent</a>() -<li><a href="tqwidget.html#winId">winId</a>() -<li><a href="tqwidget.html#windowActivationChange">windowActivationChange</a>() -<li><a href="tqwidget.html#windowOpacity">windowOpacity</a>() -<li><a href="tqwidget.html#windowState">windowState</a>() -<li><a href="tqwidget.html#x">x</a>() -<li><a href="tqpaintdevice.html#x11AppCells">x11AppCells</a>() -<li><a href="tqpaintdevice.html#x11AppColormap">x11AppColormap</a>() -<li><a href="tqpaintdevice.html#x11AppDefaultColormap">x11AppDefaultColormap</a>() -<li><a href="tqpaintdevice.html#x11AppDefaultVisual">x11AppDefaultVisual</a>() -<li><a href="tqpaintdevice.html#x11AppDepth">x11AppDepth</a>() -<li><a href="tqpaintdevice.html#x11AppDisplay">x11AppDisplay</a>() -<li><a href="tqpaintdevice.html#x11AppDpiX">x11AppDpiX</a>() -<li><a href="tqpaintdevice.html#x11AppDpiY">x11AppDpiY</a>() -<li><a href="tqpaintdevice.html#x11AppRootWindow">x11AppRootWindow</a>() -<li><a href="tqpaintdevice.html#x11AppScreen">x11AppScreen</a>() -<li><a href="tqpaintdevice.html#x11AppVisual">x11AppVisual</a>() -<li><a href="tqpaintdevice.html#x11Cells">x11Cells</a>() -<li><a href="tqpaintdevice.html#x11Colormap">x11Colormap</a>() -<li><a href="tqpaintdevice.html#x11DefaultColormap">x11DefaultColormap</a>() -<li><a href="tqpaintdevice.html#x11DefaultVisual">x11DefaultVisual</a>() -<li><a href="tqpaintdevice.html#x11Depth">x11Depth</a>() -<li><a href="tqpaintdevice.html#x11Display">x11Display</a>() -<li><a href="tqwidget.html#x11Event">x11Event</a>() -<li><a href="tqpaintdevice.html#x11Screen">x11Screen</a>() -<li><a href="tqpaintdevice.html#x11SetAppDpiX">x11SetAppDpiX</a>() -<li><a href="tqpaintdevice.html#x11SetAppDpiY">x11SetAppDpiY</a>() -<li><a href="tqpaintdevice.html#x11Visual">x11Visual</a>() -<li><a href="tqwidget.html#y">y</a>() -</ul> -<!-- eof --> -<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqmotifwidget.html b/doc/html/tqmotifwidget.html deleted file mode 100644 index c13d9bb36..000000000 --- a/doc/html/tqmotifwidget.html +++ /dev/null @@ -1,115 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/extensions/motif/src/tqmotifwidget.cpp:272 --> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>TQMotifWidget Class</title> -<style type="text/css"><!-- -fn { margin-left: 1cm; text-indent: -1cm; } -a:link { color: #004faf; text-decoration: none } -a:visited { color: #672967; text-decoration: none } -body { background: #ffffff; color: black; } ---></style> -</head> -<body> - -<table border="0" cellpadding="0" cellspacing="0" width="100%"> -<tr bgcolor="#E5E5E5"> -<td valign=center> - <a href="index.html"> -<font color="#004faf">Home</font></a> - | <a href="classes.html"> -<font color="#004faf">All Classes</font></a> - | <a href="mainclasses.html"> -<font color="#004faf">Main Classes</font></a> - | <a href="annotated.html"> -<font color="#004faf">Annotated</font></a> - | <a href="groups.html"> -<font color="#004faf">Grouped Classes</font></a> - | <a href="functions.html"> -<font color="#004faf">Functions</font></a> -</td> -<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQMotifWidget Class Reference</h1> - -<p>The TQMotifWidget class provides the TQWidget API for Xt/Motif widgets. -<a href="#details">More...</a> -<p>This class is part of the <b>TQt Motif Extension</b>. -<p><tt>#include <<a href="tqmotifwidget-h.html">tqmotifwidget.h</a>></tt> -<p>Inherits <a href="tqwidget.html">TQWidget</a>. -<p><a href="tqmotifwidget-members.html">List of all member functions.</a> -<h2>Public Members</h2> -<ul> -<li class=fn><a href="#TQMotifWidget"><b>TQMotifWidget</b></a> ( TQWidget * parent, WidgetClass widgetclass, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, WFlags flags = 0 )</li> -<li class=fn>virtual <a href="#~TQMotifWidget"><b>~TQMotifWidget</b></a> ()</li> -<li class=fn>Widget <a href="#motifWidget"><b>motifWidget</b></a> () const</li> -</ul> -<h2>Protected Members</h2> -<ul> -<li class=fn>virtual bool <b>x11Event</b> ( XEvent * event )</li> -</ul> -<hr><a name="details"></a><h2>Detailed Description</h2> -<p> This class is defined in the <b>TQt <a href="motif-extension.html#Motif">Motif</a> Extension</b>, which can be found in the <tt>qt/extensions</tt> directory. It is not included in the main TQt API. -<p> - -The TQMotifWidget class provides the <a href="tqwidget.html">TQWidget</a> API for Xt/Motif widgets. - -<p> -<p> TQMotifWidget exists to provide a TQWidget that can act as a parent -for any Xt/Motif widget. Since the TQMotifWidget is a proper -TQWidget, it can be used as a top-level widget (e.g. 0 parent) or -as a child of any other TQWidget. Note: Since TQMotifWidget acts as -a parent for Xt/Motif widgets, you should not create TQWidgets with -a TQMotifWidget parent. -<p> An Xt/Motif widget with a top-level TQMotifWidget parent can begin -using the standard TQt dialogs and custom TQDialogs while keeping -the main Xt/Motif interface of the application. Using a -TQMotifWidget as the parent for the various TQDialogs will ensure -that modality and stacking works properly throughout the entire -application. -<p> Applications moving to TQt may have custom Xt/Motif widgets that -will take time to rewrite with TQt. Such applications can use -these custom widgets as TQMotifWidget with TQWidget parents. This -allows the application's interface to be replaced gradually. -<p> <b>Warning:</b> TQMotifWidget uses the X11 window ID of the Motif widget -directly, instead of creating its own. Because ot this, -<a href="tqwidget.html#reparent">TQWidget::reparent</a>() will not work. This includes the functions -<a href="tqwidget.html#showFullScreen">TQWidget::showFullScreen</a>() and <a href="tqwidget.html#showNormal">TQWidget::showNormal</a>(), which use -TQWidget::reparent(). - -<hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQMotifWidget"></a>TQMotifWidget::TQMotifWidget ( <a href="tqwidget.html">TQWidget</a> * parent, WidgetClass widgetclass, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, WFlags flags = 0 ) -</h3> -Creates a TQMotifWidget of the given <em>widgetclass</em> as a child of -<em>parent</em>, with the name <em>name</em> and widget flags <em>flags</em>. -<p> The <em>args</em> and <em>argcount</em> arguments are passed on to -XtCreateWidget. -<p> The <a href="#motifWidget">motifWidget</a>() function returns the resulting Xt/Motif widget. -This widget can be used as a parent for any other Xt/Motif widget. -<p> If <em>parent</em> is a TQMotifWidget, the Xt/Motif widget is created as -a child of the parent's motifWidget(). If \ parent is 0 or a -normal <a href="tqwidget.html">TQWidget</a>, the Xt/Motif widget is created as a child of a -special TopLevelShell widget. Xt/Motif widgets can use this -special TopLevelShell parent as the parent for existing -Xt/Motif dialogs or TQMotifDialogs. - -<h3 class=fn><a name="~TQMotifWidget"></a>TQMotifWidget::~TQMotifWidget ()<tt> [virtual]</tt> -</h3> -Destroys the TQMotifWidget. The special TopLevelShell is also -destroyed, if it was created during construction. - -<h3 class=fn>Widget <a name="motifWidget"></a>TQMotifWidget::motifWidget () const -</h3> -Returns the embedded Xt/Motif widget. If a Shell widget was -created by the constructor, you can access it with XtParent(). - -<!-- eof --> -<hr><p> -This file is part of the <a href="index.html">TQt toolkit</a>. -Copyright © 1995-2007 -<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center> -<table width=100% cellspacing=0 border=0><tr> -<td>Copyright © 2007 -<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> -<td align=right><div align=right>TQt 3.3.8</div> -</table></div></address></body> -</html> diff --git a/doc/html/tqpalette.html b/doc/html/tqpalette.html index d2be434bc..ebed24f4e 100644 --- a/doc/html/tqpalette.html +++ b/doc/html/tqpalette.html @@ -92,7 +92,7 @@ disabled for some reason. </ul> <p> Both active and inactive windows can contain disabled widgets. (Disabled widgets are often called <em>inaccessible</em> or <em>grayed out</em>.) -<p> In <a href="motif-extension.html#Motif">Motif</a> style, active() and inactive() look the same. In Windows +<p> In Motif style, active() and inactive() look the same. In Windows 2000 style and Macintosh Platinum style, the two styles look slightly different. <p> There are <a href="#setActive">setActive</a>(), <a href="#setInactive">setInactive</a>(), and <a href="#setDisabled">setDisabled</a>() functions diff --git a/doc/html/tqpopupmenu.html b/doc/html/tqpopupmenu.html index 153d718a3..5f0fed3b9 100644 --- a/doc/html/tqpopupmenu.html +++ b/doc/html/tqpopupmenu.html @@ -617,7 +617,7 @@ Inserts a separator at position <em>index</em>, and returns the <a href="tqmenud number allocated to it. The separator becomes the last menu item if <em>index</em> is negative. <p> In a popup menu a separator is rendered as a horizontal line. In a -<a href="motif-extension.html#Motif">Motif</a> menu bar a separator is spacing, so the rest of the items +Motif menu bar a separator is spacing, so the rest of the items (normally just "Help") are drawn right-justified. In a Windows menu bar separators are ignored (to comply with the Windows style guidelines). diff --git a/doc/html/tqscrollbar.html b/doc/html/tqscrollbar.html index fdb214fbc..4723ae614 100644 --- a/doc/html/tqscrollbar.html +++ b/doc/html/tqscrollbar.html @@ -122,7 +122,7 @@ values of <a href="#pageStep">pageStep</a>() and <a href="#lineStep">lineStep</a <a href="#minValue">minValue</a>() and <a href="#maxValue">maxValue</a>() of the scroll bar. TQScrollBar has a convenience constructor with which you can set most of these properties. -<p> Some GUI styles (for example, the Windows and <a href="motif-extension.html#Motif">Motif</a> styles +<p> Some GUI styles (for example, the Windows and Motif styles provided with TQt), also use the pageStep() value to calculate the size of the slider. <p> In addition to the access functions from <a href="tqrangecontrol.html">TQRangeControl</a>, TQScrollBar @@ -261,7 +261,7 @@ See the <a href="tqscrollbar.html#pageStep-prop">"pageStep"</a> property for det <h3 class=fn>void <a name="setPalette"></a>TQScrollBar::setPalette ( const <a href="tqpalette.html">TQPalette</a> & p )<tt> [virtual]</tt> </h3> Reimplements the virtual function <a href="tqwidget.html#setPalette">TQWidget::setPalette</a>(). -<p> Sets the background color to the mid color for <a href="motif-extension.html#Motif">Motif</a> style scroll +<p> Sets the background color to the mid color for Motif style scroll bars using palette <em>p</em>. <p>Reimplemented from <a href="tqwidget.html#setPalette">TQWidget</a>. diff --git a/doc/html/tqsgistyle.html b/doc/html/tqsgistyle.html index ca88af11c..df958eae3 100644 --- a/doc/html/tqsgistyle.html +++ b/doc/html/tqsgistyle.html @@ -47,7 +47,7 @@ body { background: #ffffff; color: black; } The TQSGIStyle class provides SGI/Irix look and feel. <p> <p> This class implements the SGI look and feel. It resembles the -SGI/Irix <a href="motif-extension.html#Motif">Motif</a> GUI style as closely as <a href="tqstyle.html">TQStyle</a> allows. +SGI/Irix Motif GUI style as closely as <a href="tqstyle.html">TQStyle</a> allows. <p>See also <a href="appearance.html">Widget Appearance and Style</a>. <hr><h2>Member Function Documentation</h2> @@ -55,7 +55,7 @@ SGI/Irix <a href="motif-extension.html#Motif">Motif</a> GUI style as closely as </h3> Constructs a TQSGIStyle. <p> If <em>useHighlightCols</em> is FALSE (default value), the style will -polish the application's color palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of +polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color. <p> <p>See also <a href="tqmotifstyle.html#useHighlightColors">TQMotifStyle::useHighlightColors</a>(). diff --git a/doc/html/tqslider.html b/doc/html/tqslider.html index 10f18788b..8071d3385 100644 --- a/doc/html/tqslider.html +++ b/doc/html/tqslider.html @@ -206,7 +206,7 @@ See the <a href="tqslider.html#pageStep-prop">"pageStep"</a> property for detail <h3 class=fn>void <a name="setPalette"></a>TQSlider::setPalette ( const <a href="tqpalette.html">TQPalette</a> & p )<tt> [virtual]</tt> </h3> Reimplements the virtual function <a href="tqwidget.html#setPalette">TQWidget::setPalette</a>(). -<p> Sets the background color to the mid color for <a href="motif-extension.html#Motif">Motif</a> style sliders +<p> Sets the background color to the mid color for Motif style sliders using palette <em>p</em>. <p>Reimplemented from <a href="tqwidget.html#setPalette">TQWidget</a>. diff --git a/doc/html/tqstyle.html b/doc/html/tqstyle.html index 0bc44a394..5d7503588 100644 --- a/doc/html/tqstyle.html +++ b/doc/html/tqstyle.html @@ -88,7 +88,7 @@ The TQStyle class specifies the look and feel of a GUI. <p> A large number of GUI elements are common to many widgets. The TQStyle class allows the look of these elements to be modified across all widgets that use the TQStyle functions. It also -provides two feel options: <a href="motif-extension.html#Motif">Motif</a> and Windows. +provides two feel options: Motif and Windows. <p> Although it is not possible to fully enumerate the look of graphical elements and the feel of widgets in a GUI, TQStyle provides a considerable amount of control and customisability. @@ -446,7 +446,7 @@ like Windows <li><tt>TQStyle::SH_Slider_SloppyKeyEvents</tt> - key presses handled in a sloppy manner, i.e. left on a vertical slider subtracts a line. <li><tt>TQStyle::SH_ProgressDialog_CenterCancelButton</tt> - center button on -progress dialogs, like <a href="motif-extension.html#Motif">Motif</a>, otherwise right aligned. +progress dialogs, like Motif, otherwise right aligned. <li><tt>TQStyle::SH_ProgressDialog_TextLabelAlignment</tt> - TQt::AlignmentFlags -- text label alignment in progress dialogs; Center on windows, Auto|VCenter otherwise. diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index 2cf579435..00f5f0fc1 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } <a href="#details">More...</a> <p><tt>#include <<a href="tqwidget-h.html">tqwidget.h</a>></tt> <p>Inherits <a href="tqobject.html">TQObject</a> and <a href="tqpaintdevice.html">TQPaintDevice</a>. --<p>Inherited by <a href="tqbutton.html">TQButton</a>, <a href="tqframe.html">TQFrame</a>, <a href="tqdialog.html">TQDialog</a>, <a href="tqcombobox.html">TQComboBox</a>, <a href="tqdatabrowser.html">TQDataBrowser</a>, <a href="tqdataview.html">TQDataView</a>, <a href="tqdatetimeeditbase.html">TQDateTimeEditBase</a>, <a href="tqdatetimeedit.html">TQDateTimeEdit</a>, <a href="tqdesktopwidget.html">TQDesktopWidget</a>, <a href="tqdial.html">TQDial</a>, <a href="tqdockarea.html">TQDockArea</a>, <a href="tqglwidget.html">TQGLWidget</a>, <a href="tqheader.html">TQHeader</a>, <a href="tqmainwindow.html">TQMainWindow</a>, <a href="tqmotifwidget.html">TQMotifWidget</a>, <a href="tqscrollbar.html">TQScrollBar</a>, <a href="tqsizegrip.html">TQSizeGrip</a>, <a href="tqslider.html">TQSlider</a>, <a href="tqspinbox.html">TQSpinBox</a>, <a href="tqsplashscreen.html">TQSplashScreen</a>, <a href="tqstatusbar.html">TQStatusBar</a>, <a href="tqtabbar.html">TQTabBar</a>, <a href="tqtabwidget.html">TQTabWidget</a>, <a href="tqworkspace.html">TQWorkspace</a>, and <a href="qxtwidget.html">TQXtWidget</a>. +-<p>Inherited by <a href="tqbutton.html">TQButton</a>, <a href="tqframe.html">TQFrame</a>, <a href="tqdialog.html">TQDialog</a>, <a href="tqcombobox.html">TQComboBox</a>, <a href="tqdatabrowser.html">TQDataBrowser</a>, <a href="tqdataview.html">TQDataView</a>, <a href="tqdatetimeeditbase.html">TQDateTimeEditBase</a>, <a href="tqdatetimeedit.html">TQDateTimeEdit</a>, <a href="tqdesktopwidget.html">TQDesktopWidget</a>, <a href="tqdial.html">TQDial</a>, <a href="tqdockarea.html">TQDockArea</a>, <a href="tqglwidget.html">TQGLWidget</a>, <a href="tqheader.html">TQHeader</a>, <a href="tqmainwindow.html">TQMainWindow</a>, <a href="tqscrollbar.html">TQScrollBar</a>, <a href="tqsizegrip.html">TQSizeGrip</a>, <a href="tqslider.html">TQSlider</a>, <a href="tqspinbox.html">TQSpinBox</a>, <a href="tqsplashscreen.html">TQSplashScreen</a>, <a href="tqstatusbar.html">TQStatusBar</a>, <a href="tqtabbar.html">TQTabBar</a>, <a href="tqtabwidget.html">TQTabWidget</a> and <a href="tqworkspace.html">TQWorkspace</a>. <p><a href="tqwidget-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -840,7 +840,7 @@ otherwise returns FALSE. <p> The <a href="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted when the last visible top level widget is closed. <p> -<p>Examples: <a href="motif-dialog-example.html#x2708">dialog/mainwindow.cpp</a>, <a href="mdi-example.html#x2076">mdi/application.cpp</a>, <a href="popup-example.html#x1616">popup/popup.cpp</a>, and <a href="toplevel-example.html#x2535">toplevel/options.ui.h</a>. +<p>Examples: <a href="mdi-example.html#x2076">mdi/application.cpp</a>, <a href="popup-example.html#x1616">popup/popup.cpp</a>, and <a href="toplevel-example.html#x2535">toplevel/options.ui.h</a>. <h3 class=fn>bool <a name="close-2"></a>TQWidget::close ( bool alsoDelete )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -1866,9 +1866,8 @@ the window has done something. This is because Microsoft do not allow an application to interrupt what the user is currently doing in another application. <p> <p>See also <a href="#isActiveWindow-prop">isActiveWindow</a>, <a href="#topLevelWidget">topLevelWidget</a>(), and <a href="#show">show</a>(). - -<p>Reimplemented in <a href="qxtwidget.html#setActiveWindow">TQXtWidget</a>. <h3 class=fn>void <a name="setAutoMask"></a>TQWidget::setAutoMask ( bool )<tt> [virtual]</tt> + </h3><p>Sets whether the auto mask feature is enabled for the widget. See the <a href="tqwidget.html#autoMask-prop">"autoMask"</a> property for details. <h3 class=fn>void <a name="setBackgroundColor"></a>TQWidget::setBackgroundColor ( const <a href="tqcolor.html">TQColor</a> & c )<tt> [virtual]</tt> @@ -2538,7 +2537,6 @@ a TQt event and sends it to the widget. <p> <b>Warning:</b> This function is not portable. <p> <p>See also <a href="ntqapplication.html#x11EventFilter">TQApplication::x11EventFilter</a>(). -<p>Reimplemented in <a href="qxtwidget.html#x11Event">TQXtWidget</a>. <h3 class=fn>int <a name="y"></a>TQWidget::y () const </h3><p>Returns the y coordinate of the widget relative to its parent and including any window frame. See the <a href="tqwidget.html#y-prop">"y"</a> property for details. diff --git a/doc/html/whatsthis b/doc/html/whatsthis index 6ffd4e048..433b49c0a 100644 --- a/doc/html/whatsthis +++ b/doc/html/whatsthis @@ -332,8 +332,6 @@ Template class which ensures that implicitly shared and explicitly shared classe Template collection class that provides a vector (array). | TQPtrVector Text object on a TQCanvas. | TQCanvasText Text or image display. | TQLabel -The TQDialog API for Motif-based dialogs. | TQMotifDialog -The TQWidget API for Xt/Motif widgets. | TQMotifWidget The XML handler classes with information about the parsing position within a file. | TQXmlLocator The abstract base class of button widgets, providing functionality common to buttons. | TQButton The base class for all the nodes in a DOM tree. | TQDomNode @@ -347,7 +345,6 @@ The base class of geometry managers. | TQLayout The base class of most pointer-based TQt collections. | TQPtrCollection The base class of objects that can be painted. | TQPaintDevice The base class of widgets that can have a frame. | TQFrame -The basis of the Motif Extension. | TQMotif The cell content for TQTable cells. | TQTableItem The display format of an OpenGL rendering context. | TQGLFormat The input data for the TQXmlReader subclasses. | TQXmlInputSource diff --git a/doc/indices.doc b/doc/indices.doc index 88f60d3c6..084c60c57 100644 --- a/doc/indices.doc +++ b/doc/indices.doc @@ -150,7 +150,6 @@ Licenses & Credits <td valign="top"> \list \i \link winsystem.html Window system specific notes\endlink -\i \link motif-extension.html Motif Extension\endlink \i \link mac-differences.html Mac OS X development\endlink \i \link porting.html Porting from TQt 2.x to TQt 3.x\endlink \endlist @@ -355,15 +354,6 @@ in a line-by-line coverage please refer to the tutorials \i \link sql-examples.html SQL examples \endlink \endlist -\section1 TQt Extensions: Assorted Examples - -\list -\i \link motif-examples.html TQMotif support extension \endlink -\omit \i \link xt-motif-examples.html Xt/Motif support extension \endlink \endomit -\endlist - -\section1 Miscellaneous Examples - */ /*! \defgroup tqaction-examples @@ -438,31 +428,6 @@ Qt XML classes. */ -/*! \defgroup motif-examples - -\title TQMotif Support Extension - -The following example programs illustrate the use of the TQMotif Extension -assisting in the migration process of old Xt and Motif based code -to the more comfortable TQt toolkit. - -For more information see the \link motif-extension.html TQMotif -Support Extension documentation. \endlink -*/ - -/* -\defgroup xt-motif-examples - -\title TQt Xt/Motif Support Extension - -The following example programs illustrate the use of the TQt Xt/Motif Extension -assisting in the migration process of old Xt and Motif based code -to the more comfortable TQt toolkit. - -For more information see the \link xt.html TQt Xt/Motif Support -Extension documentation. \endlink -*/ - /*! \defgroup step-by-step-examples \title Step-by-step Examples diff --git a/doc/man/man3/TQMotif.3qt b/doc/man/man3/TQMotif.3qt deleted file mode 100644 index 65b5244eb..000000000 --- a/doc/man/man3/TQMotif.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqmotif.3qt diff --git a/doc/man/man3/TQMotifDialog.3qt b/doc/man/man3/TQMotifDialog.3qt deleted file mode 100644 index b0c0e8e85..000000000 --- a/doc/man/man3/TQMotifDialog.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqmotifdialog.3qt diff --git a/doc/man/man3/TQMotifWidget.3qt b/doc/man/man3/TQMotifWidget.3qt deleted file mode 100644 index bcb90c72a..000000000 --- a/doc/man/man3/TQMotifWidget.3qt +++ /dev/null @@ -1 +0,0 @@ -.so man3/tqmotifwidget.3qt diff --git a/doc/man/man3/tqdialog.3qt b/doc/man/man3/tqdialog.3qt index 374634293..80cc1b7f1 100644 --- a/doc/man/man3/tqdialog.3qt +++ b/doc/man/man3/tqdialog.3qt @@ -13,7 +13,7 @@ TQDialog \- The base class of dialog windows .PP Inherits TQWidget. .PP -Inherited by TQColorDialog, TQErrorMessage, TQFileDialog, TQFontDialog, TQInputDialog, TQMessageBox, TQMotifDialog, TQProgressDialog, TQTabDialog, and TQWizard. +Inherited by TQColorDialog, TQErrorMessage, TQFileDialog, TQFontDialog, TQInputDialog, TQMessageBox, TQProgressDialog, TQTabDialog, and TQWizard. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqeventloop.3qt b/doc/man/man3/tqeventloop.3qt index c73086215..55c907fe4 100644 --- a/doc/man/man3/tqeventloop.3qt +++ b/doc/man/man3/tqeventloop.3qt @@ -13,8 +13,6 @@ TQEventLoop \- Manages the event queue .PP Inherits TQObject. .PP -Inherited by TQMotif. -.PP .SS "Public Members" .in +1c .ti -1c @@ -91,7 +89,7 @@ It receives events from the window system and other sources. It then sends them .PP TQEventLoop allows the application programmer to have more control over event delivery. Programs that perform long operations can call either processOneEvent() or processEvents() with various ProcessEvent values OR'ed together to control which events should be delivered. .PP -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. +TQEventLoop also allows the integration of an external event loop with the TQt event loop. .PP To use your own instance of TQEventLoop or TQEventLoop subclass create it before you create the QApplication object. .PP diff --git a/doc/man/man3/tqmotif.3qt b/doc/man/man3/tqmotif.3qt deleted file mode 100644 index 670531e1b..000000000 --- a/doc/man/man3/tqmotif.3qt +++ /dev/null @@ -1,114 +0,0 @@ -'\" t -.TH TQMotif 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -TQMotif \- The basis of the -.SH SYNOPSIS -This class is part of the \fBQt Motif Extension\fR. -.PP -\fC#include <tqmotif.h>\fR -.PP -Inherits TQEventLoop. -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBTQMotif\fR ( const char * applicationClass, XtAppContext context = NULL, XrmOptionDescRec * options = 0, int numOptions = 0 )" -.br -.ti -1c -.BI "\fB~TQMotif\fR ()" -.br -.ti -1c -.BI "XtAppContext \fBapplicationContext\fR () const" -.br -.in -1c -.SS "Static Public Members" -.in +1c -.ti -1c -.BI "Display * \fBx11Display\fR ()" -.br -.in -1c -.SH DESCRIPTION -This class is defined in the \fBQt Motif Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main TQt API. -.PP -The TQMotif class provides the basis of the Motif Extension. -.PP -TQMotif only provides a few public functions, but it is at the heart of the integration. TQMotif is responsible for initializing the Xt toolkit and the Xt application context. It does not open a connection to the X server, that is done by QApplication. -.PP -The only member function in TQMotif that depends on an X server connection is TQMotif::initialize(). TQMotif must be created before QApplication. -.PP -Example usage of TQMotif and QApplication: -.PP -.nf -.br - static char *resources[] = { -.br - ... -.br - }; -.br -.br - int main(int argc, char **argv) -.br - { -.br - TQMotif integrator( "AppClass" ); -.br - XtAppSetFallbackResources( integrator.applicationContext(), -.br - resources ); -.br - QApplication app( argc, argv ); -.br -.br - ... -.br -.br - return app.exec(); -.br - } -.br -.fi -.SH MEMBER FUNCTION DOCUMENTATION -.SH "TQMotif::TQMotif ( const char * applicationClass, XtAppContext context = NULL, XrmOptionDescRec * options = 0, int numOptions = 0 )" -Creates TQMotif, which allows TQt and Xt/Motif integration. -.PP -If \fIcontext\fR is 0, TQMotif creates a default application context itself. The context is accessible through applicationContext(). -.PP -All arguments passed to this function (\fIapplicationClass\fR, \fIoptions\fR and \fInumOptions\fR) are used to call XtDisplayInitialize() after QApplication has been constructed. -.SH "TQMotif::~TQMotif ()" -Destroys TQMotif. -.SH "XtAppContext TQMotif::applicationContext () const" -Returns the application context. -.SH "Display * TQMotif::x11Display ()\fC [static]\fR" -Returns the X11 display connection used by the TQt Motif Extension. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/tqmotif.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqmotif.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqmotifdialog.3qt b/doc/man/man3/tqmotifdialog.3qt deleted file mode 100644 index 6589a3c89..000000000 --- a/doc/man/man3/tqmotifdialog.3qt +++ /dev/null @@ -1,178 +0,0 @@ -'\" t -.TH TQMotifDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -TQMotifDialog \- The TQDialog API for Motif-based dialogs -.SH SYNOPSIS -This class is part of the \fBQt Motif Extension\fR. -.PP -\fC#include <tqmotifdialog.h>\fR -.PP -Inherits TQDialog. -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "enum DialogType { Prompt, Selection, Command, FileSelection, Template, Error, Information, Message, Question, Warning, Working } \fI(obsolete)\fR" -.br -.ti -1c -.BI "TQMotifDialog ( DialogType dialogtype, Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "TQMotifDialog ( Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "\fBTQMotifDialog\fR ( Widget parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )" -.br -.ti -1c -.BI "\fBTQMotifDialog\fR ( TQWidget * parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )" -.br -.ti -1c -.BI "virtual \fB~TQMotifDialog\fR ()" -.br -.ti -1c -.BI "Widget \fBshell\fR () const" -.br -.ti -1c -.BI "Widget \fBdialog\fR () const" -.br -.in -1c -.SS "Static Public Members" -.in +1c -.ti -1c -.BI "void \fBacceptCallback\fR ( Widget, XtPointer client_data, XtPointer )" -.br -.ti -1c -.BI "void \fBrejectCallback\fR ( Widget, XtPointer client_data, XtPointer )" -.br -.in -1c -.SH DESCRIPTION -This class is defined in the \fBQt Motif Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main TQt API. -.PP -The TQMotifDialog class provides the TQDialog API for Motif-based dialogs. -.PP -TQMotifDialog provides two separate modes of operation. The application programmer can use TQMotifDialog with an existing Motif-based dialog and a TQWidget parent, or the application programmer can use TQMotifDialog with a custom Qt-based dialog and a Motif-based parent. Modality continues to work as expected. -.PP -Motif-based dialogs must have a \fCShell\fR widget parent with a single child, due to requirements of the Motif toolkit. The \fCShell\fR widget, which is a special subclass of \fCXmDialogShell\fR, is created during construction. It can be accessed using the shell() member function. -.PP -The single child of the \fCShell\fR can be accessed using the dialog() member function \fIafter\fR it has been created. -.PP -The acceptCallback() and rejectCallback() functions provide a convenient way to call TQDialog::accept() and TQDialog::reject() through callbacks. A pointer to the TQMotifDialog should be passed as the \fCclient_data\fR argument to the callback. -.PP -The API and behavior TQMotifDialog is identical to that of TQDialog when using a custom Qt-based dialog with a Motif-based parent. The only difference is that a Motif-based \fIparent\fR argument is passed to the constructor, instead of a TQWidget parent. -.SS "Member Type Documentation" -.SH "TQMotifDialog::DialogType" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -This enum lists the predefined Motif dialog types. -.TP -\fCTQMotifDialog::Prompt\fR -.TP -\fCTQMotifDialog::Selection\fR -.TP -\fCTQMotifDialog::Command\fR -.TP -\fCTQMotifDialog::FileSelection\fR -.TP -\fCTQMotifDialog::Template\fR -.TP -\fCTQMotifDialog::Error\fR -.TP -\fCTQMotifDialog::Information\fR -.TP -\fCTQMotifDialog::Message\fR -.TP -\fCTQMotifDialog::Question\fR -.TP -\fCTQMotifDialog::Warning\fR -.TP -\fCTQMotifDialog::Working\fR -.SH MEMBER FUNCTION DOCUMENTATION -.SH "TQMotifDialog::TQMotifDialog ( DialogType dialogtype, Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Creates a TQMotifDialog using one of the predefined Motif dialog types. The \fIname\fR, \fImodal\fR and \fIflags\fR arguments are passed to the TQDialog constructor. -.PP -This constructor creates a Shell widget, which is a special subclass of XmDialogShell. The \fIparent\fR, \fIargs\fR and \fIargcount\fR arguments are passed to XtCreatePopupShell() when creating the subclass. You can access the Shell widget with the shell() member function. -.PP -This constructor also creates the dialog widget with the Shell widget as its parent. The type of the dialog created is specified by the \fIdialogtype\fR argument. See the DialogType enum for a list of available dialog types. You can access the dialog widget with the dialog() member function. -.PP -\fBWarning:\fR TQMotifDialog takes ownership of the child widget and destroys it during destruction. You should not destroy the dialog widget yourself. -.PP -See also DialogType, shell(), and dialog(). -.SH "TQMotifDialog::TQMotifDialog ( Widget parent, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Creates a TQMotifDialog which allows the application programmer to use the Motif-based \fIparent\fR for a custom TQDialog. The \fIname\fR, \fImodal\fR and \fIflags\fR arguments are passed to the TQDialog constructor. -.PP -This constructor creates a Shell widget, which is a special subclass of XmDialogShell. The \fIargs\fR and \fIargcount\fR arguments are passed to XtCreatePopupShell() when creating the subclass. You can access the Shell widget with the shell() member function. -.PP -The dialog widget is not created by the constructor. You must create the dialog widget as a child of the the widget returned by shell(). You can access the child widget with the dialog() member function. -.PP -A dialog widget is not created by this constructor. Instead, you should create the dialog widget as a child of this dialog. TQMotifDialog will take ownership of your custom dialog, and you can access it with the dialog() member function. -.PP -\fBWarning:\fR TQMotifDialog takes ownership of the child widget and destroys it during destruction. You should not destroy the dialog widget yourself. -.PP -See also shell() and dialog(). -.SH "TQMotifDialog::TQMotifDialog ( Widget parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )" -Creates a TQMotifDialog which allows the application programmer to use the Motif-based \fIparent\fR for a custom TQDialog. The \fIname\fR, \fImodal\fR and \fIflags\fR arguments are passed to the TQDialog constructor. -.PP -This constructor creates a \fCShell\fR widget, which is a special subclass of \fCXmDialogShell\fR. You can access the \fCShell\fR widget with the shell() member function. -.PP -See also shell(). -.SH "TQMotifDialog::TQMotifDialog ( TQWidget * parent, const char * name = 0, bool modal = FALSE, WFlags flags = 0 )" -Creates a TQMotifDialog which allows the application programmer to use a TQWidget parent for an existing Motif-based dialog. The \fIparent\fR, \fIname\fR, \fImodal\fR and \fIflags\fR arguments are passed to the TQDialog constructor. -.PP -This constructor creates a \fCShell\fR widget, which is a special subclass of \fCXmDialogShell\fR. You can access the \fCShell\fR widget with the shell() member functon. -.PP -A dialog widget is not created by this constructor. Instead, you should create the dialog widget as a child of this dialog. TQMotifDialog will take ownership of your custom dialog, and you can access it with the dialog() member function. -.PP -\fBWarning:\fR TQMotifDialog takes ownership of the child widget and destroys it during destruction. You should not destroy the dialog widget yourself. -.PP -See also shell() and dialog(). -.SH "TQMotifDialog::~TQMotifDialog ()\fC [virtual]\fR" -Destroys the TQDialog, dialog widget and \fCShell\fR widget. -.SH "void TQMotifDialog::acceptCallback ( Widget, XtPointer client_data, XtPointer )\fC [static]\fR" -Convenient Xt/Motif callback to accept the TQMotifDialog. -.PP -The data is passed in \fIclient_data\fR. -.SH "Widget TQMotifDialog::dialog () const" -Returns the Motif widget embedded in this dialog. -.SH "void TQMotifDialog::rejectCallback ( Widget, XtPointer client_data, XtPointer )\fC [static]\fR" -Convenient Xt/Motif callback to reject the TQMotifDialog. -.PP -The data is passed in \fIclient_data\fR. -.SH "Widget TQMotifDialog::shell () const" -Returns the \fCShell\fR widget embedded in this dialog. -.PP -Example: dialog/mainwindow.cpp. - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/tqmotifdialog.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqmotifdialog.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqmotifwidget.3qt b/doc/man/man3/tqmotifwidget.3qt deleted file mode 100644 index 3b12c0a42..000000000 --- a/doc/man/man3/tqmotifwidget.3qt +++ /dev/null @@ -1,86 +0,0 @@ -'\" t -.TH TQMotifWidget 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- -.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the -.\" license file included in the distribution for a complete license -.\" statement. -.\" -.ad l -.nh -.SH NAME -TQMotifWidget \- The TQWidget API for Xt/Motif widgets -.SH SYNOPSIS -This class is part of the \fBQt Motif Extension\fR. -.PP -\fC#include <tqmotifwidget.h>\fR -.PP -Inherits TQWidget. -.PP -.SS "Public Members" -.in +1c -.ti -1c -.BI "\fBTQMotifWidget\fR ( TQWidget * parent, WidgetClass widgetclass, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, WFlags flags = 0 )" -.br -.ti -1c -.BI "virtual \fB~TQMotifWidget\fR ()" -.br -.ti -1c -.BI "Widget \fBmotifWidget\fR () const" -.br -.in -1c -.SS "Protected Members" -.in +1c -.ti -1c -.BI "virtual bool \fBx11Event\fR ( XEvent * event )" -.br -.in -1c -.SH DESCRIPTION -This class is defined in the \fBQt Motif Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main TQt API. -.PP -The TQMotifWidget class provides the TQWidget API for Xt/Motif widgets. -.PP -TQMotifWidget exists to provide a TQWidget that can act as a parent for any Xt/Motif widget. Since the TQMotifWidget is a proper TQWidget, it can be used as a top-level widget (e.g. 0 parent) or as a child of any other TQWidget. Note: Since TQMotifWidget acts as a parent for Xt/Motif widgets, you should not create TQWidgets with a TQMotifWidget parent. -.PP -An Xt/Motif widget with a top-level TQMotifWidget parent can begin using the standard TQt dialogs and custom TQDialogs while keeping the main Xt/Motif interface of the application. Using a TQMotifWidget as the parent for the various TQDialogs will ensure that modality and stacking works properly throughout the entire application. -.PP -Applications moving to TQt may have custom Xt/Motif widgets that will take time to rewrite with Qt. Such applications can use these custom widgets as TQMotifWidget with TQWidget parents. This allows the application's interface to be replaced gradually. -.PP -\fBWarning:\fR TQMotifWidget uses the X11 window ID of the Motif widget directly, instead of creating its own. Because ot this, TQWidget::reparent() will not work. This includes the functions TQWidget::showFullScreen() and TQWidget::showNormal(), which use TQWidget::reparent(). -.SH MEMBER FUNCTION DOCUMENTATION -.SH "TQMotifWidget::TQMotifWidget ( TQWidget * parent, WidgetClass widgetclass, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, WFlags flags = 0 )" -Creates a TQMotifWidget of the given \fIwidgetclass\fR as a child of \fIparent\fR, with the name \fIname\fR and widget flags \fIflags\fR. -.PP -The \fIargs\fR and \fIargcount\fR arguments are passed on to XtCreateWidget. -.PP -The motifWidget() function returns the resulting Xt/Motif widget. This widget can be used as a parent for any other Xt/Motif widget. -.PP -If \fIparent\fR is a TQMotifWidget, the Xt/Motif widget is created as a child of the parent's motifWidget(). If \ parent is 0 or a normal TQWidget, the Xt/Motif widget is created as a child of a special TopLevelShell widget. Xt/Motif widgets can use this special TopLevelShell parent as the parent for existing Xt/Motif dialogs or TQMotifDialogs. -.SH "TQMotifWidget::~TQMotifWidget ()\fC [virtual]\fR" -Destroys the TQMotifWidget. The special TopLevelShell is also destroyed, if it was created during construction. -.SH "Widget TQMotifWidget::motifWidget () const" -Returns the embedded Xt/Motif widget. If a Shell widget was -created by the constructor, you can access it with XtParent(). - -.SH "SEE ALSO" -.BR http://doc.trolltech.com/tqmotifwidget.html -.BR http://www.trolltech.com/faq/tech.html -.SH COPYRIGHT -Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the -license file included in the distribution for a complete license -statement. -.SH AUTHOR -Generated automatically from the source code. -.SH BUGS -If you find a bug in Qt, please report it as described in -.BR http://doc.trolltech.com/bughowto.html . -Good bug reports help us to help you. Thank you. -.P -The definitive TQt documentation is provided in HTML format; it is -located at $TQTDIR/doc/html and can be read using TQt Assistant or with -a web browser. This man page is provided as a convenience for those -users who prefer man pages, although this format is not officially -supported by Trolltech. -.P -If you find errors in this manual page, please report them to -.BR qt-bugs@trolltech.com . -Please include the name of the manual page (tqmotifwidget.3qt) and the Qt -version (3.3.8). diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index b8f318224..d95f88ee6 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and TQPaintDevice. .PP -Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, TQSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget. +Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, TQSplashScreen, TQStatusBar, TQTabBar, TQTabWidget and TQWorkspace. .PP .SS "Public Members" .in +1c @@ -1978,8 +1978,6 @@ This function performs the same operation as clicking the mouse on the title bar On Windows, if you are calling this when the application is not currently the active one then it will not make it the active window. It will flash the task bar entry blue to indicate that the window has done something. This is because Microsoft do not allow an application to interrupt what the user is currently doing in another application. .PP See also isActiveWindow, topLevelWidget(), and show(). -.PP -Reimplemented in QXtWidget. .SH "void TQWidget::setAutoMask ( bool )\fC [virtual]\fR" Sets whether the auto mask feature is enabled for the widget. See the "autoMask" property for details. .SH "void TQWidget::setBackgroundColor ( const TQColor & c )\fC [virtual]\fR" @@ -2508,8 +2506,6 @@ In your reimplementation of this function, if you want to stop the event being h \fBWarning:\fR This function is not portable. .PP See also QApplication::x11EventFilter(). -.PP -Reimplemented in QXtWidget. .SH "int TQWidget::y () const" Returns the y coordinate of the widget relative to its parent and including any window frame. See the "y" property for details. .SS "Property Documentation" diff --git a/doc/modules.doc b/doc/modules.doc index 9f4bc55ad..82c140527 100644 --- a/doc/modules.doc +++ b/doc/modules.doc @@ -60,7 +60,6 @@ with each Edition. \i \link table.html Table Module\endlink \i \link workspace.html Workspace (MDI) Module\endlink \i \link xml.html XML Module\endlink -\i \link motif-extension.html TQMotif Extension\endlink \endlist */ diff --git a/doc/overviews-list.doc b/doc/overviews-list.doc index 7f60ebcd9..75b511f7d 100644 --- a/doc/overviews-list.doc +++ b/doc/overviews-list.doc @@ -94,7 +94,6 @@ \i \link eventsandfilters.html Events and Event Filters \endlink \i \link focus.html Keyboard Focus Overview \endlink \i \link accelerators.html Standard Accelerators \endlink - \i \link motif-extension.html Motif Support Extension \endlink \i \link opengl-x11-overlays.html OpenGL Overlays (X11)\endlink \i \link appicon.html Setting the Application Icon \endlink \i \link session.html Session Management \endlink @@ -105,7 +104,6 @@ \i \link timers.html Timers \endlink \i \link pictures.html Pictures of Most TQt Widgets \endlink \i \link distributingtqt.html Deploying TQt Applications\endlink -\omit \i \link xt.html TQt Xt/Motif Support Extension \endlink \endomit \endlist \endtable diff --git a/src/kernel/tqeventloop.cpp b/src/kernel/tqeventloop.cpp index 4cbd98994..3a7d72833 100644 --- a/src/kernel/tqeventloop.cpp +++ b/src/kernel/tqeventloop.cpp @@ -63,9 +63,7 @@ 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. + with the TQt event loop. To use your own instance of TQEventLoop or TQEventLoop subclass create it before you create the TQApplication object. |