remove some more dead code due to c-n-p from DesktopToolBox
svn path=/trunk/KDE/kdelibs/; revision=886220
This commit is contained in:
parent
2eb6b3ed9c
commit
c027fb3886
@ -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;
|
||||
|
@ -58,7 +58,6 @@ protected:
|
||||
|
||||
protected slots:
|
||||
void animate(qreal progress);
|
||||
void toolMoved(QGraphicsItem*);
|
||||
void toggle();
|
||||
void assignColors();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user