23 #include <kdedmodule.h>
24 #include <tqptrlist.h>
25 #include <tqstringlist.h>
26 #include <tqptrdict.h>
27 #include <tqguardedptr.h>
28 #include <tqintdict.h>
34 class KDEPrintd :
public KDEDModule
40 KDEPrintd(
const TQCString& obj);
44 int print(
const TQString& cmd,
const TQStringList& files,
bool remove);
45 TQString openPassDlg(
const TQString& user);
46 ASYNC statusMessage(
const TQString& msg,
int pid = -1,
const TQString& appName = TQString::null);
47 TQString requestPassword(
const TQString& user,
const TQString& host,
int port,
int seqNbr );
48 void initPassword(
const TQString& user,
const TQString& passwd,
const TQString& host,
int port );
51 void slotPrintTerminated( KPrintProcess* );
52 void slotPrintError( KPrintProcess*,
const TQString& );
54 void processRequest();
57 bool checkFiles(TQString& cmd,
const TQStringList& files);
61 TQPtrList<KPrintProcess> m_processpool;
62 TQIntDict<StatusWindow> m_windows;
63 TQPtrList<Request> m_requestsPending;