9 enum LoadMode {NewMap,ImportAdd,ImportReplace};
10 enum SaveMode {PartOfMap,CompleteMap,UndoCommand};
12 /////////////////////////////////////////////////////////////////////////////
13 QString qpointToString (const QPoint &p);
14 extern ostream &operator<< (ostream &stream, QPoint const &p);
15 float getAngle(const QPoint &);
16 QPoint normalise (const QPoint &);
17 QString maskPath (QString );
18 QString convertToRel (const QString &,const QString &);
19 QString quotemeta(const QString&);
24 /////////////////////////////////////////////////////////////////////////////
29 QString singleElement(QString,QString);
30 QString beginElement(QString,QString);
31 QString beginElement(QString);
32 QString endElement (QString);
33 QString attribut (QString,QString);
34 QString valueElement(QString,QString);
35 QString valueElement(QString,QString,QString);
45 /////////////////////////////////////////////////////////////////////////////
48 #include <qfiledialog.h>
51 class ImagePreview : public QLabel, public QFilePreview
54 ImagePreview( QWidget * );
55 void previewUrl( const QUrl & );