aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/abstractpreferenceswidget.cpp
blob: 1b2aeaae5b4a6e6348a1ff6eb784b2915d7fb7b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0
#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;
}