mapcenterobj.h
author insilmaril
Tue Sep 05 11:53:54 2006 +0000 (2006-09-05)
changeset 370 97f5d07bf47d
parent 95 f688a9913724
child 388 3a58c9ef4a18
permissions -rw-r--r--
fixed default shortcut in findwindow
insilmaril@0
     1
#ifndef MAPCENTEROBJ_H
insilmaril@0
     2
#define MAPCENTEROBJ_H
insilmaril@0
     3
insilmaril@364
     4
insilmaril@364
     5
#include <QDate>
insilmaril@364
     6
insilmaril@0
     7
#include "branchobj.h"
insilmaril@95
     8
#include "xlinkobj.h"
insilmaril@0
     9
#include "version.h"
insilmaril@0
    10
insilmaril@0
    11
/////////////////////////////////////////////////////////////////////////////
insilmaril@0
    12
class MapCenterObj:public BranchObj {
insilmaril@0
    13
public:
insilmaril@0
    14
    MapCenterObj ();
insilmaril@364
    15
    MapCenterObj (Q3Canvas*);
insilmaril@0
    16
    ~MapCenterObj ();
insilmaril@0
    17
    void clear();
insilmaril@0
    18
    void init();
insilmaril@0
    19
    virtual void move      (double,double);
insilmaril@0
    20
    virtual void moveBy    (double,double);
insilmaril@0
    21
    virtual void moveAll   (double,double);
insilmaril@0
    22
    virtual void moveAllBy (double,double);
insilmaril@0
    23
    virtual void updateLink();
insilmaril@0
    24
    LinkableMapObj* findMapObj(QPoint,LinkableMapObj*);	// find MapObj 
insilmaril@0
    25
	virtual QString saveToDir (const QString&,const QString&,int, const QPoint&);// Save data recursivly to tempdir
insilmaril@0
    26
	void setVersion(const  QString &);
insilmaril@0
    27
	bool checkVersion();				// check if program version is higher than saved version
insilmaril@0
    28
	void setAuthor  (const QString &);
insilmaril@0
    29
	QString getAuthor ();
insilmaril@0
    30
	void setComment (const QString &);
insilmaril@0
    31
	QString getComment ();
insilmaril@0
    32
	QString getDate();
insilmaril@0
    33
private:
insilmaril@0
    34
	QString version;					// version string saved in vym file
insilmaril@0
    35
	QString author;
insilmaril@0
    36
	QString comment;
insilmaril@0
    37
	QDate date;
insilmaril@0
    38
};
insilmaril@0
    39
#endif