summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/Opietooth.cpp
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/Opietooth.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/Opietooth.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/Opietooth.cpp b/noncore/settings/networksettings2/opietooth2/Opietooth.cpp
index 8ea3a48..2d4885c 100644
--- a/noncore/settings/networksettings2/opietooth2/Opietooth.cpp
+++ b/noncore/settings/networksettings2/opietooth2/Opietooth.cpp
@@ -109,8 +109,29 @@ private :
109// 109//
110// 110//
111// 111//
112 112
113OTSniffing::OTSniffing( QWidget * parent ) : OTSniffGUI( parent ) {
114
115 OT = OTGateway::getOTGateway();
116
117}
118
119OTSniffing::~OTSniffing() {
120}
121
122void OTSniffing::SLOT_Trace( void ) {
123}
124
125void OTSniffing::SLOT_ClearLog( void ) {
126}
127
128//
129//
130//
131//
132//
133
113OTPairing::OTPairing( QWidget * parent, OTIcons * _IC ) : 134OTPairing::OTPairing( QWidget * parent, OTIcons * _IC ) :
114 OTPairingGUI( parent ) { 135 OTPairingGUI( parent ) {
115 136
116 OT = OTGateway::getOTGateway(); 137 OT = OTGateway::getOTGateway();
@@ -872,8 +893,9 @@ void OTManage::SLOT_SetRefreshTimer( int v ) {
872 893
873OTMain::OTMain( QWidget * parent ) : OTMainGUI( parent ) { 894OTMain::OTMain( QWidget * parent ) : OTMainGUI( parent ) {
874 895
875 Icons = new OTIcons(); 896 Icons = new OTIcons();
897 SnifWindow = 0;
876 OT = OTGateway::getOTGateway(); 898 OT = OTGateway::getOTGateway();
877 899
878 connect( OT, 900 connect( OT,
879 SIGNAL( deviceEnabled( bool ) ), 901 SIGNAL( deviceEnabled( bool ) ),
@@ -1002,4 +1024,14 @@ void OTMain::SLOT_Pairing( void ) {
1002 Dlg->exec(); 1024 Dlg->exec();
1003 1025
1004 delete Dlg; 1026 delete Dlg;
1005} 1027}
1028
1029void OTMain::SLOT_Sniffing( void ) {
1030
1031 if( SnifWindow == 0 ) {
1032 SnifWindow = new OTSniffing( this );
1033 }
1034
1035 SnifWindow->showMaximized();
1036 SnifWindow->show();
1037}