Commit 01c7ae1b authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

No const signals

parent fbc1ff54
......@@ -64,7 +64,7 @@ void DragHelper::startDrag(QQuickItem *item, QMimeData *mimeData, const QIcon &i
Q_ARG(QQuickItem*, item), Q_ARG(QMimeData*, mimeData), Q_ARG(QIcon, icon));
}
void DragHelper::doDrag(QQuickItem *item, QMimeData *mimeData, const QIcon &icon) const
void DragHelper::doDrag(QQuickItem *item, QMimeData *mimeData, const QIcon &icon)
{
QDrag *drag = new QDrag(item);
drag->setMimeData(mimeData);
......
......@@ -46,12 +46,12 @@ class MILOU_EXPORT DragHelper : public QObject
Q_INVOKABLE void startDrag(QQuickItem* item, QMimeData *mimeData, const QIcon &icon = QIcon());
Q_SIGNALS:
void dragIconSizeChanged() const;
void dropped() const;
void dragIconSizeChanged();
void dropped();
private:
int m_dragIconSize;
Q_INVOKABLE void doDrag(QQuickItem* item, QMimeData *mimeData, const QIcon &icon = QIcon()) const;
Q_INVOKABLE void doDrag(QQuickItem* item, QMimeData *mimeData, const QIcon &icon = QIcon());
};
}
......
Supports Markdown
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