mirror of
https://github.com/OpenMW/openmw.git
synced 2025-09-18 18:44:13 +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
|