author | harlekin <harlekin> | 2003-02-15 22:21:14 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-02-15 22:21:14 (UTC) |
commit | f8bb789cd1d85da9b4a830b5b8a67a6a4ceeee3f (patch) (side-by-side diff) | |
tree | ab71630af2332c9ca9e9a537711b6e0d09614f9b /noncore/net/opietooth/manager/panpopup.h | |
parent | 10b6cb1e9262b174ec0d8dc095d9f668f2d3e094 (diff) | |
download | opie-f8bb789cd1d85da9b4a830b5b8a67a6a4ceeee3f.zip opie-f8bb789cd1d85da9b4a830b5b8a67a6a4ceeee3f.tar.gz opie-f8bb789cd1d85da9b4a830b5b8a67a6a4ceeee3f.tar.bz2 |
hacked together pan support, just for my own convenience, the core func should be moved into libopietooth later
Diffstat (limited to 'noncore/net/opietooth/manager/panpopup.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/panpopup.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/panpopup.h b/noncore/net/opietooth/manager/panpopup.h new file mode 100644 index 0000000..9d99f5e --- a/dev/null +++ b/noncore/net/opietooth/manager/panpopup.h @@ -0,0 +1,32 @@ +#ifndef PANPOPUP_H +#define PANPOPUP_H + +#include <qpopupmenu.h> +#include <qaction.h> +#include <opie/oprocess.h> + +#include "btdeviceitem.h" + +namespace OpieTooth { + + class PanPopup : public QPopupMenu { + + Q_OBJECT + + public: + PanPopup( OpieTooth::BTDeviceItem* ); + ~PanPopup(); + + private: + QAction* m_push; + OProcess* m_panconnect; + OpieTooth::BTDeviceItem *m_item; + private slots: + void slotConnect(); + void slotConnectAndConfig(); + void slotExited( OProcess* proc ); + void slotStdOut( OProcess* proc, char* chars, int len ); + }; +}; + +#endif |