KIO
kurlrequesterdialog.cpp
47KUrlRequesterDialog::KUrlRequesterDialog(const QUrl &urlName, const QString &_text, QWidget *parent)
68 QObject::connect(urlRequester->lineEdit(), &KLineEdit::textChanged, q, [this](const QString &text) {
static void add(const QUrl &url)
Add a new item to the Recent Document menu.
Definition krecentdocument.cpp:485
Dialog in which a user can enter a filename or url.
Definition kurlrequesterdialog.h:31
KUrlRequester * urlRequester()
Returns a pointer to the KUrlRequester.
Definition kurlrequesterdialog.cpp:117
static QUrl getUrl(const QUrl &url=QUrl(), QWidget *parent=nullptr, const QString &title=QString())
Creates a modal dialog, executes it and returns the selected URL.
Definition kurlrequesterdialog.cpp:101
KUrlRequesterDialog(const QUrl &url, QWidget *parent=nullptr)
Constructs a KUrlRequesterDialog.
Definition kurlrequesterdialog.cpp:40
This class is a widget showing a lineedit and a button, which invokes a filedialog.
Definition kurlrequester.h:55
QString i18n(const char *text, const TYPE &arg...)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
Accepted
virtual void accept()
virtual int exec()
virtual void reject()
int result() const const
void accepted()
QPushButton * button(StandardButton which) const const
void rejected()
void setStandardButtons(StandardButtons buttons)
void textChanged(const QString &text)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
bool isEmpty() const const
QString trimmed() const const
bool isValid() const const
QString toString(FormattingOptions options) const const
void setEnabled(bool)
void setMinimumWidth(int minw)
void setFocus()
sizeHint
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.