summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2015-08-04 12:20:30 (GMT)
committerMontel Laurent <montel@kde.org>2015-08-04 12:20:30 (GMT)
commit3102cd86657172bea61486bfa7a50fd361d1f0c0 (patch)
tree5ac3a2c3bb55738c5674ff277356690978a8a2c4
parent2d21f8a6b5bfcded99c9af273d1de2df7568225a (diff)
Add explicit
-rw-r--r--active/components/documentitem.h2
-rw-r--r--active/components/pageitem.h2
-rw-r--r--active/components/thumbnailitem.h2
-rw-r--r--conf/dlgaccessibility.h2
-rw-r--r--conf/dlgannotations.h2
-rw-r--r--conf/dlgdebug.h2
-rw-r--r--conf/dlgeditor.h2
-rw-r--r--conf/dlggeneral.h2
-rw-r--r--conf/dlgperformance.h2
-rw-r--r--conf/dlgpresentation.h2
-rw-r--r--conf/widgetannottools.h2
11 files changed, 11 insertions, 11 deletions
diff --git a/active/components/documentitem.h b/active/components/documentitem.h
index 6bef385..000cbb5 100644
--- a/active/components/documentitem.h
+++ b/active/components/documentitem.h
@@ -95,7 +95,7 @@ class DocumentItem : public QObject
public:
- DocumentItem(QObject *parent=0);
+ explicit DocumentItem(QObject *parent=0);
~DocumentItem();
void setPath(const QString &path);
diff --git a/active/components/pageitem.h b/active/components/pageitem.h
index 8bb5820..58a1d94 100644
--- a/active/components/pageitem.h
+++ b/active/components/pageitem.h
@@ -82,7 +82,7 @@ class PageItem : public QQuickPaintedItem, public Okular::View
public:
- PageItem(QQuickItem *parent=0);
+ explicit PageItem(QQuickItem *parent=0);
~PageItem();
void setFlickable(QQuickItem *flickable);
diff --git a/active/components/thumbnailitem.h b/active/components/thumbnailitem.h
index 6dd24aa..c59182a 100644
--- a/active/components/thumbnailitem.h
+++ b/active/components/thumbnailitem.h
@@ -28,7 +28,7 @@ class ThumbnailItem : public PageItem
public:
- ThumbnailItem(QQuickItem *parent=0);
+ explicit ThumbnailItem(QQuickItem *parent=0);
~ThumbnailItem();
};
diff --git a/conf/dlgaccessibility.h b/conf/dlgaccessibility.h
index a6cf60f..158022d 100644
--- a/conf/dlgaccessibility.h
+++ b/conf/dlgaccessibility.h
@@ -20,7 +20,7 @@ class DlgAccessibility : public QWidget
Q_OBJECT
public:
- DlgAccessibility( QWidget * parent = 0 );
+ explicit DlgAccessibility( QWidget * parent = 0 );
~DlgAccessibility();
private slots:
diff --git a/conf/dlgannotations.h b/conf/dlgannotations.h
index bdc1399..193bcbf 100644
--- a/conf/dlgannotations.h
+++ b/conf/dlgannotations.h
@@ -16,7 +16,7 @@
class DlgAnnotations : public QWidget
{
public:
- DlgAnnotations( QWidget * parent = 0 );
+ explicit DlgAnnotations( QWidget * parent = 0 );
};
#endif
diff --git a/conf/dlgdebug.h b/conf/dlgdebug.h
index 43d87d0..76c5831 100644
--- a/conf/dlgdebug.h
+++ b/conf/dlgdebug.h
@@ -15,7 +15,7 @@
class DlgDebug : public QWidget
{
public:
- DlgDebug( QWidget * parent = 0 );
+ explicit DlgDebug( QWidget * parent = 0 );
};
#endif
diff --git a/conf/dlgeditor.h b/conf/dlgeditor.h
index a639fbb..21046b8 100644
--- a/conf/dlgeditor.h
+++ b/conf/dlgeditor.h
@@ -20,7 +20,7 @@ class DlgEditor : public QWidget
Q_OBJECT
public:
- DlgEditor( QWidget * parent = 0 );
+ explicit DlgEditor( QWidget * parent = 0 );
virtual ~DlgEditor();
private slots:
diff --git a/conf/dlggeneral.h b/conf/dlggeneral.h
index e1b42c1..71628ce 100644
--- a/conf/dlggeneral.h
+++ b/conf/dlggeneral.h
@@ -19,7 +19,7 @@ class Ui_DlgGeneralBase;
class DlgGeneral : public QWidget
{
public:
- DlgGeneral( QWidget * parent, Okular::EmbedMode embedMode );
+ explicit DlgGeneral( QWidget * parent, Okular::EmbedMode embedMode );
virtual ~DlgGeneral();
protected:
diff --git a/conf/dlgperformance.h b/conf/dlgperformance.h
index 639e3ef..0340344 100644
--- a/conf/dlgperformance.h
+++ b/conf/dlgperformance.h
@@ -19,7 +19,7 @@ class DlgPerformance : public QWidget
Q_OBJECT
public:
- DlgPerformance( QWidget * parent = 0 );
+ explicit DlgPerformance( QWidget * parent = 0 );
virtual ~DlgPerformance();
protected slots:
diff --git a/conf/dlgpresentation.h b/conf/dlgpresentation.h
index 3d6764b..5c68873 100644
--- a/conf/dlgpresentation.h
+++ b/conf/dlgpresentation.h
@@ -19,7 +19,7 @@ class DlgPresentation : public QWidget
Q_OBJECT
public:
- DlgPresentation( QWidget * parent = 0 );
+ explicit DlgPresentation( QWidget * parent = 0 );
virtual ~DlgPresentation();
protected slots:
diff --git a/conf/widgetannottools.h b/conf/widgetannottools.h
index 53728be..c1cdbc7 100644
--- a/conf/widgetannottools.h
+++ b/conf/widgetannottools.h
@@ -35,7 +35,7 @@ class WidgetAnnotTools : public QWidget
Q_PROPERTY( QStringList tools READ tools WRITE setTools NOTIFY changed USER true )
public:
- WidgetAnnotTools( QWidget * parent = 0 );
+ explicit WidgetAnnotTools( QWidget * parent = 0 );
~WidgetAnnotTools();
QStringList tools() const;