Kontact Plugin Interface Library
uniqueapphandler.cpp
69 4c) close kaddressbook, type "kaddressbook -a foo@kde.org" -> kontact loads part and opens editor
UniqueAppWatcher(UniqueAppHandlerFactoryBase *factory, Plugin *plugin)
Create an instance of UniqueAppWatcher, which does everything necessary for the "unique application" ...
Definition: uniqueapphandler.cpp:172
QDBusConnectionInterface * interface() const
bool registerObject(const QString &path, QObject *object, QFlags< QDBusConnection::RegisterOption > options)
bool isEmpty() const
QWidget * mainWidget()
Returns the main widget, which will zero if setMainWidget() has not be called yet.
Definition: uniqueapphandler.cpp:249
QDBusConnection sessionBus()
QDBusReply< bool > isServiceRegistered(const QString &serviceName) const
QString baseService() const
virtual void loadCommandLineOptions()=0
This must be reimplemented so that app-specific command line options can be parsed.
objectName
bool isEmpty() const
WId winId() const
bool unregisterService(const QString &serviceName)
Base class for UniqueAppHandler.
Definition: uniqueapphandler.h:77
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
QDBusReply< QString > serviceOwner(const QString &name) const
bool registerService(const QString &serviceName)
static void setMainWidget(QWidget *widget)
Sets the main QWidget widget associated with this application.
Definition: uniqueapphandler.cpp:244
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.