Adding Q_DISABLE_COPY(Containment) in containment.h or removing Q_DISABLE_COPY(Applet) in applet.h make Plasma build with MSVC. Disabling copy in Containment as suggested by Pino looks safer.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814885
This commit is contained in:
Pau Garcia i Quiles 2008-05-31 16:26:24 +00:00
parent 71c0cee2fa
commit 46eb057d98

View File

@ -394,6 +394,7 @@ class PLASMA_EXPORT Containment : public Applet
void dropEvent(QGraphicsSceneDragDropEvent *event);
private:
Q_DISABLE_COPY(Containment)
Q_PRIVATE_SLOT(d, void appletDestroyed(QObject*))
Q_PRIVATE_SLOT(d, void containmentAppletAnimationComplete(QGraphicsItem *item, Plasma::Animator::Animation anim))
Q_PRIVATE_SLOT(d, void triggerShowAddWidgets())