mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			486 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			486 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // 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;
 | |
| }
 |