mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:25:18 +00:00
UI: IocContainer: Don't inherit from QObject.
This commit is contained in:
parent
7d1e1f6f4d
commit
e15cb97f0f
@ -6,7 +6,7 @@
|
||||
|
||||
int IocContainer::g_tlsIndex = -1;
|
||||
|
||||
IocContainer::IocContainer(QObject *parent) : QObject(parent) { }
|
||||
IocContainer::IocContainer() = default;
|
||||
|
||||
IocContainer::~IocContainer()
|
||||
{
|
||||
|
@ -12,15 +12,13 @@ using IocObject = void;
|
||||
|
||||
constexpr int IOC_MAX_SIZE = 32;
|
||||
|
||||
class IocContainer : public QObject
|
||||
class IocContainer
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum IocFlag : quint8 { AutoDelete = 0x01, IsService = 0x02, WasSetUp = 0x04 };
|
||||
|
||||
explicit IocContainer(QObject *parent = nullptr);
|
||||
~IocContainer() override;
|
||||
explicit IocContainer();
|
||||
~IocContainer();
|
||||
|
||||
const int size() const { return m_size; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user