1 /***************************************************************************
2 * copyright : (C) 2007 Leo Franchi <lfranchi@gmail.com> *
3 **************************************************************************/
5 /***************************************************************************
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
12 ***************************************************************************/
14 #ifndef AMAROK_CONTEXT_SCENE_H
15 #define AMAROK_CONTEXT_SCENE_H
17 #include "amarok_export.h"
20 #include <plasma/corona.h>
21 #include <plasma/layouts/vboxlayout.h>
26 class AMAROK_EXPORT ContextScene
: public Plasma::Corona
30 explicit ContextScene(QObject
* parent
= 0);
31 explicit ContextScene(const QRectF
& sceneRect
, QObject
* parent
= 0);
32 explicit ContextScene(qreal x
, qreal y
, qreal width
, qreal height
, QObject
* parent
= 0);
35 void loadDefaultSetup();
38 void appletRemoved( QObject
*object
);
41 // void appletDestroyed(QObject* object);
44 void dragMoveEvent( QGraphicsSceneDragDropEvent
* event
);
45 /*void dragEnterEvent(QGraphicsSceneDragDropEvent* event);
46 void dropEvent(QGraphicsSceneDragDropEvent* event);
47 void contextMenuEvent(QGraphicsSceneContextMenuEvent *contextMenuEvent); */
50 } // Context namespace