mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 05:56:38 +00:00 
			
		
		
		
	Remove .cpp files with small amount of code which don't have additional includes compared to corresponding .hpp files. This reduces the total size of preprocessed code of the project and should reduce compilation time.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			509 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			509 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSV_DOC_SIZEHINT_H
 | |
| #define CSV_DOC_SIZEHINT_H
 | |
| 
 | |
| #include <QSize>
 | |
| #include <QWidget>
 | |
| 
 | |
| namespace CSVDoc
 | |
| {
 | |
|     class SizeHintWidget : public QWidget
 | |
|     {
 | |
|         QSize mSize;
 | |
| 
 | |
|     public:
 | |
|         explicit SizeHintWidget(QWidget* parent = nullptr)
 | |
|             : QWidget(parent)
 | |
|         {
 | |
|         }
 | |
| 
 | |
|         ~SizeHintWidget() override = default;
 | |
| 
 | |
|         QSize sizeHint() const override { return mSize; }
 | |
|         void setSizeHint(const QSize& size) { mSize = size; }
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif // CSV_DOC_SIZEHINT_H
 |