KIO
kfilemetapreview.cpp
Go to the documentation of this file.
60 KPreviewWidgetBase* KFileMetaPreview::findExistingProvider(const QString& mimeType, const KMimeType::Ptr& mimeInfo) const
virtual void showPreview(const KUrl &url)=0
This slot is called every time the user selects another file in the file dialog.
virtual KPreviewWidgetBase * previewProviderFor(const QString &mimeType)
Definition: kfilemetapreview.cpp:88
QStringList supportedMimeTypes() const
Definition: kpreviewwidgetbase.cpp:32
virtual QSize sizeHint() const
Returns the size hint for this widget.
Definition: kimagefilepreview.cpp:160
QStringList mimeTypes(Mode mode=Writing)
Returns a list of MIME types for all KImageIO supported formats.
Definition: kimageio.cpp:64
virtual void showPreview(const KUrl &url)
Definition: kfilemetapreview.cpp:138
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)
virtual void clearPreviewProviders()
Definition: kfilemetapreview.cpp:171
virtual void addPreviewProvider(const QString &mimeType, KPreviewWidgetBase *provider)
Definition: kfilemetapreview.cpp:164
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 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:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.