diff -r c2a05fa925a1 -r bc23a0157a39 mapeditor.h --- a/mapeditor.h Fri Dec 08 20:18:56 2006 +0000 +++ b/mapeditor.h Fri Dec 29 13:52:17 2006 +0000 @@ -21,7 +21,6 @@ ~MapEditor(); MapCenterObj* getMapCenter(); QGraphicsScene * getScene(); - void adjustCanvasSize();// adjust canvas size to map and scrollview bool isRepositionBlocked(); // block while load or undo private: @@ -38,10 +37,12 @@ private: void addFloatImageInt(const QPixmap &img); +/* private slots: void fetchImage(const QString &img); void imageDataFetched(const QByteArray &, Q3NetworkOperation *); void imageDataFinished(Q3NetworkOperation *); + */ public: bool isDefault(); // false, if map was changed once @@ -193,6 +194,9 @@ virtual void mouseDoubleClickEvent(QMouseEvent*); virtual void mouseMoveEvent(QMouseEvent*); + virtual void dragEnterEvent (QDragEnterEvent *); + virtual void dropEvent (QDropEvent *); + virtual void contentsDragEnterEvent(QDragEnterEvent *event); virtual void contentsDropEvent(QDropEvent *event); private: