KFile
kfileplaceeditdialog.cpp
Go to the documentation of this file.
103 QString whatsThisText = i18n("<qt>This is the text that will appear in the Places panel.<br /><br />"
115 whatsThisText = i18n("<qt>This is the location associated with the entry. Any valid URL may be used. For example:<br /><br />"
147 m_appLocal = new QCheckBox( i18n("&Only show when using this application (%1)", appName ), wdg );
QLayout * layout() const
QString i18n(const char *text)
void setModal(bool modal)
static bool getInformation(bool allowGlobal, KUrl &url, QString &label, QString &icon, bool isAddingNewPlace, bool &appLocal, int iconSize, QWidget *parent=0)
A convenience method to show the dialog and retrieve all the properties via the given parameters...
Definition: kfileplaceeditdialog.cpp:54
text
void setMinimumWidth(int minw)
QString host() const
int exec()
A dialog that allows editing entries of a KUrlBar ( KUrlBarItem).
Definition: kfileplaceeditdialog.h:41
const KAboutData * aboutData() const
void setIcon(const QString &icon)
void setIconType(KIconLoader::Group group, KIconLoader::Context context, bool user=false)
void setIconSize(int size)
QString icon
QString homePath()
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setFocus()
void setObjectName(const QString &name)
bool isEmpty() const
QString componentName() const
QString scheme() const
void addRow(QWidget *label, QWidget *field)
bool applicationLocal() const
Definition: kfileplaceeditdialog.cpp:205
void setChecked(bool)
QString programName() const
void setWhatsThis(const QString &)
QFontMetrics fontMetrics() const
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
QWidget * labelForField(QWidget *field) const
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
int height() const
void setCaption(const QString &c)
const KComponentData & mainComponent()
void setClickMessage(const QString &msg)
KFilePlaceEditDialog(bool allowGlobal, const KUrl &url, const QString &label, const QString &icon, bool isAddingNewPlace, bool appLocal=true, int iconSize=KIconLoader::SizeMedium, QWidget *parent=0)
Constructs a KFilePlaceEditDialog.
Definition: kfileplaceeditdialog.cpp:81
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual void setText(const QString &)
void urlChanged(const QString &)
Definition: kfileplaceeditdialog.cpp:173
QString prettyUrl(AdjustPathOption trailing=LeaveTrailingSlash) const
void addLayout(QLayout *layout, int stretch)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:26 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:27:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.