observer.cpp
104 kdWarning() << "Can't find job to kill ! There is no job with progressId=" << progressId << " in this process" << endl;
119 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotTotalSize " << job << " " << TDEIO::number(size) << endl;
137 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotProcessedSize " << job << " " << job->progressId() << " " << TDEIO::number(size) << endl;
143 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotProcessedFiles " << job << " " << files << endl;
172 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotCopying " << job << " " << from.url() << " " << to.url() << endl;
178 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotMoving " << job << " " << from.url() << " " << to.url() << endl;
190 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotTransferring " << job << " " << url.url() << endl;
196 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotCreatingDir " << job << " " << dir.url() << endl;
202 //kdDebug(KDEBUG_OBSERVER) << "** Observer::slotCanResume " << job << " " << TDEIO::number(offset) << endl;
300 KSSLInfoDlg *kid = new KSSLInfoDlg(meta["ssl_in_use"].upper()=="TRUE", 0L /*parent?*/, 0L, true);
356 if ( kapp->dcopClient()->call( "tdeio_uiserver", "UIServer", "messageBox(int,int,TQString,TQString,TQString,TQString)", data, replyType, replyData, true )
389 // opening the rename dialog doesn't start uiserver for nothing if progressId=0 (e.g. F2 in konq)
403 kdDebug(KDEBUG_OBSERVER) << "Observer::open_SkipDlg job=" << job << " progressId=" << job->progressId() << endl;
This class is intended to make it easier to prompt for, cache and retrieve authorization information.
Definition: authinfo.h:52
static int getNameAndPassword(TQString &user, TQString &pass, bool *keep, const TQString &prompt=TQString::null, bool readOnly=false, const TQString &caption=TQString::null, const TQString &comment=TQString::null, const TQString &label=TQString::null)
A convienence static method for obtaining authorization information from the end user.
Definition: passdlg.cpp:330
void killJob(int progressId)
Called by the UI Server (using DCOP) if the user presses cancel.
Definition: observer.cpp:99
void slotTransferring(TDEIO::Job *, const KURL &url)
Definition: observer.cpp:188
TQString commentLabel
Descriptive label to be displayed in front of the comment when prompting the user for password.
Definition: authinfo.h:159
static int messageBox(int progressId, int type, const TQString &text, const TQString &caption, const TQString &buttonYes, const TQString &buttonNo)
Popup a message box.
Definition: observer.cpp:254
bool openPassDlg(const TQString &prompt, TQString &user, TQString &pass, bool readOnly)
Definition: observer.cpp:221
TQString caption
The text to displayed in the title bar of the password prompting dialog.
Definition: authinfo.h:126
void jobFinished(int progressId)
Called by the job destructor, to tell the UI Server that the job ended.
Definition: observer.cpp:93
int newJob(TDEIO::Job *job, bool showProgress)
Called by the job constructor, to signal its presence to the UI Server.
Definition: observer.cpp:81
TQString prompt
Information to be displayed when prompting the user for authentication information.
Definition: authinfo.h:115
TQString comment
Additional comment to be displayed when prompting the user for authentication information.
Definition: authinfo.h:150
void setModified(bool flag)
Use this method to indicate that this object has been modified.
Definition: authinfo.h:82
TDEIO::MetaData metadata(int progressId)
Called by the UI Server (using DCOP) to get all the metadata of the job.
Definition: observer.cpp:110