10 enum LoadMode {NewMap,ImportAdd,ImportReplace};
11 enum SaveMode {PartOfMap,CompleteMap,UndoCommand};
13 /////////////////////////////////////////////////////////////////////////////
14 QString qpointToString (const QPoint &p);
15 extern ostream &operator<< (ostream &stream, QPoint const &p);
16 float getAngle(const QPoint &);
17 QPoint normalise (const QPoint &);
18 QString maskPath (QString );
19 QString convertToRel (const QString &,const QString &);
20 QString makeUniqueDir (QString);
22 void makeSubDirs (const QString &);
23 QString quotemeta(const QString&);
28 /////////////////////////////////////////////////////////////////////////////
33 QString singleElement(QString,QString);
34 QString beginElement(QString,QString);
35 QString beginElement(QString);
36 QString endElement (QString);
37 QString attribut (QString,QString);
38 QString valueElement(QString,QString);
39 QString valueElement(QString,QString,QString);
49 /////////////////////////////////////////////////////////////////////////////
52 #include <qfiledialog.h>
55 class ImagePreview : public QLabel, public QFilePreview
58 ImagePreview( QWidget * );
59 void previewUrl( const QUrl & );