use the Plasma namespace consistently in the signals
svn path=/trunk/KDE/kdelibs/; revision=1185863
This commit is contained in:
parent
f57dd2eb1c
commit
1c77587903
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user