diff -r 402f4cde3ea6 -r 97f5d07bf47d file.h --- a/file.h Wed Mar 08 12:59:07 2006 +0000 +++ b/file.h Tue Sep 05 11:53:54 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