In libs/ add some more explicit keywords where useful

parent 0b40473a
...@@ -41,7 +41,7 @@ public: ...@@ -41,7 +41,7 @@ public:
/*! Not db-aware ctor. if \a owner is true, the field \a will be owned by this column, /*! Not db-aware ctor. if \a owner is true, the field \a will be owned by this column,
so you shouldn't care about destroying this field. */ so you shouldn't care about destroying this field. */
TableViewColumn(Field& f, bool owner = false); explicit TableViewColumn(Field& f, bool owner = false);
/*! Not db-aware, convenience ctor, like above. The field is created using specified parameters that are /*! Not db-aware, convenience ctor, like above. The field is created using specified parameters that are
equal to these accepted by KexiDB::Field ctor. The column will be the owner equal to these accepted by KexiDB::Field ctor. The column will be the owner
......
...@@ -45,7 +45,7 @@ class CALLIGRADB_EXPORT Validator : public QValidator ...@@ -45,7 +45,7 @@ class CALLIGRADB_EXPORT Validator : public QValidator
public: public:
enum Result { Error = 0, Ok = 1, Warning = 2 }; enum Result { Error = 0, Ok = 1, Warning = 2 };
Validator(QObject * parent = 0); explicit Validator(QObject * parent = 0);
virtual ~Validator(); virtual ~Validator();
......
...@@ -31,7 +31,7 @@ class KoPAViewBase; ...@@ -31,7 +31,7 @@ class KoPAViewBase;
class KOPAGEAPP_EXPORT KoPABackgroundFillWidget : public KoFillConfigWidget class KOPAGEAPP_EXPORT KoPABackgroundFillWidget : public KoFillConfigWidget
{ {
public: public:
KoPABackgroundFillWidget(QWidget *parent); explicit KoPABackgroundFillWidget(QWidget *parent);
void setView(KoPAViewBase *view); void setView(KoPAViewBase *view);
......
...@@ -57,7 +57,7 @@ public: ...@@ -57,7 +57,7 @@ public:
* *
* @param nativeMimeType: the nativeMimeType of the calligra application * @param nativeMimeType: the nativeMimeType of the calligra application
*/ */
KoApplication(const QByteArray &nativeMimeType); explicit KoApplication(const QByteArray &nativeMimeType);
/** /**
* Destructor. * Destructor.
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
class KoPrintingDialogPrivate { class KoPrintingDialogPrivate {
public: public:
KoPrintingDialogPrivate(KoPrintingDialog *dia) explicit KoPrintingDialogPrivate(KoPrintingDialog *dia)
: parent(dia), : parent(dia),
stop(true), stop(true),
shapeManager(0), shapeManager(0),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment