Qtopia library API Documentation

ApplicationInterface Struct Reference

Application interface currently used by the quicklaunch framework. More...

#include <applicationinterface.h>

List of all members.

Public Member Functions

virtual QWidgetcreateMainWindow (const QString &appName, QWidget *parent=0, const char *name=0, Qt::WFlags f=0)=0
 create the mainwindow for the giving application name Create a main window for the giving application name

virtual QStringList applications () const=0
 The list of application windows supported.


Detailed Description

Application interface currently used by the quicklaunch framework.

This is the interface to be exposed by applications available as DSO Normally one would use the OApplicationFactory which does the magic of exposing the interface.

Resulting dynamic shared objects (dso) need to go into the OPIEDIR/plugins/application.

You can use this interface to load applications into your application.

Todo:
Implement Services + Trader
Since:
Opie 1.0.2

Definition at line 37 of file applicationinterface.h.


Member Function Documentation

QWidget * ApplicationInterface::createMainWindow const QString appName,
QWidget parent = 0,
const char *  name = 0,
Qt::WFlags  f = 0
[pure virtual]
 

create the mainwindow for the giving application name Create a main window for the giving application name

Parameters:
appName The application widget to be created
parent The parent of the newly created widget
name The name of the QObject
f Possible Window Flags
Returns:
the widget or 0l

QStringList ApplicationInterface::applications  )  const [pure virtual]
 

The list of application windows supported.


The documentation for this struct was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:10 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001