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)
public:
/// @cond INTERNAL_DOCS
ColorScope(QQuickItem *parent = 0);
~ColorScope();
@ -57,6 +58,8 @@ public:
////NEEDED BY QML TO CREATE ATTACHED PROPERTIES
static ColorScope *qmlAttachedProperties(QObject *object);
/// @endcond
Q_SIGNALS:
void colorGroupChanged();
void colorsChanged();

View File

@ -65,6 +65,8 @@ class SvgItem : public QQuickItem
Q_PROPERTY(bool smooth READ smooth WRITE setSmooth NOTIFY smoothChanged)
public:
/// @cond INTERNAL_DOCS
SvgItem(QQuickItem *parent = 0);
~SvgItem();
@ -80,6 +82,7 @@ public:
QSizeF naturalSize() const;
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData);
/// @endcond
Q_SIGNALS:
void elementIdChanged();
@ -88,8 +91,10 @@ Q_SIGNALS:
void smoothChanged();
protected Q_SLOTS:
/// @cond INTERNAL_DOCS
void updateNeeded();
void updateDevicePixelRatio();
/// @endcond
private:
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)
public:
/// @cond INTERNAL_DOCS
ToolTip(QQuickItem *parent = 0);
~ToolTip();
@ -146,6 +147,7 @@ public:
void setActive(bool active);
void setInteractive(bool interactive);
/// @endcond
public Q_SLOTS:
/**
@ -154,11 +156,13 @@ public Q_SLOTS:
void hideToolTip();
protected:
/// @cond INTERNAL_DOCS
bool childMouseEventFilter(QQuickItem *item, QEvent *event);
void hoverEnterEvent(QHoverEvent *event);
void hoverLeaveEvent(QHoverEvent *event);
ToolTipDialog *tooltipDialogInstance();
/// @endcond
Q_SIGNALS:
void mainItemChanged();

View File

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