24 #include <tqstringlist.h>
35 class CupsAddSmb :
public KDialog
40 enum State { None, Start, MkDir, Copy, AddDriver, AddPrinter };
41 CupsAddSmb(TQWidget *parent = 0,
const char *name = 0);
44 static bool exportDest(
const TQString& dest,
const TQString& datadir);
47 void slotReceived(TDEProcess*,
char*,
int);
49 void slotProcessExited(TDEProcess*);
50 void slotActionClicked();
53 void checkActionStatus();
58 void showError(
const TQString& msg);
62 TQStringList m_buffer;
64 TQStringList m_actions;
70 TQPushButton *m_doit, *m_cancel;
73 TQLineEdit *m_logined, *m_passwded, *m_servered;