ACF $AcfVersion:0$
CDesignThemeEvent.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QEvent>
7
8
9namespace iqt
10{
11
12
13class CDesignThemeEvent: public QEvent
14{
15public:
16 typedef QEvent BaseClass;
17
18 static int s_eventType;
19
20 CDesignThemeEvent(const QByteArray& themeId);
21
22 QByteArray GetThemeId() const;
23
24#if QT_VERSION >= 0x600000
25 // reimplemented (QEvent)
26 virtual QEvent* clone() const override;
27#endif
28private:
29 QByteArray m_themeId;
30};
31
32
33} // namespace iqt
34
35
CDesignThemeEvent(const QByteArray &themeId)
QByteArray GetThemeId() const
This namespace contains non-UI utility classes based on Qt.