KHTML
kjavaprocess.cpp
Go to the documentation of this file.
230 kDebug(6100) << "Invoking JVM" << d->jvmPath << "now...with arguments = " << KShell::joinArgs(args);
const char * className() const
bool startJava()
Invoke the JVM with the parameters that have been set.
Definition: kjavaprocess.cpp:76
QProcess::ProcessError error() const
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setOutputChannelMode(OutputChannelMode mode)
void readyReadStandardOutput()
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
void terminate()
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
const char * name() const
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
virtual qint64 size() const
void output(QList< Action > actions, QHash< QString, QString > domain)
int toInt(bool *ok, int base) const
bool isEmpty() const
void finished(int exitCode)
Errors
qint64 read(char *data, qint64 maxSize)
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
iterator end()
bool waitForStarted(int msecs)
KGuiItem ok()
const Key key(const T &value) const
bool isRunning()
Returns the status of the java Process- true if it's ok, false if it has died.
Definition: kjavaprocess.cpp:71
Status status() const
QByteArray toLatin1() const
void setJVMPath(const QString &path)
Used to specify the path to the Java executable to be run.
Definition: kjavaprocess.cpp:86
typedef ConstIterator
char * data()
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void closeReadChannel(ProcessChannel channel)
qint64 write(const char *data, qint64 maxSize)
QString joinArgs(const QStringList &args)
int size() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void setExtraArgs(const QString &args)
Extra flags passed to the JVM.
Definition: kjavaprocess.cpp:107
Definition: kjavaprocess.h:41
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QProcess::ExitStatus exitStatus() const
iterator begin()
int exitCode() const
void setClassArgs(const QString &classArgs)
Arguments passed to the main class.
Definition: kjavaprocess.cpp:112
QProcess::ProcessState state() const
const T value(const Key &key) const
void setProgram(const QString &exe, const QStringList &args=QStringList())
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 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:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.