Make plasma libs build.
[amarok.git] / src / context / ContextScene.h
blobf9043a6cc908507673a73f1ddb96f349930b2caa
1 /***************************************************************************
2 * copyright : (C) 2007 Leo Franchi <lfranchi@gmail.com> *
3 **************************************************************************/
5 /***************************************************************************
6 * *
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. *
11 * *
12 ***************************************************************************/
14 #ifndef AMAROK_CONTEXT_SCENE_H
15 #define AMAROK_CONTEXT_SCENE_H
17 #include "amarok_export.h"
18 #include "Applet.h"
19 #include "Context.h"
20 #include <plasma/corona.h>
21 #include <plasma/layouts/vboxlayout.h>
23 namespace Context
26 class AMAROK_EXPORT ContextScene : public Plasma::Corona
28 Q_OBJECT
29 public:
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);
33 ~ContextScene();
35 void loadDefaultSetup();
37 signals:
38 void appletRemoved( QObject *object );
40 protected slots:
41 // void appletDestroyed(QObject* object);
43 protected:
44 void dragMoveEvent( QGraphicsSceneDragDropEvent * event );
45 /*void dragEnterEvent(QGraphicsSceneDragDropEvent* event);
46 void dropEvent(QGraphicsSceneDragDropEvent* event);
47 void contextMenuEvent(QGraphicsSceneContextMenuEvent *contextMenuEvent); */
50 } // Context namespace
52 #endif