Added unit-independent distance type.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* Paper.cpp
|
||||
*
|
||||
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
|
||||
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
|
||||
*
|
||||
* This file is part of gLabels-qt.
|
||||
*
|
||||
@@ -24,7 +24,11 @@
|
||||
namespace libglabels
|
||||
{
|
||||
|
||||
Paper::Paper( const QString& id, const QString& name, double width, double height, const QString& pwgSize )
|
||||
Paper::Paper( const QString& id,
|
||||
const QString& name,
|
||||
const Distance& width,
|
||||
const Distance& height,
|
||||
const QString& pwgSize )
|
||||
: mId(id), mName(name), mWidth(width), mHeight(height), mPwgSize(pwgSize)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user