diff options
Diffstat (limited to 'src/kvilib/tal/kvi_tal_filedialog_qt.h')
-rw-r--r-- | src/kvilib/tal/kvi_tal_filedialog_qt.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/kvilib/tal/kvi_tal_filedialog_qt.h b/src/kvilib/tal/kvi_tal_filedialog_qt.h index 14a24854..0eebfc61 100644 --- a/src/kvilib/tal/kvi_tal_filedialog_qt.h +++ b/src/kvilib/tal/kvi_tal_filedialog_qt.h @@ -1,5 +1,5 @@ -#ifndef _KVI_TAL_FILEDIALOG_QT_H_ -#define _KVI_TAL_FILEDIALOG_QT_H_ +#ifndef _KVI_TAL_FILEDIALOG_TQT_H_ +#define _KVI_TAL_FILEDIALOG_TQT_H_ // // File : kvi_tal_filedialog_qt.h @@ -23,22 +23,23 @@ // Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // -#include <qfiledialog.h> +#include <tqfiledialog.h> -class KVILIB_API KviTalFileDialog : public QFileDialog +class KVILIB_API KviTalFileDialog : public TQFileDialog { Q_OBJECT + TQ_OBJECT public: - KviTalFileDialog(const QString &dirName,const QString &filter = QString::null,QWidget *parent = 0,const char *name = 0,bool modal = FALSE); + KviTalFileDialog(const TQString &dirName,const TQString &filter = TQString(),TQWidget *tqparent = 0,const char *name = 0,bool modal = FALSE); ~KviTalFileDialog(); public: enum FileMode { AnyFile, ExistingFile, ExistingFiles, Directory, DirectoryOnly }; void setFileMode(FileMode m); - void setDirectory(const QString &szDirectory); + void setDirectory(const TQString &szDirectory); - static QString getExistingDirectoryPath(const QString &dir = QString::null,const QString &caption = QString::null,QWidget *parent = 0) - { return getExistingDirectory(dir,parent,0 /* name */,caption); }; + static TQString getExistingDirectoryPath(const TQString &dir = TQString(),const TQString &caption = TQString(),TQWidget *tqparent = 0) + { return getExistingDirectory(dir,tqparent,0 /* name */,caption); }; }; -#endif // _KVI_TAL_FILEDIALOG_QT_H_ +#endif // _KVI_TAL_FILEDIALOG_TQT_H_ |