author | harlekin <harlekin> | 2002-07-21 20:03:36 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-21 20:03:36 (UTC) |
commit | 4c6e07cab401c874267c3c25bd42dfef035653a6 (patch) (side-by-side diff) | |
tree | f5b53aad8bd2784e45006e4a6ed1dc6fa343996a /noncore/net/opietooth/manager/rfcpopup.h | |
parent | 086b00610edfb25fb25cf54a0f8da8a16b55246a (diff) | |
download | opie-4c6e07cab401c874267c3c25bd42dfef035653a6.zip opie-4c6e07cab401c874267c3c25bd42dfef035653a6.tar.gz opie-4c6e07cab401c874267c3c25bd42dfef035653a6.tar.bz2 |
forgot something
Diffstat (limited to 'noncore/net/opietooth/manager/rfcpopup.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/rfcpopup.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/rfcpopup.h b/noncore/net/opietooth/manager/rfcpopup.h new file mode 100644 index 0000000..c388f65 --- a/dev/null +++ b/noncore/net/opietooth/manager/rfcpopup.h @@ -0,0 +1,36 @@ +#ifndef RFCPOPUP_H +#define RFCPOPUP_H + +#include <qpopupmenu.h> +#include <qaction.h> + +namespace OpieTooth { + /** + * A simple reference implementation for + * the popup helper factory. + * This class derives from QPopupMenu and uses + * plugged QActions to do all the nasty in it's + * slots. After the work is done everything must + * be deleted. + */ + class RfcCommPopup : public QPopupMenu { + Q_OBJECT + public: + RfcCommPopup(); + ~RfcCommPopup(); + + + private: + QAction* m_con; + QAction* m_dis; + QAction* m_foo; + QAction* m_bar; + private slots: + void slotConnect(); + void slotDisconnect(); + void slotFoo(); + void slotBar(); + }; +}; + +#endif |