summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/panpopup.h
blob: 9d99f5e913dd09b95268756b8f0044e1a55a2b47 (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 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