mapeditor.h
changeset 414 bc23a0157a39
parent 408 c2a05fa925a1
child 417 1cc7bbf75f0b
     1.1 --- a/mapeditor.h	Fri Dec 08 20:18:56 2006 +0000
     1.2 +++ b/mapeditor.h	Fri Dec 29 13:52:17 2006 +0000
     1.3 @@ -21,7 +21,6 @@
     1.4  	~MapEditor();
     1.5      MapCenterObj* getMapCenter();
     1.6  	QGraphicsScene * getScene();
     1.7 -	void adjustCanvasSize();// adjust canvas size to map and scrollview
     1.8  	bool isRepositionBlocked(); // block while load or undo
     1.9  	
    1.10  private:
    1.11 @@ -38,10 +37,12 @@
    1.12  private:
    1.13      void addFloatImageInt(const QPixmap &img);
    1.14  
    1.15 +/*
    1.16    private slots:
    1.17      void fetchImage(const QString &img);
    1.18      void imageDataFetched(const QByteArray &, Q3NetworkOperation *);
    1.19      void imageDataFinished(Q3NetworkOperation *);
    1.20 +	*/
    1.21  
    1.22  public:
    1.23  	bool isDefault();		// false, if map was changed once
    1.24 @@ -193,6 +194,9 @@
    1.25      virtual void mouseDoubleClickEvent(QMouseEvent*);
    1.26      virtual void mouseMoveEvent(QMouseEvent*);
    1.27  
    1.28 +	virtual void dragEnterEvent (QDragEnterEvent *);
    1.29 +	virtual void dropEvent (QDropEvent *);
    1.30 +
    1.31      virtual void contentsDragEnterEvent(QDragEnterEvent *event);
    1.32      virtual void contentsDropEvent(QDropEvent *event);
    1.33  private: