aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/abstractpreferenceswidget.cpp
blob: 88228ee9859c8a3610e9109012c1ae10c2d46c10 (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, double positionHeight)
: QWidget(), _icon(icon), _name(name), _positionHeight(positionHeight)
{
}

QIcon AbstractPreferencesWidget::icon() const
{
	return _icon;
}

QString AbstractPreferencesWidget::name() const
{
	return _name;
}

double AbstractPreferencesWidget::positionHeight() const
{
	return _positionHeight;
}