[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/dnssd
From:       Urs Wolfer <uwolfer () kde ! org>
Date:       2008-05-18 12:56:26
Message-ID: 1211115386.439188.25886.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 809158 by uwolfer:

* explicit constructor
* warnings--

 M  +2 -0      domainmodel.cpp  
 M  +1 -1      domainmodel.h  
 M  +1 -1      servicemodel.h  


--- trunk/KDE/kdelibs/dnssd/domainmodel.cpp #809157:809158
@@ -50,6 +50,7 @@
 
 int DomainModel::columnCount(const QModelIndex& parent) const
 {
+    Q_UNUSED(parent);
     return 1;
 }
 int DomainModel::rowCount(const QModelIndex& parent ) const
@@ -59,6 +60,7 @@
 
 QModelIndex DomainModel::parent(const QModelIndex& index ) const
 {
+    Q_UNUSED(index);
     return QModelIndex();
 }
 
--- trunk/KDE/kdelibs/dnssd/domainmodel.h #809157:809158
@@ -57,7 +57,7 @@
 	Creates model for given domain browses and starts browsing for domain. The model \
becomes parent of the  browser so there is no need to delete it afterwards.
  	 */ 
-	DomainModel(DomainBrowser* browser, QObject* parent=0);
+	explicit DomainModel(DomainBrowser* browser, QObject* parent=0);
 	virtual ~DomainModel();
 	
 	virtual int columnCount(const QModelIndex& parent = QModelIndex() ) const;
--- trunk/KDE/kdelibs/dnssd/servicemodel.h #809157:809158
@@ -82,7 +82,7 @@
 	Creates model for given service browses and starts browsing for services. The model \
becomes parent of the  browser so there is no need to delete it afterwards.
 	 */
-	ServiceModel(ServiceBrowser* browser, QObject* parent=0);
+	explicit ServiceModel(ServiceBrowser* browser, QObject* parent=0);
 	virtual ~ServiceModel();
 	
 	virtual int columnCount(const QModelIndex& parent = QModelIndex() ) const;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic