~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to libs/flake/KoInsets.h

  • 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
 
 * Copyright (C) 2006 Thomas Zander <zander@kde.org>
 
2
 * Copyright (C) 2006, 2010 Thomas Zander <zander@kde.org>
3
3
 *
4
4
 * This library is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU Library General Public
50
50
    KoInsets() : top(0.), bottom(0.), left(0.), right(0.) {
51
51
    }
52
52
 
 
53
    /// clears the insets so all sides are set to zero
 
54
    void clear() {
 
55
        top = 0;
 
56
        bottom = 0;
 
57
        left = 0;
 
58
        right = 0;
 
59
    }
 
60
 
53
61
    qreal top;     ///< Top inset
54
62
    qreal bottom;  ///< Bottom inset
55
63
    qreal left;    ///< Left inset