diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/DCOPClientSignals.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/DCOPClientSignals.java | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/DCOPClientSignals.java b/kdejava/koala/org/kde/koala/DCOPClientSignals.java new file mode 100644 index 00000000..4ccb7b23 --- /dev/null +++ b/kdejava/koala/org/kde/koala/DCOPClientSignals.java @@ -0,0 +1,62 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import java.util.ArrayList; +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.QObject; + +public interface DCOPClientSignals { + /** + Indicates that the application <code>appId</code> has been registered with + the server we are attached to. + You need to call setNotifications() first, to tell the DCOP server + that you want to get these events. + @param appId the id of the new application + @short Indicates that the application <code>appId</code> has been registered with the server we are attached to. + */ + void applicationRegistered(String appId); + /** + Indicates that the formerly registered application <code>appId</code> has + been removed. + You need to call setNotifications() first, to tell the + DCOP server that you want to get these events. + @param appId the id of the removed application + @short Indicates that the formerly registered application <code>appId</code> has been removed. + */ + void applicationRemoved(String appId); + /** + Indicates that the process of establishing DCOP communications failed + in some manner. + Usually attached to a dialog box or some other visual + aid. + @param msg the message tha contains further information + @short Indicates that the process of establishing DCOP communications failed in some manner. + */ + void attachFailed(String msg); + /** + Indicates that user input shall be blocked or released, + depending on the argument. + The signal is emitted whenever the client has to wait too long + (i.e. more than 1/10 of a second) for an answer to a + synchronous call. In that case, it will enter a local event + loop to keep the GUI updated until finally an answer arrives. + In KDE, the KApplication object connects to this signal to be + able to block any user input (i.e. mouse and key events) while + we are waiting for an answer. If we did not do this, the + application might end up in an illegal state, as a keyboard + shortcut or a mouse action might cause another dcop call to be + issued. + @param block true to block user input, false otherwise + @short Indicates that user input shall be blocked or released, depending on the argument. + */ + void blockUserInput(boolean block); + /** + Signal used for callbacks of async calls. + This signal is automatically connected to the call back + slot specified in the async call. + @short + @see #callAsync + */ + void callBack(int arg1, String arg2, byte[] arg3); +} |