|
void | data (const TQByteArray &) |
|
void | dataReq () |
|
void | error (int, const TQString &) |
|
void | connected () |
|
void | finished () |
|
void | slaveStatus (pid_t, const TQCString &, const TQString &, bool) |
|
void | listEntries (const TDEIO::UDSEntryList &) |
|
void | statEntry (const TDEIO::UDSEntry &) |
|
void | needSubURLData () |
|
void | needProgressId () |
|
void | canResume (TDEIO::filesize_t) |
|
void | metaData (const TDEIO::MetaData &) |
|
void | totalSize (TDEIO::filesize_t) |
|
void | processedSize (TDEIO::filesize_t) |
|
void | redirection (const KURL &) |
|
void | localURL (const KURL &, bool) |
|
void | speed (unsigned long) |
|
void | errorPage () |
|
void | mimeType (const TQString &) |
|
void | warning (const TQString &) |
|
void | infoMessage (const TQString &) |
|
void | connectFinished () |
|
void | authorizationKey (const TQCString &, const TQCString &, bool) |
|
void | delAuthorization (const TQCString &grpkey) |
|
|
virtual bool | dispatch () |
|
virtual bool | dispatch (int _cmd, const TQByteArray &data) |
|
void | openPassDlg (TDEIO::AuthInfo &info) |
|
void | openPassDlg (const TQString &prompt, const TQString &user, const TQString &caption, const TQString &comment, const TQString &label, bool readOnly) TDE_DEPRECATED |
|
void | openPassDlg (const TQString &prompt, const TQString &user, bool readOnly) TDE_DEPRECATED |
|
void | messageBox (int type, const TQString &text, const TQString &caption, const TQString &buttonYes, const TQString &buttonNo) |
|
void | messageBox (int type, const TQString &text, const TQString &caption, const TQString &buttonYes, const TQString &buttonNo, const TQString &dontAskAgainName) |
|
void | requestNetwork (const TQString &, const TQString &) |
|
void | dropNetwork (const TQString &, const TQString &) |
|
virtual void | virtual_hook (int id, void *data) |
|
There are two classes that specifies the protocol between application (TDEIO::Job) and tdeioslave.
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.
Definition at line 93 of file slaveinterface.h.
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:
if ( result )
{
printf( "Username: %s", result.username.latin1() );
printf( "Username: %s", result.username.latin1() );
}
This class is intended to make it easier to prompt for, cache and retrieve authorization information.
void openPassDlg(TDEIO::AuthInfo &info)
Prompt the user for authrization info (login & password).
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";
if ( result )
{
printf( "Username: %s", result.username.latin1() );
printf( "Username: %s", result.username.latin1() );
}
TQString username
This is required for caching.
TQString comment
Additional comment to be displayed when prompting the user for authentication information.
TQString caption
The text to displayed in the title bar of the password prompting dialog.
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
-
- Returns
- true if user clicks on "OK", false otherwsie.
Definition at line 476 of file slaveinterface.cpp.