Diffstat (limited to 'noncore/apps/advancedfm/output.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/output.h | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/output.h b/noncore/apps/advancedfm/output.h index c1e48da..199a684 100644 --- a/noncore/apps/advancedfm/output.h +++ b/noncore/apps/advancedfm/output.h | |||
@@ -13,2 +13,9 @@ | |||
13 | #include <qdialog.h> | 13 | #include <qdialog.h> |
14 | #include <qcstring.h> | ||
15 | #include <qstringlist.h> | ||
16 | #include <qlineedit.h> | ||
17 | #include <qwhatsthis.h> | ||
18 | |||
19 | #include <opie/oprocess.h> | ||
20 | |||
14 | class QVBoxLayout; | 21 | class QVBoxLayout; |
@@ -23,3 +30,3 @@ class Output : public QDialog | |||
23 | public: | 30 | public: |
24 | Output( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 31 | Output(const QStringList commands=0, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
25 | ~Output(); | 32 | ~Output(); |
@@ -30,4 +37,27 @@ protected: | |||
30 | QGridLayout* OutputLayout; | 37 | QGridLayout* OutputLayout; |
38 | OProcess *proc; | ||
31 | protected slots: | 39 | protected slots: |
32 | void saveOutput(); | 40 | void saveOutput(); |
41 | void commandStdout(OProcess*, char *, int); | ||
42 | void commandStdin(const QByteArray &); | ||
43 | void commandStderr(OProcess*, char *, int); | ||
44 | void processFinished(); | ||
45 | private: | ||
46 | QString cmmd; | ||
47 | |||
48 | }; | ||
49 | |||
50 | class InputDialog : public QDialog | ||
51 | { | ||
52 | Q_OBJECT | ||
53 | |||
54 | public: | ||
55 | InputDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | ||
56 | ~InputDialog(); | ||
57 | QString inputText; | ||
58 | QLineEdit* LineEdit1; | ||
59 | void setInputText(const QString &); | ||
60 | private slots: | ||
61 | void returned(); | ||
62 | |||
33 | }; | 63 | }; |