KIO
kurlrequester.cpp
Go to the documentation of this file.
KUrl url() const
void returnPressed()
Emitted when return or enter was pressed in the lineedit.
void setFilter(const QString &filter)
Sets the filter for the file dialog.
Definition: kurlrequester.cpp:409
Definition: kfile.h:46
QString text() const
This class is a widget showing a lineedit and a button, which invokes a filedialog.
Definition: kurlrequester.h:60
KFile is a class which provides a namespace for some enumerated values associated with the kfile libr...
Definition: kfile.h:31
Definition: kfile.h:47
static KUrl fromPath(const QString &text)
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
Definition: kfile.h:45
Provides a user (and developer) friendly way to select files and directories.
Definition: kfiledialog.h:68
void setPath(const QString &path)
Sets the url in the lineedit to KUrl::fromPath(path).
Definition: kurlrequester.cpp:271
bool eventFilter(QObject *obj, QEvent *ev)
Definition: kurlrequester.cpp:457
Qt::WindowModality fileDialogModality() const
const KEditListBox::CustomEditor & customEditor()
Definition: kurlrequester.cpp:503
FileJob * open(const KUrl &url, QIODevice::OpenMode mode)
Open ( random access I/O )
Definition: filejob.cpp:211
void setUrl(const KUrl &url, bool clearforward=true)
Sets the directory to view.
Definition: kfiledialog.cpp:444
void setStartDir(const KUrl &startDir)
Sets the start dir startDir.
Definition: kurlrequester.cpp:282
KUrlComboRequester(QWidget *parent=0)
Constructs a KUrlRequester widget with a combobox.
Definition: kurlrequester.cpp:526
KUrlRequester(QWidget *parent=0)
Constructs a KUrlRequester widget.
Definition: kurlrequester.cpp:207
void setFileDialogModality(Qt::WindowModality modality)
Set the window modality for the file dialog to modality Directory selection dialogs are always modal...
Definition: kurlrequester.cpp:497
Definition: kurlcompletion.h:53
void setDragEnabled(bool enable)
Definition: kfile.h:49
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
virtual QDrag * dragObject()
void textChanged(const QString &)
Emitted when the text in the lineedit changes.
KUrlCompletion * completionObject() const
Definition: kurlrequester.cpp:473
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
static bool supportsListing(const KUrl &url)
Returns whether the protocol can list files/objects.
Definition: kprotocolmanager.cpp:1032
bool isLocalFile() const
void setText(const QString &text)
Sets the current text in the lineedit or combobox.
Definition: kurlrequester.cpp:277
This class does completion of URLs including user directories (~user) and environment variables...
Definition: kurlcompletion.h:41
QString clickMessage() const
void setSelection(const QString &name)
Sets the file name to preselect to name.
Definition: kfiledialog.cpp:454
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.