~ubuntu-branches/ubuntu/precise/gwenview/precise-proposed

« back to all changes in this revision

Viewing changes to lib/document/videodocumentloadedimpl.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20111215141754-z043hyx69dulbggf
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
 
1
// vim: set tabstop=4 shiftwidth=4 expandtab:
2
2
/*
3
3
Gwenview: an image viewer
4
4
Copyright 2009 Aurélien Gâteau <agateau@kde.org>
28
28
 
29
29
// Local
30
30
 
31
 
namespace Gwenview {
32
 
 
 
31
namespace Gwenview
 
32
{
33
33
 
34
34
struct VideoDocumentLoadedImplPrivate {
35
35
};
36
36
 
37
 
 
38
37
VideoDocumentLoadedImpl::VideoDocumentLoadedImpl(Document* document)
39
38
: AbstractDocumentImpl(document)
40
 
, d(new VideoDocumentLoadedImplPrivate) {
41
 
}
42
 
 
43
 
 
44
 
VideoDocumentLoadedImpl::~VideoDocumentLoadedImpl() {
45
 
        delete d;
46
 
}
47
 
 
48
 
 
49
 
void VideoDocumentLoadedImpl::init() {
50
 
        emit loaded();
51
 
}
52
 
 
53
 
 
54
 
Document::LoadingState VideoDocumentLoadedImpl::loadingState() const {
55
 
        return Document::Loaded;
56
 
}
57
 
 
58
 
 
59
 
void VideoDocumentLoadedImpl::setImage(const QImage&) {
60
 
        kWarning() << "Should not be called";
61
 
}
62
 
 
 
39
, d(new VideoDocumentLoadedImplPrivate)
 
40
{
 
41
}
 
42
 
 
43
VideoDocumentLoadedImpl::~VideoDocumentLoadedImpl()
 
44
{
 
45
    delete d;
 
46
}
 
47
 
 
48
void VideoDocumentLoadedImpl::init()
 
49
{
 
50
    emit loaded();
 
51
}
 
52
 
 
53
Document::LoadingState VideoDocumentLoadedImpl::loadingState() const
 
54
{
 
55
    return Document::Loaded;
 
56
}
 
57
 
 
58
void VideoDocumentLoadedImpl::setImage(const QImage&)
 
59
{
 
60
    kWarning() << "Should not be called";
 
61
}
63
62
 
64
63
} // namespace