use the Plasma namespace consistently in the signals

svn path=/trunk/KDE/kdelibs/; revision=1185863
This commit is contained in:
Aaron J. Seigo 2010-10-14 12:25:20 +00:00
parent f57dd2eb1c
commit 1c77587903
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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);