+Disable old medianotifier autostart, it now has to be loaded explicitely to be used.

+Add new applet solidnotifier wich will in future show new devices.I put it directly here because it was a 
default applet wich will be loaded on start. Send me email if problem.
+Modify solidnotifierengine in order to connect it with solid.Just connect signal, no filter and so
+Problem in solidnotifier applet->don't find the solidnotifier engine.See it later.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684582
This commit is contained in:
Alexis Ménard 2007-07-06 23:54:56 +00:00
parent 3d4b57b118
commit 44bf51c596

View File

@ -217,7 +217,7 @@ void Phase::animateItem(QGraphicsItem* item, Animation animation)
void Phase::moveItem(QGraphicsItem* item, Movement movement, QPoint destination)
{
kDebug()<<k_funcinfo<<endl;
//kDebug()<<k_funcinfo<<endl;
QMap<QGraphicsItem*, MovementState*>::iterator it = d->movingItems.find(item);
if (it != d->movingItems.end()) {
delete it.value();
@ -358,7 +358,7 @@ void Phase::timerEvent(QTimerEvent *event)
elapsed = d->time.elapsed();
}
d->time.restart();
kDebug() << "timeEvent, elapsed time: " << elapsed << endl;
//kDebug() << "timeEvent, elapsed time: " << elapsed << endl;
foreach (AnimationState* state, d->animatedItems) {
if (state->currentInterval <= elapsed) {
@ -394,7 +394,7 @@ void Phase::timerEvent(QTimerEvent *event)
qreal progress = state->frames;
progress = state->currentFrame / progress;
progress = qMin(1.0, qMax(0.0, progress));
kDebug()<<progress<<endl;
//kDebug()<<progress<<endl;
d->performMovement(progress, state);
state->currentInterval = state->interval;
animationsRemain = true;