diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QNetworkProtocol.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QNetworkProtocol.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QNetworkProtocol.java | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QNetworkProtocol.java b/qtjava/javalib/org/kde/qt/QNetworkProtocol.java new file mode 100644 index 00000000..41ea1b3f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QNetworkProtocol.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link QNetworkProtocolSignals} for signals emitted by QNetworkProtocol +*/ +public class QNetworkProtocol extends QObject { + protected QNetworkProtocol(Class dummy){super((Class) null);} + public static final int StWaiting = 0; + public static final int StInProgress = 1; + public static final int StDone = 2; + public static final int StFailed = 3; + public static final int StStopped = 4; + + public static final int OpListChildren = 1; + public static final int OpMkDir = 2; + public static final int OpMkdir = OpMkDir; + public static final int OpRemove = 4; + public static final int OpRename = 8; + public static final int OpGet = 32; + public static final int OpPut = 64; + + public static final int ConHostFound = 0; + public static final int ConConnected = 1; + public static final int ConClosed = 2; + + public static final int NoError = 0; + public static final int ErrValid = 1; + public static final int ErrUnknownProtocol = 2; + public static final int ErrUnsupported = 3; + public static final int ErrParse = 4; + public static final int ErrLoginIncorrect = 5; + public static final int ErrHostNotFound = 6; + public static final int ErrListChildren = 7; + public static final int ErrListChlidren = ErrListChildren; + public static final int ErrMkDir = 8; + public static final int ErrMkdir = ErrMkDir; + public static final int ErrRemove = 9; + public static final int ErrRename = 10; + public static final int ErrGet = 11; + public static final int ErrPut = 12; + public static final int ErrFileNotExisting = 13; + public static final int ErrPermissionDenied = 14; + + public native QMetaObject metaObject(); + public native String className(); + public QNetworkProtocol() { + super((Class) null); + newQNetworkProtocol(); + } + private native void newQNetworkProtocol(); + public native void setUrl(QUrlOperator u); + public native void setAutoDelete(boolean b, int i); + public native void setAutoDelete(boolean b); + public native boolean autoDelete(); + public native int supportedOperations(); + public native void addOperation(QNetworkOperation op); + public native QUrlOperator url(); + public native QNetworkOperation operationInProgress(); + public native void clearOperationQueue(); + public native void stop(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + // void registerNetworkProtocol(const QString& arg1,QNetworkProtocolFactoryBase* arg2); >>>> NOT CONVERTED + public static native QNetworkProtocol getNetworkProtocol(String protocol); + public static native boolean hasOnlyLocalFileSystem(); + protected native void processOperation(QNetworkOperation op); + protected native void operationListChildren(QNetworkOperation op); + protected native void operationMkDir(QNetworkOperation op); + protected native void operationRemove(QNetworkOperation op); + protected native void operationRename(QNetworkOperation op); + protected native void operationGet(QNetworkOperation op); + protected native void operationPut(QNetworkOperation op); + protected native void operationPutChunk(QNetworkOperation op); + protected native boolean checkConnection(QNetworkOperation op); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |