exportoofiledialog.h
changeset 287 557a4e13afef
child 357 64819498efbf
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/exportoofiledialog.h	Mon Apr 10 11:21:35 2006 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +#ifndef EXPORTOOFILEDIALOG
     1.5 +#define EXPORTOOFILEDIALOG
     1.6 +
     1.7 +#include <qfiledialog.h>
     1.8 +#include <qstringlist.h>
     1.9 +
    1.10 +#include "settings.h"
    1.11 +
    1.12 +class ExportOOFileDialog:public QFileDialog
    1.13 +{
    1.14 +	Q_OBJECT
    1.15 +public:
    1.16 +	ExportOOFileDialog();
    1.17 +
    1.18 +	ExportOOFileDialog (QWidget * parent = 0, const char * name = 0, bool
    1.19 +	modal = false);
    1.20 +	QString selectedConfig();
    1.21 +	QString selectedFile();
    1.22 +	void addFilter(const QString &);
    1.23 +	 
    1.24 +private slots:
    1.25 +	void  newConfigPath (const QString&f);
    1.26 +
    1.27 +private:
    1.28 +	void init();
    1.29 +	void scanExportConfigs(QDir );
    1.30 +	QStringList configPaths;
    1.31 +	QStringList filters;
    1.32 +	QString lastFilter;
    1.33 +	
    1.34 +};
    1.35 +#endif