diff --git a/extenders/extender.cpp b/extenders/extender.cpp index e36419f34..dd51d7cff 100644 --- a/extenders/extender.cpp +++ b/extenders/extender.cpp @@ -649,7 +649,7 @@ void ExtenderPrivate::addExtenderItem(ExtenderItem *item, const QPointF &pos) return; } - QObject::connect(item, SIGNAL(destroyed(ExtenderItem*)), q, SLOT(extenderItemDestroyed(ExtenderItem*))); + QObject::connect(item, SIGNAL(destroyed(Plasma::ExtenderItem*)), q, SLOT(extenderItemDestroyed(Plasma::ExtenderItem*))); attachedExtenderItems.append(item); q->itemHoverLeaveEvent(item); pendingItems[item] = pos; @@ -838,7 +838,7 @@ ExtenderGroup *ExtenderPrivate::findGroup(const QString &name) const return 0; } -void ExtenderPrivate::extenderItemDestroyed(ExtenderItem *item) +void ExtenderPrivate::extenderItemDestroyed(Plasma::ExtenderItem *item) { if (item && attachedExtenderItems.contains(item)) { removeExtenderItem(item); diff --git a/extenders/extender.h b/extenders/extender.h index 74f89d2f6..5e73f8a16 100644 --- a/extenders/extender.h +++ b/extenders/extender.h @@ -304,7 +304,7 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget ExtenderPrivate *const d; Q_PRIVATE_SLOT(d, void delayItemAddedEvent()) - Q_PRIVATE_SLOT(d, void extenderItemDestroyed(ExtenderItem *item)) + Q_PRIVATE_SLOT(d, void extenderItemDestroyed(Plasma::ExtenderItem *item)) Q_PRIVATE_SLOT(d, void viewportGeometryChanged(const QRectF &)) friend class ExtenderPrivate; diff --git a/extenders/extenderitem.h b/extenders/extenderitem.h index 30d1c94e9..d1833ce1c 100644 --- a/extenders/extenderitem.h +++ b/extenders/extenderitem.h @@ -287,7 +287,7 @@ class PLASMA_EXPORT ExtenderItem : public QGraphicsWidget * Emitted when the extender item is destroyed * @since 4.4.1 */ - void destroyed(ExtenderItem *item); + void destroyed(Plasma::ExtenderItem *item); protected: void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);