subsurface/desktop-widgets/preferences/abstractpreferenceswidget.cpp
Lubomir I. Ivanov 829f7a2ee2 abstractpreferenceswidget.cpp: fix argument warning
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2015-11-07 22:26:33 -08:00

21 lines
450 B
C++

#include "abstractpreferenceswidget.h"
AbstractPreferencesWidget::AbstractPreferencesWidget(const QString& name, const QIcon& icon, float positionHeight)
: QWidget(), _icon(icon), _name(name), _positionHeight(positionHeight)
{
}
QIcon AbstractPreferencesWidget::icon() const
{
return _icon;
}
QString AbstractPreferencesWidget::name() const
{
return _name;
}
float AbstractPreferencesWidget::positionHeight() const
{
return _positionHeight;
}