1 #ifndef _KVI_TAL_FILEDIALOG_H_
2 #define _KVI_TAL_FILEDIALOG_H_
38 #endif // otherwise gcc freaks out somewhere inside the include chain of KFileDialog
45 #if defined(COMPILE_KDE4_SUPPORT)
47 #include <KFileDialog>
54 #include <QFileDialog>
70 KviTalFileDialog(const QString & szDirName, const QString & szFilter = QString(), QWidget * pParent = 0, const char * pcName = 0, bool bModal = false);
96 void setFileMode(FileMode
m);
103 void setDirectory(
const QString & szDirectory);
112 static QString
getExistingDirectoryPath(
const QString & szDir = QString(),
const QString & szCaption = QString(), QWidget * pParent = 0)
114 #if defined(COMPILE_KDE4_SUPPORT)
116 return KFileDialog::getExistingDirectory(KUrl(szDir), pParent, szCaption);
119 return getExistingDirectory(pParent, szCaption, szDir);
124 #endif // _KVI_TAL_FILEDIALOG_H_
defined(COMPILE_KDE4_SUPPORT)
Definition: KviTalFileDialog.h:55
static QString getExistingDirectoryPath(const QString &szDir=QString(), const QString &szCaption=QString(), QWidget *pParent=0)
Returns an existing directory selected by the user.
Definition: KviTalFileDialog.h:112
#define m
Definition: detector.cpp:77
Definition: KviTalFileDialog.h:86
FileMode
Indicate what the user may select in the file dialog.
Definition: KviTalFileDialog.h:82
Definition: KviTalFileDialog.h:87
Definition: KviTalFileDialog.h:84
Definition: KviTalFileDialog.h:85
This file contains compile time settings.
#define KVILIB_API
Definition: kvi_settings.h:125