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 update_cursor(void);
22 void write_dir(const char *buf);
23 bool authenticate_director(JCR *jcr, DIRRES *director, CONRES *cons);
24 bool is_connected() { return m_sock != NULL; };
25 const QFont get_font();
31 void read_dir(int fd);
32 void status_dir(void);
36 QTextEdit *m_textEdit;
40 QSocketNotifier *m_notifier;
41 QTextCursor *m_cursor;
42 QTreeWidgetItem *m_consoleItem;
45 #endif /* _CONSOLE_H_ */