#include "touch_widgets.h" #include "touchsliderplugin.h" #include "touchbuttframeplugin.h" #include "touchbuttonplugin.h" TW::TW(QObject *parent) : QObject(parent) { m_widgets.append(new TouchSliderPlugin(this)); m_widgets.append(new TouchButtFramePlugin(this)); m_widgets.append(new TouchButtonPlugin(this)); } QList TW::customWidgets() const { return m_widgets; } #if QT_VERSION < 0x050000 Q_EXPORT_PLUGIN2(twplugin, TW) #endif