KIO
kdbusservicestarter.cpp
Go to the documentation of this file.
108 return KToolInvocation::startServiceByDesktopPath( ptr->entryPath(), QStringList(), error, dbusService );
QString i18n(const char *text)
static KServiceTypeTrader * self()
#define K_GLOBAL_STATIC(TYPE, NAME)
QVariant property(const QString &_name, QVariant::Type t) const
virtual int startServiceFor(const QString &serviceType, const QString &constraint=QString(), QString *error=0, QString *dbusService=0, int flags=0)
Find an implementation of the given serviceType, and start it, to use its DBus interface.
Definition: kdbusservicestarter.cpp:99
int findServiceFor(const QString &serviceType, const QString &constraint=QString(), QString *error=0, QString *dbusService=0, int flags=0)
Check if a given DBus service is available - from the serviceType it's supposed to implement...
Definition: kdbusservicestarter.cpp:61
QDBusConnection sessionBus()
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
static int startServiceByDesktopPath(const QString &_name, const QString &URL, QString *error=0, QString *serviceName=0, int *pid=0, const QByteArray &startup_id=QByteArray(), bool noWait=false)
bool isEmpty() const
bool isEmpty() const
T & first()
KService::List query(const QString &servicetype, const QString &constraint=QString()) const
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
A generic DBUS service starter, using KServiceTypeTrader.
Definition: kdbusservicestarter.h:37
QString toString() const
virtual ~KDBusServiceStarter()
Definition: kdbusservicestarter.cpp:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 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:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.