rename MarginEdge

This commit is contained in:
Marco Martin 2013-05-14 20:37:16 +02:00
parent 8f2e5b2375
commit 6e113e6176
3 changed files with 3 additions and 3 deletions

View File

@ -386,7 +386,7 @@ QSizeF FrameSvg::frameSize() const
} }
} }
qreal FrameSvg::marginSize(const Plasma::MarginEdge edge) const qreal FrameSvg::marginSize(const Plasma::Types::MarginEdge edge) const
{ {
if (d->frames[d->prefix]->noBorderPadding) { if (d->frames[d->prefix]->noBorderPadding) {
return .0; return .0;

View File

@ -140,7 +140,7 @@ class PLASMA_EXPORT FrameSvg : public Svg
* @param edge the margin edge we want, top, bottom, left or right * @param edge the margin edge we want, top, bottom, left or right
* @return the margin size * @return the margin size
*/ */
Q_INVOKABLE qreal marginSize(const Plasma::MarginEdge edge) const; Q_INVOKABLE qreal marginSize(const Plasma::Types::MarginEdge edge) const;
/** /**
* Convenience method that extracts the size of the four margins * Convenience method that extracts the size of the four margins

View File

@ -312,7 +312,7 @@ PLASMA_EXPORT Types::Direction locationToInverseDirection(Types::Location locati
//typedef Types::IntervalAlignment IntervalAlignment; //typedef Types::IntervalAlignment IntervalAlignment;
//typedef Types::ImmutabilityType ImmutabilityType; //typedef Types::ImmutabilityType ImmutabilityType;
//typedef Types::ComponentType ComponentType; //typedef Types::ComponentType ComponentType;
typedef Types::MarginEdge MarginEdge; //typedef Types::MarginEdge MarginEdge;
typedef Types::MessageButton MessageButton; typedef Types::MessageButton MessageButton;
typedef Types::ItemStatus ItemStatus; typedef Types::ItemStatus ItemStatus;
typedef Types::TrustLevel TrustLevel; typedef Types::TrustLevel TrustLevel;