X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fresizingstackedwidget.h;h=4e8cff234fff68025caec79c327f312c7b19b6d5;hp=7015469f3ade401a1024617f30c2eac2d7cae573;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hpb=04315f46a16fc3627218377071e008b6b9744992 diff --git a/src/uisupport/resizingstackedwidget.h b/src/uisupport/resizingstackedwidget.h index 7015469f..4e8cff23 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; private slots: void indexChanged(int index); }; - - -#endif // RESIZINGSTACKEDWIDGET_H_