remove some more dead code due to c-n-p from DesktopToolBox

svn path=/trunk/KDE/kdelibs/; revision=886220
This commit is contained in:
Aaron J. Seigo 2008-11-18 20:47:04 +00:00
parent 2eb6b3ed9c
commit c027fb3886
2 changed files with 0 additions and 12 deletions

View File

@ -59,8 +59,6 @@ PanelToolBox::PanelToolBox(Containment *parent)
: ToolBox(parent),
d(new PanelToolBoxPrivate)
{
connect(Plasma::Animator::self(), SIGNAL(movementFinished(QGraphicsItem*)),
this, SLOT(toolMoved(QGraphicsItem*)));
connect(this, SIGNAL(toggled()), this, SLOT(toggle()));
setZValue(10000000);
@ -288,15 +286,6 @@ void PanelToolBox::animate(qreal progress)
update();
}
void PanelToolBox::toolMoved(QGraphicsItem *item)
{
//kDebug() << "geometry is now " << static_cast<Plasma::Widget*>(item)->geometry();
if (!showing() &&
QGraphicsItem::children().indexOf(static_cast<Plasma::Applet*>(item)) != -1) {
item->hide();
}
}
void PanelToolBox::toggle()
{
d->toggled = !d->toggled;

View File

@ -58,7 +58,6 @@ protected:
protected slots:
void animate(qreal progress);
void toolMoved(QGraphicsItem*);
void toggle();
void assignColors();