~ubuntu-branches/ubuntu/quantal/gwenview/quantal-proposed

« back to all changes in this revision

Viewing changes to lib/graphicswidgetfloater.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac, Philip Muškovac, Scott Kitterman
  • Date: 2011-12-24 18:54:55 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111224185455-zxffs6i6m5cwwuze
Tags: 4:4.7.95-0ubuntu1
[ Philip Muškovac ]
* New upstream release candiate

[ Scott Kitterman ]
* Fix Ubuntu Vcs- header in debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <QPointer>
28
28
 
29
29
// KDE
30
 
#include <kdebug.h>
31
 
#include <kdialog.h>
 
30
#include <KDebug>
 
31
#include <KDialog>
32
32
 
33
33
// Local
34
34
 
35
35
namespace Gwenview
36
36
{
37
37
 
38
 
struct GraphicsWidgetFloaterPrivate {
 
38
struct GraphicsWidgetFloaterPrivate
 
39
{
39
40
    QGraphicsWidget* mParent;
40
41
    QPointer<QGraphicsWidget> mChild;
41
42
    Qt::Alignment mAlignment;
54
55
        }
55
56
        mInsideUpdateChildGeometry = true;
56
57
 
57
 
        qreal posX, posY;
58
 
        qreal childWidth, childHeight;
59
 
        qreal parentWidth, parentHeight;
 
58
        int posX, posY;
 
59
        int childWidth, childHeight;
 
60
        int parentWidth, parentHeight;
60
61
 
61
62
        childWidth = mChild->size().width();
62
63
        childHeight = mChild->size().height();