exportoofiledialog.h
branchqt4-port
changeset 9 f94317a94db1
parent 2 608f976aa7bb
child 11 b8c547f0fc58
     1.1 --- a/exportoofiledialog.h	Wed Jul 05 10:29:54 2006 +0000
     1.2 +++ b/exportoofiledialog.h	Thu Jul 06 14:47:01 2006 +0000
     1.3 @@ -1,28 +1,28 @@
     1.4  #ifndef EXPORTOOFILEDIALOG
     1.5  #define EXPORTOOFILEDIALOG
     1.6  
     1.7 -#include <q3filedialog.h>
     1.8 -#include <qstringlist.h>
     1.9 +#include <QFileDialog>
    1.10 +#include <QStringList>
    1.11  
    1.12  #include "settings.h"
    1.13  
    1.14 -class ExportOOFileDialog:public Q3FileDialog
    1.15 +class ExportOOFileDialog:public QFileDialog
    1.16  {
    1.17  	Q_OBJECT
    1.18  public:
    1.19  	ExportOOFileDialog();
    1.20  
    1.21 -	ExportOOFileDialog (QWidget * parent = 0, const char * name = 0, bool
    1.22 -	modal = false);
    1.23 +	ExportOOFileDialog (QWidget * parent = 0, const  QString &caption=QString());
    1.24  	QString selectedConfig();
    1.25  	QString selectedFile();
    1.26 -	void addFilter(const QString &);
    1.27 +	void show();
    1.28  	 
    1.29  private slots:
    1.30  	void  newConfigPath (const QString&f);
    1.31  
    1.32  private:
    1.33  	void init();
    1.34 +	void addFilter(const QString &);
    1.35  	void scanExportConfigs(QDir );
    1.36  	QStringList configPaths;
    1.37  	QStringList filters;