KIO
kurlrequesterdialog.cpp
Go to the documentation of this file.
61 KUrlRequesterDialog::KUrlRequesterDialog( const QString& urlName, const QString& _text, QWidget *parent)
QString i18n(const char *text)
This class is a widget showing a lineedit and a button, which invokes a filedialog.
Definition: kurlrequester.h:60
QString label(StandardShortcut id)
int exec()
KFileDialog * fileDialog()
Returns a pointer to the file dialog used by the KUrlRequester.
Definition: kurlrequesterdialog.cpp:139
KGuiItem clear()
static void add(const KUrl &url)
Add a new item to the Recent Document menu.
Definition: krecentdocument.cpp:88
Provides a user (and developer) friendly way to select files and directories.
Definition: kfiledialog.h:68
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
Dialog in which a user can enter a filename or url.
Definition: kurlrequesterdialog.h:39
KUrlRequesterDialog(const QString &url, QWidget *parent=0)
Constructs a KUrlRequesterDialog.
Definition: kurlrequesterdialog.cpp:52
bool isEmpty() const
QString trimmed() const
int result() const
KUrlRequester * urlRequester()
Returns a pointer to the KUrlRequester.
Definition: kurlrequesterdialog.cpp:144
void setMargin(int margin)
static KUrl getUrl(const QString &url=QString(), QWidget *parent=0, const QString &caption=QString())
Creates a modal dialog, executes it and returns the selected URL.
Definition: kurlrequesterdialog.cpp:123
bool isValid() const
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)
KUrl selectedUrl() const
Returns the fully qualified filename.
Definition: kurlrequesterdialog.cpp:114
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
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.