summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/dunpopup.h
blob: 6058b209efcd6a330a56b4ca50965347a80d7f90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef DUNPOPUP_H
#define DUNPOPUP_H

#include <qpopupmenu.h>
#include <qaction.h>
#include <services.h>

#include "btdeviceitem.h"


namespace OpieTooth {

    class DunPopup : public QPopupMenu {

	Q_OBJECT

    public:
        DunPopup(const OpieTooth::Services&, OpieTooth::BTDeviceItem* );
        ~DunPopup();

    private:
        QAction* m_push;
        OpieTooth::BTDeviceItem *m_item; //device item 
        Services m_service; //device service (port)
    private slots:
        void slotConnect();
        void slotDisconnect();
        void slotConnectAndConfig();
   };
};

#endif