KIO
kfilemetapreview.cpp
Go to the documentation of this file.
60 KPreviewWidgetBase* KFileMetaPreview::findExistingProvider(const QString& mimeType, const KMimeType::Ptr& mimeInfo) const
QLayout * layout() const
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
virtual void showPreview(const KUrl &url)=0
This slot is called every time the user selects another file in the file dialog.
iterator insert(const Key &key, const T &value)
QWidget * currentWidget() const
virtual KPreviewWidgetBase * previewProviderFor(const QString &mimeType)
Definition: kfilemetapreview.cpp:88
QStringList supportedMimeTypes() const
Definition: kpreviewwidgetbase.cpp:32
const_iterator constFind(const Key &key) const
void resize(int w, int h)
void setEnabled(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setCurrentWidget(QWidget *widget)
const_iterator constEnd() const
void setObjectName(const QString &name)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
virtual QSize sizeHint() const
Returns the size hint for this widget.
Definition: kimagefilepreview.cpp:160
void setMargin(int margin)
QStringList mimeTypes(Mode mode=Writing)
Returns a list of MIME types for all KImageIO supported formats.
Definition: kimageio.cpp:64
void clear()
iterator end()
const T value(const Key &key) const
void removeWidget(QWidget *widget)
const_iterator constBegin() const
virtual void showPreview(const KUrl &url)
Definition: kfilemetapreview.cpp:138
typedef ConstIterator
Abstract baseclass for all preview widgets which shall be used via KFileDialog::setPreviewWidget(cons...
Definition: kpreviewwidgetbase.h:43
KFileMetaPreview(QWidget *parent)
Definition: kfilemetapreview.cpp:21
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString left(int n) const
virtual void clearPreviewProviders()
Definition: kfilemetapreview.cpp:171
int addWidget(QWidget *widget)
QObject * parent() const
iterator begin()
virtual void addPreviewProvider(const QString &mimeType, KPreviewWidgetBase *provider)
Definition: kfilemetapreview.cpp:164
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.