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:437
Type type() const
void setMimeData(QMimeData *data)
windowModality
Definition: kfile.h:46
QString text() const
QObject * sender() 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
QString currentPath()
Definition: kfile.h:45
void setParent(QWidget *parent)
Provides a user (and developer) friendly way to select files and directories.
Definition: kfiledialog.h:68
void setPath(const QString &path)
void setPath(const QString &path)
Sets the url in the lineedit to KUrl::fromPath(path).
Definition: kurlrequester.cpp:293
void setUrl(const QString &url)
bool eventFilter(QObject *obj, QEvent *ev)
Definition: kurlrequester.cpp:485
Qt::WindowModality fileDialogModality() const
const KEditListBox::CustomEditor & customEditor()
Definition: kurlrequester.cpp:531
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
bool isEmpty() const
void setStartDir(const KUrl &startDir)
Sets the start dir startDir.
Definition: kurlrequester.cpp:304
bool sendEvent(QObject *receiver, QEvent *event)
virtual void changeEvent(QEvent *ev)
KUrlComboRequester(QWidget *parent=0)
Constructs a KUrlRequester widget with a combobox.
Definition: kurlrequester.cpp:554
virtual bool eventFilter(QObject *watched, QEvent *event)
QString path(AdjustPathOption trailing=LeaveTrailingSlash) const
KUrlRequester(QWidget *parent=0)
Constructs a KUrlRequester widget.
Definition: kurlrequester.cpp:225
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
Definition: kurlcompletion.h:53
void setDragEnabled(bool enable)
Definition: kfile.h:49
bool isValid() const
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.
bool isRelative() const
QWidget * parentWidget() const
QString windowTitle() const
KUrlCompletion * completionObject() const
Definition: kurlrequester.cpp:501
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
void show()
static bool supportsListing(const KUrl &url)
Returns whether the protocol can list files/objects.
Definition: kprotocolmanager.cpp:1032
bool isLocalFile() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void setText(const QString &text)
Sets the current text in the lineedit or combobox.
Definition: kurlrequester.cpp:299
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 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:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.