C++ (Qt)while(!asleep()) sheep++;
C++ (Qt)class MessageCheckBoxImpl; class MessageCheckBox{public: MessageCheckBox(const QString &text, const QString &checkboxText, QWidget *parent = 0); virtual ~MessageCheckBox(); void setChecked(bool checked); bool isChecked(); int exec(); private: MessageCheckBoxImpl * mImpl;};
C++ (Qt)MessageCheckBox::MessageCheckBox(const QString &text, const QString &checkboxText, QWidget *parent /*= 0*/) : _impl(new MessageCheckBoxImpl(text, checkboxText, parent)) {}