// ------------------------------------------------------------------------------ // // This code was generated by a tool. // Mono Runtime Version: 2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ namespace Wrappers { using System; using System.Runtime.InteropServices; using Mono.VisualC.Interop; public class QCheckBox : QAbstractButton { private static IQCheckBox impl = Wrappers.Libs.Lib.GetClass ("QCheckBox"); public QCheckBox(QWidget parent) { impl.QCheckBox(this.Native, parent); } public QCheckBox(QString text, QWidget parent) { impl.QCheckBox(this.Native, text, parent); } public bool IsTristate { get { return impl.isTristate(this.Native); } } public CheckState CheckState { get { return impl.checkState(this.Native); } set { impl.setCheckState(this.Native, value); } } public void SetTristate(bool y) { impl.setTristate(this.Native, y); } public override void Dispose() { // FIXME: Check for inline destructor for this class. this.Native.Dispose(); } public interface IQCheckBox : ICppClassOverridable { [Constructor()] void QCheckBox(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); [Constructor()] void QCheckBox(CppInstancePtr @this, [MangleAs("class QString const &")] QString text, [MangleAs("class QWidget *")] QWidget parent); void setTristate(CppInstancePtr @this, [MangleAs("bool")] bool y); [Const()] bool isTristate(CppInstancePtr @this); [Const()] CheckState checkState(CppInstancePtr @this); void setCheckState(CppInstancePtr @this, [MangleAs("enum CheckState")] CheckState value); } private struct _QCheckBox { } } }