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;
|
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);
|
attachedExtenderItems.append(item);
|
||||||
q->itemHoverLeaveEvent(item);
|
q->itemHoverLeaveEvent(item);
|
||||||
pendingItems[item] = pos;
|
pendingItems[item] = pos;
|
||||||
@ -838,7 +838,7 @@ ExtenderGroup *ExtenderPrivate::findGroup(const QString &name) const
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExtenderPrivate::extenderItemDestroyed(ExtenderItem *item)
|
void ExtenderPrivate::extenderItemDestroyed(Plasma::ExtenderItem *item)
|
||||||
{
|
{
|
||||||
if (item && attachedExtenderItems.contains(item)) {
|
if (item && attachedExtenderItems.contains(item)) {
|
||||||
removeExtenderItem(item);
|
removeExtenderItem(item);
|
||||||
|
@ -304,7 +304,7 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget
|
|||||||
ExtenderPrivate *const d;
|
ExtenderPrivate *const d;
|
||||||
|
|
||||||
Q_PRIVATE_SLOT(d, void delayItemAddedEvent())
|
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 &))
|
Q_PRIVATE_SLOT(d, void viewportGeometryChanged(const QRectF &))
|
||||||
|
|
||||||
friend class ExtenderPrivate;
|
friend class ExtenderPrivate;
|
||||||
|
@ -287,7 +287,7 @@ class PLASMA_EXPORT ExtenderItem : public QGraphicsWidget
|
|||||||
* Emitted when the extender item is destroyed
|
* Emitted when the extender item is destroyed
|
||||||
* @since 4.4.1
|
* @since 4.4.1
|
||||||
*/
|
*/
|
||||||
void destroyed(ExtenderItem *item);
|
void destroyed(Plasma::ExtenderItem *item);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user