summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_filedialog_qt4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/tal/kvi_tal_filedialog_qt4.h')
-rw-r--r--src/kvilib/tal/kvi_tal_filedialog_qt4.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/kvilib/tal/kvi_tal_filedialog_qt4.h b/src/kvilib/tal/kvi_tal_filedialog_qt4.h
index eb5f7ab6..18bb420e 100644
--- a/src/kvilib/tal/kvi_tal_filedialog_qt4.h
+++ b/src/kvilib/tal/kvi_tal_filedialog_qt4.h
@@ -25,22 +25,23 @@
//
//=============================================================================
-#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(parent,caption,dir); };
+ static TQString getExistingDirectoryPath(const TQString &dir = TQString(),const TQString &caption = TQString(),TQWidget *tqparent = 0)
+ { return getExistingDirectory(tqparent,caption,dir); };
};
-#endif // _KVI_TAL_FILEDIALOG_QT_H_
+#endif // _KVI_TAL_FILEDIALOG_TQT_H_