summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/parser.cc
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/lib/parser.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/parser.cc15
1 files changed, 10 insertions, 5 deletions
diff --git a/noncore/net/opietooth/lib/parser.cc b/noncore/net/opietooth/lib/parser.cc
index 0699309..8baf284 100644
--- a/noncore/net/opietooth/lib/parser.cc
+++ b/noncore/net/opietooth/lib/parser.cc
@@ -59,3 +59,3 @@ void Parser::parse( const QString& string) {
for (it = list.begin(); it != list.end(); ++it ) {
- qWarning("line:%s:line", (*it).latin1() );
+ //qWarning("line:%s:line", (*it).latin1() );
if ( (*it).startsWith("Browsing") ) continue;
@@ -82,3 +82,3 @@ void Parser::parse( const QString& string) {
if (m_complete) {
- qWarning("adding");
+// qWarning("adding");
if (!m_item.serviceName().isEmpty() )
@@ -120,6 +120,9 @@ bool Parser::parseClassId( const QString& str) {
if (str.startsWith("Service Class ID List:") ) {
+ qWarning("found class id" );
+ qWarning("line:%s", str.latin1() );
m_classOver = true;
return true;
- }else if ( m_classOver && str.startsWith(" " ) ){ // ok now are the informations in place
-
+ }else if ( m_classOver && str.startsWith(" " ) ){ // ok now are the informations in place
+ qWarning("line with class id" );
+ qWarning("%s",str.latin1() );
@@ -136,4 +139,6 @@ bool Parser::parseClassId( const QString& str) {
return true;
- }else
+ }else{
+ qWarning("Else %d", m_classOver );
m_classOver = false;
+ }
return false;