KDECore
Go to the documentation of this file.
25 #ifndef _KTOOLINVOCATION_H
26 #define _KTOOLINVOCATION_H
30 #include <QtCore/QObject>
31 #include <QtCore/QByteArray>
32 #include <QtCore/QStringList>
36 class KToolInvocationPrivate;
98 const QByteArray& startup_id = QByteArray());
108 static void invokeMailer(
const QString &address,
const QString &subject,
109 const QByteArray& startup_id = QByteArray() );
120 static void invokeMailer(
const KUrl &mailtoURL,
const QByteArray& startup_id = QByteArray(),
121 bool allowAttachments =
false );
142 const QByteArray& startup_id = QByteArray() );
158 static void invokeBrowser(
const QString &url,
159 const QByteArray& startup_id = QByteArray() );
171 static void invokeTerminal(
const QString &command,
173 const QByteArray &startup_id =
"");
206 #ifndef KDE_NO_DEPRECATED
207 KDE_DEPRECATED
static int startServiceByName(
const QString& _name,
const QString &URL,
209 const QByteArray &startup_id = QByteArray(),
bool noWait =
false );
233 #ifndef KDE_NO_DEPRECATED
236 const QByteArray &startup_id = QByteArray(),
bool noWait =
false );
259 static int startServiceByDesktopPath(
const QString& _name,
const QString &URL,
261 const QByteArray &startup_id = QByteArray(),
bool noWait =
false );
284 const QByteArray &startup_id = QByteArray(),
bool noWait =
false );
306 static int startServiceByDesktopName(
const QString& _name,
const QString &URL,
308 const QByteArray &startup_id = QByteArray(),
bool noWait =
false );
332 const QByteArray &startup_id = QByteArray(),
bool noWait =
false );
352 QString *error=0,
int *
pid = 0,
const QByteArray& startup_id = QByteArray() );
372 QString *error=0,
int *
pid = 0,
const QByteArray& startup_id = QByteArray() );
379 void kapplication_hook(
QStringList& env , QByteArray& startup_id);
385 static void startKdeinit();
387 int startServiceInternal(
const char *_function,
390 const QByteArray& startup_id,
bool noWait,
392 static bool isMainThreadActive(
QString* error = 0);
394 KToolInvocationPrivate *
const d;
Represents and parses a URL.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.