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

List:       kde-commits
Subject:    koffice/libs/flake
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2008-06-30 22:53:16
Message-ID: 1214866396.271634.23272.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 826547 by jaham:

SVN _SILENT make explicit


 M  +1 -1      KoColorBackground.h  
 M  +2 -2      KoGradientBackground.h  
 M  +1 -1      KoImageData.h  


--- trunk/koffice/libs/flake/KoColorBackground.h #826546:826547
@@ -33,7 +33,7 @@
     KoColorBackground();
 
     /// Creates background from given color and style
-    KoColorBackground( const QColor &color, Qt::BrushStyle style = Qt::SolidPattern );
+    explicit KoColorBackground( const QColor &color, Qt::BrushStyle style = Qt::SolidPattern );
 
     virtual ~KoColorBackground();
 
--- trunk/koffice/libs/flake/KoGradientBackground.h #826546:826547
@@ -34,13 +34,13 @@
      * Creates new gradient background from given gradient.
      * The background takes ownership of the given gradient.
      */
-    KoGradientBackground( QGradient * gradient, const QMatrix &matrix = QMatrix() );
+    explicit KoGradientBackground( QGradient * gradient, const QMatrix &matrix = QMatrix() );
 
     /**
      * Create new gradient background from the given gradient.
      * A clone of the given gradient is used.
      */
-    KoGradientBackground( const QGradient & gradient, const QMatrix &matrix = QMatrix() );
+    explicit KoGradientBackground( const QGradient & gradient, const QMatrix &matrix = QMatrix() );
 
     /// Destroys the background
     virtual ~KoGradientBackground();
--- trunk/koffice/libs/flake/KoImageData.h #826546:826547
@@ -71,7 +71,7 @@
      * @param collection the image collection which will do the loading of the image data for us.
      * @param href the url of the image in the store.
      */
-    KoImageData(KoImageCollection *collection, QString href="");
+    explicit KoImageData(KoImageCollection *collection, QString href="");
 
     /**
      * copy constructor using ref-counting.
[prev in list] [next in list] [prev in thread] [next in thread] 

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