summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/obexdialog.h
authorkorovkin <korovkin>2006-03-19 14:56:24 (UTC)
committer korovkin <korovkin>2006-03-19 14:56:24 (UTC)
commitbf4d4b814d514762748fe602aeef6c43da102c3a (patch) (unidiff)
tree611d82e4f062430dedd161242986fefa138e719c /noncore/net/opietooth/manager/obexdialog.h
parent4c59235642953b2b1d2a07b47313540e85fa5f6a (diff)
downloadopie-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.h15
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
@@ -4,13 +4,15 @@
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
8class QVBoxLayout; 10class QVBoxLayout;
9class QPushButton; 11class QPushButton;
10class QMultiLineEdit; 12class QMultiLineEdit;
11class QLineEdit; 13class QLineEdit;
12 14
13 15namespace Opie {namespace Core {class OProcess;}}
14namespace OpieTooth { 16namespace OpieTooth {
15 17
16 class ObexDialog : public QDialog { 18 class ObexDialog : public QDialog {
@@ -18,22 +20,29 @@ namespace OpieTooth {
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
25private slots: 27private 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