mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 19:02:48 +00:00

for compatibilty reasons automoc4 support is not removed but it shall be in the future. automoc4 has not been maintained for a while (last commit is from 2011) and the stable release is from 2009. CMake version >= 2.8.6 provides the functionality for mocking so I see no reason to not make use of it.
37 lines
829 B
C++
37 lines
829 B
C++
/*
|
|
* This file is part of the KDE project.
|
|
* Copyright (C) 2003 Carsten Pfeiffer <pfeiffer@kde.org>
|
|
*
|
|
* You can Freely distribute this program under the GNU Library General Public
|
|
* License. See the file "COPYING" for the exact licensing terms.
|
|
*/
|
|
|
|
#include "kpreviewwidgetbase.h"
|
|
|
|
class KPreviewWidgetBase::KPreviewWidgetBasePrivate
|
|
{
|
|
public:
|
|
QStringList supportedMimeTypes;
|
|
};
|
|
|
|
KPreviewWidgetBase::KPreviewWidgetBase( QWidget *parent )
|
|
: QWidget(parent), d(new KPreviewWidgetBasePrivate)
|
|
{
|
|
}
|
|
|
|
KPreviewWidgetBase::~KPreviewWidgetBase()
|
|
{
|
|
delete d;
|
|
}
|
|
|
|
void KPreviewWidgetBase::setSupportedMimeTypes( const QStringList& mimeTypes )
|
|
{
|
|
d->supportedMimeTypes = mimeTypes;
|
|
}
|
|
|
|
QStringList KPreviewWidgetBase::supportedMimeTypes() const
|
|
{
|
|
return d->supportedMimeTypes;
|
|
}
|
|
|
|
#include "moc_kpreviewwidgetbase.cpp"
|