author | korovkin <korovkin> | 2006-04-04 12:15:10 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-04-04 12:15:10 (UTC) |
commit | 57f97a65fc7ce932231585895f358f1089900879 (patch) (unidiff) | |
tree | 026f02a04d8f78da60fef452f07ee1a0282d113e | |
parent | 70c7420d074505c75a5482e3e71be2e403df7b62 (diff) | |
download | opie-57f97a65fc7ce932231585895f358f1089900879.zip opie-57f97a65fc7ce932231585895f358f1089900879.tar.gz opie-57f97a65fc7ce932231585895f358f1089900879.tar.bz2 |
Added headers.
-rw-r--r-- | noncore/net/opietooth/manager/dundialog.cpp | 11 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/dundialog.h | 10 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/dunpopup.cpp | 10 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/dunpopup.h | 10 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/pandialog.cpp | 11 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/pandialog.h | 10 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/panpopup.cpp | 10 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/panpopup.h | 10 |
8 files changed, 80 insertions, 2 deletions
diff --git a/noncore/net/opietooth/manager/dundialog.cpp b/noncore/net/opietooth/manager/dundialog.cpp index 033534c..7aac271 100644 --- a/noncore/net/opietooth/manager/dundialog.cpp +++ b/noncore/net/opietooth/manager/dundialog.cpp | |||
@@ -1,33 +1,42 @@ | |||
1 | 1 | /* $Id$ */ | |
2 | /* DUN connection dialog */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
2 | #include "dundialog.h" | 11 | #include "dundialog.h" |
3 | #include <qpushbutton.h> | 12 | #include <qpushbutton.h> |
4 | #include <qmultilineedit.h> | 13 | #include <qmultilineedit.h> |
5 | #include <qlineedit.h> | 14 | #include <qlineedit.h> |
6 | #include <qlayout.h> | 15 | #include <qlayout.h> |
7 | #include <qcheckbox.h> | 16 | #include <qcheckbox.h> |
8 | #include <qlabel.h> | 17 | #include <qlabel.h> |
9 | #include <qstring.h> | 18 | #include <qstring.h> |
10 | #include <opie2/oprocess.h> | 19 | #include <opie2/oprocess.h> |
11 | #include <opie2/odebug.h> | 20 | #include <opie2/odebug.h> |
12 | using namespace Opie::Core; | 21 | using namespace Opie::Core; |
13 | 22 | ||
14 | using namespace OpieTooth; | 23 | using namespace OpieTooth; |
15 | 24 | ||
16 | using namespace Opie::Core; | 25 | using namespace Opie::Core; |
17 | 26 | ||
18 | DunDialog::DunDialog( const QString& device, int port, QWidget* parent, | 27 | DunDialog::DunDialog( const QString& device, int port, QWidget* parent, |
19 | const char* name, bool modal, WFlags fl ) | 28 | const char* name, bool modal, WFlags fl ) |
20 | : QDialog( parent, name, modal, fl ) { | 29 | : QDialog( parent, name, modal, fl ) { |
21 | if ( !name ) | 30 | if ( !name ) |
22 | setName( "DUNDialog" ); | 31 | setName( "DUNDialog" ); |
23 | setCaption( tr( "DUN connection " ) ) ; | 32 | setCaption( tr( "DUN connection " ) ) ; |
24 | 33 | ||
25 | m_device = device; | 34 | m_device = device; |
26 | m_port = port; | 35 | m_port = port; |
27 | 36 | ||
28 | m_dunConnect = NULL; | 37 | m_dunConnect = NULL; |
29 | layout = new QVBoxLayout( this ); | 38 | layout = new QVBoxLayout( this ); |
30 | 39 | ||
31 | QLabel* info = new QLabel( this ); | 40 | QLabel* info = new QLabel( this ); |
32 | info->setText( tr("Enter an ppp script name:") ); | 41 | info->setText( tr("Enter an ppp script name:") ); |
33 | 42 | ||
diff --git a/noncore/net/opietooth/manager/dundialog.h b/noncore/net/opietooth/manager/dundialog.h index 746c8a3..9e219cd 100644 --- a/noncore/net/opietooth/manager/dundialog.h +++ b/noncore/net/opietooth/manager/dundialog.h | |||
@@ -1,32 +1,42 @@ | |||
1 | /* $Id$ */ | ||
2 | /* DUN connection dialog */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #ifndef DUNDIALOG_H | 11 | #ifndef DUNDIALOG_H |
2 | #define DUNDIALOG_H | 12 | #define DUNDIALOG_H |
3 | 13 | ||
4 | 14 | ||
5 | #include <qdialog.h> | 15 | #include <qdialog.h> |
6 | #include <opie2/oprocess.h> | 16 | #include <opie2/oprocess.h> |
7 | 17 | ||
8 | class QVBoxLayout; | 18 | class QVBoxLayout; |
9 | class QPushButton; | 19 | class QPushButton; |
10 | class QMultiLineEdit; | 20 | class QMultiLineEdit; |
11 | class QLineEdit; | 21 | class QLineEdit; |
12 | class QCheckBox; | 22 | class QCheckBox; |
13 | 23 | ||
14 | namespace OpieTooth { | 24 | namespace OpieTooth { |
15 | class DunDialog : public QDialog { | 25 | class DunDialog : public QDialog { |
16 | 26 | ||
17 | Q_OBJECT | 27 | Q_OBJECT |
18 | 28 | ||
19 | public: | 29 | public: |
20 | DunDialog(const QString& device = 0, int port = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); | 30 | DunDialog(const QString& device = 0, int port = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); |
21 | ~DunDialog(); | 31 | ~DunDialog(); |
22 | 32 | ||
23 | private slots: | 33 | private slots: |
24 | void connectToDevice(); | 34 | void connectToDevice(); |
25 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); | 35 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); |
26 | void fillErr(Opie::Core::OProcess*, char*, int); | 36 | void fillErr(Opie::Core::OProcess*, char*, int); |
27 | void slotProcessExited(Opie::Core::OProcess* proc); | 37 | void slotProcessExited(Opie::Core::OProcess* proc); |
28 | void closeEvent(QCloseEvent* e); | 38 | void closeEvent(QCloseEvent* e); |
29 | protected: | 39 | protected: |
30 | QVBoxLayout* layout; | 40 | QVBoxLayout* layout; |
31 | QLineEdit* cmdLine; | 41 | QLineEdit* cmdLine; |
32 | QPushButton* connectButton; | 42 | QPushButton* connectButton; |
diff --git a/noncore/net/opietooth/manager/dunpopup.cpp b/noncore/net/opietooth/manager/dunpopup.cpp index 3017d63..c304b2d 100644 --- a/noncore/net/opietooth/manager/dunpopup.cpp +++ b/noncore/net/opietooth/manager/dunpopup.cpp | |||
@@ -1,32 +1,42 @@ | |||
1 | /* $Id$ */ | ||
2 | /* DUN context menu */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #include <qpe/qcopenvelope_qws.h> | 11 | #include <qpe/qcopenvelope_qws.h> |
2 | #include <qmessagebox.h> | 12 | #include <qmessagebox.h> |
3 | #include <opie2/odebug.h> | 13 | #include <opie2/odebug.h> |
4 | #include <opie2/oprocess.h> | 14 | #include <opie2/oprocess.h> |
5 | #include <qpe/qpeapplication.h> | 15 | #include <qpe/qpeapplication.h> |
6 | using namespace Opie::Core; | 16 | using namespace Opie::Core; |
7 | 17 | ||
8 | #include "dunpopup.h" | 18 | #include "dunpopup.h" |
9 | #include "dundialog.h" | 19 | #include "dundialog.h" |
10 | 20 | ||
11 | using namespace OpieTooth; | 21 | using namespace OpieTooth; |
12 | 22 | ||
13 | /* | 23 | /* |
14 | * c'tor init the QAction | 24 | * c'tor init the QAction |
15 | */ | 25 | */ |
16 | DunPopup::DunPopup( const Services& service, | 26 | DunPopup::DunPopup( const Services& service, |
17 | BTDeviceItem* item ) : QPopupMenu(), m_service(service) { | 27 | BTDeviceItem* item ) : QPopupMenu(), m_service(service) { |
18 | 28 | ||
19 | owarn << "DunPopup c'tor" << oendl; | 29 | owarn << "DunPopup c'tor" << oendl; |
20 | 30 | ||
21 | m_item = item; | 31 | m_item = item; |
22 | QAction *a, *b, *c; | 32 | QAction *a, *b, *c; |
23 | 33 | ||
24 | a = new QAction(); // so it's get deleted | 34 | a = new QAction(); // so it's get deleted |
25 | a->setText( tr("connect") ); | 35 | a->setText( tr("connect") ); |
26 | a->addTo( this ); | 36 | a->addTo( this ); |
27 | connect( a, SIGNAL( activated() ), this, SLOT( slotConnect() ) ); | 37 | connect( a, SIGNAL( activated() ), this, SLOT( slotConnect() ) ); |
28 | 38 | ||
29 | b = new QAction(); | 39 | b = new QAction(); |
30 | b->setText( tr( "connect+conf" ) ); | 40 | b->setText( tr( "connect+conf" ) ); |
31 | b->addTo( this ); | 41 | b->addTo( this ); |
32 | connect( b, SIGNAL( activated() ), this, SLOT( slotConnectAndConfig() ) ); | 42 | connect( b, SIGNAL( activated() ), this, SLOT( slotConnectAndConfig() ) ); |
diff --git a/noncore/net/opietooth/manager/dunpopup.h b/noncore/net/opietooth/manager/dunpopup.h index 6058b20..9fecf06 100644 --- a/noncore/net/opietooth/manager/dunpopup.h +++ b/noncore/net/opietooth/manager/dunpopup.h | |||
@@ -1,32 +1,42 @@ | |||
1 | /* $Id$ */ | ||
2 | /* DUN context menu */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #ifndef DUNPOPUP_H | 11 | #ifndef DUNPOPUP_H |
2 | #define DUNPOPUP_H | 12 | #define DUNPOPUP_H |
3 | 13 | ||
4 | #include <qpopupmenu.h> | 14 | #include <qpopupmenu.h> |
5 | #include <qaction.h> | 15 | #include <qaction.h> |
6 | #include <services.h> | 16 | #include <services.h> |
7 | 17 | ||
8 | #include "btdeviceitem.h" | 18 | #include "btdeviceitem.h" |
9 | 19 | ||
10 | 20 | ||
11 | namespace OpieTooth { | 21 | namespace OpieTooth { |
12 | 22 | ||
13 | class DunPopup : public QPopupMenu { | 23 | class DunPopup : public QPopupMenu { |
14 | 24 | ||
15 | Q_OBJECT | 25 | Q_OBJECT |
16 | 26 | ||
17 | public: | 27 | public: |
18 | DunPopup(const OpieTooth::Services&, OpieTooth::BTDeviceItem* ); | 28 | DunPopup(const OpieTooth::Services&, OpieTooth::BTDeviceItem* ); |
19 | ~DunPopup(); | 29 | ~DunPopup(); |
20 | 30 | ||
21 | private: | 31 | private: |
22 | QAction* m_push; | 32 | QAction* m_push; |
23 | OpieTooth::BTDeviceItem *m_item; //device item | 33 | OpieTooth::BTDeviceItem *m_item; //device item |
24 | Services m_service; //device service (port) | 34 | Services m_service; //device service (port) |
25 | private slots: | 35 | private slots: |
26 | void slotConnect(); | 36 | void slotConnect(); |
27 | void slotDisconnect(); | 37 | void slotDisconnect(); |
28 | void slotConnectAndConfig(); | 38 | void slotConnectAndConfig(); |
29 | }; | 39 | }; |
30 | }; | 40 | }; |
31 | 41 | ||
32 | #endif | 42 | #endif |
diff --git a/noncore/net/opietooth/manager/pandialog.cpp b/noncore/net/opietooth/manager/pandialog.cpp index ca6f491..10ca7a8 100644 --- a/noncore/net/opietooth/manager/pandialog.cpp +++ b/noncore/net/opietooth/manager/pandialog.cpp | |||
@@ -1,33 +1,42 @@ | |||
1 | 1 | /* $Id$ */ | |
2 | /* PAN connection dialog */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
2 | #include "pandialog.h" | 11 | #include "pandialog.h" |
3 | #include <qpushbutton.h> | 12 | #include <qpushbutton.h> |
4 | #include <qlayout.h> | 13 | #include <qlayout.h> |
5 | #include <qcheckbox.h> | 14 | #include <qcheckbox.h> |
6 | #include <qlabel.h> | 15 | #include <qlabel.h> |
7 | #include <qstring.h> | 16 | #include <qstring.h> |
8 | #include <qmultilineedit.h> | 17 | #include <qmultilineedit.h> |
9 | #include <opie2/oprocess.h> | 18 | #include <opie2/oprocess.h> |
10 | #include <opie2/odebug.h> | 19 | #include <opie2/odebug.h> |
11 | using namespace Opie::Core; | 20 | using namespace Opie::Core; |
12 | 21 | ||
13 | using namespace OpieTooth; | 22 | using namespace OpieTooth; |
14 | 23 | ||
15 | using namespace Opie::Core; | 24 | using namespace Opie::Core; |
16 | 25 | ||
17 | PanDialog::PanDialog( const QString& device, QWidget* parent, | 26 | PanDialog::PanDialog( const QString& device, QWidget* parent, |
18 | const char* name, bool modal, WFlags fl ) | 27 | const char* name, bool modal, WFlags fl ) |
19 | : QDialog( parent, name, modal, fl ) { | 28 | : QDialog( parent, name, modal, fl ) { |
20 | m_panConnect = NULL; | 29 | m_panConnect = NULL; |
21 | 30 | ||
22 | if ( !name ) | 31 | if ( !name ) |
23 | setName( "PANDialog" ); | 32 | setName( "PANDialog" ); |
24 | setCaption( tr( "PAN connection " ) ) ; | 33 | setCaption( tr( "PAN connection " ) ) ; |
25 | 34 | ||
26 | m_device = device; | 35 | m_device = device; |
27 | 36 | ||
28 | layout = new QVBoxLayout( this ); | 37 | layout = new QVBoxLayout( this ); |
29 | 38 | ||
30 | outPut = new QMultiLineEdit( this ); | 39 | outPut = new QMultiLineEdit( this ); |
31 | QFont outPut_font( outPut->font() ); | 40 | QFont outPut_font( outPut->font() ); |
32 | outPut_font.setPointSize( 8 ); | 41 | outPut_font.setPointSize( 8 ); |
33 | outPut->setFont( outPut_font ); | 42 | outPut->setFont( outPut_font ); |
diff --git a/noncore/net/opietooth/manager/pandialog.h b/noncore/net/opietooth/manager/pandialog.h index 02363d2..b11a026 100644 --- a/noncore/net/opietooth/manager/pandialog.h +++ b/noncore/net/opietooth/manager/pandialog.h | |||
@@ -1,32 +1,42 @@ | |||
1 | /* $Id$ */ | ||
2 | /* PAN connection dialog */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #ifndef PANDIALOG_H | 11 | #ifndef PANDIALOG_H |
2 | #define DUNDIALOG_H | 12 | #define DUNDIALOG_H |
3 | 13 | ||
4 | 14 | ||
5 | #include <qdialog.h> | 15 | #include <qdialog.h> |
6 | #include <opie2/oprocess.h> | 16 | #include <opie2/oprocess.h> |
7 | 17 | ||
8 | class QVBoxLayout; | 18 | class QVBoxLayout; |
9 | class QMultiLineEdit; | 19 | class QMultiLineEdit; |
10 | class QPushButton; | 20 | class QPushButton; |
11 | class QCheckBox; | 21 | class QCheckBox; |
12 | 22 | ||
13 | namespace OpieTooth { | 23 | namespace OpieTooth { |
14 | class PanDialog : public QDialog { | 24 | class PanDialog : public QDialog { |
15 | 25 | ||
16 | Q_OBJECT | 26 | Q_OBJECT |
17 | 27 | ||
18 | public: | 28 | public: |
19 | PanDialog(const QString& device = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); | 29 | PanDialog(const QString& device = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); |
20 | ~PanDialog(); | 30 | ~PanDialog(); |
21 | 31 | ||
22 | private slots: | 32 | private slots: |
23 | void connectToDevice(); | 33 | void connectToDevice(); |
24 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); | 34 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); |
25 | void fillErr(Opie::Core::OProcess*, char*, int); | 35 | void fillErr(Opie::Core::OProcess*, char*, int); |
26 | void slotProcessExited(Opie::Core::OProcess* proc); | 36 | void slotProcessExited(Opie::Core::OProcess* proc); |
27 | void closeEvent(QCloseEvent* e); | 37 | void closeEvent(QCloseEvent* e); |
28 | protected: | 38 | protected: |
29 | QVBoxLayout* layout; | 39 | QVBoxLayout* layout; |
30 | QPushButton* connectButton; | 40 | QPushButton* connectButton; |
31 | QMultiLineEdit* outPut; | 41 | QMultiLineEdit* outPut; |
32 | QCheckBox* doEncryption; | 42 | QCheckBox* doEncryption; |
diff --git a/noncore/net/opietooth/manager/panpopup.cpp b/noncore/net/opietooth/manager/panpopup.cpp index 2fd9eaf..d16bf0c 100644 --- a/noncore/net/opietooth/manager/panpopup.cpp +++ b/noncore/net/opietooth/manager/panpopup.cpp | |||
@@ -1,32 +1,42 @@ | |||
1 | /* $Id$ */ | ||
2 | /* PAN context menu */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #include <qpe/qcopenvelope_qws.h> | 11 | #include <qpe/qcopenvelope_qws.h> |
2 | #include <qmessagebox.h> | 12 | #include <qmessagebox.h> |
3 | #include <opie2/odebug.h> | 13 | #include <opie2/odebug.h> |
4 | #include <opie2/oprocess.h> | 14 | #include <opie2/oprocess.h> |
5 | #include <qpe/qpeapplication.h> | 15 | #include <qpe/qpeapplication.h> |
6 | #include "pandialog.h" | 16 | #include "pandialog.h" |
7 | using namespace Opie::Core; | 17 | using namespace Opie::Core; |
8 | 18 | ||
9 | #include <qtimer.h> | 19 | #include <qtimer.h> |
10 | 20 | ||
11 | #include "panpopup.h" | 21 | #include "panpopup.h" |
12 | 22 | ||
13 | using namespace OpieTooth; | 23 | using namespace OpieTooth; |
14 | 24 | ||
15 | /* | 25 | /* |
16 | * c'tor init the QAction | 26 | * c'tor init the QAction |
17 | */ | 27 | */ |
18 | PanPopup::PanPopup( OpieTooth::BTDeviceItem* item ) : QPopupMenu() { | 28 | PanPopup::PanPopup( OpieTooth::BTDeviceItem* item ) : QPopupMenu() { |
19 | 29 | ||
20 | owarn << "PanPopup c'tor" << oendl; | 30 | owarn << "PanPopup c'tor" << oendl; |
21 | 31 | ||
22 | m_item = item; | 32 | m_item = item; |
23 | QAction *a, *b, *c; | 33 | QAction *a, *b, *c; |
24 | 34 | ||
25 | m_panconnection = 0l; | 35 | m_panconnection = 0l; |
26 | /* connect action */ | 36 | /* connect action */ |
27 | 37 | ||
28 | 38 | ||
29 | a = new QAction(); // so it's get deleted | 39 | a = new QAction(); // so it's get deleted |
30 | a->setText( tr("connect") ); | 40 | a->setText( tr("connect") ); |
31 | a->addTo( this ); | 41 | a->addTo( this ); |
32 | connect( a, SIGNAL( activated() ), this, SLOT( slotConnect() ) ); | 42 | connect( a, SIGNAL( activated() ), this, SLOT( slotConnect() ) ); |
diff --git a/noncore/net/opietooth/manager/panpopup.h b/noncore/net/opietooth/manager/panpopup.h index 3e535e3..7d41dfa 100644 --- a/noncore/net/opietooth/manager/panpopup.h +++ b/noncore/net/opietooth/manager/panpopup.h | |||
@@ -1,32 +1,42 @@ | |||
1 | /* $Id$ */ | ||
2 | /* PAN context menu */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #ifndef PANPOPUP_H | 11 | #ifndef PANPOPUP_H |
2 | #define PANPOPUP_H | 12 | #define PANPOPUP_H |
3 | 13 | ||
4 | #include <qpopupmenu.h> | 14 | #include <qpopupmenu.h> |
5 | #include <qaction.h> | 15 | #include <qaction.h> |
6 | 16 | ||
7 | #include <startpanconnection.h> | 17 | #include <startpanconnection.h> |
8 | 18 | ||
9 | #include "btdeviceitem.h" | 19 | #include "btdeviceitem.h" |
10 | 20 | ||
11 | 21 | ||
12 | namespace OpieTooth { | 22 | namespace OpieTooth { |
13 | 23 | ||
14 | class PanPopup : public QPopupMenu { | 24 | class PanPopup : public QPopupMenu { |
15 | 25 | ||
16 | Q_OBJECT | 26 | Q_OBJECT |
17 | 27 | ||
18 | public: | 28 | public: |
19 | PanPopup( OpieTooth::BTDeviceItem* ); | 29 | PanPopup( OpieTooth::BTDeviceItem* ); |
20 | ~PanPopup(); | 30 | ~PanPopup(); |
21 | 31 | ||
22 | private: | 32 | private: |
23 | QAction* m_push; | 33 | QAction* m_push; |
24 | OpieTooth::StartPanConnection* m_panconnection; | 34 | OpieTooth::StartPanConnection* m_panconnection; |
25 | OpieTooth::BTDeviceItem *m_item; | 35 | OpieTooth::BTDeviceItem *m_item; |
26 | private slots: | 36 | private slots: |
27 | void slotConnect(); | 37 | void slotConnect(); |
28 | void slotDisconnect(); | 38 | void slotDisconnect(); |
29 | void slotConnectAndConfig(); | 39 | void slotConnectAndConfig(); |
30 | }; | 40 | }; |
31 | }; | 41 | }; |
32 | 42 | ||