Mercurial > trustbridge
view ui/helpdialog.h @ 605:1642a79cc02d
Every class that inherits QObject needs the Q_Object macro.
Fixes moc warnings
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 18 Jun 2014 10:44:39 +0200 |
parents | 17e1c8f37d72 |
children | 2a1aa9df8f11 |
line wrap: on
line source
/* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=2) * and comes with ABSOLUTELY NO WARRANTY! * See LICENSE.txt for details. */ #ifndef HELPDIALOG_H #define HELPDIALOG_H #include <QDialog> #include <QMainWindow> /** * @file helpdialog.h * @brief The dialog for help text. */ class HelpDialog : public QDialog { Q_OBJECT public: /** @brief Create a help dialog */ HelpDialog(QMainWindow *parent); private: void setupGUI(); }; #endif // HELPDIALOG_H