summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TransferJobSignals.java
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/TransferJobSignals.java
downloadtdebindings-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 'kdejava/koala/org/kde/koala/TransferJobSignals.java')
-rw-r--r--kdejava/koala/org/kde/koala/TransferJobSignals.java63
1 files changed, 63 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/TransferJobSignals.java b/kdejava/koala/org/kde/koala/TransferJobSignals.java
new file mode 100644
index 00000000..9305b397
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/TransferJobSignals.java
@@ -0,0 +1,63 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.QMetaObject;
+import org.kde.qt.QtSupport;
+
+public interface TransferJobSignals {
+ /**
+ Data from the slave has arrived.
+ @param job the job that emitted this signal
+ @param data data received from the slave.
+ End of data (EOD) has been reached if data.size() == 0, however, you
+ should not be certain of data.size() == 0 ever happening (e.g. in case
+ of an error), so you should rely on result() instead.
+ @short Data from the slave has arrived.
+ */
+ void data(Job job, byte[] data);
+ /**
+ Request for data.
+ Please note, that you shouldn't put too large chunks
+ of data in it as this requires copies within the frame
+ work, so you should rather split the data you want
+ to pass here in reasonable chunks (about 1MB maximum)
+ @param job the job that emitted this signal
+ @param data buffer to fill with data to send to the
+ slave. An empty buffer indicates end of data. (EOD)
+ @short Request for data.
+ */
+ void dataReq(Job job, byte[] data);
+ /**
+ Signals a redirection.
+ Use to update the URL shown to the user.
+ The redirection itself is handled internally.
+ @param job the job that emitted this signal
+ @param url the new URL
+ @short Signals a redirection.
+ */
+ void redirection(Job job, KURL url);
+ /**
+ Signals a permanent redirection.
+ The redirection itself is handled internally.
+ @param job the job that emitted this signal
+ @param fromUrl the original URL
+ @param toUrl the new URL
+ @short Signals a permanent redirection.
+ */
+ void permanentRedirection(Job job, KURL fromUrl, KURL toUrl);
+ /**
+ Mimetype determined.
+ @param job the job that emitted this signal
+ @param type the mime type
+ @short Mimetype determined.
+ */
+ void mimetype(Job job, String type);
+ /**
+ Emitted if the "put" job found an existing partial file
+ (in which case offset is the size of that file)
+ and emitted by the "get" job if it supports resuming to
+ the given offset - in this case <code>offset</code> is unused)
+ @short
+ */
+ void canResume(Job job, long offset);
+}