From adde5d32d1400ac00f989535e812fac75cec2ec1 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Sat, 28 May 2011 00:42:22 +0200 Subject: [PATCH] remove deprecaed toolBoxItem() --- containment.cpp | 7 ------- containment.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/containment.cpp b/containment.cpp index 6d4138920..81d253182 100644 --- a/containment.cpp +++ b/containment.cpp @@ -1599,13 +1599,6 @@ void ContainmentPrivate::mimeTypeRetrieved(KIO::Job *job, const QString &mimeTyp #endif // PLASMA_NO_KIO } -#ifndef KDE_NO_DEPRECATED -const QGraphicsItem *Containment::toolBoxItem() const -{ - return d->toolBox.data(); -} -#endif - void Containment::setToolBox(AbstractToolBox *toolBox) { if (d->toolBox.data()) { diff --git a/containment.h b/containment.h index 7f4eff098..9be0533a9 100644 --- a/containment.h +++ b/containment.h @@ -582,13 +582,6 @@ Q_SIGNALS: */ void resizeEvent(QGraphicsSceneResizeEvent *event); - /** - * @returns the toolbox associated with this containment, or a null pointer if none - */ -#ifndef KDE_NO_DEPRECATED - KDE_DEPRECATED const QGraphicsItem *toolBoxItem() const; -#endif - /** * Sets a custom ToolBox * if there was an old one it will be deleted