~ubuntu-branches/ubuntu/oneiric/koffice/oneiric-updates

« back to all changes in this revision

Viewing changes to kpresenter/part/KPrPageData.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* This file is part of the KDE project
2
2
 * Copyright ( C ) 2007 Thorsten Zachmann <zachmann@kde.org>
 
3
 * Copyright (C) 2010 Benjamin Port <port.benjamin@gmail.com>
3
4
 *
4
5
 * This library is free software; you can redistribute it and/or
5
6
 * modify it under the terms of the GNU Library General Public
18
19
 */
19
20
 
20
21
#include "KPrPageData.h"
 
22
#include "KPrShapeAnimations.h"
21
23
 
22
24
KPrPageData::KPrPageData()
23
25
{
25
27
 
26
28
KPrPageData::~KPrPageData()
27
29
{
 
30
    foreach (KPrAnimationStep *step, m_animations.steps()) {
 
31
        delete step;
 
32
    }
28
33
}
29
34
 
30
35
KPrShapeAnimations & KPrPageData::animations()
41
46
{
42
47
    return m_placeholders;
43
48
}
 
49
 
 
50
QList<KPrAnimationStep *> KPrPageData::animationSteps() const
 
51
{
 
52
    return m_animations.steps();
 
53
}