Diffstat (limited to 'noncore/tools/remote/recorddialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/remote/recorddialog.h | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/noncore/tools/remote/recorddialog.h b/noncore/tools/remote/recorddialog.h index 46a82ce..e569fb6 100644 --- a/noncore/tools/remote/recorddialog.h +++ b/noncore/tools/remote/recorddialog.h | |||
@@ -19,9 +19,10 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
19 | 19 | ||
20 | #include <qdialog.h> | 20 | #include <qdialog.h> |
21 | #include <qtextview.h> | 21 | #include <qmultilineedit.h> |
22 | #include <qlineedit.h> | 22 | #include <qlineedit.h> |
23 | #include <qpushbutton.h> | 23 | #include <qpushbutton.h> |
24 | #include <qwidget.h> | 24 | #include <qwidget.h> |
25 | #include <qlayout.h> | 25 | #include <qlayout.h> |
26 | #include <qlabel.h> | ||
26 | #include <qmessagebox.h> | 27 | #include <qmessagebox.h> |
27 | 28 | ||
@@ -30,4 +31,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
30 | #include <opie2/oprocess.h> | 31 | #include <opie2/oprocess.h> |
31 | 32 | ||
33 | #include "lirchandler.h" | ||
34 | |||
32 | class RecordDialog : public QDialog | 35 | class RecordDialog : public QDialog |
33 | { | 36 | { |
@@ -35,13 +38,31 @@ class RecordDialog : public QDialog | |||
35 | public: | 38 | public: |
36 | RecordDialog(QWidget *parent=0, const char *name=0); | 39 | RecordDialog(QWidget *parent=0, const char *name=0); |
40 | ~RecordDialog(void); | ||
37 | public slots: | 41 | public slots: |
38 | void retPressed(); | 42 | void nextPressed(); |
39 | void incoming(Opie::Core::OProcess *proc, char *buffer, int len); | 43 | void incoming(Opie::Core::OProcess *proc, char *buffer, int len); |
44 | void incomingErr(Opie::Core::OProcess *proc, char *buffer, int len); | ||
45 | void writeFinished(Opie::Core::OProcess *proc); | ||
40 | void done(Opie::Core::OProcess *proc); | 46 | void done(Opie::Core::OProcess *proc); |
47 | void accept(); | ||
48 | void reject(); | ||
49 | protected: | ||
50 | bool confirmClose(); | ||
51 | bool checkClose(); | ||
41 | private: | 52 | private: |
42 | QTextView *output; | 53 | QMultiLineEdit *output; |
43 | QLineEdit *input; | 54 | QLineEdit *input; |
55 | QPushButton *nextbtn; | ||
44 | Opie::Core::OProcess *record; | 56 | Opie::Core::OProcess *record; |
45 | int where; | 57 | int stepnum; |
58 | bool outputenabled; | ||
59 | bool decoding; | ||
60 | bool writeok; | ||
61 | bool ignorekill; | ||
62 | QString errors; | ||
63 | QString remotefile; | ||
64 | LircHandler *lh; | ||
65 | |||
66 | void writeToProcess(const char *buffer, int len); | ||
46 | }; | 67 | }; |
47 | 68 | ||