KIO
kabstractfilewidget.h
virtual KPushButton * cancelButton() const =0
virtual void setCustomWidget(QWidget *widget)=0
Set a custom widget that should be added to the bottom of the file dialog.
Abstract baseclass for all preview widgets which shall be used via KFileDialog::setPreviewWidget(cons...
Definition: kpreviewwidgetbase.h:44
virtual void setPreviewWidget(KPreviewWidgetBase *w)=0
Adds a preview widget and enters the preview mode.
virtual KUrlComboBox * locationEdit() const =0
virtual void setOperationMode(OperationMode)=0
Sets the operational mode of the filedialog to Saving, Opening or Other.
virtual KUrl baseUrl() const =0
virtual KUrl selectedUrl() const =0
virtual void setMimeFilter(const QStringList &types, const QString &defaultType=QString())=0
Sets the filter up to specify the output type.
virtual KMimeType::Ptr currentFilterMimeType()=0
Returns the mimetype for the desired output format.
void setConfirmOverwrite(bool enable)
Sets whether the user should be asked for confirmation when an overwrite might occurr.
Definition: kabstractfilewidget.h:383
virtual void setCustomWidget(const QString &text, QWidget *widget)=0
Sets a custom widget that should be added below the location and the filter editors.
QStringList types(Mode mode=Writing)
Returns a list of all KImageIO supported formats.
Definition: kimageio.cpp:82
virtual QString currentMimeFilter() const =0
The mimetype for the desired output format.
This combobox shows a number of recent URLs/directories, as well as some default directories.
Definition: kurlcombobox.h:48
virtual OperationMode operationMode() const =0
virtual void accept()=0
virtual void setKeepLocation(bool keep)=0
Sets whether the filename/url should be kept when changing directories.
virtual QStringList selectedFiles() const =0
Returns a list of all selected local files.
virtual KActionCollection * actionCollection() const =0
virtual void setFilter(const QString &filter)=0
Sets the filter to be used to filter.
virtual KFileFilterCombo * filterWidget() const =0
virtual KUrl::List selectedUrls() const =0
virtual void slotCancel()=0
virtual void virtual_hook(int id, void *data)=0
virtual KPushButton * okButton() const =0
virtual QString selectedFile() const =0
Returns the full path of the selected file in the local filesystem.
virtual QString currentFilter() const =0
Returns the current filter as entered by the user or one of the predefined set via setFilter().
virtual ~KAbstractFileWidget()
Definition: kabstractfilewidget.h:60
virtual void setLocationLabel(const QString &text)=0
Sets the text to be displayed in front of the selection.
virtual void setUrl(const KUrl &url, bool clearforward=true)=0
Sets the directory to view.
virtual bool keepsLocation() const =0
virtual void slotOk()=0
Called when clicking ok (when this widget is used in KFileDialog) Might or might not call accept().
void setInlinePreviewShown(bool show)
Forces the inline previews to be shown or hidden, depending on show.
Definition: kabstractfilewidget.h:393
virtual void setSelection(const QString &name)=0
Sets the file name to preselect to name.
Other
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.