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

List:       kde-commits
Subject:    KDE/kdepimlibs/kresources
From:       Allen Winter <winter () kde ! org>
Date:       2006-12-31 21:35:28
Message-ID: 1167600928.989794.14213.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 618282 by winterz:

explictness


 M  +2 -1      idmapper.h  
 M  +1 -1      manageradaptor_p.h  
 M  +1 -1      resource.h  
 M  +1 -1      selectdialog.h  


--- trunk/KDE/kdepimlibs/kresources/idmapper.h #618281:618282
@@ -57,7 +57,8 @@
       @param path Category of mapping (path into the mapping namespace)
       @param identifier The concrete mapping object (filename in namespace)
     */
-    IdMapper( const QString &path, const QString &identifier = QString() );
+    explicit IdMapper( const QString &path,
+                       const QString &identifier = QString() );
     /** Destructor. */
     ~IdMapper();
 
--- trunk/KDE/kdepimlibs/kresources/manageradaptor_p.h #618281:618282
@@ -31,7 +31,7 @@
     Q_CLASSINFO("D-Bus Interface", "org.kde.KResourcesManager")
 
 public:
-    ManagerAdaptor(QObject *parent);
+    explicit ManagerAdaptor(QObject *parent);
 
 signals:
     void signalKResourceAdded(QString managerId, QString resourceId);
--- trunk/KDE/kdepimlibs/kresources/resource.h #618281:618282
@@ -83,7 +83,7 @@
      * @param config Configuration to read persistence information from.
      *               If config is 0, create object using default settings.
      */
-    Resource( const KConfig *config );
+    explicit Resource( const KConfig *config );
 
     /**
      * Destructor.
--- trunk/KDE/kdepimlibs/kresources/selectdialog.h #618281:618282
@@ -62,7 +62,7 @@
      * @param parent The parent widget
      * @param name   The name of the dialog
      */
-    SelectDialog( QList<Resource *> list, QWidget *parent = 0,
+    explicit SelectDialog( QList<Resource *> list, QWidget *parent = 0,
         const char *name = 0);
 
     /**
[prev in list] [next in list] [prev in thread] [next in thread] 

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