summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_filedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/tal/kvi_tal_filedialog.cpp')
-rw-r--r--src/kvilib/tal/kvi_tal_filedialog.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/kvilib/tal/kvi_tal_filedialog.cpp b/src/kvilib/tal/kvi_tal_filedialog.cpp
index 77e7529e..cfbb2d60 100644
--- a/src/kvilib/tal/kvi_tal_filedialog.cpp
+++ b/src/kvilib/tal/kvi_tal_filedialog.cpp
@@ -27,54 +27,6 @@
#include "kvi_tal_filedialog.h"
-#ifdef COMPILE_USE_QT4
-
- #include <tqdir.h>
-
- KviTalFileDialog::KviTalFileDialog(const TQString &dirName,const TQString &filter,TQWidget *parent,const char *name,bool modal)
- : TQFileDialog(parent,"",dirName,filter)
- {
- setModal(modal);
- }
-
- KviTalFileDialog::~KviTalFileDialog()
- {
- }
-
- void KviTalFileDialog::setFileMode(FileMode m)
- {
- switch(m)
- {
- case AnyFile:
- TQFileDialog::setFileMode(TQFileDialog::AnyFile);
- break;
- case ExistingFile:
- TQFileDialog::setFileMode(TQFileDialog::ExistingFile);
- break;
- case ExistingFiles:
- TQFileDialog::setFileMode(TQFileDialog::ExistingFiles);
- break;
- case Directory:
- TQFileDialog::setFileMode(TQFileDialog::Directory);
- break;
- case DirectoryOnly:
- TQFileDialog::setFileMode(TQFileDialog::DirectoryOnly);
- break;
- default:
- TQFileDialog::setFileMode(TQFileDialog::AnyFile);
- break;
- }
- }
-
- void KviTalFileDialog::setDirectory(const TQString &szDirectory)
- {
- TQFileDialog::setDirectory(szDirectory);
- }
-
-
- #include "kvi_tal_filedialog_qt4.moc"
-
-#else
#ifdef COMPILE_TDE_SUPPORT
@@ -173,4 +125,3 @@
#include "kvi_tal_filedialog_qt.moc"
#endif
-#endif