X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fresizingstackedwidget.h;h=db3a987d0f81c0c0448d8a1f1a4bae2352cdc88a;hb=a8ab790b2218d6131f12b622b1373ba62958f3ef;hp=af715c4ade96c08960c3c0f0da02c648b4f30201;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/uisupport/resizingstackedwidget.h b/src/uisupport/resizingstackedwidget.h index af715c4a..db3a987d 100644 --- a/src/uisupport/resizingstackedwidget.h +++ b/src/uisupport/resizingstackedwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2019 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_