|
|
There are two classes that specifies the protocol between application (job) and kioslave. SlaveInterface is the class to use on the application end, SlaveBase is the one to use on the slave end.
A call to foo() results in a call to slotFoo() on the other end.
|
|
[virtual]
void |
Connection * |
[const]
void |
int |
[const]
void |
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
NOTE: Do not connect to both this and #authorizationKey. at the same time.
void |
[signal]
Signal emitted whenever a new password is cached or a cached one is found for use in the io-slaves.
Parameters:
key | token under which authorization is stored. |
group | group token under which authorization is stored. |
keep | if true, user requested password to be cached for entire KDE session. |
bool |
[protected: virtual]
bool |
[protected: virtual]
void |
[protected: ]
Prompt the user for authrization info (login & password).
Use this function to request authorization info from the the end user. For example to open an empty password dialog using default values:
KIO::AuthInfo authInfo; bool result = openPassDlg( authInfo ); if ( result ) { printf( "Username: %s", result.username.latin1() ); printf( "Username: %s", result.username.latin1() ); } |
You can also pre-set some values like the username before hand if it is known as well as the comment and caption to be displayed:
authInfo.comment= "Enter username and password to access acmeone"; authInfo.caption= "Acme Password Dialog"; authInfo.username= "Wily E. kaiody"; bool result = openPassDlg( authInfo ); if ( result ) { printf( "Username: %s", result.username.latin1() ); printf( "Username: %s", result.username.latin1() ); } |
NOTE: A call to this function can also fail and result
in a return value of false,
if the UIServer could not
be started for whatever reason.
Parameters:
See | AuthInfo. |
Returns: TRUE
if user clicks on "OK", FALSE
otherwsie.
void |
[protected: ]
Same as above except in the argument it accepts.
void |
[protected: ]
Same as above except in the argument it accepts.
void |
[protected: ]
void |
[protected: ]
void |
[protected: ]
void |
[protected: static]
Connection * |
[protected: ]
Generated by: marc@yogi on Tue Mar 27 13:07:59 2001, using kdoc 2.0a48. |