[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Sat Apr 10 15:51:06 CEST 2010
SVN commit 1113322 by jmhoffmann:
Declare constructors which accept one argument as explicit.
M +1 -1 MarbleCacheSettingsWidget.h
M +1 -1 MarblePhysics.h
M +1 -1 runners/MarbleAbstractRunner.h
--- trunk/KDE/kdeedu/marble/src/lib/MarbleCacheSettingsWidget.h #1113321:1113322
@@ -38,7 +38,7 @@
Q_OBJECT
public:
- MarbleCacheSettingsWidget( QWidget *parent = 0 );
+ explicit MarbleCacheSettingsWidget( QWidget *parent = 0 );
Q_SIGNALS:
--- trunk/KDE/kdeedu/marble/src/lib/MarblePhysics.h #1113321:1113322
@@ -31,7 +31,7 @@
* @brief Constructor
* parent Pointer to the parent object
*/
- MarblePhysics( QObject * parent = 0);
+ explicit MarblePhysics( QObject * parent = 0);
/**
* @brief Destructor
--- trunk/KDE/kdeedu/marble/src/lib/runners/MarbleAbstractRunner.h #1113321:1113322
@@ -47,7 +47,7 @@
* Constructor; note that @p parent should be 0 in order to move the
* thread object into its own thread.
*/
- MarbleAbstractRunner(QObject *parent = 0);
+ explicit MarbleAbstractRunner(QObject *parent = 0);
/**
* Destructor.
*/
More information about the Marble-commits
mailing list