KIO
kfileplaceeditdialog.cpp
38 KFilePlaceEditDialog *dialog = new KFilePlaceEditDialog(allowGlobal, url, label, icon, isAddingNewPlace, appLocal, iconSize, parent);
91 "<qt>This is the location associated with the entry. Any valid URL may be used. For example:<br /><br />"
148 connect(m_urlEdit->lineEdit(), &QLineEdit::textChanged, this, &KFilePlaceEditDialog::urlChanged);
A dialog that allows editing entries of a KFilePlacesModel.
Definition kfileplaceeditdialog.h:35
bool applicationLocal() const
Definition kfileplaceeditdialog.cpp:200
KFilePlaceEditDialog(bool allowGlobal, const QUrl &url, const QString &label, const QString &icon, bool isAddingNewPlace, bool appLocal=true, int iconSize=KIconLoader::SizeMedium, QWidget *parent=nullptr)
Constructs a KFilePlaceEditDialog.
Definition kfileplaceeditdialog.cpp:54
static bool getInformation(bool allowGlobal, QUrl &url, QString &label, QString &icon, bool isAddingNewPlace, bool &appLocal, int iconSize, QWidget *parent=nullptr)
A convenience method to show the dialog and retrieve all the properties via the given parameters.
Definition kfileplaceeditdialog.cpp:29
void setIcon(const QString &icon)
void setIconType(KIconLoader::Group group, KIconLoader::Context context, bool user=false)
const QString & icon() const
void setIconSize(int size)
NoGroup
Place
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...)
KIOCORE_EXPORT QString iconNameForUrl(const QUrl &url)
Return the icon name for a URL.
Definition global.cpp:188
void setChecked(bool)
void addLayout(QLayout *layout, int stretch)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
applicationName
Accepted
virtual void accept()
virtual int exec()
void setModal(bool modal)
virtual void reject()
void accepted()
QPushButton * button(StandardButton which) const const
void rejected()
void setStandardButtons(StandardButtons buttons)
QString homePath()
int height() const const
applicationDisplayName
void setPlaceholderText(const QString &)
void setText(const QString &)
void textChanged(const QString &text)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
void setObjectName(QAnyStringView name)
bool isEmpty() const const
QString fileName(ComponentFormattingOptions options) const const
QString host(ComponentFormattingOptions options) const const
QString scheme() const const
void setEnabled(bool)
QFontMetrics fontMetrics() const const
void hide()
QLayout * layout() const const
void setMinimumWidth(int minw)
void setDisabled(bool disable)
void setFocus()
void setWhatsThis(const QString &)
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:50:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:50:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.