2 Copyright (C) 2009 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.net
3 Copyright (c) 2009 Leo Franchi <lfranchi@kde.org>
5 This library is free software; you can redistribute it and/or modify it
6 under the terms of the GNU Library General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or (at your
8 option) any later version.
10 This library is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to the
17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 #include "transparentjob.h"
23 #include "contentjobbase_p.h"
26 #include <kmime/kmime_message.h>
27 #include <kmime/kmime_content.h>
28 using namespace Message
;
30 class Message::TransparentJobPrivate
: public ContentJobBasePrivate
33 TransparentJobPrivate( TransparentJob
*qq
)
34 : ContentJobBasePrivate( qq
)
39 KMime::Content
* content
;
41 Q_DECLARE_PUBLIC( TransparentJob
)
44 TransparentJob::TransparentJob( QObject
*parent
)
45 : ContentJobBase( *new TransparentJobPrivate( this ), parent
)
49 TransparentJob::~TransparentJob()
54 void TransparentJob::setContent( KMime::Content
* content
)
56 Q_D( TransparentJob
);
62 void TransparentJob::process()
64 Q_D( TransparentJob
);
65 d
->resultContent
= d
->content
;
69 #include "transparentjob.moc"