12 class Console : public QWidget
18 void set_text(const char *buf);
19 void set_text(const QString buf);
20 void set_textf(const char *fmt, ...);
21 void write_dir(const char *buf);
22 bool authenticate_director(JCR *jcr, DIRRES *director, CONRES *cons);
23 bool is_connected() { return m_sock != NULL; };
27 void read_dir(int fd);
30 QTextEdit *m_textEdit;
34 QSocketNotifier *m_notifier;
35 QTextCursor *m_cursor;
38 #endif /* _CONSOLE_H_ */