]> Git trees. - libqmvoc.git/commitdiff
Krazy: make constructors explicit
authorInge Wallin <inge@lysator.liu.se>
Thu, 7 Jun 2007 16:12:32 +0000 (16:12 +0000)
committerInge Wallin <inge@lysator.liu.se>
Thu, 7 Jun 2007 16:12:32 +0000 (16:12 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=672596

extdate/extdatetbl.h
kdeeduui/kdeeduglossary.h

index d1942f93e8cabe433d7407e2e483c8004887aaa6..93aa87553fe473efb47f03db43ce5a3f9aa4d766 100644 (file)
@@ -276,9 +276,9 @@ public:
     /**
      * The constructor.
      */
-    ExtDateTable(QWidget *parent=0,
-              ExtDate date=ExtDate::currentDate(),
-              const char* name=0, Qt::WFlags f=0);
+    explicit ExtDateTable(QWidget *parent=0,
+                          ExtDate date=ExtDate::currentDate(),
+                          const char* name=0, Qt::WFlags f=0);
 
     /**
      * The destructor.
index eea0a5e7d31c33bb43dfa942397e3f7cc856ad33..53ca4d1c1c76d9c02d7238d8d3458dc68185f5d2 100644 (file)
@@ -35,7 +35,7 @@ class KDEEDUUI_EXPORT Glossary
                 * @param url the path of the file to load
                 * @param path the path of the pictures
                 */
-               Glossary( const KUrl& url, const QString& path = 0 );
+               explicit Glossary( const KUrl& url, const QString& path = 0 );
 
                /**
                 * Creates a new empty glossary