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

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal
From:       Allen Winter <winter () kde ! org>
Date:       2007-02-01 0:10:23
Message-ID: 1170288623.742070.21355.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 628935 by winterz:

explicitness


 M  +2 -2      exceptions.h  
 M  +1 -1      recurrencerule.h  
 M  +2 -2      resourcecachedconfig.h  
 M  +1 -1      resourcelocaldirconfig.h  


--- trunk/KDE/kdepimlibs/kcal/exceptions.h #628934:628935
@@ -41,9 +41,9 @@
 {
   public:
     /**
-      Construct exception with descriptive message \a message.
+      Construct exception with descriptive message @p message.
     */
-    Exception( const QString &message = QString() );
+    explicit Exception( const QString &message = QString() );
     virtual ~Exception();
 
     /**
--- trunk/KDE/kdepimlibs/kcal/recurrencerule.h #628934:628935
@@ -64,7 +64,7 @@
     /** structure for describing the n-th weekday of the month/year. */
     class WDayPos {
     public:
-      WDayPos( int ps = 0 , short dy = 0 ) : mDay(dy), mPos(ps) {}
+      explicit WDayPos( int ps = 0 , short dy = 0 ) : mDay(dy), mPos(ps) {}
       short day() const { return mDay; }
       int pos() const { return mPos; }
       void setDay( short dy ) { mDay = dy; }
--- trunk/KDE/kdepimlibs/kcal/resourcecachedconfig.h #628934:628935
@@ -38,9 +38,9 @@
 */
 class KCAL_EXPORT ResourceCachedReloadConfig : public QWidget
 {
-    Q_OBJECT
+  Q_OBJECT
   public:
-    ResourceCachedReloadConfig( QWidget *parent = 0, const char *name = 0 );
+    explicit ResourceCachedReloadConfig( QWidget *parent = 0, const char *name = 0 );
 
   public slots:
     void loadSettings( ResourceCached *resource );
--- trunk/KDE/kdepimlibs/kcal/resourcelocaldirconfig.h #628934:628935
@@ -45,7 +45,7 @@
 {
     Q_OBJECT
   public:
-    ResourceLocalDirConfig( QWidget *parent = 0, const char *name = 0 );
+    explicit ResourceLocalDirConfig( QWidget *parent = 0, const char *name = 0 );
 
   public slots:
     virtual void loadSettings( KRES::Resource *resource);
[prev in list] [next in list] [prev in thread] [next in thread] 

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