exportoofiledialog.h
author insilmaril
Tue, 05 Sep 2006 09:47:13 +0000
changeset 364 7b74fa3772bf
parent 357 64819498efbf
child 366 e95081c21da2
permissions -rw-r--r--
Moved the qt4-port branch to HEAD
     1 #ifndef EXPORTOOFILEDIALOG
     2 #define EXPORTOOFILEDIALOG
     3 
     4 #include <qfiledialog.h>
     5 #include <qstringlist.h>
     6 
     7 #include "settings.h"
     8 
     9 class ExportOOFileDialog:public QFileDialog
    10 {
    11 	Q_OBJECT
    12 public:
    13 	ExportOOFileDialog();
    14 
    15 	ExportOOFileDialog (QWidget * parent = 0, const char * name = 0, bool
    16 	modal = false);
    17 	bool foundConfig();
    18 	QString selectedConfig();
    19 	QString selectedFile();
    20 	void addFilter(const QString &);
    21 	 
    22 private slots:
    23 	void  newConfigPath (const QString&f);
    24 
    25 private:
    26 	void init();
    27 	void scanExportConfigs(QDir );
    28 	QStringList configPaths;
    29 	QStringList filters;
    30 	QString lastFilter;
    31 	
    32 };
    33 #endif