Add more explicit
This commit is contained in:
parent
7f0c023d3f
commit
d14d50a668
@ -87,7 +87,7 @@ class ColorScope : public QQuickItem
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
/// @cond INTERNAL_DOCS
|
/// @cond INTERNAL_DOCS
|
||||||
explicit ColorScope(QQuickItem *parent = nullptr, QObject *parentObject = 0);
|
explicit ColorScope(QQuickItem *parent = nullptr, QObject *parentObject = nullptr);
|
||||||
~ColorScope();
|
~ColorScope();
|
||||||
|
|
||||||
void setColorGroup(Plasma::Theme::ColorGroup group);
|
void setColorGroup(Plasma::Theme::ColorGroup group);
|
||||||
|
@ -90,7 +90,7 @@ class SortFilterModel : public QSortFilterProxyModel
|
|||||||
friend class DataModel;
|
friend class DataModel;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SortFilterModel(QObject *parent = nullptr);
|
explicit SortFilterModel(QObject *parent = nullptr);
|
||||||
~SortFilterModel();
|
~SortFilterModel();
|
||||||
|
|
||||||
void setModel(QAbstractItemModel *source);
|
void setModel(QAbstractItemModel *source);
|
||||||
|
@ -56,7 +56,7 @@ public:
|
|||||||
|
|
||||||
typedef QMap<QString, QVariant> Data;
|
typedef QMap<QString, QVariant> Data;
|
||||||
|
|
||||||
DataSource(QObject *parent = nullptr);
|
explicit DataSource(QObject *parent = nullptr);
|
||||||
|
|
||||||
void classBegin() Q_DECL_OVERRIDE;
|
void classBegin() Q_DECL_OVERRIDE;
|
||||||
void componentComplete() Q_DECL_OVERRIDE;
|
void componentComplete() Q_DECL_OVERRIDE;
|
||||||
|
@ -68,7 +68,7 @@ class SvgItem : public QQuickItem
|
|||||||
public:
|
public:
|
||||||
/// @cond INTERNAL_DOCS
|
/// @cond INTERNAL_DOCS
|
||||||
|
|
||||||
SvgItem(QQuickItem *parent = nullptr);
|
explicit SvgItem(QQuickItem *parent = nullptr);
|
||||||
~SvgItem();
|
~SvgItem();
|
||||||
|
|
||||||
void setElementId(const QString &elementID);
|
void setElementId(const QString &elementID);
|
||||||
|
@ -48,7 +48,7 @@ class FallbackComponent : public QObject
|
|||||||
Q_PROPERTY(QStringList candidates READ candidates WRITE setCandidates NOTIFY candidatesChanged)
|
Q_PROPERTY(QStringList candidates READ candidates WRITE setCandidates NOTIFY candidatesChanged)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FallbackComponent(QObject *parent = nullptr);
|
explicit FallbackComponent(QObject *parent = nullptr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method must be called after the the basePath and the candidates property
|
* This method must be called after the the basePath and the candidates property
|
||||||
|
@ -34,7 +34,7 @@ class EffectWatcher: public QObject, public QAbstractNativeEventFilter
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EffectWatcher(const QString &property, QObject *parent = nullptr);
|
explicit EffectWatcher(const QString &property, QObject *parent = nullptr);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool isEffectActive() const;
|
bool isEffectActive() const;
|
||||||
|
@ -33,7 +33,7 @@ class StorageThread : public QThread
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
StorageThread(QObject *parent = nullptr);
|
explicit StorageThread(QObject *parent = nullptr);
|
||||||
~StorageThread();
|
~StorageThread();
|
||||||
|
|
||||||
void run() Q_DECL_OVERRIDE;
|
void run() Q_DECL_OVERRIDE;
|
||||||
|
@ -37,7 +37,7 @@ class SharedSvgRenderer : public QSvgRenderer, public QSharedData
|
|||||||
public:
|
public:
|
||||||
typedef QExplicitlySharedDataPointer<SharedSvgRenderer> Ptr;
|
typedef QExplicitlySharedDataPointer<SharedSvgRenderer> Ptr;
|
||||||
|
|
||||||
SharedSvgRenderer(QObject *parent = nullptr);
|
explicit SharedSvgRenderer(QObject *parent = nullptr);
|
||||||
SharedSvgRenderer(
|
SharedSvgRenderer(
|
||||||
const QString &filename,
|
const QString &filename,
|
||||||
const QString &styleSheet,
|
const QString &styleSheet,
|
||||||
|
@ -63,7 +63,7 @@ class ThemePrivate : public QObject
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ThemePrivate(QObject *parent = nullptr);
|
explicit ThemePrivate(QObject *parent = nullptr);
|
||||||
~ThemePrivate();
|
~ThemePrivate();
|
||||||
|
|
||||||
KConfigGroup &config();
|
KConfigGroup &config();
|
||||||
|
@ -60,7 +60,7 @@ class PLASMA_EXPORT TimeTracker : QObject
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
TimeTracker(QObject* applet);
|
explicit TimeTracker(QObject* applet);
|
||||||
virtual ~TimeTracker();
|
virtual ~TimeTracker();
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
|
@ -51,7 +51,7 @@ class WallpaperInterface : public QQuickItem
|
|||||||
Q_PROPERTY(KDeclarative::ConfigPropertyMap *configuration READ configuration NOTIFY configurationChanged)
|
Q_PROPERTY(KDeclarative::ConfigPropertyMap *configuration READ configuration NOTIFY configurationChanged)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
WallpaperInterface(ContainmentInterface *parent = nullptr);
|
explicit WallpaperInterface(ContainmentInterface *parent = nullptr);
|
||||||
~WallpaperInterface();
|
~WallpaperInterface();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user