diff options
Diffstat (limited to 'doc/html/motif-extension.html')
-rw-r--r-- | doc/html/motif-extension.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/motif-extension.html b/doc/html/motif-extension.html index 5d7e1bf9d..86e53c7d1 100644 --- a/doc/html/motif-extension.html +++ b/doc/html/motif-extension.html @@ -44,9 +44,9 @@ 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="qmotif.html">TQMotif</a> - Provides the basis of the TQt Motif Extension. -<li> <a href="qmotifwidget.html">TQMotifWidget</a> - Provides the <a href="tqwidget.html">TQWidget</a> API for Motif widgets. -<li> <a href="qmotifdialog.html">TQMotifDialog</a> - Provides the <a href="tqdialog.html">TQDialog</a> API for Motif dialogs. +<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 @@ -63,7 +63,7 @@ complete migration of a Motif based program to the TQt toolkit. </h2> <a name="2"></a><p> <h3> Incorrect CDE Color Scheme </h3> -<a name="2-1"></a><p> <a href="qmotifwidget.html">TQMotifWidget</a> and <a href="qmotifdialog.html">TQMotifDialog</a> will use the same Visual, Colormap +<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 @@ -87,9 +87,9 @@ For example: ... // TQMotif* headers next - #include <<a href="qmotif-h.html">qmotif.h</a>> - #include <<a href="qmotifdialog-h.html">qmotifdialog.h</a>> - #include <<a href="qmotifwidget-h.html">qmotifwidget.h</a>> + #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> @@ -100,19 +100,19 @@ For example: <p> <h3> Multiple Screen Support </h3> -<a name="2-3"></a><p> <a href="qmotifwidget.html">TQMotifWidget</a> can be used together with <a href="tqdesktopwidget.html">TQDesktopWidget</a> to create +<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="qmotif.html#x11Display">x11Display</a>(); + 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="qmotifwidget.html">TQMotifWidget</a> *toplevel = - new <a href="qmotifwidget.html">TQMotifWidget</a>(TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()->screen(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> |