hide non qml accessible internal member functions from QML docs

This commit is contained in:
David Edmundson 2014-08-13 00:57:42 +02:00
parent a2c04745f1
commit 9f18d8c9e1
4 changed files with 15 additions and 1 deletions

View File

@ -44,6 +44,7 @@ class ColorScope : public QQuickItem
Q_PROPERTY(QColor backgroundColor READ backgroundColor NOTIFY colorsChanged) Q_PROPERTY(QColor backgroundColor READ backgroundColor NOTIFY colorsChanged)
public: public:
/// @cond INTERNAL_DOCS
ColorScope(QQuickItem *parent = 0); ColorScope(QQuickItem *parent = 0);
~ColorScope(); ~ColorScope();
@ -57,6 +58,8 @@ public:
////NEEDED BY QML TO CREATE ATTACHED PROPERTIES ////NEEDED BY QML TO CREATE ATTACHED PROPERTIES
static ColorScope *qmlAttachedProperties(QObject *object); static ColorScope *qmlAttachedProperties(QObject *object);
/// @endcond
Q_SIGNALS: Q_SIGNALS:
void colorGroupChanged(); void colorGroupChanged();
void colorsChanged(); void colorsChanged();

View File

@ -65,6 +65,8 @@ class SvgItem : public QQuickItem
Q_PROPERTY(bool smooth READ smooth WRITE setSmooth NOTIFY smoothChanged) Q_PROPERTY(bool smooth READ smooth WRITE setSmooth NOTIFY smoothChanged)
public: public:
/// @cond INTERNAL_DOCS
SvgItem(QQuickItem *parent = 0); SvgItem(QQuickItem *parent = 0);
~SvgItem(); ~SvgItem();
@ -80,6 +82,7 @@ public:
QSizeF naturalSize() const; QSizeF naturalSize() const;
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData); QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData);
/// @endcond
Q_SIGNALS: Q_SIGNALS:
void elementIdChanged(); void elementIdChanged();
@ -88,8 +91,10 @@ Q_SIGNALS:
void smoothChanged(); void smoothChanged();
protected Q_SLOTS: protected Q_SLOTS:
/// @cond INTERNAL_DOCS
void updateNeeded(); void updateNeeded();
void updateDevicePixelRatio(); void updateDevicePixelRatio();
/// @endcond
private: private:
QWeakPointer<Plasma::Svg> m_svg; QWeakPointer<Plasma::Svg> m_svg;

View File

@ -117,6 +117,7 @@ class ToolTip : public QQuickItem
Q_PROPERTY(bool interactive MEMBER m_interactive WRITE setInteractive NOTIFY interactiveChanged) Q_PROPERTY(bool interactive MEMBER m_interactive WRITE setInteractive NOTIFY interactiveChanged)
public: public:
/// @cond INTERNAL_DOCS
ToolTip(QQuickItem *parent = 0); ToolTip(QQuickItem *parent = 0);
~ToolTip(); ~ToolTip();
@ -146,6 +147,7 @@ public:
void setActive(bool active); void setActive(bool active);
void setInteractive(bool interactive); void setInteractive(bool interactive);
/// @endcond
public Q_SLOTS: public Q_SLOTS:
/** /**
@ -154,11 +156,13 @@ public Q_SLOTS:
void hideToolTip(); void hideToolTip();
protected: protected:
/// @cond INTERNAL_DOCS
bool childMouseEventFilter(QQuickItem *item, QEvent *event); bool childMouseEventFilter(QQuickItem *item, QEvent *event);
void hoverEnterEvent(QHoverEvent *event); void hoverEnterEvent(QHoverEvent *event);
void hoverLeaveEvent(QHoverEvent *event); void hoverLeaveEvent(QHoverEvent *event);
ToolTipDialog *tooltipDialogInstance(); ToolTipDialog *tooltipDialogInstance();
/// @endcond
Q_SIGNALS: Q_SIGNALS:
void mainItemChanged(); void mainItemChanged();

View File

@ -28,7 +28,6 @@
class QQuickItem; class QQuickItem;
/** /**
* @class Units * @class Units
* @short Expose sizes to QML * @short Expose sizes to QML
@ -101,6 +100,8 @@ class Units : public QObject
Q_PROPERTY(int shortDuration READ shortDuration NOTIFY durationChanged) Q_PROPERTY(int shortDuration READ shortDuration NOTIFY durationChanged)
public: public:
/// @cond INTERNAL_DOCS
Units(QObject *parent = 0); Units(QObject *parent = 0);
~Units(); ~Units();
@ -144,6 +145,7 @@ public:
* @since 5.0 * @since 5.0
*/ */
int shortDuration() const; int shortDuration() const;
/// @endcond
Q_SIGNALS: Q_SIGNALS:
void devicePixelRatioChanged(); void devicePixelRatioChanged();