KIO
kurlrequester.cpp
void setText(const QString &text)
Sets the current text in the lineedit or combobox.
Definition: kurlrequester.cpp:299
This class is a widget showing a lineedit and a button, which invokes a filedialog.
Definition: kurlrequester.h:61
void returnPressed()
Emitted when return or enter was pressed in the lineedit.
const KEditListBox::CustomEditor & customEditor()
Definition: kurlrequester.cpp:531
Provides a user (and developer) friendly way to select files and directories.
Definition: kfiledialog.h:69
static bool supportsListing(const KUrl &url)
Returns whether the protocol can list files/objects.
Definition: kprotocolmanager.cpp:1033
void setPath(const QString &path)
Sets the url in the lineedit to KUrl::fromPath(path).
Definition: kurlrequester.cpp:293
void textChanged(const QString &)
Emitted when the text in the lineedit changes.
static KUrl getExistingDirectoryUrl(const KUrl &startDir=KUrl(), QWidget *parent=0, const QString &caption=QString())
Creates a modal directory-selection dialog and returns the selected directory or an empty string if n...
Definition: kfiledialog.cpp:617
QString toLocalFile(AdjustPathOption trailing=LeaveTrailingSlash) const
void setDragEnabled(bool enable)
void setUrl(const KUrl &url, bool clearforward=true)
Sets the directory to view.
Definition: kfiledialog.cpp:444
KUrlCompletion * completionObject() const
Definition: kurlrequester.cpp:501
This class does completion of URLs including user directories (~user) and environment variables.
Definition: kurlcompletion.h:42
bool isLocalFile() const
KUrlComboRequester(QWidget *parent=0)
Constructs a KUrlRequester widget with a combobox.
Definition: kurlrequester.cpp:554
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
QString path(AdjustPathOption trailing=LeaveTrailingSlash) const
virtual QDrag * dragObject()
QString i18n(const char *text)
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
static QString getExistingDirectory(const KUrl &startDir=KUrl(), QWidget *parent=0, const QString &caption=QString())
Creates a modal directory-selection dialog and returns the selected directory (local only) or an empt...
Definition: kfiledialog.cpp:630
static KUrl fromPath(const QString &text)
KFile is a class which provides a namespace for some enumerated values associated with the kfile libr...
Definition: kfile.h:32
Qt::WindowModality fileDialogModality
Definition: kurlrequester.h:68
QString pathOrUrl() const
QString replacedPath(const QString &text) const
Replaces username and/or environment variables, depending on the current settings and returns the fil...
Definition: kurlcompletion.cpp:1372
void setFilter(const QString &filter)
Sets the filter for the file dialog.
Definition: kurlrequester.cpp:437
void setFileDialogModality(Qt::WindowModality modality)
Set the window modality for the file dialog to modality Directory selection dialogs are always modal.
Definition: kurlrequester.cpp:525
void setSelection(const QString &name)
Sets the file name to preselect to name.
Definition: kfiledialog.cpp:454
void setPath(const QString &path)
bool eventFilter(QObject *obj, QEvent *ev)
Definition: kurlrequester.cpp:485
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.