X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fresizingstackedwidget.h;h=44b96a0e9f274aa870febbbaa779a15909ea56f5;hp=7015469f3ade401a1024617f30c2eac2d7cae573;hb=03ee70025a98912c163155955fe3cc3045f629b9;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49 diff --git a/src/uisupport/resizingstackedwidget.h b/src/uisupport/resizingstackedwidget.h index 7015469f..44b96a0e 100644 --- a/src/uisupport/resizingstackedwidget.h +++ b/src/uisupport/resizingstackedwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,23 +18,21 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef RESIZINGSTACKEDWIDGET_H_ -#define RESIZINGSTACKEDWIDGET_H_ +#pragma once + +#include "uisupport-export.h" #include -class ResizingStackedWidget : public QStackedWidget +class UISUPPORT_EXPORT ResizingStackedWidget : public QStackedWidget { Q_OBJECT public: - ResizingStackedWidget(QWidget *parent = 0); + ResizingStackedWidget(QWidget* parent = nullptr); - virtual QSize sizeHint() const; + QSize sizeHint() const override; private slots: void indexChanged(int index); }; - - -#endif // RESIZINGSTACKEDWIDGET_H_