KIO
kencodingfiledialog.cpp
Go to the documentation of this file.
39 KEncodingFileDialog::KEncodingFileDialog(const QString& startDir, const QString& encoding , const QString& filter,
100 KEncodingFileDialog::Result KEncodingFileDialog::getOpenFileNameAndEncoding(const QString& encoding,
118 KEncodingFileDialog::Result KEncodingFileDialog::getOpenFileNamesAndEncoding(const QString& encoding,
135 KEncodingFileDialog::Result KEncodingFileDialog::getOpenUrlAndEncoding(const QString& encoding, const QString& startDir,
151 KEncodingFileDialog::Result KEncodingFileDialog::getOpenUrlsAndEncoding(const QString& encoding, const QString& startDir,
170 KEncodingFileDialog::Result KEncodingFileDialog::getSaveFileNameAndEncoding(const QString& encoding,
QString i18n(const char *text)
QTextCodec * codecForName(const QString &name) const
virtual QByteArray name() const =0
Provides a user (and developer) friendly way to select files with support for choosing encoding...
Definition: kencodingfiledialog.h:39
QString selectedEncoding() const
Definition: kencodingfiledialog.cpp:91
Definition: kfile.h:47
static Result getOpenFileNamesAndEncoding(const QString &encoding=QString(), const QString &startDir=QString(), const QString &filter=QString(), QWidget *parent=0, const QString &caption=QString())
Creates a modal file dialog and returns the selected encoding and the selected filenames or an empty ...
Definition: kencodingfiledialog.cpp:118
static void add(const KUrl &url)
Add a new item to the Recent Document menu.
Definition: krecentdocument.cpp:88
static Result getSaveFileNameAndEncoding(const QString &encoding=QString(), const QString &startDir=QString(), const QString &filter=QString(), QWidget *parent=0, const QString &caption=QString())
Creates a modal file dialog and returns the selected encoding and filename or an empty string if none...
Definition: kencodingfiledialog.cpp:170
Definition: kfile.h:45
KGuiItem insert()
Provides a user (and developer) friendly way to select files and directories.
Definition: kfiledialog.h:68
bool isNull() const
static Result getOpenUrlsAndEncoding(const QString &encoding=QString(), const QString &startDir=QString(), const QString &filter=QString(), QWidget *parent=0, const QString &caption=QString())
Creates a modal file dialog and returns the selected encoding URLs or an empty list if none was chose...
Definition: kencodingfiledialog.cpp:151
static Result getSaveUrlAndEncoding(const QString &encoding=QString(), const QString &startDir=QString(), const QString &filter=QString(), QWidget *parent=0, const QString &caption=QString())
Creates a modal file dialog and returns the selected encoding and filename or an empty string if none...
Definition: kencodingfiledialog.cpp:193
KEncodingFileDialog(const QString &startDir=QString(), const QString &encoding=QString(), const QString &filter=QString(), const QString &caption=QString(), KFileDialog::OperationMode type=KFileDialog::Opening, QWidget *parent=0)
Constructs a file dialog for text files with encoding selection possibility.
Definition: kencodingfiledialog.cpp:39
bool isEmpty() const
KCharsets * charsets()
void setOperationMode(KFileDialog::OperationMode)
Sets the operational mode of the filedialog to Saving, Opening or Other.
Definition: kfiledialog.cpp:901
Definition: kfiledialog.h:85
static Result getOpenFileNameAndEncoding(const QString &encoding=QString(), const QString &startDir=QString(), const QString &filter=QString(), QWidget *parent=0, const QString &caption=QString())
Creates a modal file dialog and return the selected filename or an empty string if none was chosen ad...
Definition: kencodingfiledialog.cpp:100
KLocale * locale()
Definition: kfile.h:49
bool isValid() const
static Result getOpenUrlAndEncoding(const QString &encoding=QString(), const QString &startDir=QString(), const QString &filter=QString(), QWidget *parent=0, const QString &caption=QString())
Creates a modal file dialog and returns the selected encoding and URL or an empty string if none was ...
Definition: kencodingfiledialog.cpp:135
Definition: kfiledialog.h:85
QString dir(const QString &fileClass)
Returns the most recently used directory accociated with this file-class.
Definition: krecentdirs.cpp:68
void setCaption(const QString &c)
KAbstractFileWidget * fileWidget()
Returns the KFileWidget that implements most of this file dialog.
Definition: kfiledialog.cpp:959
QObject * parent() const
virtual void setCustomWidget(QWidget *widget)=0
Set a custom widget that should be added to the bottom of the file dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.