diff options
Diffstat (limited to 'src/kvilib/tal/kvi_tal_filedialog_kde.h')
-rw-r--r-- | src/kvilib/tal/kvi_tal_filedialog_kde.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/kvilib/tal/kvi_tal_filedialog_kde.h b/src/kvilib/tal/kvi_tal_filedialog_kde.h index 0f04a80c..5285aa16 100644 --- a/src/kvilib/tal/kvi_tal_filedialog_kde.h +++ b/src/kvilib/tal/kvi_tal_filedialog_kde.h @@ -24,26 +24,27 @@ // #include <kfiledialog.h> -#include <qfiledialog.h> +#include <tqfiledialog.h> class KVILIB_API KviTalFileDialog : public KFileDialog { 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) + static TQString getExistingDirectoryPath(const TQString &dir = TQString(),const TQString &caption = TQString(),TQWidget *tqparent = 0) { - // QFileDialog allows making new directories...kfiledialog not :/ - return QFileDialog::getExistingDirectory(dir,parent,0,caption); - //return getExistingDirectory(dir,parent,caption); + // TQFileDialog allows making new directories...kfiledialog not :/ + return TQFileDialog::getExistingDirectory(dir,tqparent,0,caption); + //return getExistingDirectory(dir,tqparent,caption); }; }; |