diff -r 1cc73bd7ee1f -r e95081c21da2 file.h --- a/file.h Tue Sep 05 09:47:13 2006 +0000 +++ b/file.h Tue Sep 05 09:47:14 2006 +0000 @@ -11,7 +11,7 @@ ///////////////////////////////////////////////////////////////////////////// QString maskPath (QString ); QString convertToRel (const QString &,const QString &); -QString makeUniqueDir (QString); +QString makeUniqueDir (bool &,QString); void removeDir(QDir); void makeSubDirs (const QString &); ErrorCode zipDir (const QDir &,const QString&); @@ -21,16 +21,32 @@ ///////////////////////////////////////////////////////////////////////////// #include -#include +#include #include -class ImagePreview : public QLabel, public QFilePreview +class ImagePreview : public QLabel, public Q3FilePreview { public: ImagePreview( QWidget * ); - void previewUrl( const QUrl & ); + void previewUrl( const Q3Url & ); protected: - QFileDialog *fdia; + Q3FileDialog *fdia; +}; + + +////////////////////////////////////////////////////////// +// Helper function to select image format while in SaveDialogs + +class ImageIO +{ +public: + ImageIO (); + QStringList getFilters(); + QString getType ( QString ); + +private: + QStringList imageFilters; + QStringList imageTypes; }; #endif