1 2 3 4 5 6 7 8 9 10 11 12 13 14
#pragma once #include <QString> #include <settingsobject.h> class BaseInstance; #define I_D(Class) Class##Private * const d = (Class##Private * const) inst_d.data() struct BaseInstancePrivate { QString m_rootDir; QString m_group; SettingsObject *m_settings; };