summaryrefslogtreecommitdiffstats
path: root/khtml/java/kjavaprocess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/java/kjavaprocess.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/java/kjavaprocess.h')
-rw-r--r--khtml/java/kjavaprocess.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/khtml/java/kjavaprocess.h b/khtml/java/kjavaprocess.h
index 566e8fda5..3e877685a 100644
--- a/khtml/java/kjavaprocess.h
+++ b/khtml/java/kjavaprocess.h
@@ -25,7 +25,7 @@
#define KJAVAPROCESS_H
#include <kprocess.h>
-#include <qcstring.h>
+#include <tqcstring.h>
/**
* @short A class for invoking a Java VM
@@ -71,7 +71,7 @@ public:
/**
* Used to specify the path to the Java executable to be run.
*/
- void setJVMPath( const QString& path );
+ void setJVMPath( const TQString& path );
/**
* This will set the classpath the Java process will use. It's used as a the
@@ -80,42 +80,42 @@ public:
* users to simply drop the JSSE (Java Secure Sockets Extension classes into that directory
* without having to modify the jvm configuration files.
*/
- void setClasspath( const QString& classpath );
+ void setClasspath( const TQString& classpath );
/**
- * Set a property on the java command line as -Dname=value, or -Dname if value is QString::null.
+ * Set a property on the java command line as -Dname=value, or -Dname if value is TQString::null.
* For example, you could call setSystemProperty( "kjas.debug", "" ) to set the kjas.debug property.
*/
- void setSystemProperty( const QString& name, const QString& value );
+ void setSystemProperty( const TQString& name, const TQString& value );
/**
* The class to be called when startJava() is called.
*/
- void setMainClass( const QString& clazzName );
+ void setMainClass( const TQString& clazzName );
/**
* Extra flags passed to the JVM.
*/
- void setExtraArgs( const QString& args );
+ void setExtraArgs( const TQString& args );
/**
* Arguments passed to the main class. They will be very last in the java
* command line, after the main class.
*/
- void setClassArgs( const QString& classArgs );
+ void setClassArgs( const TQString& classArgs );
/**
* Sends a command to the KJAS Applet Server by building a QByteArray
* out of the data, and then writes it standard out.
*/
- void send( char cmd_code, const QStringList& args );
+ void send( char cmd_code, const TQStringList& args );
/**
* Sends a command to the KJAS Applet Server by building a QByteArray
* out of the data, and then writes it standard out. It adds each QString
* in the arg list, and then adds the data array.
*/
- void send( char cmd_code, const QStringList& args, const QByteArray& data );
+ void send( char cmd_code, const TQStringList& args, const TQByteArray& data );
/**
* Writes all pending data to JVM
@@ -145,15 +145,15 @@ protected:
virtual bool invokeJVM();
virtual void killJVM();
- QByteArray* addArgs( char cmd_code, const QStringList& args );
+ TQByteArray* addArgs( char cmd_code, const TQStringList& args );
void popBuffer();
- void sendBuffer( QByteArray* buff );
- void storeSize( QByteArray* buff );
+ void sendBuffer( TQByteArray* buff );
+ void storeSize( TQByteArray* buff );
KProcess* javaProcess;
signals:
- void received( const QByteArray& );
+ void received( const TQByteArray& );
void exited( int status );
private: