Your plugin loads fine for me but I don't see the widget in my widget box. You're missing the Q_OBJECT macro, I think.