2009-10-01 18:47:19 +02:00
|
|
|
////////////////////////////////////////////////////////////////////////
|
2009-09-17 18:24:19 +02:00
|
|
|
// kineticscroll.cpp //
|
|
|
|
// //
|
|
|
|
// Copyright(C) 2009 Igor Trindade Oliveira <igor.oliveira@indt.org.br>//
|
|
|
|
// Copyright(C) 2009 Adenilson Cavalcanti <adenilson.silva@idnt.org.br>//
|
|
|
|
// //
|
|
|
|
// This library is free software; you can redistribute it and/or //
|
|
|
|
// modify it under the terms of the GNU Lesser General Public //
|
|
|
|
// License as published by the Free Software Foundation; either //
|
|
|
|
// version 2.1 of the License, or (at your option) any later version. //
|
|
|
|
// //
|
|
|
|
// This library is distributed in the hope that it will be useful, //
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
|
|
// Lesser General Public License for more details. //
|
|
|
|
// //
|
|
|
|
// You should have received a copy of the GNU Lesser General Public //
|
|
|
|
// License along with this library; if not, write to the Free Software //
|
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA //
|
|
|
|
// 02110-1301 USA //
|
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
#include <QtCore/qglobal.h>
|
|
|
|
#include <QtCore/qmetatype.h>
|
2009-10-15 21:11:34 +02:00
|
|
|
#include <QGraphicsScene>
|
2009-09-17 18:24:19 +02:00
|
|
|
#include <QGraphicsSceneMouseEvent>
|
2009-10-13 14:36:48 +02:00
|
|
|
#include <QGraphicsSceneWheelEvent>
|
2009-09-17 18:24:19 +02:00
|
|
|
#include <QTime>
|
|
|
|
#include <QDebug>
|
|
|
|
#include <QGraphicsWidget>
|
2009-09-19 19:07:56 +02:00
|
|
|
#include <QPoint>
|
|
|
|
|
2009-10-08 18:04:56 +02:00
|
|
|
#include <kdebug.h>
|
|
|
|
|
2009-09-17 18:24:19 +02:00
|
|
|
#include "kineticscroll_p.h"
|
|
|
|
|
|
|
|
/* TODO:
|
2009-10-01 18:47:19 +02:00
|
|
|
* - implement horizontal scrolling
|
|
|
|
* - implement bouncing animation (not sure if it adds in usability
|
|
|
|
* in plasma-netbook).
|
|
|
|
* - Merge QPropertyAnimation code when KDE migrates to Qt 4.6
|
|
|
|
* (http://repo.or.cz/w/kineticlist.git)
|
2009-09-17 18:24:19 +02:00
|
|
|
* - swap the 'magic numbers' for consts
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Plasma
|
|
|
|
{
|
|
|
|
|
|
|
|
class KineticScrollingPrivate
|
|
|
|
{
|
|
|
|
public:
|
2009-10-08 18:04:56 +02:00
|
|
|
enum Direction {
|
|
|
|
None,
|
|
|
|
Up,
|
|
|
|
Down,
|
|
|
|
Left,
|
|
|
|
Right
|
|
|
|
};
|
|
|
|
|
|
|
|
KineticScrollingPrivate()
|
|
|
|
: timerID(0),
|
|
|
|
overshoot(20),
|
|
|
|
bounceFlag(0),
|
|
|
|
hasOvershoot(true),
|
2009-10-15 21:11:34 +02:00
|
|
|
parent(0),
|
|
|
|
friction(0.8),
|
|
|
|
forwardingEvent(false)
|
2009-10-01 18:47:19 +02:00
|
|
|
{
|
|
|
|
maximum = 100 + overshoot;
|
|
|
|
minimum = -overshoot;
|
|
|
|
}
|
2009-09-17 18:24:19 +02:00
|
|
|
|
|
|
|
void count()
|
|
|
|
{
|
|
|
|
t = QTime::currentTime();
|
|
|
|
}
|
|
|
|
|
2009-10-01 18:47:19 +02:00
|
|
|
void applyFriction()
|
2009-09-17 18:24:19 +02:00
|
|
|
{
|
2009-10-08 18:04:56 +02:00
|
|
|
kinMovement *= friction;
|
|
|
|
}
|
|
|
|
|
|
|
|
void syncViewportRect()
|
|
|
|
{
|
|
|
|
contentsSize = parent->property("contentsSize").toSizeF();
|
|
|
|
viewportGeometry = parent->property("viewportGeometry").toRectF();
|
|
|
|
//TODO: overshoot and friction will have to be independent horizontal and vertical
|
|
|
|
overshoot = 20*(1.0 - viewportGeometry.height()/contentsSize.height());
|
|
|
|
}
|
|
|
|
|
|
|
|
bool canScroll(Direction direction, bool hasOvershoot = false) const
|
|
|
|
{
|
|
|
|
QPointF scrollPosition = -parent->property("scrollPosition").value<QPointF>();
|
2009-10-28 15:19:34 +01:00
|
|
|
int offset = (hasOvershoot?overshoot*2:0);
|
2009-10-08 18:04:56 +02:00
|
|
|
|
|
|
|
switch (direction) {
|
|
|
|
case Up:
|
|
|
|
return (scrollPosition.y() < offset);
|
|
|
|
case Down:
|
|
|
|
return (scrollPosition.y() + contentsSize.height() + offset >= viewportGeometry.bottom());
|
|
|
|
case Left:
|
|
|
|
return (scrollPosition.x() < offset);
|
|
|
|
case Right:
|
|
|
|
return (scrollPosition.x() + contentsSize.width() + offset >= viewportGeometry.right());
|
|
|
|
default:
|
|
|
|
return true;
|
|
|
|
}
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
unsigned int timeDelta;
|
|
|
|
qreal scrollVelocity;
|
2009-10-01 22:44:40 +02:00
|
|
|
QPointF kinMovement;
|
2009-09-17 18:24:19 +02:00
|
|
|
|
2009-10-08 18:04:56 +02:00
|
|
|
|
2009-09-19 19:07:56 +02:00
|
|
|
int timerID, overshoot, direction;
|
2009-10-01 22:44:40 +02:00
|
|
|
QPointF cposition;
|
2009-09-17 18:24:19 +02:00
|
|
|
char bounceFlag;
|
2009-09-20 20:21:41 +02:00
|
|
|
bool hasOvershoot;
|
2009-10-15 21:11:34 +02:00
|
|
|
QGraphicsWidget *parent;
|
2009-10-08 18:04:56 +02:00
|
|
|
QRectF viewportGeometry;
|
|
|
|
QSizeF contentsSize;
|
2009-10-01 18:47:19 +02:00
|
|
|
int maximum, minimum;
|
|
|
|
qreal friction;
|
2009-10-15 21:11:34 +02:00
|
|
|
bool forwardingEvent;
|
2009-09-17 18:24:19 +02:00
|
|
|
|
|
|
|
QTime t;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2009-10-20 00:10:25 +02:00
|
|
|
KineticScrolling::KineticScrolling(QGraphicsWidget *parent)
|
|
|
|
: d(new KineticScrollingPrivate)
|
2009-09-17 18:24:19 +02:00
|
|
|
{
|
2009-10-20 00:10:25 +02:00
|
|
|
setWidget(parent);
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
KineticScrolling::~KineticScrolling()
|
|
|
|
{
|
|
|
|
delete d;
|
|
|
|
}
|
|
|
|
|
2009-10-01 22:44:40 +02:00
|
|
|
QPointF KineticScrolling::kinMovement()
|
2009-09-17 18:24:19 +02:00
|
|
|
{
|
|
|
|
return d->kinMovement;
|
|
|
|
}
|
|
|
|
|
2009-10-01 18:47:19 +02:00
|
|
|
void KineticScrolling::duration()
|
2009-09-17 18:24:19 +02:00
|
|
|
{
|
2009-10-02 06:05:21 +02:00
|
|
|
d->timeDelta = d->t.msecsTo(QTime::currentTime());
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void KineticScrolling::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
|
|
|
{
|
2009-10-08 18:04:56 +02:00
|
|
|
d->syncViewportRect();
|
|
|
|
d->cposition = -d->parent->property("scrollPosition").value<QPointF>();
|
2009-10-27 19:04:02 +01:00
|
|
|
|
2009-10-27 20:48:00 +01:00
|
|
|
if (event && d->cposition == QPointF(0, 0) &&
|
2009-10-27 19:04:02 +01:00
|
|
|
d->viewportGeometry.width() + 2 >= d->contentsSize.width() &&
|
|
|
|
d->viewportGeometry.height() + 2 >= d->contentsSize.height()) {
|
|
|
|
event->ignore();
|
|
|
|
}
|
|
|
|
|
2009-09-18 10:56:09 +02:00
|
|
|
doneOvershoot();
|
2009-09-17 18:24:19 +02:00
|
|
|
Q_UNUSED(event);
|
|
|
|
d->count();
|
|
|
|
d->scrollVelocity = 0;
|
2009-09-19 19:07:56 +02:00
|
|
|
d->kinMovement = QPoint(0, 0);
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void KineticScrolling::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
|
|
|
{
|
2009-10-03 05:27:52 +02:00
|
|
|
QPointF temp = event->lastPos().toPoint() - event->pos().toPoint();
|
2009-10-08 18:04:56 +02:00
|
|
|
|
2009-09-19 19:07:56 +02:00
|
|
|
if (!temp.isNull()) {
|
2009-09-17 18:24:19 +02:00
|
|
|
d->kinMovement += temp;
|
|
|
|
}
|
|
|
|
/* After */
|
2009-10-08 18:04:56 +02:00
|
|
|
setKineticScrollValue(d->kinMovement);
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void KineticScrolling::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
|
|
|
{
|
2009-10-06 18:58:42 +02:00
|
|
|
Q_UNUSED(event);
|
2009-10-01 18:47:19 +02:00
|
|
|
duration();
|
2009-10-06 18:58:42 +02:00
|
|
|
/* slow down a bit */
|
|
|
|
d->kinMovement /= 4;
|
2009-09-17 18:24:19 +02:00
|
|
|
|
|
|
|
if (d->timeDelta > 600) {
|
2009-10-08 18:04:56 +02:00
|
|
|
if (d->kinMovement.y() > 0) {
|
|
|
|
d->kinMovement.setY(6);
|
|
|
|
} else {
|
|
|
|
d->kinMovement.setY(-6);
|
|
|
|
}
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
2009-10-01 18:47:19 +02:00
|
|
|
d->direction = KineticScrollingPrivate::None;
|
|
|
|
startAnimationTimer(30);
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void KineticScrolling::wheelReleaseEvent(QGraphicsSceneWheelEvent *event)
|
|
|
|
{
|
2009-10-01 18:47:19 +02:00
|
|
|
doneOvershoot();
|
2009-10-08 18:04:56 +02:00
|
|
|
d->syncViewportRect();
|
2009-09-21 20:38:53 +02:00
|
|
|
if (d->direction == KineticScrollingPrivate::None) {
|
|
|
|
mousePressEvent(0);
|
2009-10-01 18:47:19 +02:00
|
|
|
duration();
|
2009-10-08 18:04:56 +02:00
|
|
|
|
2009-10-28 15:19:34 +01:00
|
|
|
int temp = -event->delta()/2;
|
2009-09-17 18:24:19 +02:00
|
|
|
|
2009-10-15 22:46:07 +02:00
|
|
|
if ((event->delta() < 0 && d->canScroll(KineticScrollingPrivate::Down)) ||
|
|
|
|
(event->delta() > 0 && d->canScroll(KineticScrollingPrivate::Up))){
|
|
|
|
d->kinMovement.setY(kinMovement().y() + temp);
|
|
|
|
} else if (!d->canScroll(KineticScrollingPrivate::Down) &&
|
|
|
|
!d->canScroll(KineticScrollingPrivate::Up)) {
|
|
|
|
if ((event->delta() < 0 && d->canScroll(KineticScrollingPrivate::Right)) ||
|
|
|
|
(event->delta() > 0 && d->canScroll(KineticScrollingPrivate::Left))) {
|
|
|
|
d->kinMovement.setX(kinMovement().x() + temp);
|
2009-10-27 21:16:51 +01:00
|
|
|
} else {
|
|
|
|
event->ignore();
|
2009-10-15 22:46:07 +02:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
event->ignore();
|
|
|
|
return;
|
|
|
|
}
|
2009-10-06 18:58:42 +02:00
|
|
|
|
2009-09-21 20:38:53 +02:00
|
|
|
startAnimationTimer(30);
|
|
|
|
}
|
2009-09-17 18:24:19 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void KineticScrolling::startAnimationTimer(int interval)
|
|
|
|
{
|
|
|
|
if (d->timerID) {
|
|
|
|
killTimer(d->timerID);
|
|
|
|
d->timerID = 0;
|
|
|
|
}
|
|
|
|
|
2009-10-08 18:04:56 +02:00
|
|
|
d->syncViewportRect();
|
2009-10-06 18:58:42 +02:00
|
|
|
|
2009-09-17 18:24:19 +02:00
|
|
|
d->timerID = QObject::startTimer(interval);
|
|
|
|
}
|
|
|
|
|
|
|
|
void KineticScrolling::timerEvent(QTimerEvent *event)
|
|
|
|
{
|
|
|
|
Q_UNUSED(event);
|
2009-10-08 18:04:56 +02:00
|
|
|
d->cposition = -d->parent->property("scrollPosition").value<QPointF>();
|
2009-10-01 18:47:19 +02:00
|
|
|
|
2009-09-17 18:24:19 +02:00
|
|
|
if (d->direction == KineticScrollingPrivate::None) {
|
2009-10-08 18:04:56 +02:00
|
|
|
|
|
|
|
if (qAbs(d->kinMovement.y()) < 5.0 &&
|
|
|
|
qAbs(d->kinMovement.x()) < 5.0 ) {
|
|
|
|
|
|
|
|
d->kinMovement = QPoint(0,0);
|
|
|
|
|
|
|
|
if (d->canScroll(KineticScrollingPrivate::Down) && !d->canScroll(KineticScrollingPrivate::Up)) {
|
|
|
|
if (d->cposition.y() > 2) {
|
|
|
|
d->kinMovement.setY(-2);
|
|
|
|
}
|
|
|
|
} else if (d->canScroll(KineticScrollingPrivate::Up) && !d->canScroll(KineticScrollingPrivate::Down)) {
|
|
|
|
if (d->cposition.y() + d->contentsSize.height() < d->viewportGeometry.bottom()) {
|
2009-10-06 18:58:42 +02:00
|
|
|
d->kinMovement.setY(1.0);
|
2009-10-08 18:04:56 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (d->canScroll(KineticScrollingPrivate::Right) && !d->canScroll(KineticScrollingPrivate::Left)) {
|
|
|
|
if (d->cposition.x() > 2) {
|
|
|
|
d->kinMovement.setX(-2);
|
|
|
|
}
|
|
|
|
} else if (d->canScroll(KineticScrollingPrivate::Left) && !d->canScroll(KineticScrollingPrivate::Right)) {
|
|
|
|
if (d->cposition.x() + d->contentsSize.width() < d->viewportGeometry.right()) {
|
|
|
|
d->kinMovement.setX(2);
|
|
|
|
}
|
|
|
|
}
|
2009-10-01 18:47:19 +02:00
|
|
|
|
2009-10-08 18:04:56 +02:00
|
|
|
if (!d->kinMovement.isNull()) {
|
|
|
|
d->parent->setProperty("scrollPosition", -(d->cposition
|
|
|
|
+ d->kinMovement));
|
2009-10-01 18:47:19 +02:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (d->timerID) {
|
2009-10-03 05:27:52 +02:00
|
|
|
killTimer(d->timerID);
|
2009-10-01 18:47:19 +02:00
|
|
|
}
|
|
|
|
|
2009-10-08 18:04:56 +02:00
|
|
|
} else {
|
2009-10-01 18:47:19 +02:00
|
|
|
d->applyFriction();
|
2009-10-08 18:04:56 +02:00
|
|
|
}
|
2009-10-01 18:47:19 +02:00
|
|
|
|
|
|
|
setKineticScrollValue(d->kinMovement);
|
2009-09-17 18:24:19 +02:00
|
|
|
|
|
|
|
} else {
|
2009-10-01 18:47:19 +02:00
|
|
|
/* TODO: call bouncer */
|
2009-09-21 20:38:53 +02:00
|
|
|
}
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
2009-10-01 22:44:40 +02:00
|
|
|
void KineticScrolling::setKineticScrollValue(QPointF value)
|
2009-09-17 18:24:19 +02:00
|
|
|
{
|
2009-10-08 18:04:56 +02:00
|
|
|
if (d->viewportGeometry.isEmpty()) {
|
|
|
|
d->kinMovement = QPoint();
|
2009-10-01 18:47:19 +02:00
|
|
|
return;
|
|
|
|
}
|
2009-09-17 18:24:19 +02:00
|
|
|
|
2009-10-08 18:04:56 +02:00
|
|
|
QPointF scrollPosition = -d->parent->property("scrollPosition").value<QPointF>();
|
2009-09-19 19:07:56 +02:00
|
|
|
|
2009-10-08 18:04:56 +02:00
|
|
|
QPointF movement = d->cposition - value;
|
2009-09-17 18:24:19 +02:00
|
|
|
|
2009-10-21 23:04:03 +02:00
|
|
|
if (movement.x() > d->overshoot*2 ||
|
|
|
|
movement.x() + d->contentsSize.width() < d->viewportGeometry.right() - d->overshoot*2) {
|
2009-10-08 18:04:56 +02:00
|
|
|
movement.setX(scrollPosition.x());
|
|
|
|
}
|
2009-10-21 23:04:03 +02:00
|
|
|
if (movement.y() > d->overshoot*2 ||
|
|
|
|
movement.y() + d->contentsSize.height() < d->viewportGeometry.bottom() - d->overshoot*2) {
|
|
|
|
movement.setY(scrollPosition.y());
|
|
|
|
}
|
2009-10-08 18:04:56 +02:00
|
|
|
d->parent->setProperty("scrollPosition", -movement);
|
|
|
|
|
2009-10-06 18:58:42 +02:00
|
|
|
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void KineticScrolling::bounceTimer()
|
|
|
|
{
|
2009-10-01 18:47:19 +02:00
|
|
|
d->applyFriction();
|
2009-10-03 05:27:52 +02:00
|
|
|
qreal movement = d->kinMovement.y();
|
2009-10-03 14:30:00 +02:00
|
|
|
d->cposition.setY(d->parent->property("verticalScrollValue").value<qreal>());
|
2009-10-01 18:47:19 +02:00
|
|
|
movement += d->cposition.y();
|
|
|
|
|
|
|
|
if ((d->direction == KineticScrollingPrivate::Down) &&
|
|
|
|
(d->cposition.y() > 100)) {
|
|
|
|
d->parent->setProperty("verticalScrollValue", movement);
|
|
|
|
|
|
|
|
} else if ((d->direction == KineticScrollingPrivate::Up) &&
|
|
|
|
(d->cposition.y() < 0)) {
|
|
|
|
d->parent->setProperty("verticalScrollValue", movement);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
doneOvershoot();
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
2009-10-01 18:47:19 +02:00
|
|
|
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
2009-09-18 10:56:09 +02:00
|
|
|
void KineticScrolling::doneOvershoot(void)
|
2009-09-17 18:24:19 +02:00
|
|
|
{
|
|
|
|
d->direction = KineticScrollingPrivate::None;
|
2009-10-01 18:47:19 +02:00
|
|
|
d->kinMovement.setY(0);
|
2009-09-17 18:24:19 +02:00
|
|
|
killTimer(d->timerID);
|
|
|
|
d->timerID = 0;
|
|
|
|
}
|
|
|
|
|
2009-10-01 18:47:19 +02:00
|
|
|
void KineticScrolling::setWidget(QGraphicsWidget *parent)
|
2009-09-17 18:24:19 +02:00
|
|
|
{
|
2009-10-15 21:11:34 +02:00
|
|
|
if (d->parent) {
|
|
|
|
d->parent->removeEventFilter(this);
|
|
|
|
}
|
|
|
|
|
2009-10-20 00:10:25 +02:00
|
|
|
setParent(parent);
|
|
|
|
|
2009-10-01 18:47:19 +02:00
|
|
|
d->parent = parent;
|
2009-10-15 21:11:34 +02:00
|
|
|
|
|
|
|
if (parent) {
|
|
|
|
d->parent->installEventFilter(this);
|
|
|
|
}
|
2009-10-01 18:47:19 +02:00
|
|
|
/* TODO: add a new property in plasma::ScrollWidget 'hasOvershoot' */
|
2009-09-17 18:24:19 +02:00
|
|
|
}
|
|
|
|
|
2009-10-15 21:11:34 +02:00
|
|
|
bool KineticScrolling::eventFilter(QObject *watched, QEvent *event)
|
|
|
|
{
|
|
|
|
if (d->forwardingEvent) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool notBlocked = true;
|
|
|
|
if (d->parent && d->parent->scene()) {
|
|
|
|
d->forwardingEvent = true;
|
|
|
|
notBlocked = d->parent->scene()->sendEvent(d->parent, event);
|
|
|
|
d->forwardingEvent = false;
|
|
|
|
}
|
|
|
|
|
2009-10-23 14:07:48 +02:00
|
|
|
if (!notBlocked ||
|
|
|
|
((event->type() != QEvent::GraphicsSceneMousePress && event->isAccepted()) &&
|
|
|
|
(event->type() != QEvent::GraphicsSceneWheel && event->isAccepted()))) {
|
2009-10-15 21:11:34 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGraphicsSceneMouseEvent *me = static_cast<QGraphicsSceneMouseEvent *>(event);
|
|
|
|
QGraphicsSceneWheelEvent *we = static_cast<QGraphicsSceneWheelEvent *>(event);
|
|
|
|
|
|
|
|
switch (event->type()) {
|
|
|
|
case QEvent::GraphicsSceneMousePress:
|
|
|
|
mousePressEvent(me);
|
|
|
|
break;
|
|
|
|
case QEvent::GraphicsSceneMouseRelease:
|
|
|
|
mouseReleaseEvent(me);
|
|
|
|
break;
|
|
|
|
case QEvent::GraphicsSceneMouseMove:
|
|
|
|
mouseMoveEvent(me);
|
|
|
|
break;
|
|
|
|
case QEvent::GraphicsSceneWheel:
|
|
|
|
wheelReleaseEvent(we);
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2009-09-17 18:24:19 +02:00
|
|
|
} // namespace Plasma
|
|
|
|
|