KHTML
kjavaprocess.cpp
Go to the documentation of this file.
230 kDebug(6100) << "Invoking JVM" << d->jvmPath << "now...with arguments = " << KShell::joinArgs(args);
bool startJava()
Invoke the JVM with the parameters that have been set.
Definition: kjavaprocess.cpp:76
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setOutputChannelMode(OutputChannelMode mode)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setMainClass(const QString &clazzName)
The class to be called when startJava() is called.
Definition: kjavaprocess.cpp:102
KJavaProcess(QObject *parent=0)
Creates a process object, the process is NOT invoked at this point.
Definition: kjavaprocess.cpp:45
void received(const QByteArray &)
QStringList splitArgs(const QString &cmd, Options flags=NoOptions, Errors *err=0)
void slotReceivedData()
This slot is called when the Java Process writes to standard out.
Definition: kjavaprocess.cpp:248
void setSystemProperty(const QString &name, const QString &value)
Set a property on the java command line as -Dname=value, or -Dname if value is QString().
Definition: kjavaprocess.cpp:96
QByteArray addArgs(char cmd_code, const QStringList &args)
Definition: kjavaprocess.cpp:118
void send(char cmd_code, const QStringList &args)
Sends a command to the KJAS Applet Server by building a QByteArray out of the data, and then writes it standard out.
Definition: kjavaprocess.cpp:164
void output(QList< Action > actions, QHash< QString, QString > domain)
Errors
void exited(int status)
void start()
void setClasspath(const QString &classpath)
This will set the classpath the Java process will use.
Definition: kjavaprocess.cpp:91
KGuiItem ok()
bool isRunning()
Returns the status of the java Process- true if it's ok, false if it has died.
Definition: kjavaprocess.cpp:71
void setJVMPath(const QString &path)
Used to specify the path to the Java executable to be run.
Definition: kjavaprocess.cpp:86
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString joinArgs(const QStringList &args)
void setExtraArgs(const QString &args)
Extra flags passed to the JVM.
Definition: kjavaprocess.cpp:107
Definition: kjavaprocess.h:41
void setClassArgs(const QString &classArgs)
Arguments passed to the main class.
Definition: kjavaprocess.cpp:112
void setProgram(const QString &exe, const QStringList &args=QStringList())
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.