qxtapplication(3qt)

qxtapplication3qt

Allows mixing of xt/motif and qt widgets #include <qxt.h> inherits qapplication.

Overview

This class is defined in the Qt Xt/Motif Extension, which can be found in the qt/extensions directory. It is not included in the main Qt API.

Allows mixing of Xt/Motif and Qt widgets.

The QXtApplication and QXtWidget classes allow old Xt or Motif widgets to be used in new Qt applications. They also allow Qt widgets to be used in primarily Xt/Motif applications. The facility is intended to aid migration from Xt/Motif to the more comfortable Qt system.

Examples: mainlyQt/editor.cpp mainlyXt/editor.cpp mainlyMotif/editor.cpp

Member function documentation

QXtApplication::QXtApplication ( Display * display )

Constructs a QApplication from the display of an already-initialized Xt application.

Use this constructor when introducing Qt widgets into an existing Xt/Motif application.

QXtApplication::QXtApplication ( int & argc, char ** argv, const char * appclass=0, XrmOptionDescRec * options=0, int num_options=0, const char ** resources=0 )

Constructs a QApplication and initializes the Xt toolkit. The appclass, options, num_options, and resources arguments are passed on to XtAppSetFallbackResources and XtDisplayInitialize.

Use this constructor when writing a new Qt application which needs to use some existing Xt/Motif widgets.

QXtApplication::~QXtApplication ()

Destructs the application. Does not close the Xt toolkit.

Releases

2 releases since Debian 2.2 (Potato); the text changed 1 time.

  1. 2.2
  2. 3.0

Author

Generated automatically from the source code.

Bugs

If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports make our job much simpler. Thank you.

In case of content or formattting problems with this manual page, please report them to [email protected]. Please include the name of the manual page (qxtapplication.3qt) and the Qt version (2.3.1).

From qt-doc 3:2.3.1-22 in Debian 3.0 (Woody). Also shipped by qt-emb-doc, qt3-doc. Parsed by carta from the page's man source.