OApplicationFactory< Product > Struct Template Reference
To allow your application to be quick launched some one needs to create the QWidget. More...
#include <oapplicationfactory.h>
Inheritance diagram for OApplicationFactory< Product >:


Public Member Functions | |
| QRESULT | queryInterface (const QUuid &uuid, QUnknownInterface **iface) |
| virtual QWidget * | createMainWindow (const QString &appName, QWidget *parent, const char *name, Qt::WFlags f) |
| virtual QStringList | applications () const |
Detailed Description
template<class Product>
struct OApplicationFactory< Product >
To allow your application to be quick launched some one needs to create the QWidget.
This is this factory. Make surce your widget has static QString Widget::appName() as one of its functions.
This template takes one QWidget and initialized it in the form of MyWidget::MyWidget( QWidget* parent, const char* name, WFlags f );
To use it on your app do that: typedef OApplicationFactory<MyWidget> MyFactory; OPIE_EXPORT_APP( MyFactory )
Definition at line 85 of file oapplicationfactory.h.
The documentation for this struct was generated from the following file:
