KIO
kterminallauncherjob.cpp
83// helper function to help scope service so that not the entire determineFullCommand has access to it (it is not
94 service = new KService(QStringLiteral("terminal"), terminalExec, QStringLiteral("utilities-terminal"));
104void KTerminalLauncherJob::determineFullCommand(bool fallbackToKonsoleService /* allow synthesizing no konsole */)
CommandLauncherJob runs a command and watches it while running.
Definition commandlauncherjob.h:45
bool exec()
void setErrorText(const QString &errorText)
void emitResult()
int error() const
void result(KJob *job)
void setError(int errorCode)
static Ptr serviceByStorageId(const QString &_storageId)
void setStartupId(const QByteArray &startupId)
Sets the platform-specific startup id of the command launch.
Definition kterminallauncherjob.cpp:42
void setProcessEnvironment(const QProcessEnvironment &environment)
Can be used to pass environment variables to the child process.
Definition kterminallauncherjob.cpp:47
KTerminalLauncherJob(const QString &command, QObject *parent=nullptr)
Creates a KTerminalLauncherJob.
Definition kterminallauncherjob.cpp:28
void setWorkingDirectory(const QString &workingDirectory)
Sets the working directory from which to run the command.
Definition kterminallauncherjob.cpp:37
QString i18n(const char *text, const TYPE &arg...)
KCOREADDONS_EXPORT QString quoteArg(const QString &arg)
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
InheritFromParent
QString findExecutable(const QString &executableName, const QStringList &paths)
bool isEmpty() const const
QueuedConnection
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.