misc.h
changeset 176 f75489896084
parent 166 325958acb69b
child 408 c2a05fa925a1
     1.1 --- a/misc.h	Tue Jan 03 09:44:41 2006 +0000
     1.2 +++ b/misc.h	Tue Jan 03 09:44:41 2006 +0000
     1.3 @@ -7,19 +7,12 @@
     1.4  
     1.5  using namespace std;
     1.6  
     1.7 -enum LoadMode {NewMap,ImportAdd,ImportReplace};
     1.8 -enum SaveMode {PartOfMap,CompleteMap,UndoCommand};
     1.9  
    1.10  /////////////////////////////////////////////////////////////////////////////
    1.11  QString qpointToString (const QPoint &p);
    1.12  extern ostream &operator<< (ostream &stream, QPoint const &p);
    1.13  float getAngle(const QPoint &);
    1.14  QPoint normalise (const QPoint &);
    1.15 -QString maskPath (QString );
    1.16 -QString convertToRel (const QString &,const QString &);
    1.17 -QString makeUniqueDir (QString);
    1.18 -void removeDir(QDir);
    1.19 -void makeSubDirs (const QString &);
    1.20  QString quotemeta(const QString&);	
    1.21  int max (int,int);
    1.22  class BranchObj;
    1.23 @@ -46,17 +39,4 @@
    1.24      int indentwidth;
    1.25  };
    1.26  
    1.27 -/////////////////////////////////////////////////////////////////////////////
    1.28 -
    1.29 -#include <qlabel.h>
    1.30 -#include <qfiledialog.h>
    1.31 -#include <qpixmap.h>
    1.32 -
    1.33 -class ImagePreview : public QLabel, public QFilePreview
    1.34 -{
    1.35 -public:
    1.36 -    ImagePreview( QWidget * );
    1.37 -    void previewUrl( const QUrl & );
    1.38 -};
    1.39 -
    1.40  #endif