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) (side-by-side diff)
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 @@
#include <qdialog.h>
#include <opie2/oprocess.h>
+#include <qlabel.h>
+#include <qmultilineedit.h>
class QVBoxLayout;
class QPushButton;
class QMultiLineEdit;
class QLineEdit;
-
+namespace Opie {namespace Core {class OProcess;}}
namespace OpieTooth {
class ObexDialog : public QDialog {
@@ -18,22 +20,29 @@ namespace OpieTooth {
Q_OBJECT
public:
- ObexDialog( QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0, const QString& device = 0);
+ ObexDialog( const QString& device = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0);
~ObexDialog();
private slots:
void browse();
void sendData();
-
+ void slotPushOut(Opie::Core::OProcess*, char*, int);
+ void slotPushErr(Opie::Core::OProcess*, char*, int);
+ void slotProcessExited(Opie::Core::OProcess* proc);
+
protected:
QVBoxLayout* layout;
QLineEdit* cmdLine;
QLineEdit* chNameLine;
QPushButton* sendButton;
+ QLabel* info;
+ QMultiLineEdit* status;
+ QLabel* statLine;
private:
// Device that is used
QString m_device;
+ Opie::Core::OProcess *obexSend;
};
}
#endif