libopie API Documentation

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

Inheritance graph
[legend]
Collaboration diagram for OApplicationFactory< Product >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

QRESULT queryInterface (const QUuid &uuid, QUnknownInterface **iface)
virtual QWidgetcreateMainWindow (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:
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:47 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001