KontactInterface
uniqueapphandler.h
53 int newInstance(const QByteArray &asn_id, const QStringList &args, const QString &workingDirectory);
QString registerClient()
Registers the client at DBus and returns the dbus identifier.
Definition plugin.cpp:150
Base class for UniqueAppHandler.
Definition uniqueapphandler.h:66
Used by UniqueAppWatcher below, to create the above UniqueAppHandler object when necessary.
Definition uniqueapphandler.h:80
D-Bus Object that has the name of the standalone application (e.g.
Definition uniqueapphandler.h:26
virtual void loadCommandLineOptions(QCommandLineParser *parser)=0
This must be reimplemented so that app-specific command line options can be parsed.
static void setMainWidget(QWidget *widget)
Sets the main QWidget widget associated with this application.
Definition uniqueapphandler.cpp:232
QWidget * mainWidget()
Returns the main widget, which will zero if setMainWidget() has not be called yet.
Definition uniqueapphandler.cpp:237
UniqueAppWatcher(UniqueAppHandlerFactoryBase *factory, Plugin *plugin)
Create an instance of UniqueAppWatcher, which does everything necessary for the "unique application" ...
Definition uniqueapphandler.cpp:162
QObject(QObject *parent)
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:51:39 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:51:39 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.