From 87cbad5565a69afee1edb1dc3ce6fda76e8bdf9c Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 18 Feb 2013 17:41:34 +0100 Subject: [PATCH] get rif of showDropZone --- src/plasma/containment.cpp | 6 ------ src/plasma/containment.h | 10 ---------- 2 files changed, 16 deletions(-) diff --git a/src/plasma/containment.cpp b/src/plasma/containment.cpp index 2cba9ed9f..b0c31fb48 100644 --- a/src/plasma/containment.cpp +++ b/src/plasma/containment.cpp @@ -374,12 +374,6 @@ Corona *Containment::corona() const return qobject_cast(parent()); } -void Containment::showDropZone(const QPoint pos) -{ - Q_UNUSED(pos) - //Base implementation does nothing, don't put code here -} - void Containment::setFormFactor(FormFactor formFactor) { if (d->formFactor == formFactor) { diff --git a/src/plasma/containment.h b/src/plasma/containment.h index 55f51e125..dcebd7aa7 100644 --- a/src/plasma/containment.h +++ b/src/plasma/containment.h @@ -322,16 +322,6 @@ class PLASMA_EXPORT Containment : public Applet */ QString activity() const; - /** - * Shows a visual clue for drag and drop - * The default implementation does nothing, - * reimplement in containments that need it - * - * @param pos point where to show the drop target; if an invalid point is passed in - * the drop zone should not be shown - */ - virtual void showDropZone(const QPoint pos); - /** * Sets a containmentactions plugin. *