QRemotePlugin(3qt)

NAME
QRemotePlugin - Abstract base for custom QRemoteInterface plugins

#include <qremoteplugin.h>

  Public Members
QRemotePlugin ()
~QRemotePlugin ()
virtual QStringList keys () const
virtual QRemoteInterface * create ( const QString & key )

DESCRIPTION
The QRemotePlugin class provides an abstract base for custom QRemoteInterface plugins.

The remote plugin is a simple plugin interface that makes it easy to create custom remote controls that can be loaded dynamically into applications with a QRemoteFactory.

Writing a rc plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the Q_EXPORT_PLUGIN macro. See the plugins documentation for an example.

See also Plugins.

MEMBER FUNCTION DOCUMENTATION

QRemotePlugin::QRemotePlugin ()
Constructs a remote plugin. This is invoked automatically by the Q_EXPORT_PLUGIN macro.

QRemotePlugin::~QRemotePlugin ()
Destroys the remote plugin.

You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.

QRemoteInterface * QRemotePlugin::create ( const QString & key ) [virtual]
Creates and returns a QRemoteInterface object for the rc key key. The rc key is usually the class name of the required control.

See also keys().

QStringList QRemotePlugin::keys () const [virtual]
Returns the list of remote control keys this plugin supports.

These keys are usually the class names of the custom controls that are implemented in the plugin.

See also create().

SEE ALSO
http://doc.trolltech.com/qremoteplugin.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

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 help us to help you. Thank you.

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qremoteplugin.3qt) and the Qt version (3.0.0-beta6).