author | korovkin <korovkin> | 2006-03-19 14:56:24 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-03-19 14:56:24 (UTC) |
commit | bf4d4b814d514762748fe602aeef6c43da102c3a (patch) (unidiff) | |
tree | 611d82e4f062430dedd161242986fefa138e719c /noncore/net/opietooth/manager/obexdialog.h | |
parent | 4c59235642953b2b1d2a07b47313540e85fa5f6a (diff) | |
download | opie-bf4d4b814d514762748fe602aeef6c43da102c3a.zip opie-bf4d4b814d514762748fe602aeef6c43da102c3a.tar.gz opie-bf4d4b814d514762748fe602aeef6c43da102c3a.tar.bz2 |
Fixed the way OBEX push uses ussp-push utility.
Diffstat (limited to 'noncore/net/opietooth/manager/obexdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/obexdialog.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/obexdialog.h b/noncore/net/opietooth/manager/obexdialog.h index d5b5682..44a26f3 100644 --- a/noncore/net/opietooth/manager/obexdialog.h +++ b/noncore/net/opietooth/manager/obexdialog.h | |||
@@ -1,39 +1,48 @@ | |||
1 | #ifndef OBEXDIALOG_H | 1 | #ifndef OBEXDIALOG_H |
2 | #define OBEXDIALOG_H | 2 | #define OBEXDIALOG_H |
3 | 3 | ||
4 | 4 | ||
5 | #include <qdialog.h> | 5 | #include <qdialog.h> |
6 | #include <opie2/oprocess.h> | 6 | #include <opie2/oprocess.h> |
7 | #include <qlabel.h> | ||
8 | #include <qmultilineedit.h> | ||
7 | 9 | ||
8 | class QVBoxLayout; | 10 | class QVBoxLayout; |
9 | class QPushButton; | 11 | class QPushButton; |
10 | class QMultiLineEdit; | 12 | class QMultiLineEdit; |
11 | class QLineEdit; | 13 | class QLineEdit; |
12 | 14 | ||
13 | 15 | namespace Opie {namespace Core {class OProcess;}} | |
14 | namespace OpieTooth { | 16 | namespace OpieTooth { |
15 | 17 | ||
16 | class ObexDialog : public QDialog { | 18 | class ObexDialog : public QDialog { |
17 | 19 | ||
18 | Q_OBJECT | 20 | Q_OBJECT |
19 | 21 | ||
20 | public: | 22 | public: |
21 | ObexDialog( QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0, const QString& device = 0); | 23 | ObexDialog( const QString& device = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); |
22 | ~ObexDialog(); | 24 | ~ObexDialog(); |
23 | 25 | ||
24 | 26 | ||
25 | private slots: | 27 | private slots: |
26 | void browse(); | 28 | void browse(); |
27 | void sendData(); | 29 | void sendData(); |
28 | 30 | void slotPushOut(Opie::Core::OProcess*, char*, int); | |
31 | void slotPushErr(Opie::Core::OProcess*, char*, int); | ||
32 | void slotProcessExited(Opie::Core::OProcess* proc); | ||
33 | |||
29 | protected: | 34 | protected: |
30 | QVBoxLayout* layout; | 35 | QVBoxLayout* layout; |
31 | QLineEdit* cmdLine; | 36 | QLineEdit* cmdLine; |
32 | QLineEdit* chNameLine; | 37 | QLineEdit* chNameLine; |
33 | QPushButton* sendButton; | 38 | QPushButton* sendButton; |
39 | QLabel* info; | ||
40 | QMultiLineEdit* status; | ||
41 | QLabel* statLine; | ||
34 | private: | 42 | private: |
35 | // Device that is used | 43 | // Device that is used |
36 | QString m_device; | 44 | QString m_device; |
45 | Opie::Core::OProcess *obexSend; | ||
37 | }; | 46 | }; |
38 | } | 47 | } |
39 | #endif | 48 | #endif |