mirror of https://github.com/mono/CppSharp.git
72 changed files with 238653 additions and 0 deletions
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
../src/Mono.VisualC.Code/bin/Debug/Mono.VisualC.Code.dll |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
../src/Mono.VisualC.Code/bin/Debug/Mono.VisualC.Code.dll.mdb |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
../src/Mono.VisualC.Interop/bin/Debug/Mono.VisualC.Interop.dll |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
../src/Mono.VisualC.Interop/bin/Debug/Mono.VisualC.Interop.dll.mdb |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,21 @@
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet version="1.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
||||
exclude-result-prefixes="xsl" |
||||
|
||||
> |
||||
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/> |
||||
<xsl:strip-space elements="*" /> |
||||
|
||||
<xsl:template match="/"> |
||||
<root> |
||||
<xsl:apply-templates /> |
||||
</root> |
||||
</xsl:template> |
||||
|
||||
<xsl:template match="*[@mangled]"> |
||||
<pair><xsl:copy-of select="@mangled" /><xsl:copy-of select="@demangled" /></pair> |
||||
<xsl:apply-templates /> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
../src/generator/bin/Debug/generator |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
../src/generator/bin/Debug/generator.exe |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
../src/generator/bin/Debug/generator.exe.mdb |
@ -0,0 +1,37 @@
@@ -0,0 +1,37 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public enum Callback { |
||||
ConnectCallback = 0, |
||||
DisconnectCallback = 1, |
||||
AdoptCurrentThread = 2, |
||||
EventNotifyCallback = 3, |
||||
LastCallback = 4, |
||||
} |
||||
public enum InternalFunction { |
||||
CreateThreadForAdoption = 0, |
||||
RefAdoptedThread = 1, |
||||
DerefAdoptedThread = 2, |
||||
SetCurrentThreadToMainThread = 3, |
||||
SetQObjectSender = 4, |
||||
GetQObjectSender = 5, |
||||
ResetQObjectSender = 6, |
||||
LastInternalFunction = 7, |
||||
} |
||||
public enum GestureFlag { |
||||
DontStartGestureOnChildren = 1, |
||||
ReceivePartialGestures = 2, |
||||
} |
||||
} |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
|
||||
internal sealed partial class Libs { |
||||
public static Mono.VisualC.Interop.CppLibrary Lib = new Mono.VisualC.Interop.CppLibrary("Lib"); |
||||
} |
||||
} |
@ -0,0 +1,173 @@
@@ -0,0 +1,173 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QAbstractButton : QWidget { |
||||
private static IQAbstractButton impl = Wrappers.Libs.Lib.GetClass <IQAbstractButton, _QAbstractButton, QAbstractButton>("QAbstractButton"); |
||||
public QAbstractButton(QWidget parent) { |
||||
impl.QAbstractButton(this.Native, parent); |
||||
} |
||||
public QString Text { |
||||
get { |
||||
return impl.text(this.Native); |
||||
} |
||||
set { |
||||
impl.setText(this.Native, value); |
||||
} |
||||
} |
||||
public QIcon Icon { |
||||
get { |
||||
return impl.icon(this.Native); |
||||
} |
||||
set { |
||||
impl.setIcon(this.Native, value); |
||||
} |
||||
} |
||||
public QSize IconSize { |
||||
get { |
||||
return impl.iconSize(this.Native); |
||||
} |
||||
set { |
||||
impl.setIconSize(this.Native, value); |
||||
} |
||||
} |
||||
public QKeySequence Shortcut { |
||||
get { |
||||
return impl.shortcut(this.Native); |
||||
} |
||||
set { |
||||
impl.setShortcut(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsCheckable { |
||||
get { |
||||
return impl.isCheckable(this.Native); |
||||
} |
||||
} |
||||
public bool IsChecked { |
||||
get { |
||||
return impl.isChecked(this.Native); |
||||
} |
||||
} |
||||
public bool IsDown { |
||||
get { |
||||
return impl.isDown(this.Native); |
||||
} |
||||
} |
||||
public bool AutoRepeat { |
||||
get { |
||||
return impl.autoRepeat(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeat(this.Native, value); |
||||
} |
||||
} |
||||
public int AutoRepeatDelay { |
||||
get { |
||||
return impl.autoRepeatDelay(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeatDelay(this.Native, value); |
||||
} |
||||
} |
||||
public int AutoRepeatInterval { |
||||
get { |
||||
return impl.autoRepeatInterval(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeatInterval(this.Native, value); |
||||
} |
||||
} |
||||
public bool AutoExclusive { |
||||
get { |
||||
return impl.autoExclusive(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoExclusive(this.Native, value); |
||||
} |
||||
} |
||||
public QButtonGroup Group { |
||||
get { |
||||
return impl.group(this.Native); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetCheckable(bool arg0) { |
||||
impl.setCheckable(this.Native, arg0); |
||||
} |
||||
public void SetDown(bool arg0) { |
||||
impl.setDown(this.Native, arg0); |
||||
} |
||||
public void AnimateClick(int msec) { |
||||
impl.animateClick(this.Native, msec); |
||||
} |
||||
public void Click() { |
||||
impl.click(this.Native); |
||||
} |
||||
public void Toggle() { |
||||
impl.toggle(this.Native); |
||||
} |
||||
public void SetChecked(bool arg0) { |
||||
impl.setChecked(this.Native, arg0); |
||||
} |
||||
public interface IQAbstractButton : ICppClassOverridable<QAbstractButton> { |
||||
[Constructor()] |
||||
void QAbstractButton(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QString text(CppInstancePtr @this); |
||||
void setText(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QIcon icon(CppInstancePtr @this); |
||||
void setIcon(CppInstancePtr @this, [MangleAs("class QIcon const &")] QIcon value); |
||||
[Const()] |
||||
QSize iconSize(CppInstancePtr @this); |
||||
void setIconSize(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize value); |
||||
[Const()] |
||||
QKeySequence shortcut(CppInstancePtr @this); |
||||
void setShortcut(CppInstancePtr @this, [MangleAs("class QKeySequence const &")] QKeySequence value); |
||||
void setCheckable(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
[Const()] |
||||
bool isCheckable(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isChecked(CppInstancePtr @this); |
||||
void setDown(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
[Const()] |
||||
bool isDown(CppInstancePtr @this); |
||||
[Const()] |
||||
bool autoRepeat(CppInstancePtr @this); |
||||
void setAutoRepeat(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
int autoRepeatDelay(CppInstancePtr @this); |
||||
void setAutoRepeatDelay(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int autoRepeatInterval(CppInstancePtr @this); |
||||
void setAutoRepeatInterval(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
bool autoExclusive(CppInstancePtr @this); |
||||
void setAutoExclusive(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QButtonGroup group(CppInstancePtr @this); |
||||
void animateClick(CppInstancePtr @this, [MangleAs("int")] int msec); |
||||
void click(CppInstancePtr @this); |
||||
void toggle(CppInstancePtr @this); |
||||
void setChecked(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
} |
||||
private struct _QAbstractButton { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,173 @@
@@ -0,0 +1,173 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QAbstractButton : QWidget { |
||||
private static IQAbstractButton impl = Wrappers.Libs.Lib.GetClass <IQAbstractButton, _QAbstractButton, QAbstractButton>("QAbstractButton"); |
||||
public QAbstractButton(QWidget parent) { |
||||
impl.QAbstractButton(this.Native, parent); |
||||
} |
||||
public QString Text { |
||||
get { |
||||
return impl.text(this.Native); |
||||
} |
||||
set { |
||||
impl.setText(this.Native, value); |
||||
} |
||||
} |
||||
public QIcon Icon { |
||||
get { |
||||
return impl.icon(this.Native); |
||||
} |
||||
set { |
||||
impl.setIcon(this.Native, value); |
||||
} |
||||
} |
||||
public QSize IconSize { |
||||
get { |
||||
return impl.iconSize(this.Native); |
||||
} |
||||
set { |
||||
impl.setIconSize(this.Native, value); |
||||
} |
||||
} |
||||
public QKeySequence Shortcut { |
||||
get { |
||||
return impl.shortcut(this.Native); |
||||
} |
||||
set { |
||||
impl.setShortcut(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsCheckable { |
||||
get { |
||||
return impl.isCheckable(this.Native); |
||||
} |
||||
} |
||||
public bool IsChecked { |
||||
get { |
||||
return impl.isChecked(this.Native); |
||||
} |
||||
} |
||||
public bool IsDown { |
||||
get { |
||||
return impl.isDown(this.Native); |
||||
} |
||||
} |
||||
public bool AutoRepeat { |
||||
get { |
||||
return impl.autoRepeat(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeat(this.Native, value); |
||||
} |
||||
} |
||||
public int AutoRepeatDelay { |
||||
get { |
||||
return impl.autoRepeatDelay(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeatDelay(this.Native, value); |
||||
} |
||||
} |
||||
public int AutoRepeatInterval { |
||||
get { |
||||
return impl.autoRepeatInterval(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeatInterval(this.Native, value); |
||||
} |
||||
} |
||||
public bool AutoExclusive { |
||||
get { |
||||
return impl.autoExclusive(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoExclusive(this.Native, value); |
||||
} |
||||
} |
||||
public QButtonGroup Group { |
||||
get { |
||||
return impl.group(this.Native); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetCheckable(bool arg0) { |
||||
impl.setCheckable(this.Native, arg0); |
||||
} |
||||
public void SetDown(bool arg0) { |
||||
impl.setDown(this.Native, arg0); |
||||
} |
||||
public void AnimateClick(int msec) { |
||||
impl.animateClick(this.Native, msec); |
||||
} |
||||
public void Click() { |
||||
impl.click(this.Native); |
||||
} |
||||
public void Toggle() { |
||||
impl.toggle(this.Native); |
||||
} |
||||
public void SetChecked(bool arg0) { |
||||
impl.setChecked(this.Native, arg0); |
||||
} |
||||
public interface IQAbstractButton : ICppClassOverridable<QAbstractButton> { |
||||
[Constructor()] |
||||
void QAbstractButton(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QString text(CppInstancePtr @this); |
||||
void setText(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QIcon icon(CppInstancePtr @this); |
||||
void setIcon(CppInstancePtr @this, [MangleAs("class QIcon const &")] QIcon value); |
||||
[Const()] |
||||
QSize iconSize(CppInstancePtr @this); |
||||
void setIconSize(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize value); |
||||
[Const()] |
||||
QKeySequence shortcut(CppInstancePtr @this); |
||||
void setShortcut(CppInstancePtr @this, [MangleAs("class QKeySequence const &")] QKeySequence value); |
||||
void setCheckable(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
[Const()] |
||||
bool isCheckable(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isChecked(CppInstancePtr @this); |
||||
void setDown(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
[Const()] |
||||
bool isDown(CppInstancePtr @this); |
||||
[Const()] |
||||
bool autoRepeat(CppInstancePtr @this); |
||||
void setAutoRepeat(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
int autoRepeatDelay(CppInstancePtr @this); |
||||
void setAutoRepeatDelay(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int autoRepeatInterval(CppInstancePtr @this); |
||||
void setAutoRepeatInterval(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
bool autoExclusive(CppInstancePtr @this); |
||||
void setAutoExclusive(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QButtonGroup group(CppInstancePtr @this); |
||||
void animateClick(CppInstancePtr @this, [MangleAs("int")] int msec); |
||||
void click(CppInstancePtr @this); |
||||
void toggle(CppInstancePtr @this); |
||||
void setChecked(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
} |
||||
private struct _QAbstractButton { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,173 @@
@@ -0,0 +1,173 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QAbstractButton : QWidget { |
||||
private static IQAbstractButton impl = Wrappers.Libs.Lib.GetClass <IQAbstractButton, _QAbstractButton, QAbstractButton>("QAbstractButton"); |
||||
public QAbstractButton(QWidget parent) { |
||||
impl.QAbstractButton(this.Native, parent); |
||||
} |
||||
public QString Text { |
||||
get { |
||||
return impl.text(this.Native); |
||||
} |
||||
set { |
||||
impl.setText(this.Native, value); |
||||
} |
||||
} |
||||
public QIcon Icon { |
||||
get { |
||||
return impl.icon(this.Native); |
||||
} |
||||
set { |
||||
impl.setIcon(this.Native, value); |
||||
} |
||||
} |
||||
public QSize IconSize { |
||||
get { |
||||
return impl.iconSize(this.Native); |
||||
} |
||||
set { |
||||
impl.setIconSize(this.Native, value); |
||||
} |
||||
} |
||||
public QKeySequence Shortcut { |
||||
get { |
||||
return impl.shortcut(this.Native); |
||||
} |
||||
set { |
||||
impl.setShortcut(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsCheckable { |
||||
get { |
||||
return impl.isCheckable(this.Native); |
||||
} |
||||
} |
||||
public bool IsChecked { |
||||
get { |
||||
return impl.isChecked(this.Native); |
||||
} |
||||
} |
||||
public bool IsDown { |
||||
get { |
||||
return impl.isDown(this.Native); |
||||
} |
||||
} |
||||
public bool AutoRepeat { |
||||
get { |
||||
return impl.autoRepeat(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeat(this.Native, value); |
||||
} |
||||
} |
||||
public int AutoRepeatDelay { |
||||
get { |
||||
return impl.autoRepeatDelay(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeatDelay(this.Native, value); |
||||
} |
||||
} |
||||
public int AutoRepeatInterval { |
||||
get { |
||||
return impl.autoRepeatInterval(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoRepeatInterval(this.Native, value); |
||||
} |
||||
} |
||||
public bool AutoExclusive { |
||||
get { |
||||
return impl.autoExclusive(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoExclusive(this.Native, value); |
||||
} |
||||
} |
||||
public QButtonGroup Group { |
||||
get { |
||||
return impl.group(this.Native); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetCheckable(bool arg0) { |
||||
impl.setCheckable(this.Native, arg0); |
||||
} |
||||
public void SetDown(bool arg0) { |
||||
impl.setDown(this.Native, arg0); |
||||
} |
||||
public void AnimateClick(int msec) { |
||||
impl.animateClick(this.Native, msec); |
||||
} |
||||
public void Click() { |
||||
impl.click(this.Native); |
||||
} |
||||
public void Toggle() { |
||||
impl.toggle(this.Native); |
||||
} |
||||
public void SetChecked(bool arg0) { |
||||
impl.setChecked(this.Native, arg0); |
||||
} |
||||
public interface IQAbstractButton : ICppClassOverridable<QAbstractButton> { |
||||
[Constructor()] |
||||
void QAbstractButton(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QString text(CppInstancePtr @this); |
||||
void setText(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QIcon icon(CppInstancePtr @this); |
||||
void setIcon(CppInstancePtr @this, [MangleAs("class QIcon const &")] QIcon value); |
||||
[Const()] |
||||
QSize iconSize(CppInstancePtr @this); |
||||
void setIconSize(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize value); |
||||
[Const()] |
||||
QKeySequence shortcut(CppInstancePtr @this); |
||||
void setShortcut(CppInstancePtr @this, [MangleAs("class QKeySequence const &")] QKeySequence value); |
||||
void setCheckable(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
[Const()] |
||||
bool isCheckable(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isChecked(CppInstancePtr @this); |
||||
void setDown(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
[Const()] |
||||
bool isDown(CppInstancePtr @this); |
||||
[Const()] |
||||
bool autoRepeat(CppInstancePtr @this); |
||||
void setAutoRepeat(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
int autoRepeatDelay(CppInstancePtr @this); |
||||
void setAutoRepeatDelay(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int autoRepeatInterval(CppInstancePtr @this); |
||||
void setAutoRepeatInterval(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
bool autoExclusive(CppInstancePtr @this); |
||||
void setAutoExclusive(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QButtonGroup group(CppInstancePtr @this); |
||||
void animateClick(CppInstancePtr @this, [MangleAs("int")] int msec); |
||||
void click(CppInstancePtr @this); |
||||
void toggle(CppInstancePtr @this); |
||||
void setChecked(CppInstancePtr @this, [MangleAs("bool")] bool arg0); |
||||
} |
||||
private struct _QAbstractButton { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QBool : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQBool impl = Wrappers.Libs.Lib.GetClass <IQBool, _QBool, QBool>("QBool"); |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQBool : ICppClassOverridable<QBool> { |
||||
} |
||||
private struct _QBool { |
||||
private bool b; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,238 @@
@@ -0,0 +1,238 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QCalendarWidget : QWidget { |
||||
private static IQCalendarWidget impl = Wrappers.Libs.Lib.GetClass <IQCalendarWidget, _QCalendarWidget, QCalendarWidget>("QCalendarWidget"); |
||||
public QCalendarWidget(QWidget parent) { |
||||
impl.QCalendarWidget(this.Native, parent); |
||||
} |
||||
public QDate SelectedDate { |
||||
get { |
||||
return impl.selectedDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setSelectedDate(this.Native, value); |
||||
} |
||||
} |
||||
public int YearShown { |
||||
get { |
||||
return impl.yearShown(this.Native); |
||||
} |
||||
} |
||||
public int MonthShown { |
||||
get { |
||||
return impl.monthShown(this.Native); |
||||
} |
||||
} |
||||
public QDate MinimumDate { |
||||
get { |
||||
return impl.minimumDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setMinimumDate(this.Native, value); |
||||
} |
||||
} |
||||
public QDate MaximumDate { |
||||
get { |
||||
return impl.maximumDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setMaximumDate(this.Native, value); |
||||
} |
||||
} |
||||
public DayOfWeek FirstDayOfWeek { |
||||
get { |
||||
return impl.firstDayOfWeek(this.Native); |
||||
} |
||||
set { |
||||
impl.setFirstDayOfWeek(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsHeaderVisible { |
||||
get { |
||||
return impl.isHeaderVisible(this.Native); |
||||
} |
||||
} |
||||
public bool IsGridVisible { |
||||
get { |
||||
return impl.isGridVisible(this.Native); |
||||
} |
||||
} |
||||
public SelectionMode SelectionMode { |
||||
get { |
||||
return impl.selectionMode(this.Native); |
||||
} |
||||
set { |
||||
impl.setSelectionMode(this.Native, value); |
||||
} |
||||
} |
||||
public HorizontalHeaderFormat HorizontalHeaderFormat { |
||||
get { |
||||
return impl.horizontalHeaderFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setHorizontalHeaderFormat(this.Native, value); |
||||
} |
||||
} |
||||
public VerticalHeaderFormat VerticalHeaderFormat { |
||||
get { |
||||
return impl.verticalHeaderFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setVerticalHeaderFormat(this.Native, value); |
||||
} |
||||
} |
||||
public QTextCharFormat HeaderTextFormat { |
||||
get { |
||||
return impl.headerTextFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setHeaderTextFormat(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsDateEditEnabled { |
||||
get { |
||||
return impl.isDateEditEnabled(this.Native); |
||||
} |
||||
} |
||||
public int DateEditAcceptDelay { |
||||
get { |
||||
return impl.dateEditAcceptDelay(this.Native); |
||||
} |
||||
set { |
||||
impl.setDateEditAcceptDelay(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetHeaderVisible(bool show) { |
||||
impl.setHeaderVisible(this.Native, show); |
||||
} |
||||
public QTextCharFormat WeekdayTextFormat(DayOfWeek dayOfWeek) { |
||||
return impl.weekdayTextFormat(this.Native, dayOfWeek); |
||||
} |
||||
public void SetWeekdayTextFormat(DayOfWeek dayOfWeek, QTextCharFormat format) { |
||||
impl.setWeekdayTextFormat(this.Native, dayOfWeek, format); |
||||
} |
||||
public QMap<QDate, QTextCharFormat> DateTextFormat() { |
||||
return impl.dateTextFormat(this.Native); |
||||
} |
||||
public QTextCharFormat DateTextFormat(QDate date) { |
||||
return impl.dateTextFormat(this.Native, date); |
||||
} |
||||
public void SetDateTextFormat(QDate date, QTextCharFormat format) { |
||||
impl.setDateTextFormat(this.Native, date, format); |
||||
} |
||||
public void SetDateEditEnabled(bool enable) { |
||||
impl.setDateEditEnabled(this.Native, enable); |
||||
} |
||||
public void SetDateRange(QDate min, QDate max) { |
||||
impl.setDateRange(this.Native, min, max); |
||||
} |
||||
public void SetCurrentPage(int year, int month) { |
||||
impl.setCurrentPage(this.Native, year, month); |
||||
} |
||||
public void SetGridVisible(bool show) { |
||||
impl.setGridVisible(this.Native, show); |
||||
} |
||||
public void SetNavigationBarVisible(bool visible) { |
||||
impl.setNavigationBarVisible(this.Native, visible); |
||||
} |
||||
public void ShowNextMonth() { |
||||
impl.showNextMonth(this.Native); |
||||
} |
||||
public void ShowPreviousMonth() { |
||||
impl.showPreviousMonth(this.Native); |
||||
} |
||||
public void ShowNextYear() { |
||||
impl.showNextYear(this.Native); |
||||
} |
||||
public void ShowPreviousYear() { |
||||
impl.showPreviousYear(this.Native); |
||||
} |
||||
public void ShowSelectedDate() { |
||||
impl.showSelectedDate(this.Native); |
||||
} |
||||
public void ShowToday() { |
||||
impl.showToday(this.Native); |
||||
} |
||||
public interface IQCalendarWidget : ICppClassOverridable<QCalendarWidget> { |
||||
[Constructor()] |
||||
void QCalendarWidget(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QDate selectedDate(CppInstancePtr @this); |
||||
void setSelectedDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
int yearShown(CppInstancePtr @this); |
||||
[Const()] |
||||
int monthShown(CppInstancePtr @this); |
||||
[Const()] |
||||
QDate minimumDate(CppInstancePtr @this); |
||||
void setMinimumDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
QDate maximumDate(CppInstancePtr @this); |
||||
void setMaximumDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
DayOfWeek firstDayOfWeek(CppInstancePtr @this); |
||||
void setFirstDayOfWeek(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek value); |
||||
[Const()] |
||||
bool isHeaderVisible(CppInstancePtr @this); |
||||
void setHeaderVisible(CppInstancePtr @this, [MangleAs("bool")] bool show); |
||||
[Const()] |
||||
bool isGridVisible(CppInstancePtr @this); |
||||
[Const()] |
||||
SelectionMode selectionMode(CppInstancePtr @this); |
||||
void setSelectionMode(CppInstancePtr @this, [MangleAs("enum SelectionMode")] SelectionMode value); |
||||
[Const()] |
||||
HorizontalHeaderFormat horizontalHeaderFormat(CppInstancePtr @this); |
||||
void setHorizontalHeaderFormat(CppInstancePtr @this, [MangleAs("enum HorizontalHeaderFormat")] HorizontalHeaderFormat value); |
||||
[Const()] |
||||
VerticalHeaderFormat verticalHeaderFormat(CppInstancePtr @this); |
||||
void setVerticalHeaderFormat(CppInstancePtr @this, [MangleAs("enum VerticalHeaderFormat")] VerticalHeaderFormat value); |
||||
[Const()] |
||||
QTextCharFormat headerTextFormat(CppInstancePtr @this); |
||||
void setHeaderTextFormat(CppInstancePtr @this, [MangleAs("class QTextCharFormat const &")] QTextCharFormat value); |
||||
[Const()] |
||||
QTextCharFormat weekdayTextFormat(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek dayOfWeek); |
||||
void setWeekdayTextFormat(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek dayOfWeek, [MangleAs("class QTextCharFormat const &")] QTextCharFormat format); |
||||
[Const()] |
||||
QMap<QDate, QTextCharFormat> dateTextFormat(CppInstancePtr @this); |
||||
[Const()] |
||||
QTextCharFormat dateTextFormat(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate date); |
||||
void setDateTextFormat(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate date, [MangleAs("class QTextCharFormat const &")] QTextCharFormat format); |
||||
[Const()] |
||||
bool isDateEditEnabled(CppInstancePtr @this); |
||||
void setDateEditEnabled(CppInstancePtr @this, [MangleAs("bool")] bool enable); |
||||
[Const()] |
||||
int dateEditAcceptDelay(CppInstancePtr @this); |
||||
void setDateEditAcceptDelay(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
void setDateRange(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate min, [MangleAs("class QDate const &")] QDate max); |
||||
void setCurrentPage(CppInstancePtr @this, [MangleAs("int")] int year, [MangleAs("int")] int month); |
||||
void setGridVisible(CppInstancePtr @this, [MangleAs("bool")] bool show); |
||||
void setNavigationBarVisible(CppInstancePtr @this, [MangleAs("bool")] bool visible); |
||||
void showNextMonth(CppInstancePtr @this); |
||||
void showPreviousMonth(CppInstancePtr @this); |
||||
void showNextYear(CppInstancePtr @this); |
||||
void showPreviousYear(CppInstancePtr @this); |
||||
void showSelectedDate(CppInstancePtr @this); |
||||
void showToday(CppInstancePtr @this); |
||||
} |
||||
private struct _QCalendarWidget { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,238 @@
@@ -0,0 +1,238 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QCalendarWidget : QWidget { |
||||
private static IQCalendarWidget impl = Wrappers.Libs.Lib.GetClass <IQCalendarWidget, _QCalendarWidget, QCalendarWidget>("QCalendarWidget"); |
||||
public QCalendarWidget(QWidget parent) { |
||||
impl.QCalendarWidget(this.Native, parent); |
||||
} |
||||
public QDate SelectedDate { |
||||
get { |
||||
return impl.selectedDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setSelectedDate(this.Native, value); |
||||
} |
||||
} |
||||
public int YearShown { |
||||
get { |
||||
return impl.yearShown(this.Native); |
||||
} |
||||
} |
||||
public int MonthShown { |
||||
get { |
||||
return impl.monthShown(this.Native); |
||||
} |
||||
} |
||||
public QDate MinimumDate { |
||||
get { |
||||
return impl.minimumDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setMinimumDate(this.Native, value); |
||||
} |
||||
} |
||||
public QDate MaximumDate { |
||||
get { |
||||
return impl.maximumDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setMaximumDate(this.Native, value); |
||||
} |
||||
} |
||||
public DayOfWeek FirstDayOfWeek { |
||||
get { |
||||
return impl.firstDayOfWeek(this.Native); |
||||
} |
||||
set { |
||||
impl.setFirstDayOfWeek(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsHeaderVisible { |
||||
get { |
||||
return impl.isHeaderVisible(this.Native); |
||||
} |
||||
} |
||||
public bool IsGridVisible { |
||||
get { |
||||
return impl.isGridVisible(this.Native); |
||||
} |
||||
} |
||||
public SelectionMode SelectionMode { |
||||
get { |
||||
return impl.selectionMode(this.Native); |
||||
} |
||||
set { |
||||
impl.setSelectionMode(this.Native, value); |
||||
} |
||||
} |
||||
public HorizontalHeaderFormat HorizontalHeaderFormat { |
||||
get { |
||||
return impl.horizontalHeaderFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setHorizontalHeaderFormat(this.Native, value); |
||||
} |
||||
} |
||||
public VerticalHeaderFormat VerticalHeaderFormat { |
||||
get { |
||||
return impl.verticalHeaderFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setVerticalHeaderFormat(this.Native, value); |
||||
} |
||||
} |
||||
public QTextCharFormat HeaderTextFormat { |
||||
get { |
||||
return impl.headerTextFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setHeaderTextFormat(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsDateEditEnabled { |
||||
get { |
||||
return impl.isDateEditEnabled(this.Native); |
||||
} |
||||
} |
||||
public int DateEditAcceptDelay { |
||||
get { |
||||
return impl.dateEditAcceptDelay(this.Native); |
||||
} |
||||
set { |
||||
impl.setDateEditAcceptDelay(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetHeaderVisible(bool show) { |
||||
impl.setHeaderVisible(this.Native, show); |
||||
} |
||||
public QTextCharFormat WeekdayTextFormat(DayOfWeek dayOfWeek) { |
||||
return impl.weekdayTextFormat(this.Native, dayOfWeek); |
||||
} |
||||
public void SetWeekdayTextFormat(DayOfWeek dayOfWeek, QTextCharFormat format) { |
||||
impl.setWeekdayTextFormat(this.Native, dayOfWeek, format); |
||||
} |
||||
public QMap<QDate, QTextCharFormat> DateTextFormat() { |
||||
return impl.dateTextFormat(this.Native); |
||||
} |
||||
public QTextCharFormat DateTextFormat(QDate date) { |
||||
return impl.dateTextFormat(this.Native, date); |
||||
} |
||||
public void SetDateTextFormat(QDate date, QTextCharFormat format) { |
||||
impl.setDateTextFormat(this.Native, date, format); |
||||
} |
||||
public void SetDateEditEnabled(bool enable) { |
||||
impl.setDateEditEnabled(this.Native, enable); |
||||
} |
||||
public void SetDateRange(QDate min, QDate max) { |
||||
impl.setDateRange(this.Native, min, max); |
||||
} |
||||
public void SetCurrentPage(int year, int month) { |
||||
impl.setCurrentPage(this.Native, year, month); |
||||
} |
||||
public void SetGridVisible(bool show) { |
||||
impl.setGridVisible(this.Native, show); |
||||
} |
||||
public void SetNavigationBarVisible(bool visible) { |
||||
impl.setNavigationBarVisible(this.Native, visible); |
||||
} |
||||
public void ShowNextMonth() { |
||||
impl.showNextMonth(this.Native); |
||||
} |
||||
public void ShowPreviousMonth() { |
||||
impl.showPreviousMonth(this.Native); |
||||
} |
||||
public void ShowNextYear() { |
||||
impl.showNextYear(this.Native); |
||||
} |
||||
public void ShowPreviousYear() { |
||||
impl.showPreviousYear(this.Native); |
||||
} |
||||
public void ShowSelectedDate() { |
||||
impl.showSelectedDate(this.Native); |
||||
} |
||||
public void ShowToday() { |
||||
impl.showToday(this.Native); |
||||
} |
||||
public interface IQCalendarWidget : ICppClassOverridable<QCalendarWidget> { |
||||
[Constructor()] |
||||
void QCalendarWidget(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QDate selectedDate(CppInstancePtr @this); |
||||
void setSelectedDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
int yearShown(CppInstancePtr @this); |
||||
[Const()] |
||||
int monthShown(CppInstancePtr @this); |
||||
[Const()] |
||||
QDate minimumDate(CppInstancePtr @this); |
||||
void setMinimumDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
QDate maximumDate(CppInstancePtr @this); |
||||
void setMaximumDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
DayOfWeek firstDayOfWeek(CppInstancePtr @this); |
||||
void setFirstDayOfWeek(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek value); |
||||
[Const()] |
||||
bool isHeaderVisible(CppInstancePtr @this); |
||||
void setHeaderVisible(CppInstancePtr @this, [MangleAs("bool")] bool show); |
||||
[Const()] |
||||
bool isGridVisible(CppInstancePtr @this); |
||||
[Const()] |
||||
SelectionMode selectionMode(CppInstancePtr @this); |
||||
void setSelectionMode(CppInstancePtr @this, [MangleAs("enum SelectionMode")] SelectionMode value); |
||||
[Const()] |
||||
HorizontalHeaderFormat horizontalHeaderFormat(CppInstancePtr @this); |
||||
void setHorizontalHeaderFormat(CppInstancePtr @this, [MangleAs("enum HorizontalHeaderFormat")] HorizontalHeaderFormat value); |
||||
[Const()] |
||||
VerticalHeaderFormat verticalHeaderFormat(CppInstancePtr @this); |
||||
void setVerticalHeaderFormat(CppInstancePtr @this, [MangleAs("enum VerticalHeaderFormat")] VerticalHeaderFormat value); |
||||
[Const()] |
||||
QTextCharFormat headerTextFormat(CppInstancePtr @this); |
||||
void setHeaderTextFormat(CppInstancePtr @this, [MangleAs("class QTextCharFormat const &")] QTextCharFormat value); |
||||
[Const()] |
||||
QTextCharFormat weekdayTextFormat(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek dayOfWeek); |
||||
void setWeekdayTextFormat(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek dayOfWeek, [MangleAs("class QTextCharFormat const &")] QTextCharFormat format); |
||||
[Const()] |
||||
QMap<QDate, QTextCharFormat> dateTextFormat(CppInstancePtr @this); |
||||
[Const()] |
||||
QTextCharFormat dateTextFormat(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate date); |
||||
void setDateTextFormat(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate date, [MangleAs("class QTextCharFormat const &")] QTextCharFormat format); |
||||
[Const()] |
||||
bool isDateEditEnabled(CppInstancePtr @this); |
||||
void setDateEditEnabled(CppInstancePtr @this, [MangleAs("bool")] bool enable); |
||||
[Const()] |
||||
int dateEditAcceptDelay(CppInstancePtr @this); |
||||
void setDateEditAcceptDelay(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
void setDateRange(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate min, [MangleAs("class QDate const &")] QDate max); |
||||
void setCurrentPage(CppInstancePtr @this, [MangleAs("int")] int year, [MangleAs("int")] int month); |
||||
void setGridVisible(CppInstancePtr @this, [MangleAs("bool")] bool show); |
||||
void setNavigationBarVisible(CppInstancePtr @this, [MangleAs("bool")] bool visible); |
||||
void showNextMonth(CppInstancePtr @this); |
||||
void showPreviousMonth(CppInstancePtr @this); |
||||
void showNextYear(CppInstancePtr @this); |
||||
void showPreviousYear(CppInstancePtr @this); |
||||
void showSelectedDate(CppInstancePtr @this); |
||||
void showToday(CppInstancePtr @this); |
||||
} |
||||
private struct _QCalendarWidget { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,238 @@
@@ -0,0 +1,238 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QCalendarWidget : QWidget { |
||||
private static IQCalendarWidget impl = Wrappers.Libs.Lib.GetClass <IQCalendarWidget, _QCalendarWidget, QCalendarWidget>("QCalendarWidget"); |
||||
public QCalendarWidget(QWidget parent) { |
||||
impl.QCalendarWidget(this.Native, parent); |
||||
} |
||||
public QDate SelectedDate { |
||||
get { |
||||
return impl.selectedDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setSelectedDate(this.Native, value); |
||||
} |
||||
} |
||||
public int YearShown { |
||||
get { |
||||
return impl.yearShown(this.Native); |
||||
} |
||||
} |
||||
public int MonthShown { |
||||
get { |
||||
return impl.monthShown(this.Native); |
||||
} |
||||
} |
||||
public QDate MinimumDate { |
||||
get { |
||||
return impl.minimumDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setMinimumDate(this.Native, value); |
||||
} |
||||
} |
||||
public QDate MaximumDate { |
||||
get { |
||||
return impl.maximumDate(this.Native); |
||||
} |
||||
set { |
||||
impl.setMaximumDate(this.Native, value); |
||||
} |
||||
} |
||||
public DayOfWeek FirstDayOfWeek { |
||||
get { |
||||
return impl.firstDayOfWeek(this.Native); |
||||
} |
||||
set { |
||||
impl.setFirstDayOfWeek(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsHeaderVisible { |
||||
get { |
||||
return impl.isHeaderVisible(this.Native); |
||||
} |
||||
} |
||||
public bool IsGridVisible { |
||||
get { |
||||
return impl.isGridVisible(this.Native); |
||||
} |
||||
} |
||||
public SelectionMode SelectionMode { |
||||
get { |
||||
return impl.selectionMode(this.Native); |
||||
} |
||||
set { |
||||
impl.setSelectionMode(this.Native, value); |
||||
} |
||||
} |
||||
public HorizontalHeaderFormat HorizontalHeaderFormat { |
||||
get { |
||||
return impl.horizontalHeaderFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setHorizontalHeaderFormat(this.Native, value); |
||||
} |
||||
} |
||||
public VerticalHeaderFormat VerticalHeaderFormat { |
||||
get { |
||||
return impl.verticalHeaderFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setVerticalHeaderFormat(this.Native, value); |
||||
} |
||||
} |
||||
public QTextCharFormat HeaderTextFormat { |
||||
get { |
||||
return impl.headerTextFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setHeaderTextFormat(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsDateEditEnabled { |
||||
get { |
||||
return impl.isDateEditEnabled(this.Native); |
||||
} |
||||
} |
||||
public int DateEditAcceptDelay { |
||||
get { |
||||
return impl.dateEditAcceptDelay(this.Native); |
||||
} |
||||
set { |
||||
impl.setDateEditAcceptDelay(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetHeaderVisible(bool show) { |
||||
impl.setHeaderVisible(this.Native, show); |
||||
} |
||||
public QTextCharFormat WeekdayTextFormat(DayOfWeek dayOfWeek) { |
||||
return impl.weekdayTextFormat(this.Native, dayOfWeek); |
||||
} |
||||
public void SetWeekdayTextFormat(DayOfWeek dayOfWeek, QTextCharFormat format) { |
||||
impl.setWeekdayTextFormat(this.Native, dayOfWeek, format); |
||||
} |
||||
public QMap<QDate, QTextCharFormat> DateTextFormat() { |
||||
return impl.dateTextFormat(this.Native); |
||||
} |
||||
public QTextCharFormat DateTextFormat(QDate date) { |
||||
return impl.dateTextFormat(this.Native, date); |
||||
} |
||||
public void SetDateTextFormat(QDate date, QTextCharFormat format) { |
||||
impl.setDateTextFormat(this.Native, date, format); |
||||
} |
||||
public void SetDateEditEnabled(bool enable) { |
||||
impl.setDateEditEnabled(this.Native, enable); |
||||
} |
||||
public void SetDateRange(QDate min, QDate max) { |
||||
impl.setDateRange(this.Native, min, max); |
||||
} |
||||
public void SetCurrentPage(int year, int month) { |
||||
impl.setCurrentPage(this.Native, year, month); |
||||
} |
||||
public void SetGridVisible(bool show) { |
||||
impl.setGridVisible(this.Native, show); |
||||
} |
||||
public void SetNavigationBarVisible(bool visible) { |
||||
impl.setNavigationBarVisible(this.Native, visible); |
||||
} |
||||
public void ShowNextMonth() { |
||||
impl.showNextMonth(this.Native); |
||||
} |
||||
public void ShowPreviousMonth() { |
||||
impl.showPreviousMonth(this.Native); |
||||
} |
||||
public void ShowNextYear() { |
||||
impl.showNextYear(this.Native); |
||||
} |
||||
public void ShowPreviousYear() { |
||||
impl.showPreviousYear(this.Native); |
||||
} |
||||
public void ShowSelectedDate() { |
||||
impl.showSelectedDate(this.Native); |
||||
} |
||||
public void ShowToday() { |
||||
impl.showToday(this.Native); |
||||
} |
||||
public interface IQCalendarWidget : ICppClassOverridable<QCalendarWidget> { |
||||
[Constructor()] |
||||
void QCalendarWidget(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QDate selectedDate(CppInstancePtr @this); |
||||
void setSelectedDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
int yearShown(CppInstancePtr @this); |
||||
[Const()] |
||||
int monthShown(CppInstancePtr @this); |
||||
[Const()] |
||||
QDate minimumDate(CppInstancePtr @this); |
||||
void setMinimumDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
QDate maximumDate(CppInstancePtr @this); |
||||
void setMaximumDate(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate value); |
||||
[Const()] |
||||
DayOfWeek firstDayOfWeek(CppInstancePtr @this); |
||||
void setFirstDayOfWeek(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek value); |
||||
[Const()] |
||||
bool isHeaderVisible(CppInstancePtr @this); |
||||
void setHeaderVisible(CppInstancePtr @this, [MangleAs("bool")] bool show); |
||||
[Const()] |
||||
bool isGridVisible(CppInstancePtr @this); |
||||
[Const()] |
||||
SelectionMode selectionMode(CppInstancePtr @this); |
||||
void setSelectionMode(CppInstancePtr @this, [MangleAs("enum SelectionMode")] SelectionMode value); |
||||
[Const()] |
||||
HorizontalHeaderFormat horizontalHeaderFormat(CppInstancePtr @this); |
||||
void setHorizontalHeaderFormat(CppInstancePtr @this, [MangleAs("enum HorizontalHeaderFormat")] HorizontalHeaderFormat value); |
||||
[Const()] |
||||
VerticalHeaderFormat verticalHeaderFormat(CppInstancePtr @this); |
||||
void setVerticalHeaderFormat(CppInstancePtr @this, [MangleAs("enum VerticalHeaderFormat")] VerticalHeaderFormat value); |
||||
[Const()] |
||||
QTextCharFormat headerTextFormat(CppInstancePtr @this); |
||||
void setHeaderTextFormat(CppInstancePtr @this, [MangleAs("class QTextCharFormat const &")] QTextCharFormat value); |
||||
[Const()] |
||||
QTextCharFormat weekdayTextFormat(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek dayOfWeek); |
||||
void setWeekdayTextFormat(CppInstancePtr @this, [MangleAs("enum DayOfWeek")] DayOfWeek dayOfWeek, [MangleAs("class QTextCharFormat const &")] QTextCharFormat format); |
||||
[Const()] |
||||
QMap<QDate, QTextCharFormat> dateTextFormat(CppInstancePtr @this); |
||||
[Const()] |
||||
QTextCharFormat dateTextFormat(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate date); |
||||
void setDateTextFormat(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate date, [MangleAs("class QTextCharFormat const &")] QTextCharFormat format); |
||||
[Const()] |
||||
bool isDateEditEnabled(CppInstancePtr @this); |
||||
void setDateEditEnabled(CppInstancePtr @this, [MangleAs("bool")] bool enable); |
||||
[Const()] |
||||
int dateEditAcceptDelay(CppInstancePtr @this); |
||||
void setDateEditAcceptDelay(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
void setDateRange(CppInstancePtr @this, [MangleAs("class QDate const &")] QDate min, [MangleAs("class QDate const &")] QDate max); |
||||
void setCurrentPage(CppInstancePtr @this, [MangleAs("int")] int year, [MangleAs("int")] int month); |
||||
void setGridVisible(CppInstancePtr @this, [MangleAs("bool")] bool show); |
||||
void setNavigationBarVisible(CppInstancePtr @this, [MangleAs("bool")] bool visible); |
||||
void showNextMonth(CppInstancePtr @this); |
||||
void showPreviousMonth(CppInstancePtr @this); |
||||
void showNextYear(CppInstancePtr @this); |
||||
void showPreviousYear(CppInstancePtr @this); |
||||
void showSelectedDate(CppInstancePtr @this); |
||||
void showToday(CppInstancePtr @this); |
||||
} |
||||
private struct _QCalendarWidget { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,59 @@
@@ -0,0 +1,59 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QCheckBox : QAbstractButton { |
||||
private static IQCheckBox impl = Wrappers.Libs.Lib.GetClass <IQCheckBox, _QCheckBox, QCheckBox>("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<QCheckBox> { |
||||
[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 { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,59 @@
@@ -0,0 +1,59 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QCheckBox : QAbstractButton { |
||||
private static IQCheckBox impl = Wrappers.Libs.Lib.GetClass <IQCheckBox, _QCheckBox, QCheckBox>("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<QCheckBox> { |
||||
[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 { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,59 @@
@@ -0,0 +1,59 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QCheckBox : QAbstractButton { |
||||
private static IQCheckBox impl = Wrappers.Libs.Lib.GetClass <IQCheckBox, _QCheckBox, QCheckBox>("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<QCheckBox> { |
||||
[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 { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,115 @@
@@ -0,0 +1,115 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QColorDialog : QDialog { |
||||
private static IQColorDialog impl = Wrappers.Libs.Lib.GetClass <IQColorDialog, _QColorDialog, QColorDialog>("QColorDialog"); |
||||
public QColorDialog(QWidget parent) { |
||||
impl.QColorDialog(this.Native, parent); |
||||
} |
||||
public QColorDialog(QColor initial, QWidget parent) { |
||||
impl.QColorDialog(this.Native, initial, parent); |
||||
} |
||||
public QColor CurrentColor { |
||||
get { |
||||
return impl.currentColor(this.Native); |
||||
} |
||||
set { |
||||
impl.setCurrentColor(this.Native, value); |
||||
} |
||||
} |
||||
public QColor SelectedColor { |
||||
get { |
||||
return impl.selectedColor(this.Native); |
||||
} |
||||
} |
||||
public QFlags<QColorDialog::ColorDialogOption> Options { |
||||
get { |
||||
return impl.options(this.Native); |
||||
} |
||||
set { |
||||
impl.setOptions(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetOption(ColorDialogOption option, bool on) { |
||||
impl.setOption(this.Native, option, on); |
||||
} |
||||
public bool TestOption(ColorDialogOption option) { |
||||
return impl.testOption(this.Native, option); |
||||
} |
||||
public void Open(QObject receiver, string member) { |
||||
impl.open(this.Native, receiver, member); |
||||
} |
||||
public static QColor GetColor(QColor initial, QWidget parent, QString title, QFlags<QColorDialog::ColorDialogOption> options) { |
||||
return impl.getColor(initial, parent, title, options); |
||||
} |
||||
public static QColor GetColor(QColor initial, QWidget parent) { |
||||
return impl.getColor(initial, parent); |
||||
} |
||||
public static uint GetRgba(uint rgba, ref bool ok, QWidget parent) { |
||||
return impl.getRgba(rgba, ref ok, parent); |
||||
} |
||||
public static int CustomCount() { |
||||
return impl.customCount(); |
||||
} |
||||
public static uint CustomColor(int index) { |
||||
return impl.customColor(index); |
||||
} |
||||
public static void SetCustomColor(int index, uint color) { |
||||
impl.setCustomColor(index, color); |
||||
} |
||||
public static void SetStandardColor(int index, uint color) { |
||||
impl.setStandardColor(index, color); |
||||
} |
||||
public interface IQColorDialog : ICppClassOverridable<QColorDialog> { |
||||
[Constructor()] |
||||
void QColorDialog(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Constructor()] |
||||
void QColorDialog(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QColor currentColor(CppInstancePtr @this); |
||||
void setCurrentColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor value); |
||||
[Const()] |
||||
QColor selectedColor(CppInstancePtr @this); |
||||
void setOption(CppInstancePtr @this, [MangleAs("enum ColorDialogOption")] ColorDialogOption option, [MangleAs("bool")] bool on); |
||||
[Const()] |
||||
bool testOption(CppInstancePtr @this, [MangleAs("enum ColorDialogOption")] ColorDialogOption option); |
||||
[Const()] |
||||
QFlags<QColorDialog::ColorDialogOption> options(CppInstancePtr @this); |
||||
void setOptions(CppInstancePtr @this, [MangleAs("class QFlags <QColorDialog::ColorDialogOption>")] QFlags<QColorDialog::ColorDialogOption> value); |
||||
void open(CppInstancePtr @this, [MangleAs("class QObject *")] QObject receiver, [MangleAs("char const *")] string member); |
||||
[Static()] |
||||
QColor getColor([MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent, [MangleAs("class QString const &")] QString title, [MangleAs("class QFlags <QColorDialog::ColorDialogOption>")] QFlags<QColorDialog::ColorDialogOption> options); |
||||
[Static()] |
||||
QColor getColor([MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Static()] |
||||
uint getRgba([MangleAs("int unsigned")] uint rgba, [MangleAs("bool *")] ref bool ok, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Static()] |
||||
int customCount(); |
||||
[Static()] |
||||
uint customColor([MangleAs("int")] int index); |
||||
[Static()] |
||||
void setCustomColor([MangleAs("int")] int index, [MangleAs("int unsigned")] uint color); |
||||
[Static()] |
||||
void setStandardColor([MangleAs("int")] int index, [MangleAs("int unsigned")] uint color); |
||||
} |
||||
private struct _QColorDialog { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,115 @@
@@ -0,0 +1,115 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QColorDialog : QDialog { |
||||
private static IQColorDialog impl = Wrappers.Libs.Lib.GetClass <IQColorDialog, _QColorDialog, QColorDialog>("QColorDialog"); |
||||
public QColorDialog(QWidget parent) { |
||||
impl.QColorDialog(this.Native, parent); |
||||
} |
||||
public QColorDialog(QColor initial, QWidget parent) { |
||||
impl.QColorDialog(this.Native, initial, parent); |
||||
} |
||||
public QColor CurrentColor { |
||||
get { |
||||
return impl.currentColor(this.Native); |
||||
} |
||||
set { |
||||
impl.setCurrentColor(this.Native, value); |
||||
} |
||||
} |
||||
public QColor SelectedColor { |
||||
get { |
||||
return impl.selectedColor(this.Native); |
||||
} |
||||
} |
||||
public QFlags<QColorDialog::ColorDialogOption> Options { |
||||
get { |
||||
return impl.options(this.Native); |
||||
} |
||||
set { |
||||
impl.setOptions(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetOption(ColorDialogOption option, bool on) { |
||||
impl.setOption(this.Native, option, on); |
||||
} |
||||
public bool TestOption(ColorDialogOption option) { |
||||
return impl.testOption(this.Native, option); |
||||
} |
||||
public void Open(QObject receiver, string member) { |
||||
impl.open(this.Native, receiver, member); |
||||
} |
||||
public static QColor GetColor(QColor initial, QWidget parent, QString title, QFlags<QColorDialog::ColorDialogOption> options) { |
||||
return impl.getColor(initial, parent, title, options); |
||||
} |
||||
public static QColor GetColor(QColor initial, QWidget parent) { |
||||
return impl.getColor(initial, parent); |
||||
} |
||||
public static uint GetRgba(uint rgba, ref bool ok, QWidget parent) { |
||||
return impl.getRgba(rgba, ref ok, parent); |
||||
} |
||||
public static int CustomCount() { |
||||
return impl.customCount(); |
||||
} |
||||
public static uint CustomColor(int index) { |
||||
return impl.customColor(index); |
||||
} |
||||
public static void SetCustomColor(int index, uint color) { |
||||
impl.setCustomColor(index, color); |
||||
} |
||||
public static void SetStandardColor(int index, uint color) { |
||||
impl.setStandardColor(index, color); |
||||
} |
||||
public interface IQColorDialog : ICppClassOverridable<QColorDialog> { |
||||
[Constructor()] |
||||
void QColorDialog(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Constructor()] |
||||
void QColorDialog(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QColor currentColor(CppInstancePtr @this); |
||||
void setCurrentColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor value); |
||||
[Const()] |
||||
QColor selectedColor(CppInstancePtr @this); |
||||
void setOption(CppInstancePtr @this, [MangleAs("enum ColorDialogOption")] ColorDialogOption option, [MangleAs("bool")] bool on); |
||||
[Const()] |
||||
bool testOption(CppInstancePtr @this, [MangleAs("enum ColorDialogOption")] ColorDialogOption option); |
||||
[Const()] |
||||
QFlags<QColorDialog::ColorDialogOption> options(CppInstancePtr @this); |
||||
void setOptions(CppInstancePtr @this, [MangleAs("class QFlags <QColorDialog::ColorDialogOption>")] QFlags<QColorDialog::ColorDialogOption> value); |
||||
void open(CppInstancePtr @this, [MangleAs("class QObject *")] QObject receiver, [MangleAs("char const *")] string member); |
||||
[Static()] |
||||
QColor getColor([MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent, [MangleAs("class QString const &")] QString title, [MangleAs("class QFlags <QColorDialog::ColorDialogOption>")] QFlags<QColorDialog::ColorDialogOption> options); |
||||
[Static()] |
||||
QColor getColor([MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Static()] |
||||
uint getRgba([MangleAs("int unsigned")] uint rgba, [MangleAs("bool *")] ref bool ok, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Static()] |
||||
int customCount(); |
||||
[Static()] |
||||
uint customColor([MangleAs("int")] int index); |
||||
[Static()] |
||||
void setCustomColor([MangleAs("int")] int index, [MangleAs("int unsigned")] uint color); |
||||
[Static()] |
||||
void setStandardColor([MangleAs("int")] int index, [MangleAs("int unsigned")] uint color); |
||||
} |
||||
private struct _QColorDialog { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,115 @@
@@ -0,0 +1,115 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QColorDialog : QDialog { |
||||
private static IQColorDialog impl = Wrappers.Libs.Lib.GetClass <IQColorDialog, _QColorDialog, QColorDialog>("QColorDialog"); |
||||
public QColorDialog(QWidget parent) { |
||||
impl.QColorDialog(this.Native, parent); |
||||
} |
||||
public QColorDialog(QColor initial, QWidget parent) { |
||||
impl.QColorDialog(this.Native, initial, parent); |
||||
} |
||||
public QColor CurrentColor { |
||||
get { |
||||
return impl.currentColor(this.Native); |
||||
} |
||||
set { |
||||
impl.setCurrentColor(this.Native, value); |
||||
} |
||||
} |
||||
public QColor SelectedColor { |
||||
get { |
||||
return impl.selectedColor(this.Native); |
||||
} |
||||
} |
||||
public QFlags<QColorDialog::ColorDialogOption> Options { |
||||
get { |
||||
return impl.options(this.Native); |
||||
} |
||||
set { |
||||
impl.setOptions(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetOption(ColorDialogOption option, bool on) { |
||||
impl.setOption(this.Native, option, on); |
||||
} |
||||
public bool TestOption(ColorDialogOption option) { |
||||
return impl.testOption(this.Native, option); |
||||
} |
||||
public void Open(QObject receiver, string member) { |
||||
impl.open(this.Native, receiver, member); |
||||
} |
||||
public static QColor GetColor(QColor initial, QWidget parent, QString title, QFlags<QColorDialog::ColorDialogOption> options) { |
||||
return impl.getColor(initial, parent, title, options); |
||||
} |
||||
public static QColor GetColor(QColor initial, QWidget parent) { |
||||
return impl.getColor(initial, parent); |
||||
} |
||||
public static uint GetRgba(uint rgba, ref bool ok, QWidget parent) { |
||||
return impl.getRgba(rgba, ref ok, parent); |
||||
} |
||||
public static int CustomCount() { |
||||
return impl.customCount(); |
||||
} |
||||
public static uint CustomColor(int index) { |
||||
return impl.customColor(index); |
||||
} |
||||
public static void SetCustomColor(int index, uint color) { |
||||
impl.setCustomColor(index, color); |
||||
} |
||||
public static void SetStandardColor(int index, uint color) { |
||||
impl.setStandardColor(index, color); |
||||
} |
||||
public interface IQColorDialog : ICppClassOverridable<QColorDialog> { |
||||
[Constructor()] |
||||
void QColorDialog(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Constructor()] |
||||
void QColorDialog(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
QColor currentColor(CppInstancePtr @this); |
||||
void setCurrentColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor value); |
||||
[Const()] |
||||
QColor selectedColor(CppInstancePtr @this); |
||||
void setOption(CppInstancePtr @this, [MangleAs("enum ColorDialogOption")] ColorDialogOption option, [MangleAs("bool")] bool on); |
||||
[Const()] |
||||
bool testOption(CppInstancePtr @this, [MangleAs("enum ColorDialogOption")] ColorDialogOption option); |
||||
[Const()] |
||||
QFlags<QColorDialog::ColorDialogOption> options(CppInstancePtr @this); |
||||
void setOptions(CppInstancePtr @this, [MangleAs("class QFlags <QColorDialog::ColorDialogOption>")] QFlags<QColorDialog::ColorDialogOption> value); |
||||
void open(CppInstancePtr @this, [MangleAs("class QObject *")] QObject receiver, [MangleAs("char const *")] string member); |
||||
[Static()] |
||||
QColor getColor([MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent, [MangleAs("class QString const &")] QString title, [MangleAs("class QFlags <QColorDialog::ColorDialogOption>")] QFlags<QColorDialog::ColorDialogOption> options); |
||||
[Static()] |
||||
QColor getColor([MangleAs("class QColor const &")] QColor initial, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Static()] |
||||
uint getRgba([MangleAs("int unsigned")] uint rgba, [MangleAs("bool *")] ref bool ok, [MangleAs("class QWidget *")] QWidget parent); |
||||
[Static()] |
||||
int customCount(); |
||||
[Static()] |
||||
uint customColor([MangleAs("int")] int index); |
||||
[Static()] |
||||
void setCustomColor([MangleAs("int")] int index, [MangleAs("int unsigned")] uint color); |
||||
[Static()] |
||||
void setStandardColor([MangleAs("int")] int index, [MangleAs("int unsigned")] uint color); |
||||
} |
||||
private struct _QColorDialog { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QFlag : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQFlag impl = Wrappers.Libs.Lib.GetClass <IQFlag, _QFlag, QFlag>("QFlag"); |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQFlag : ICppClassOverridable<QFlag> { |
||||
} |
||||
private struct _QFlag { |
||||
private int i; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,51 @@
@@ -0,0 +1,51 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QFlags<T> : ICppObject |
||||
{ |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQFlags<T> impl = Wrappers.Libs.Lib.GetClass <IQFlags<T>, _QFlags, QFlags<T>>("QFlags"); |
||||
public QFlags(System.IntPtr arg0) { |
||||
impl.QFlags(this.Native, arg0); |
||||
} |
||||
public QFlags(QFlag f) { |
||||
impl.QFlags(this.Native, f); |
||||
} |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public bool TestFlag(GestureFlag f) { |
||||
return impl.testFlag(this.Native, f); |
||||
} |
||||
public virtual void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQFlags<T> : ICppClassOverridable<QFlags<T>> |
||||
{ |
||||
[Constructor()] |
||||
void QFlags(CppInstancePtr @this, [MangleAs("void * *")] System.IntPtr arg0); |
||||
[Constructor()] |
||||
void QFlags(CppInstancePtr @this, [MangleAs("class QFlag")] QFlag f); |
||||
[Const()] |
||||
bool testFlag(CppInstancePtr @this, [MangleAs("enum GestureFlag")] GestureFlag f); |
||||
} |
||||
private struct _QFlags { |
||||
private int i; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,106 @@
@@ -0,0 +1,106 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QFrame : QWidget { |
||||
private static IQFrame impl = Wrappers.Libs.Lib.GetClass <IQFrame, _QFrame, QFrame>("QFrame"); |
||||
public QFrame(QWidget parent, QFlags<Qt::WindowType> f) { |
||||
impl.QFrame(this.Native, parent, f); |
||||
} |
||||
public int FrameStyle { |
||||
get { |
||||
return impl.frameStyle(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameStyle(this.Native, value); |
||||
} |
||||
} |
||||
public int FrameWidth { |
||||
get { |
||||
return impl.frameWidth(this.Native); |
||||
} |
||||
} |
||||
public Shape FrameShape { |
||||
get { |
||||
return impl.frameShape(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameShape(this.Native, value); |
||||
} |
||||
} |
||||
public Shadow FrameShadow { |
||||
get { |
||||
return impl.frameShadow(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameShadow(this.Native, value); |
||||
} |
||||
} |
||||
public int LineWidth { |
||||
get { |
||||
return impl.lineWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setLineWidth(this.Native, value); |
||||
} |
||||
} |
||||
public int MidLineWidth { |
||||
get { |
||||
return impl.midLineWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setMidLineWidth(this.Native, value); |
||||
} |
||||
} |
||||
public QRect FrameRect { |
||||
get { |
||||
return impl.frameRect(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameRect(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public interface IQFrame : ICppClassOverridable<QFrame> { |
||||
[Constructor()] |
||||
void QFrame(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent, [MangleAs("class QFlags <Qt::WindowType>")] QFlags<Qt::WindowType> f); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
int frameStyle(CppInstancePtr @this); |
||||
void setFrameStyle(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int frameWidth(CppInstancePtr @this); |
||||
[Const()] |
||||
Shape frameShape(CppInstancePtr @this); |
||||
void setFrameShape(CppInstancePtr @this, [MangleAs("enum Shape")] Shape value); |
||||
[Const()] |
||||
Shadow frameShadow(CppInstancePtr @this); |
||||
void setFrameShadow(CppInstancePtr @this, [MangleAs("enum Shadow")] Shadow value); |
||||
[Const()] |
||||
int lineWidth(CppInstancePtr @this); |
||||
void setLineWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int midLineWidth(CppInstancePtr @this); |
||||
void setMidLineWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
QRect frameRect(CppInstancePtr @this); |
||||
void setFrameRect(CppInstancePtr @this, [MangleAs("class QRect const &")] QRect value); |
||||
} |
||||
private struct _QFrame { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,106 @@
@@ -0,0 +1,106 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QFrame : QWidget { |
||||
private static IQFrame impl = Wrappers.Libs.Lib.GetClass <IQFrame, _QFrame, QFrame>("QFrame"); |
||||
public QFrame(QWidget parent, QFlags<Qt::WindowType> f) { |
||||
impl.QFrame(this.Native, parent, f); |
||||
} |
||||
public int FrameStyle { |
||||
get { |
||||
return impl.frameStyle(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameStyle(this.Native, value); |
||||
} |
||||
} |
||||
public int FrameWidth { |
||||
get { |
||||
return impl.frameWidth(this.Native); |
||||
} |
||||
} |
||||
public Shape FrameShape { |
||||
get { |
||||
return impl.frameShape(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameShape(this.Native, value); |
||||
} |
||||
} |
||||
public Shadow FrameShadow { |
||||
get { |
||||
return impl.frameShadow(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameShadow(this.Native, value); |
||||
} |
||||
} |
||||
public int LineWidth { |
||||
get { |
||||
return impl.lineWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setLineWidth(this.Native, value); |
||||
} |
||||
} |
||||
public int MidLineWidth { |
||||
get { |
||||
return impl.midLineWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setMidLineWidth(this.Native, value); |
||||
} |
||||
} |
||||
public QRect FrameRect { |
||||
get { |
||||
return impl.frameRect(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameRect(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public interface IQFrame : ICppClassOverridable<QFrame> { |
||||
[Constructor()] |
||||
void QFrame(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent, [MangleAs("class QFlags <Qt::WindowType>")] QFlags<Qt::WindowType> f); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
int frameStyle(CppInstancePtr @this); |
||||
void setFrameStyle(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int frameWidth(CppInstancePtr @this); |
||||
[Const()] |
||||
Shape frameShape(CppInstancePtr @this); |
||||
void setFrameShape(CppInstancePtr @this, [MangleAs("enum Shape")] Shape value); |
||||
[Const()] |
||||
Shadow frameShadow(CppInstancePtr @this); |
||||
void setFrameShadow(CppInstancePtr @this, [MangleAs("enum Shadow")] Shadow value); |
||||
[Const()] |
||||
int lineWidth(CppInstancePtr @this); |
||||
void setLineWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int midLineWidth(CppInstancePtr @this); |
||||
void setMidLineWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
QRect frameRect(CppInstancePtr @this); |
||||
void setFrameRect(CppInstancePtr @this, [MangleAs("class QRect const &")] QRect value); |
||||
} |
||||
private struct _QFrame { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,106 @@
@@ -0,0 +1,106 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QFrame : QWidget { |
||||
private static IQFrame impl = Wrappers.Libs.Lib.GetClass <IQFrame, _QFrame, QFrame>("QFrame"); |
||||
public QFrame(QWidget parent, QFlags<Qt::WindowType> f) { |
||||
impl.QFrame(this.Native, parent, f); |
||||
} |
||||
public int FrameStyle { |
||||
get { |
||||
return impl.frameStyle(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameStyle(this.Native, value); |
||||
} |
||||
} |
||||
public int FrameWidth { |
||||
get { |
||||
return impl.frameWidth(this.Native); |
||||
} |
||||
} |
||||
public Shape FrameShape { |
||||
get { |
||||
return impl.frameShape(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameShape(this.Native, value); |
||||
} |
||||
} |
||||
public Shadow FrameShadow { |
||||
get { |
||||
return impl.frameShadow(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameShadow(this.Native, value); |
||||
} |
||||
} |
||||
public int LineWidth { |
||||
get { |
||||
return impl.lineWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setLineWidth(this.Native, value); |
||||
} |
||||
} |
||||
public int MidLineWidth { |
||||
get { |
||||
return impl.midLineWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setMidLineWidth(this.Native, value); |
||||
} |
||||
} |
||||
public QRect FrameRect { |
||||
get { |
||||
return impl.frameRect(this.Native); |
||||
} |
||||
set { |
||||
impl.setFrameRect(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public interface IQFrame : ICppClassOverridable<QFrame> { |
||||
[Constructor()] |
||||
void QFrame(CppInstancePtr @this, [MangleAs("class QWidget *")] QWidget parent, [MangleAs("class QFlags <Qt::WindowType>")] QFlags<Qt::WindowType> f); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
int frameStyle(CppInstancePtr @this); |
||||
void setFrameStyle(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int frameWidth(CppInstancePtr @this); |
||||
[Const()] |
||||
Shape frameShape(CppInstancePtr @this); |
||||
void setFrameShape(CppInstancePtr @this, [MangleAs("enum Shape")] Shape value); |
||||
[Const()] |
||||
Shadow frameShadow(CppInstancePtr @this); |
||||
void setFrameShadow(CppInstancePtr @this, [MangleAs("enum Shadow")] Shadow value); |
||||
[Const()] |
||||
int lineWidth(CppInstancePtr @this); |
||||
void setLineWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int midLineWidth(CppInstancePtr @this); |
||||
void setMidLineWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
QRect frameRect(CppInstancePtr @this); |
||||
void setFrameRect(CppInstancePtr @this, [MangleAs("class QRect const &")] QRect value); |
||||
} |
||||
private struct _QFrame { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,55 @@
@@ -0,0 +1,55 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QGraphicsBlurEffect : QGraphicsEffect { |
||||
private static IQGraphicsBlurEffect impl = Wrappers.Libs.Lib.GetClass <IQGraphicsBlurEffect, _QGraphicsBlurEffect, QGraphicsBlurEffect>("QGraphicsBlurEffect"); |
||||
public QGraphicsBlurEffect(QObject parent) { |
||||
impl.QGraphicsBlurEffect(this.Native, parent); |
||||
} |
||||
public double BlurRadius { |
||||
get { |
||||
return impl.blurRadius(this.Native); |
||||
} |
||||
set { |
||||
impl.setBlurRadius(this.Native, value); |
||||
} |
||||
} |
||||
public QFlags<QGraphicsBlurEffect::BlurHint> BlurHints { |
||||
get { |
||||
return impl.blurHints(this.Native); |
||||
} |
||||
set { |
||||
impl.setBlurHints(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public interface IQGraphicsBlurEffect : ICppClassOverridable<QGraphicsBlurEffect> { |
||||
[Constructor()] |
||||
void QGraphicsBlurEffect(CppInstancePtr @this, [MangleAs("class QObject *")] QObject parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
double blurRadius(CppInstancePtr @this); |
||||
void setBlurRadius(CppInstancePtr @this, [MangleAs("double")] double value); |
||||
[Const()] |
||||
QFlags<QGraphicsBlurEffect::BlurHint> blurHints(CppInstancePtr @this); |
||||
void setBlurHints(CppInstancePtr @this, [MangleAs("class QFlags <QGraphicsBlurEffect::BlurHint>")] QFlags<QGraphicsBlurEffect::BlurHint> value); |
||||
} |
||||
private struct _QGraphicsBlurEffect { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,55 @@
@@ -0,0 +1,55 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QGraphicsBlurEffect : QGraphicsEffect { |
||||
private static IQGraphicsBlurEffect impl = Wrappers.Libs.Lib.GetClass <IQGraphicsBlurEffect, _QGraphicsBlurEffect, QGraphicsBlurEffect>("QGraphicsBlurEffect"); |
||||
public QGraphicsBlurEffect(QObject parent) { |
||||
impl.QGraphicsBlurEffect(this.Native, parent); |
||||
} |
||||
public double BlurRadius { |
||||
get { |
||||
return impl.blurRadius(this.Native); |
||||
} |
||||
set { |
||||
impl.setBlurRadius(this.Native, value); |
||||
} |
||||
} |
||||
public QFlags<QGraphicsBlurEffect::BlurHint> BlurHints { |
||||
get { |
||||
return impl.blurHints(this.Native); |
||||
} |
||||
set { |
||||
impl.setBlurHints(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public interface IQGraphicsBlurEffect : ICppClassOverridable<QGraphicsBlurEffect> { |
||||
[Constructor()] |
||||
void QGraphicsBlurEffect(CppInstancePtr @this, [MangleAs("class QObject *")] QObject parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
double blurRadius(CppInstancePtr @this); |
||||
void setBlurRadius(CppInstancePtr @this, [MangleAs("double")] double value); |
||||
[Const()] |
||||
QFlags<QGraphicsBlurEffect::BlurHint> blurHints(CppInstancePtr @this); |
||||
void setBlurHints(CppInstancePtr @this, [MangleAs("class QFlags <QGraphicsBlurEffect::BlurHint>")] QFlags<QGraphicsBlurEffect::BlurHint> value); |
||||
} |
||||
private struct _QGraphicsBlurEffect { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,55 @@
@@ -0,0 +1,55 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QGraphicsBlurEffect : QGraphicsEffect { |
||||
private static IQGraphicsBlurEffect impl = Wrappers.Libs.Lib.GetClass <IQGraphicsBlurEffect, _QGraphicsBlurEffect, QGraphicsBlurEffect>("QGraphicsBlurEffect"); |
||||
public QGraphicsBlurEffect(QObject parent) { |
||||
impl.QGraphicsBlurEffect(this.Native, parent); |
||||
} |
||||
public double BlurRadius { |
||||
get { |
||||
return impl.blurRadius(this.Native); |
||||
} |
||||
set { |
||||
impl.setBlurRadius(this.Native, value); |
||||
} |
||||
} |
||||
public QFlags<QGraphicsBlurEffect::BlurHint> BlurHints { |
||||
get { |
||||
return impl.blurHints(this.Native); |
||||
} |
||||
set { |
||||
impl.setBlurHints(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public interface IQGraphicsBlurEffect : ICppClassOverridable<QGraphicsBlurEffect> { |
||||
[Constructor()] |
||||
void QGraphicsBlurEffect(CppInstancePtr @this, [MangleAs("class QObject *")] QObject parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
double blurRadius(CppInstancePtr @this); |
||||
void setBlurRadius(CppInstancePtr @this, [MangleAs("double")] double value); |
||||
[Const()] |
||||
QFlags<QGraphicsBlurEffect::BlurHint> blurHints(CppInstancePtr @this); |
||||
void setBlurHints(CppInstancePtr @this, [MangleAs("class QFlags <QGraphicsBlurEffect::BlurHint>")] QFlags<QGraphicsBlurEffect::BlurHint> value); |
||||
} |
||||
private struct _QGraphicsBlurEffect { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QIncompatibleFlag : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQIncompatibleFlag impl = Wrappers.Libs.Lib.GetClass <IQIncompatibleFlag, _QIncompatibleFlag, QIncompatibleFlag>("QIncompatibleFlag"); |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQIncompatibleFlag : ICppClassOverridable<QIncompatibleFlag> { |
||||
} |
||||
private struct _QIncompatibleFlag { |
||||
private int i; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QInternal : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQInternal impl = Wrappers.Libs.Lib.GetClass <IQInternal, _QInternal, QInternal>("QInternal"); |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public static bool RegisterCallback(Callback arg0, System.IntPtr arg1) { |
||||
return impl.registerCallback(arg0, arg1); |
||||
} |
||||
public static bool UnregisterCallback(Callback arg0, System.IntPtr arg1) { |
||||
return impl.unregisterCallback(arg0, arg1); |
||||
} |
||||
public static bool ActivateCallbacks(Callback arg0, System.IntPtr arg1) { |
||||
return impl.activateCallbacks(arg0, arg1); |
||||
} |
||||
public static bool CallFunction(InternalFunction func, System.IntPtr arg1) { |
||||
return impl.callFunction(func, arg1); |
||||
} |
||||
public virtual void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQInternal : ICppClassOverridable<QInternal> { |
||||
[Static()] |
||||
bool registerCallback([MangleAs("enum Callback")] Callback arg0, [MangleAs("void *")] System.IntPtr arg1); |
||||
[Static()] |
||||
bool unregisterCallback([MangleAs("enum Callback")] Callback arg0, [MangleAs("void *")] System.IntPtr arg1); |
||||
[Static()] |
||||
bool activateCallbacks([MangleAs("enum Callback")] Callback arg0, [MangleAs("void * *")] System.IntPtr arg1); |
||||
[Static()] |
||||
bool callFunction([MangleAs("enum InternalFunction")] InternalFunction func, [MangleAs("void * *")] System.IntPtr arg1); |
||||
} |
||||
private struct _QInternal { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,55 @@
@@ -0,0 +1,55 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QItemDelegate : QAbstractItemDelegate { |
||||
private static IQItemDelegate impl = Wrappers.Libs.Lib.GetClass <IQItemDelegate, _QItemDelegate, QItemDelegate>("QItemDelegate"); |
||||
public QItemDelegate(QObject parent) { |
||||
impl.QItemDelegate(this.Native, parent); |
||||
} |
||||
public bool HasClipping { |
||||
get { |
||||
return impl.hasClipping(this.Native); |
||||
} |
||||
} |
||||
public QItemEditorFactory ItemEditorFactory { |
||||
get { |
||||
return impl.itemEditorFactory(this.Native); |
||||
} |
||||
set { |
||||
impl.setItemEditorFactory(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetClipping(bool clip) { |
||||
impl.setClipping(this.Native, clip); |
||||
} |
||||
public interface IQItemDelegate : ICppClassOverridable<QItemDelegate> { |
||||
[Constructor()] |
||||
void QItemDelegate(CppInstancePtr @this, [MangleAs("class QObject *")] QObject parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool hasClipping(CppInstancePtr @this); |
||||
void setClipping(CppInstancePtr @this, [MangleAs("bool")] bool clip); |
||||
[Const()] |
||||
QItemEditorFactory itemEditorFactory(CppInstancePtr @this); |
||||
void setItemEditorFactory(CppInstancePtr @this, [MangleAs("class QItemEditorFactory *")] QItemEditorFactory value); |
||||
} |
||||
private struct _QItemDelegate { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,55 @@
@@ -0,0 +1,55 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QItemDelegate : QAbstractItemDelegate { |
||||
private static IQItemDelegate impl = Wrappers.Libs.Lib.GetClass <IQItemDelegate, _QItemDelegate, QItemDelegate>("QItemDelegate"); |
||||
public QItemDelegate(QObject parent) { |
||||
impl.QItemDelegate(this.Native, parent); |
||||
} |
||||
public bool HasClipping { |
||||
get { |
||||
return impl.hasClipping(this.Native); |
||||
} |
||||
} |
||||
public QItemEditorFactory ItemEditorFactory { |
||||
get { |
||||
return impl.itemEditorFactory(this.Native); |
||||
} |
||||
set { |
||||
impl.setItemEditorFactory(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetClipping(bool clip) { |
||||
impl.setClipping(this.Native, clip); |
||||
} |
||||
public interface IQItemDelegate : ICppClassOverridable<QItemDelegate> { |
||||
[Constructor()] |
||||
void QItemDelegate(CppInstancePtr @this, [MangleAs("class QObject *")] QObject parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool hasClipping(CppInstancePtr @this); |
||||
void setClipping(CppInstancePtr @this, [MangleAs("bool")] bool clip); |
||||
[Const()] |
||||
QItemEditorFactory itemEditorFactory(CppInstancePtr @this); |
||||
void setItemEditorFactory(CppInstancePtr @this, [MangleAs("class QItemEditorFactory *")] QItemEditorFactory value); |
||||
} |
||||
private struct _QItemDelegate { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,55 @@
@@ -0,0 +1,55 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QItemDelegate : QAbstractItemDelegate { |
||||
private static IQItemDelegate impl = Wrappers.Libs.Lib.GetClass <IQItemDelegate, _QItemDelegate, QItemDelegate>("QItemDelegate"); |
||||
public QItemDelegate(QObject parent) { |
||||
impl.QItemDelegate(this.Native, parent); |
||||
} |
||||
public bool HasClipping { |
||||
get { |
||||
return impl.hasClipping(this.Native); |
||||
} |
||||
} |
||||
public QItemEditorFactory ItemEditorFactory { |
||||
get { |
||||
return impl.itemEditorFactory(this.Native); |
||||
} |
||||
set { |
||||
impl.setItemEditorFactory(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetClipping(bool clip) { |
||||
impl.setClipping(this.Native, clip); |
||||
} |
||||
public interface IQItemDelegate : ICppClassOverridable<QItemDelegate> { |
||||
[Constructor()] |
||||
void QItemDelegate(CppInstancePtr @this, [MangleAs("class QObject *")] QObject parent); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool hasClipping(CppInstancePtr @this); |
||||
void setClipping(CppInstancePtr @this, [MangleAs("bool")] bool clip); |
||||
[Const()] |
||||
QItemEditorFactory itemEditorFactory(CppInstancePtr @this); |
||||
void setItemEditorFactory(CppInstancePtr @this, [MangleAs("class QItemEditorFactory *")] QItemEditorFactory value); |
||||
} |
||||
private struct _QItemDelegate { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,329 @@
@@ -0,0 +1,329 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QPixmap : QPaintDevice { |
||||
private static IQPixmap impl = Wrappers.Libs.Lib.GetClass <IQPixmap, _QPixmap, QPixmap>("QPixmap"); |
||||
public QPixmap() { |
||||
impl.QPixmap(this.Native); |
||||
} |
||||
public QPixmap(QPixmapData data) { |
||||
impl.QPixmap(this.Native, data); |
||||
} |
||||
public QPixmap(int w, int h) { |
||||
impl.QPixmap(this.Native, w, h); |
||||
} |
||||
public QPixmap(QSize arg0) { |
||||
impl.QPixmap(this.Native, arg0); |
||||
} |
||||
public QPixmap(QString fileName, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
impl.QPixmap(this.Native, fileName, format, flags); |
||||
} |
||||
public QPixmap(string[] xpm) { |
||||
impl.QPixmap(this.Native, xpm); |
||||
} |
||||
public QPixmap(QPixmap arg0) { |
||||
impl.QPixmap(this.Native, arg0); |
||||
} |
||||
public bool IsNull { |
||||
get { |
||||
return impl.isNull(this.Native); |
||||
} |
||||
} |
||||
public int Width { |
||||
get { |
||||
return impl.width(this.Native); |
||||
} |
||||
} |
||||
public int Height { |
||||
get { |
||||
return impl.height(this.Native); |
||||
} |
||||
} |
||||
public QSize Size { |
||||
get { |
||||
return impl.size(this.Native); |
||||
} |
||||
} |
||||
public QRect Rect { |
||||
get { |
||||
return impl.rect(this.Native); |
||||
} |
||||
} |
||||
public int Depth { |
||||
get { |
||||
return impl.depth(this.Native); |
||||
} |
||||
} |
||||
public QBitmap Mask { |
||||
get { |
||||
return impl.mask(this.Native); |
||||
} |
||||
set { |
||||
impl.setMask(this.Native, value); |
||||
} |
||||
} |
||||
public QPixmap AlphaChannel { |
||||
get { |
||||
return impl.alphaChannel(this.Native); |
||||
} |
||||
set { |
||||
impl.setAlphaChannel(this.Native, value); |
||||
} |
||||
} |
||||
public bool HasAlpha { |
||||
get { |
||||
return impl.hasAlpha(this.Native); |
||||
} |
||||
} |
||||
public bool HasAlphaChannel { |
||||
get { |
||||
return impl.hasAlphaChannel(this.Native); |
||||
} |
||||
} |
||||
public QImage ToImage { |
||||
get { |
||||
return impl.toImage(this.Native); |
||||
} |
||||
} |
||||
public int SerialNumber { |
||||
get { |
||||
return impl.serialNumber(this.Native); |
||||
} |
||||
} |
||||
public long CacheKey { |
||||
get { |
||||
return impl.cacheKey(this.Native); |
||||
} |
||||
} |
||||
public bool IsDetached { |
||||
get { |
||||
return impl.isDetached(this.Native); |
||||
} |
||||
} |
||||
public bool IsQBitmap { |
||||
get { |
||||
return impl.isQBitmap(this.Native); |
||||
} |
||||
} |
||||
public QX11Info X11Info { |
||||
get { |
||||
return impl.x11Info(this.Native); |
||||
} |
||||
} |
||||
public ulong X11PictureHandle { |
||||
get { |
||||
return impl.x11PictureHandle(this.Native); |
||||
} |
||||
} |
||||
public ulong Handle { |
||||
get { |
||||
return impl.handle(this.Native); |
||||
} |
||||
} |
||||
public QPixmapData PixmapData { |
||||
get { |
||||
return impl.pixmapData(this.Native); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public static int DefaultDepth() { |
||||
return impl.defaultDepth(); |
||||
} |
||||
public void Fill(QColor fillColor) { |
||||
impl.fill(this.Native, fillColor); |
||||
} |
||||
public void Fill(QWidget widget, QPoint ofs) { |
||||
impl.fill(this.Native, widget, ofs); |
||||
} |
||||
public QBitmap CreateHeuristicMask(bool clipTight) { |
||||
return impl.createHeuristicMask(this.Native, clipTight); |
||||
} |
||||
public QBitmap CreateMaskFromColor(QColor maskColor) { |
||||
return impl.createMaskFromColor(this.Native, maskColor); |
||||
} |
||||
public QBitmap CreateMaskFromColor(QColor maskColor, MaskMode mode) { |
||||
return impl.createMaskFromColor(this.Native, maskColor, mode); |
||||
} |
||||
public static QPixmap GrabWindow(ulong arg0, int x, int y, int w, int h) { |
||||
return impl.grabWindow(arg0, x, y, w, h); |
||||
} |
||||
public static QPixmap GrabWidget(QWidget widget, QRect rect) { |
||||
return impl.grabWidget(widget, rect); |
||||
} |
||||
public QPixmap Scaled(QSize s, AspectRatioMode aspectMode, TransformationMode mode) { |
||||
return impl.scaled(this.Native, s, aspectMode, mode); |
||||
} |
||||
public QPixmap ScaledToWidth(int w, TransformationMode mode) { |
||||
return impl.scaledToWidth(this.Native, w, mode); |
||||
} |
||||
public QPixmap ScaledToHeight(int h, TransformationMode mode) { |
||||
return impl.scaledToHeight(this.Native, h, mode); |
||||
} |
||||
public QPixmap Transformed(QMatrix arg0, TransformationMode mode) { |
||||
return impl.transformed(this.Native, arg0, mode); |
||||
} |
||||
public static QMatrix TrueMatrix(QMatrix m, int w, int h) { |
||||
return impl.trueMatrix(m, w, h); |
||||
} |
||||
public QPixmap Transformed(QTransform arg0, TransformationMode mode) { |
||||
return impl.transformed(this.Native, arg0, mode); |
||||
} |
||||
public static QTransform TrueMatrix(QTransform m, int w, int h) { |
||||
return impl.trueMatrix(m, w, h); |
||||
} |
||||
public static QPixmap FromImage(QImage image, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.fromImage(image, flags); |
||||
} |
||||
public bool Load(QString fileName, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.load(this.Native, fileName, format, flags); |
||||
} |
||||
public bool LoadFromData(string buf, uint len, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.loadFromData(this.Native, buf, len, format, flags); |
||||
} |
||||
public bool Save(QString fileName, string format, int quality) { |
||||
return impl.save(this.Native, fileName, format, quality); |
||||
} |
||||
public bool Save(QIODevice device, string format, int quality) { |
||||
return impl.save(this.Native, device, format, quality); |
||||
} |
||||
public QPixmap Copy(QRect rect) { |
||||
return impl.copy(this.Native, rect); |
||||
} |
||||
public void Scroll(int dx, int dy, QRect rect, QRegion exposed) { |
||||
impl.scroll(this.Native, dx, dy, rect, exposed); |
||||
} |
||||
public void Detach() { |
||||
impl.detach(this.Native); |
||||
} |
||||
public static QPixmap FromX11Pixmap(ulong pixmap, ShareMode mode) { |
||||
return impl.fromX11Pixmap(pixmap, mode); |
||||
} |
||||
public static int X11SetDefaultScreen(int screen) { |
||||
return impl.x11SetDefaultScreen(screen); |
||||
} |
||||
public void X11SetScreen(int screen) { |
||||
impl.x11SetScreen(this.Native, screen); |
||||
} |
||||
public interface IQPixmap : ICppClassOverridable<QPixmap> { |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("struct QPixmapData *")] QPixmapData data); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize arg0); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("char const * const *")] string[] xpm); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QPixmap const &")] QPixmap arg0); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isNull(CppInstancePtr @this); |
||||
[Const()] |
||||
int width(CppInstancePtr @this); |
||||
[Const()] |
||||
int height(CppInstancePtr @this); |
||||
[Const()] |
||||
QSize size(CppInstancePtr @this); |
||||
[Const()] |
||||
QRect rect(CppInstancePtr @this); |
||||
[Const()] |
||||
int depth(CppInstancePtr @this); |
||||
[Static()] |
||||
int defaultDepth(); |
||||
void fill(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor fillColor); |
||||
void fill(CppInstancePtr @this, [MangleAs("class QWidget const *")] QWidget widget, [MangleAs("class QPoint const &")] QPoint ofs); |
||||
[Const()] |
||||
QBitmap mask(CppInstancePtr @this); |
||||
void setMask(CppInstancePtr @this, [MangleAs("class QBitmap const &")] QBitmap value); |
||||
[Const()] |
||||
QPixmap alphaChannel(CppInstancePtr @this); |
||||
void setAlphaChannel(CppInstancePtr @this, [MangleAs("class QPixmap const &")] QPixmap value); |
||||
[Const()] |
||||
bool hasAlpha(CppInstancePtr @this); |
||||
[Const()] |
||||
bool hasAlphaChannel(CppInstancePtr @this); |
||||
[Const()] |
||||
QBitmap createHeuristicMask(CppInstancePtr @this, [MangleAs("bool")] bool clipTight); |
||||
[Const()] |
||||
QBitmap createMaskFromColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor maskColor); |
||||
[Const()] |
||||
QBitmap createMaskFromColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor maskColor, [MangleAs("enum MaskMode")] MaskMode mode); |
||||
[Static()] |
||||
QPixmap grabWindow([MangleAs("int long unsigned")] ulong arg0, [MangleAs("int")] int x, [MangleAs("int")] int y, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Static()] |
||||
QPixmap grabWidget([MangleAs("class QWidget *")] QWidget widget, [MangleAs("class QRect const &")] QRect rect); |
||||
[Const()] |
||||
QPixmap scaled(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize s, [MangleAs("enum AspectRatioMode")] AspectRatioMode aspectMode, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap scaledToWidth(CppInstancePtr @this, [MangleAs("int")] int w, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap scaledToHeight(CppInstancePtr @this, [MangleAs("int")] int h, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap transformed(CppInstancePtr @this, [MangleAs("class QMatrix const &")] QMatrix arg0, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Static()] |
||||
QMatrix trueMatrix([MangleAs("class QMatrix const &")] QMatrix m, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Const()] |
||||
QPixmap transformed(CppInstancePtr @this, [MangleAs("class QTransform const &")] QTransform arg0, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Static()] |
||||
QTransform trueMatrix([MangleAs("class QTransform const &")] QTransform m, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Const()] |
||||
QImage toImage(CppInstancePtr @this); |
||||
[Static()] |
||||
QPixmap fromImage([MangleAs("class QImage const &")] QImage image, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
bool load(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
bool loadFromData(CppInstancePtr @this, [MangleAs("char unsigned const *")] string buf, [MangleAs("int unsigned")] uint len, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
[Const()] |
||||
bool save(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("int")] int quality); |
||||
[Const()] |
||||
bool save(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice device, [MangleAs("char const *")] string format, [MangleAs("int")] int quality); |
||||
[Const()] |
||||
QPixmap copy(CppInstancePtr @this, [MangleAs("class QRect const &")] QRect rect); |
||||
void scroll(CppInstancePtr @this, [MangleAs("int")] int dx, [MangleAs("int")] int dy, [MangleAs("class QRect const &")] QRect rect, [MangleAs("class QRegion *")] QRegion exposed); |
||||
[Const()] |
||||
int serialNumber(CppInstancePtr @this); |
||||
[Const()] |
||||
long cacheKey(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isDetached(CppInstancePtr @this); |
||||
void detach(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isQBitmap(CppInstancePtr @this); |
||||
[Static()] |
||||
QPixmap fromX11Pixmap([MangleAs("int long unsigned")] ulong pixmap, [MangleAs("enum ShareMode")] ShareMode mode); |
||||
[Static()] |
||||
int x11SetDefaultScreen([MangleAs("int")] int screen); |
||||
void x11SetScreen(CppInstancePtr @this, [MangleAs("int")] int screen); |
||||
[Const()] |
||||
QX11Info x11Info(CppInstancePtr @this); |
||||
[Const()] |
||||
ulong x11PictureHandle(CppInstancePtr @this); |
||||
[Const()] |
||||
ulong handle(CppInstancePtr @this); |
||||
[Const()] |
||||
QPixmapData pixmapData(CppInstancePtr @this); |
||||
} |
||||
private struct _QPixmap { |
||||
// FIXME: Unknown type "class QExplicitlySharedDataPointer <QPixmapData>" for field "data." Assuming IntPtr.
|
||||
private System.IntPtr data; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,329 @@
@@ -0,0 +1,329 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QPixmap : QPaintDevice { |
||||
private static IQPixmap impl = Wrappers.Libs.Lib.GetClass <IQPixmap, _QPixmap, QPixmap>("QPixmap"); |
||||
public QPixmap() { |
||||
impl.QPixmap(this.Native); |
||||
} |
||||
public QPixmap(QPixmapData data) { |
||||
impl.QPixmap(this.Native, data); |
||||
} |
||||
public QPixmap(int w, int h) { |
||||
impl.QPixmap(this.Native, w, h); |
||||
} |
||||
public QPixmap(QSize arg0) { |
||||
impl.QPixmap(this.Native, arg0); |
||||
} |
||||
public QPixmap(QString fileName, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
impl.QPixmap(this.Native, fileName, format, flags); |
||||
} |
||||
public QPixmap(string[] xpm) { |
||||
impl.QPixmap(this.Native, xpm); |
||||
} |
||||
public QPixmap(QPixmap arg0) { |
||||
impl.QPixmap(this.Native, arg0); |
||||
} |
||||
public bool IsNull { |
||||
get { |
||||
return impl.isNull(this.Native); |
||||
} |
||||
} |
||||
public int Width { |
||||
get { |
||||
return impl.width(this.Native); |
||||
} |
||||
} |
||||
public int Height { |
||||
get { |
||||
return impl.height(this.Native); |
||||
} |
||||
} |
||||
public QSize Size { |
||||
get { |
||||
return impl.size(this.Native); |
||||
} |
||||
} |
||||
public QRect Rect { |
||||
get { |
||||
return impl.rect(this.Native); |
||||
} |
||||
} |
||||
public int Depth { |
||||
get { |
||||
return impl.depth(this.Native); |
||||
} |
||||
} |
||||
public QBitmap Mask { |
||||
get { |
||||
return impl.mask(this.Native); |
||||
} |
||||
set { |
||||
impl.setMask(this.Native, value); |
||||
} |
||||
} |
||||
public QPixmap AlphaChannel { |
||||
get { |
||||
return impl.alphaChannel(this.Native); |
||||
} |
||||
set { |
||||
impl.setAlphaChannel(this.Native, value); |
||||
} |
||||
} |
||||
public bool HasAlpha { |
||||
get { |
||||
return impl.hasAlpha(this.Native); |
||||
} |
||||
} |
||||
public bool HasAlphaChannel { |
||||
get { |
||||
return impl.hasAlphaChannel(this.Native); |
||||
} |
||||
} |
||||
public QImage ToImage { |
||||
get { |
||||
return impl.toImage(this.Native); |
||||
} |
||||
} |
||||
public int SerialNumber { |
||||
get { |
||||
return impl.serialNumber(this.Native); |
||||
} |
||||
} |
||||
public long CacheKey { |
||||
get { |
||||
return impl.cacheKey(this.Native); |
||||
} |
||||
} |
||||
public bool IsDetached { |
||||
get { |
||||
return impl.isDetached(this.Native); |
||||
} |
||||
} |
||||
public bool IsQBitmap { |
||||
get { |
||||
return impl.isQBitmap(this.Native); |
||||
} |
||||
} |
||||
public QX11Info X11Info { |
||||
get { |
||||
return impl.x11Info(this.Native); |
||||
} |
||||
} |
||||
public ulong X11PictureHandle { |
||||
get { |
||||
return impl.x11PictureHandle(this.Native); |
||||
} |
||||
} |
||||
public ulong Handle { |
||||
get { |
||||
return impl.handle(this.Native); |
||||
} |
||||
} |
||||
public QPixmapData PixmapData { |
||||
get { |
||||
return impl.pixmapData(this.Native); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public static int DefaultDepth() { |
||||
return impl.defaultDepth(); |
||||
} |
||||
public void Fill(QColor fillColor) { |
||||
impl.fill(this.Native, fillColor); |
||||
} |
||||
public void Fill(QWidget widget, QPoint ofs) { |
||||
impl.fill(this.Native, widget, ofs); |
||||
} |
||||
public QBitmap CreateHeuristicMask(bool clipTight) { |
||||
return impl.createHeuristicMask(this.Native, clipTight); |
||||
} |
||||
public QBitmap CreateMaskFromColor(QColor maskColor) { |
||||
return impl.createMaskFromColor(this.Native, maskColor); |
||||
} |
||||
public QBitmap CreateMaskFromColor(QColor maskColor, MaskMode mode) { |
||||
return impl.createMaskFromColor(this.Native, maskColor, mode); |
||||
} |
||||
public static QPixmap GrabWindow(ulong arg0, int x, int y, int w, int h) { |
||||
return impl.grabWindow(arg0, x, y, w, h); |
||||
} |
||||
public static QPixmap GrabWidget(QWidget widget, QRect rect) { |
||||
return impl.grabWidget(widget, rect); |
||||
} |
||||
public QPixmap Scaled(QSize s, AspectRatioMode aspectMode, TransformationMode mode) { |
||||
return impl.scaled(this.Native, s, aspectMode, mode); |
||||
} |
||||
public QPixmap ScaledToWidth(int w, TransformationMode mode) { |
||||
return impl.scaledToWidth(this.Native, w, mode); |
||||
} |
||||
public QPixmap ScaledToHeight(int h, TransformationMode mode) { |
||||
return impl.scaledToHeight(this.Native, h, mode); |
||||
} |
||||
public QPixmap Transformed(QMatrix arg0, TransformationMode mode) { |
||||
return impl.transformed(this.Native, arg0, mode); |
||||
} |
||||
public static QMatrix TrueMatrix(QMatrix m, int w, int h) { |
||||
return impl.trueMatrix(m, w, h); |
||||
} |
||||
public QPixmap Transformed(QTransform arg0, TransformationMode mode) { |
||||
return impl.transformed(this.Native, arg0, mode); |
||||
} |
||||
public static QTransform TrueMatrix(QTransform m, int w, int h) { |
||||
return impl.trueMatrix(m, w, h); |
||||
} |
||||
public static QPixmap FromImage(QImage image, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.fromImage(image, flags); |
||||
} |
||||
public bool Load(QString fileName, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.load(this.Native, fileName, format, flags); |
||||
} |
||||
public bool LoadFromData(string buf, uint len, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.loadFromData(this.Native, buf, len, format, flags); |
||||
} |
||||
public bool Save(QString fileName, string format, int quality) { |
||||
return impl.save(this.Native, fileName, format, quality); |
||||
} |
||||
public bool Save(QIODevice device, string format, int quality) { |
||||
return impl.save(this.Native, device, format, quality); |
||||
} |
||||
public QPixmap Copy(QRect rect) { |
||||
return impl.copy(this.Native, rect); |
||||
} |
||||
public void Scroll(int dx, int dy, QRect rect, QRegion exposed) { |
||||
impl.scroll(this.Native, dx, dy, rect, exposed); |
||||
} |
||||
public void Detach() { |
||||
impl.detach(this.Native); |
||||
} |
||||
public static QPixmap FromX11Pixmap(ulong pixmap, ShareMode mode) { |
||||
return impl.fromX11Pixmap(pixmap, mode); |
||||
} |
||||
public static int X11SetDefaultScreen(int screen) { |
||||
return impl.x11SetDefaultScreen(screen); |
||||
} |
||||
public void X11SetScreen(int screen) { |
||||
impl.x11SetScreen(this.Native, screen); |
||||
} |
||||
public interface IQPixmap : ICppClassOverridable<QPixmap> { |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("struct QPixmapData *")] QPixmapData data); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize arg0); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("char const * const *")] string[] xpm); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QPixmap const &")] QPixmap arg0); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isNull(CppInstancePtr @this); |
||||
[Const()] |
||||
int width(CppInstancePtr @this); |
||||
[Const()] |
||||
int height(CppInstancePtr @this); |
||||
[Const()] |
||||
QSize size(CppInstancePtr @this); |
||||
[Const()] |
||||
QRect rect(CppInstancePtr @this); |
||||
[Const()] |
||||
int depth(CppInstancePtr @this); |
||||
[Static()] |
||||
int defaultDepth(); |
||||
void fill(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor fillColor); |
||||
void fill(CppInstancePtr @this, [MangleAs("class QWidget const *")] QWidget widget, [MangleAs("class QPoint const &")] QPoint ofs); |
||||
[Const()] |
||||
QBitmap mask(CppInstancePtr @this); |
||||
void setMask(CppInstancePtr @this, [MangleAs("class QBitmap const &")] QBitmap value); |
||||
[Const()] |
||||
QPixmap alphaChannel(CppInstancePtr @this); |
||||
void setAlphaChannel(CppInstancePtr @this, [MangleAs("class QPixmap const &")] QPixmap value); |
||||
[Const()] |
||||
bool hasAlpha(CppInstancePtr @this); |
||||
[Const()] |
||||
bool hasAlphaChannel(CppInstancePtr @this); |
||||
[Const()] |
||||
QBitmap createHeuristicMask(CppInstancePtr @this, [MangleAs("bool")] bool clipTight); |
||||
[Const()] |
||||
QBitmap createMaskFromColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor maskColor); |
||||
[Const()] |
||||
QBitmap createMaskFromColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor maskColor, [MangleAs("enum MaskMode")] MaskMode mode); |
||||
[Static()] |
||||
QPixmap grabWindow([MangleAs("int long unsigned")] ulong arg0, [MangleAs("int")] int x, [MangleAs("int")] int y, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Static()] |
||||
QPixmap grabWidget([MangleAs("class QWidget *")] QWidget widget, [MangleAs("class QRect const &")] QRect rect); |
||||
[Const()] |
||||
QPixmap scaled(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize s, [MangleAs("enum AspectRatioMode")] AspectRatioMode aspectMode, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap scaledToWidth(CppInstancePtr @this, [MangleAs("int")] int w, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap scaledToHeight(CppInstancePtr @this, [MangleAs("int")] int h, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap transformed(CppInstancePtr @this, [MangleAs("class QMatrix const &")] QMatrix arg0, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Static()] |
||||
QMatrix trueMatrix([MangleAs("class QMatrix const &")] QMatrix m, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Const()] |
||||
QPixmap transformed(CppInstancePtr @this, [MangleAs("class QTransform const &")] QTransform arg0, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Static()] |
||||
QTransform trueMatrix([MangleAs("class QTransform const &")] QTransform m, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Const()] |
||||
QImage toImage(CppInstancePtr @this); |
||||
[Static()] |
||||
QPixmap fromImage([MangleAs("class QImage const &")] QImage image, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
bool load(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
bool loadFromData(CppInstancePtr @this, [MangleAs("char unsigned const *")] string buf, [MangleAs("int unsigned")] uint len, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
[Const()] |
||||
bool save(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("int")] int quality); |
||||
[Const()] |
||||
bool save(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice device, [MangleAs("char const *")] string format, [MangleAs("int")] int quality); |
||||
[Const()] |
||||
QPixmap copy(CppInstancePtr @this, [MangleAs("class QRect const &")] QRect rect); |
||||
void scroll(CppInstancePtr @this, [MangleAs("int")] int dx, [MangleAs("int")] int dy, [MangleAs("class QRect const &")] QRect rect, [MangleAs("class QRegion *")] QRegion exposed); |
||||
[Const()] |
||||
int serialNumber(CppInstancePtr @this); |
||||
[Const()] |
||||
long cacheKey(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isDetached(CppInstancePtr @this); |
||||
void detach(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isQBitmap(CppInstancePtr @this); |
||||
[Static()] |
||||
QPixmap fromX11Pixmap([MangleAs("int long unsigned")] ulong pixmap, [MangleAs("enum ShareMode")] ShareMode mode); |
||||
[Static()] |
||||
int x11SetDefaultScreen([MangleAs("int")] int screen); |
||||
void x11SetScreen(CppInstancePtr @this, [MangleAs("int")] int screen); |
||||
[Const()] |
||||
QX11Info x11Info(CppInstancePtr @this); |
||||
[Const()] |
||||
ulong x11PictureHandle(CppInstancePtr @this); |
||||
[Const()] |
||||
ulong handle(CppInstancePtr @this); |
||||
[Const()] |
||||
QPixmapData pixmapData(CppInstancePtr @this); |
||||
} |
||||
private struct _QPixmap { |
||||
// FIXME: Unknown type "class QExplicitlySharedDataPointer <QPixmapData>" for field "data." Assuming IntPtr.
|
||||
private System.IntPtr data; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,329 @@
@@ -0,0 +1,329 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QPixmap : QPaintDevice { |
||||
private static IQPixmap impl = Wrappers.Libs.Lib.GetClass <IQPixmap, _QPixmap, QPixmap>("QPixmap"); |
||||
public QPixmap() { |
||||
impl.QPixmap(this.Native); |
||||
} |
||||
public QPixmap(QPixmapData data) { |
||||
impl.QPixmap(this.Native, data); |
||||
} |
||||
public QPixmap(int w, int h) { |
||||
impl.QPixmap(this.Native, w, h); |
||||
} |
||||
public QPixmap(QSize arg0) { |
||||
impl.QPixmap(this.Native, arg0); |
||||
} |
||||
public QPixmap(QString fileName, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
impl.QPixmap(this.Native, fileName, format, flags); |
||||
} |
||||
public QPixmap(string[] xpm) { |
||||
impl.QPixmap(this.Native, xpm); |
||||
} |
||||
public QPixmap(QPixmap arg0) { |
||||
impl.QPixmap(this.Native, arg0); |
||||
} |
||||
public bool IsNull { |
||||
get { |
||||
return impl.isNull(this.Native); |
||||
} |
||||
} |
||||
public int Width { |
||||
get { |
||||
return impl.width(this.Native); |
||||
} |
||||
} |
||||
public int Height { |
||||
get { |
||||
return impl.height(this.Native); |
||||
} |
||||
} |
||||
public QSize Size { |
||||
get { |
||||
return impl.size(this.Native); |
||||
} |
||||
} |
||||
public QRect Rect { |
||||
get { |
||||
return impl.rect(this.Native); |
||||
} |
||||
} |
||||
public int Depth { |
||||
get { |
||||
return impl.depth(this.Native); |
||||
} |
||||
} |
||||
public QBitmap Mask { |
||||
get { |
||||
return impl.mask(this.Native); |
||||
} |
||||
set { |
||||
impl.setMask(this.Native, value); |
||||
} |
||||
} |
||||
public QPixmap AlphaChannel { |
||||
get { |
||||
return impl.alphaChannel(this.Native); |
||||
} |
||||
set { |
||||
impl.setAlphaChannel(this.Native, value); |
||||
} |
||||
} |
||||
public bool HasAlpha { |
||||
get { |
||||
return impl.hasAlpha(this.Native); |
||||
} |
||||
} |
||||
public bool HasAlphaChannel { |
||||
get { |
||||
return impl.hasAlphaChannel(this.Native); |
||||
} |
||||
} |
||||
public QImage ToImage { |
||||
get { |
||||
return impl.toImage(this.Native); |
||||
} |
||||
} |
||||
public int SerialNumber { |
||||
get { |
||||
return impl.serialNumber(this.Native); |
||||
} |
||||
} |
||||
public long CacheKey { |
||||
get { |
||||
return impl.cacheKey(this.Native); |
||||
} |
||||
} |
||||
public bool IsDetached { |
||||
get { |
||||
return impl.isDetached(this.Native); |
||||
} |
||||
} |
||||
public bool IsQBitmap { |
||||
get { |
||||
return impl.isQBitmap(this.Native); |
||||
} |
||||
} |
||||
public QX11Info X11Info { |
||||
get { |
||||
return impl.x11Info(this.Native); |
||||
} |
||||
} |
||||
public ulong X11PictureHandle { |
||||
get { |
||||
return impl.x11PictureHandle(this.Native); |
||||
} |
||||
} |
||||
public ulong Handle { |
||||
get { |
||||
return impl.handle(this.Native); |
||||
} |
||||
} |
||||
public QPixmapData PixmapData { |
||||
get { |
||||
return impl.pixmapData(this.Native); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public static int DefaultDepth() { |
||||
return impl.defaultDepth(); |
||||
} |
||||
public void Fill(QColor fillColor) { |
||||
impl.fill(this.Native, fillColor); |
||||
} |
||||
public void Fill(QWidget widget, QPoint ofs) { |
||||
impl.fill(this.Native, widget, ofs); |
||||
} |
||||
public QBitmap CreateHeuristicMask(bool clipTight) { |
||||
return impl.createHeuristicMask(this.Native, clipTight); |
||||
} |
||||
public QBitmap CreateMaskFromColor(QColor maskColor) { |
||||
return impl.createMaskFromColor(this.Native, maskColor); |
||||
} |
||||
public QBitmap CreateMaskFromColor(QColor maskColor, MaskMode mode) { |
||||
return impl.createMaskFromColor(this.Native, maskColor, mode); |
||||
} |
||||
public static QPixmap GrabWindow(ulong arg0, int x, int y, int w, int h) { |
||||
return impl.grabWindow(arg0, x, y, w, h); |
||||
} |
||||
public static QPixmap GrabWidget(QWidget widget, QRect rect) { |
||||
return impl.grabWidget(widget, rect); |
||||
} |
||||
public QPixmap Scaled(QSize s, AspectRatioMode aspectMode, TransformationMode mode) { |
||||
return impl.scaled(this.Native, s, aspectMode, mode); |
||||
} |
||||
public QPixmap ScaledToWidth(int w, TransformationMode mode) { |
||||
return impl.scaledToWidth(this.Native, w, mode); |
||||
} |
||||
public QPixmap ScaledToHeight(int h, TransformationMode mode) { |
||||
return impl.scaledToHeight(this.Native, h, mode); |
||||
} |
||||
public QPixmap Transformed(QMatrix arg0, TransformationMode mode) { |
||||
return impl.transformed(this.Native, arg0, mode); |
||||
} |
||||
public static QMatrix TrueMatrix(QMatrix m, int w, int h) { |
||||
return impl.trueMatrix(m, w, h); |
||||
} |
||||
public QPixmap Transformed(QTransform arg0, TransformationMode mode) { |
||||
return impl.transformed(this.Native, arg0, mode); |
||||
} |
||||
public static QTransform TrueMatrix(QTransform m, int w, int h) { |
||||
return impl.trueMatrix(m, w, h); |
||||
} |
||||
public static QPixmap FromImage(QImage image, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.fromImage(image, flags); |
||||
} |
||||
public bool Load(QString fileName, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.load(this.Native, fileName, format, flags); |
||||
} |
||||
public bool LoadFromData(string buf, uint len, string format, QFlags<Qt::ImageConversionFlag> flags) { |
||||
return impl.loadFromData(this.Native, buf, len, format, flags); |
||||
} |
||||
public bool Save(QString fileName, string format, int quality) { |
||||
return impl.save(this.Native, fileName, format, quality); |
||||
} |
||||
public bool Save(QIODevice device, string format, int quality) { |
||||
return impl.save(this.Native, device, format, quality); |
||||
} |
||||
public QPixmap Copy(QRect rect) { |
||||
return impl.copy(this.Native, rect); |
||||
} |
||||
public void Scroll(int dx, int dy, QRect rect, QRegion exposed) { |
||||
impl.scroll(this.Native, dx, dy, rect, exposed); |
||||
} |
||||
public void Detach() { |
||||
impl.detach(this.Native); |
||||
} |
||||
public static QPixmap FromX11Pixmap(ulong pixmap, ShareMode mode) { |
||||
return impl.fromX11Pixmap(pixmap, mode); |
||||
} |
||||
public static int X11SetDefaultScreen(int screen) { |
||||
return impl.x11SetDefaultScreen(screen); |
||||
} |
||||
public void X11SetScreen(int screen) { |
||||
impl.x11SetScreen(this.Native, screen); |
||||
} |
||||
public interface IQPixmap : ICppClassOverridable<QPixmap> { |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("struct QPixmapData *")] QPixmapData data); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize arg0); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("char const * const *")] string[] xpm); |
||||
[Constructor()] |
||||
void QPixmap(CppInstancePtr @this, [MangleAs("class QPixmap const &")] QPixmap arg0); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isNull(CppInstancePtr @this); |
||||
[Const()] |
||||
int width(CppInstancePtr @this); |
||||
[Const()] |
||||
int height(CppInstancePtr @this); |
||||
[Const()] |
||||
QSize size(CppInstancePtr @this); |
||||
[Const()] |
||||
QRect rect(CppInstancePtr @this); |
||||
[Const()] |
||||
int depth(CppInstancePtr @this); |
||||
[Static()] |
||||
int defaultDepth(); |
||||
void fill(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor fillColor); |
||||
void fill(CppInstancePtr @this, [MangleAs("class QWidget const *")] QWidget widget, [MangleAs("class QPoint const &")] QPoint ofs); |
||||
[Const()] |
||||
QBitmap mask(CppInstancePtr @this); |
||||
void setMask(CppInstancePtr @this, [MangleAs("class QBitmap const &")] QBitmap value); |
||||
[Const()] |
||||
QPixmap alphaChannel(CppInstancePtr @this); |
||||
void setAlphaChannel(CppInstancePtr @this, [MangleAs("class QPixmap const &")] QPixmap value); |
||||
[Const()] |
||||
bool hasAlpha(CppInstancePtr @this); |
||||
[Const()] |
||||
bool hasAlphaChannel(CppInstancePtr @this); |
||||
[Const()] |
||||
QBitmap createHeuristicMask(CppInstancePtr @this, [MangleAs("bool")] bool clipTight); |
||||
[Const()] |
||||
QBitmap createMaskFromColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor maskColor); |
||||
[Const()] |
||||
QBitmap createMaskFromColor(CppInstancePtr @this, [MangleAs("class QColor const &")] QColor maskColor, [MangleAs("enum MaskMode")] MaskMode mode); |
||||
[Static()] |
||||
QPixmap grabWindow([MangleAs("int long unsigned")] ulong arg0, [MangleAs("int")] int x, [MangleAs("int")] int y, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Static()] |
||||
QPixmap grabWidget([MangleAs("class QWidget *")] QWidget widget, [MangleAs("class QRect const &")] QRect rect); |
||||
[Const()] |
||||
QPixmap scaled(CppInstancePtr @this, [MangleAs("class QSize const &")] QSize s, [MangleAs("enum AspectRatioMode")] AspectRatioMode aspectMode, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap scaledToWidth(CppInstancePtr @this, [MangleAs("int")] int w, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap scaledToHeight(CppInstancePtr @this, [MangleAs("int")] int h, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Const()] |
||||
QPixmap transformed(CppInstancePtr @this, [MangleAs("class QMatrix const &")] QMatrix arg0, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Static()] |
||||
QMatrix trueMatrix([MangleAs("class QMatrix const &")] QMatrix m, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Const()] |
||||
QPixmap transformed(CppInstancePtr @this, [MangleAs("class QTransform const &")] QTransform arg0, [MangleAs("enum TransformationMode")] TransformationMode mode); |
||||
[Static()] |
||||
QTransform trueMatrix([MangleAs("class QTransform const &")] QTransform m, [MangleAs("int")] int w, [MangleAs("int")] int h); |
||||
[Const()] |
||||
QImage toImage(CppInstancePtr @this); |
||||
[Static()] |
||||
QPixmap fromImage([MangleAs("class QImage const &")] QImage image, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
bool load(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
bool loadFromData(CppInstancePtr @this, [MangleAs("char unsigned const *")] string buf, [MangleAs("int unsigned")] uint len, [MangleAs("char const *")] string format, [MangleAs("class QFlags <Qt::ImageConversionFlag>")] QFlags<Qt::ImageConversionFlag> flags); |
||||
[Const()] |
||||
bool save(CppInstancePtr @this, [MangleAs("class QString const &")] QString fileName, [MangleAs("char const *")] string format, [MangleAs("int")] int quality); |
||||
[Const()] |
||||
bool save(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice device, [MangleAs("char const *")] string format, [MangleAs("int")] int quality); |
||||
[Const()] |
||||
QPixmap copy(CppInstancePtr @this, [MangleAs("class QRect const &")] QRect rect); |
||||
void scroll(CppInstancePtr @this, [MangleAs("int")] int dx, [MangleAs("int")] int dy, [MangleAs("class QRect const &")] QRect rect, [MangleAs("class QRegion *")] QRegion exposed); |
||||
[Const()] |
||||
int serialNumber(CppInstancePtr @this); |
||||
[Const()] |
||||
long cacheKey(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isDetached(CppInstancePtr @this); |
||||
void detach(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isQBitmap(CppInstancePtr @this); |
||||
[Static()] |
||||
QPixmap fromX11Pixmap([MangleAs("int long unsigned")] ulong pixmap, [MangleAs("enum ShareMode")] ShareMode mode); |
||||
[Static()] |
||||
int x11SetDefaultScreen([MangleAs("int")] int screen); |
||||
void x11SetScreen(CppInstancePtr @this, [MangleAs("int")] int screen); |
||||
[Const()] |
||||
QX11Info x11Info(CppInstancePtr @this); |
||||
[Const()] |
||||
ulong x11PictureHandle(CppInstancePtr @this); |
||||
[Const()] |
||||
ulong handle(CppInstancePtr @this); |
||||
[Const()] |
||||
QPixmapData pixmapData(CppInstancePtr @this); |
||||
} |
||||
private struct _QPixmap { |
||||
// FIXME: Unknown type "class QExplicitlySharedDataPointer <QPixmapData>" for field "data." Assuming IntPtr.
|
||||
private System.IntPtr data; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,368 @@
@@ -0,0 +1,368 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QPrinter : QPaintDevice { |
||||
private static IQPrinter impl = Wrappers.Libs.Lib.GetClass <IQPrinter, _QPrinter, QPrinter>("QPrinter"); |
||||
public QPrinter(PrinterMode mode) { |
||||
impl.QPrinter(this.Native, mode); |
||||
} |
||||
public QPrinter(QPrinterInfo printer, PrinterMode mode) { |
||||
impl.QPrinter(this.Native, printer, mode); |
||||
} |
||||
public OutputFormat OutputFormat { |
||||
get { |
||||
return impl.outputFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setOutputFormat(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrinterName { |
||||
get { |
||||
return impl.printerName(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrinterName(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsValid { |
||||
get { |
||||
return impl.isValid(this.Native); |
||||
} |
||||
} |
||||
public QString OutputFileName { |
||||
get { |
||||
return impl.outputFileName(this.Native); |
||||
} |
||||
set { |
||||
impl.setOutputFileName(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrintProgram { |
||||
get { |
||||
return impl.printProgram(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrintProgram(this.Native, value); |
||||
} |
||||
} |
||||
public QString DocName { |
||||
get { |
||||
return impl.docName(this.Native); |
||||
} |
||||
set { |
||||
impl.setDocName(this.Native, value); |
||||
} |
||||
} |
||||
public QString Creator { |
||||
get { |
||||
return impl.creator(this.Native); |
||||
} |
||||
set { |
||||
impl.setCreator(this.Native, value); |
||||
} |
||||
} |
||||
public Orientation Orientation { |
||||
get { |
||||
return impl.orientation(this.Native); |
||||
} |
||||
set { |
||||
impl.setOrientation(this.Native, value); |
||||
} |
||||
} |
||||
public PageSize PageSize { |
||||
get { |
||||
return impl.pageSize(this.Native); |
||||
} |
||||
set { |
||||
impl.setPageSize(this.Native, value); |
||||
} |
||||
} |
||||
public PageOrder PageOrder { |
||||
get { |
||||
return impl.pageOrder(this.Native); |
||||
} |
||||
set { |
||||
impl.setPageOrder(this.Native, value); |
||||
} |
||||
} |
||||
public int Resolution { |
||||
get { |
||||
return impl.resolution(this.Native); |
||||
} |
||||
set { |
||||
impl.setResolution(this.Native, value); |
||||
} |
||||
} |
||||
public ColorMode ColorMode { |
||||
get { |
||||
return impl.colorMode(this.Native); |
||||
} |
||||
set { |
||||
impl.setColorMode(this.Native, value); |
||||
} |
||||
} |
||||
public bool CollateCopies { |
||||
get { |
||||
return impl.collateCopies(this.Native); |
||||
} |
||||
set { |
||||
impl.setCollateCopies(this.Native, value); |
||||
} |
||||
} |
||||
public bool FullPage { |
||||
get { |
||||
return impl.fullPage(this.Native); |
||||
} |
||||
set { |
||||
impl.setFullPage(this.Native, value); |
||||
} |
||||
} |
||||
public int NumCopies { |
||||
get { |
||||
return impl.numCopies(this.Native); |
||||
} |
||||
set { |
||||
impl.setNumCopies(this.Native, value); |
||||
} |
||||
} |
||||
public int ActualNumCopies { |
||||
get { |
||||
return impl.actualNumCopies(this.Native); |
||||
} |
||||
} |
||||
public PaperSource PaperSource { |
||||
get { |
||||
return impl.paperSource(this.Native); |
||||
} |
||||
set { |
||||
impl.setPaperSource(this.Native, value); |
||||
} |
||||
} |
||||
public DuplexMode Duplex { |
||||
get { |
||||
return impl.duplex(this.Native); |
||||
} |
||||
set { |
||||
impl.setDuplex(this.Native, value); |
||||
} |
||||
} |
||||
public QList<System.Int32> SupportedResolutions { |
||||
get { |
||||
return impl.supportedResolutions(this.Native); |
||||
} |
||||
} |
||||
public bool FontEmbeddingEnabled { |
||||
get { |
||||
return impl.fontEmbeddingEnabled(this.Native); |
||||
} |
||||
set { |
||||
impl.setFontEmbeddingEnabled(this.Native, value); |
||||
} |
||||
} |
||||
public bool DoubleSidedPrinting { |
||||
get { |
||||
return impl.doubleSidedPrinting(this.Native); |
||||
} |
||||
set { |
||||
impl.setDoubleSidedPrinting(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrinterSelectionOption { |
||||
get { |
||||
return impl.printerSelectionOption(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrinterSelectionOption(this.Native, value); |
||||
} |
||||
} |
||||
public PrinterState PrinterState { |
||||
get { |
||||
return impl.printerState(this.Native); |
||||
} |
||||
} |
||||
public QPrintEngine PrintEngine { |
||||
get { |
||||
return impl.printEngine(this.Native); |
||||
} |
||||
} |
||||
public int FromPage { |
||||
get { |
||||
return impl.fromPage(this.Native); |
||||
} |
||||
} |
||||
public int ToPage { |
||||
get { |
||||
return impl.toPage(this.Native); |
||||
} |
||||
} |
||||
public PrintRange PrintRange { |
||||
get { |
||||
return impl.printRange(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrintRange(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetPaperSize(PageSize arg0) { |
||||
impl.setPaperSize(this.Native, arg0); |
||||
} |
||||
public PageSize PaperSize() { |
||||
return impl.paperSize(this.Native); |
||||
} |
||||
public void SetPaperSize(QSizeF paperSize, Unit unit) { |
||||
impl.setPaperSize(this.Native, paperSize, unit); |
||||
} |
||||
public QSizeF PaperSize(Unit unit) { |
||||
return impl.paperSize(this.Native, unit); |
||||
} |
||||
public QRect PaperRect() { |
||||
return impl.paperRect(this.Native); |
||||
} |
||||
public QRect PageRect() { |
||||
return impl.pageRect(this.Native); |
||||
} |
||||
public QRectF PaperRect(Unit arg0) { |
||||
return impl.paperRect(this.Native, arg0); |
||||
} |
||||
public QRectF PageRect(Unit arg0) { |
||||
return impl.pageRect(this.Native, arg0); |
||||
} |
||||
public bool NewPage() { |
||||
return impl.newPage(this.Native); |
||||
} |
||||
public bool Abort() { |
||||
return impl.abort(this.Native); |
||||
} |
||||
public void SetFromTo(int fromPage, int toPage) { |
||||
impl.setFromTo(this.Native, fromPage, toPage); |
||||
} |
||||
public void SetPageMargins(double left, double top, double right, double bottom, Unit unit) { |
||||
impl.setPageMargins(this.Native, left, top, right, bottom, unit); |
||||
} |
||||
public void GetPageMargins(ref double left, ref double top, ref double right, ref double bottom, Unit unit) { |
||||
impl.getPageMargins(this.Native, ref left, ref top, ref right, ref bottom, unit); |
||||
} |
||||
public interface IQPrinter : ICppClassOverridable<QPrinter> { |
||||
[Constructor()] |
||||
void QPrinter(CppInstancePtr @this, [MangleAs("enum PrinterMode")] PrinterMode mode); |
||||
[Constructor()] |
||||
void QPrinter(CppInstancePtr @this, [MangleAs("class QPrinterInfo const &")] QPrinterInfo printer, [MangleAs("enum PrinterMode")] PrinterMode mode); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
OutputFormat outputFormat(CppInstancePtr @this); |
||||
void setOutputFormat(CppInstancePtr @this, [MangleAs("enum OutputFormat")] OutputFormat value); |
||||
[Const()] |
||||
QString printerName(CppInstancePtr @this); |
||||
void setPrinterName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
bool isValid(CppInstancePtr @this); |
||||
[Const()] |
||||
QString outputFileName(CppInstancePtr @this); |
||||
void setOutputFileName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString printProgram(CppInstancePtr @this); |
||||
void setPrintProgram(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString docName(CppInstancePtr @this); |
||||
void setDocName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString creator(CppInstancePtr @this); |
||||
void setCreator(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
Orientation orientation(CppInstancePtr @this); |
||||
void setOrientation(CppInstancePtr @this, [MangleAs("enum Orientation")] Orientation value); |
||||
[Const()] |
||||
PageSize pageSize(CppInstancePtr @this); |
||||
void setPageSize(CppInstancePtr @this, [MangleAs("enum PageSize")] PageSize value); |
||||
void setPaperSize(CppInstancePtr @this, [MangleAs("enum PageSize")] PageSize arg0); |
||||
[Const()] |
||||
PageSize paperSize(CppInstancePtr @this); |
||||
void setPaperSize(CppInstancePtr @this, [MangleAs("class QSizeF const &")] QSizeF paperSize, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
QSizeF paperSize(CppInstancePtr @this, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
PageOrder pageOrder(CppInstancePtr @this); |
||||
void setPageOrder(CppInstancePtr @this, [MangleAs("enum PageOrder")] PageOrder value); |
||||
[Const()] |
||||
int resolution(CppInstancePtr @this); |
||||
void setResolution(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
ColorMode colorMode(CppInstancePtr @this); |
||||
void setColorMode(CppInstancePtr @this, [MangleAs("enum ColorMode")] ColorMode value); |
||||
[Const()] |
||||
bool collateCopies(CppInstancePtr @this); |
||||
void setCollateCopies(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool fullPage(CppInstancePtr @this); |
||||
void setFullPage(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
int numCopies(CppInstancePtr @this); |
||||
void setNumCopies(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int actualNumCopies(CppInstancePtr @this); |
||||
[Const()] |
||||
PaperSource paperSource(CppInstancePtr @this); |
||||
void setPaperSource(CppInstancePtr @this, [MangleAs("enum PaperSource")] PaperSource value); |
||||
[Const()] |
||||
DuplexMode duplex(CppInstancePtr @this); |
||||
void setDuplex(CppInstancePtr @this, [MangleAs("enum DuplexMode")] DuplexMode value); |
||||
[Const()] |
||||
QList<System.Int32> supportedResolutions(CppInstancePtr @this); |
||||
[Const()] |
||||
bool fontEmbeddingEnabled(CppInstancePtr @this); |
||||
void setFontEmbeddingEnabled(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool doubleSidedPrinting(CppInstancePtr @this); |
||||
void setDoubleSidedPrinting(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QRect paperRect(CppInstancePtr @this); |
||||
[Const()] |
||||
QRect pageRect(CppInstancePtr @this); |
||||
[Const()] |
||||
QRectF paperRect(CppInstancePtr @this, [MangleAs("enum Unit")] Unit arg0); |
||||
[Const()] |
||||
QRectF pageRect(CppInstancePtr @this, [MangleAs("enum Unit")] Unit arg0); |
||||
[Const()] |
||||
QString printerSelectionOption(CppInstancePtr @this); |
||||
void setPrinterSelectionOption(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
bool newPage(CppInstancePtr @this); |
||||
bool abort(CppInstancePtr @this); |
||||
[Const()] |
||||
PrinterState printerState(CppInstancePtr @this); |
||||
[Const()] |
||||
QPrintEngine printEngine(CppInstancePtr @this); |
||||
void setFromTo(CppInstancePtr @this, [MangleAs("int")] int fromPage, [MangleAs("int")] int toPage); |
||||
[Const()] |
||||
int fromPage(CppInstancePtr @this); |
||||
[Const()] |
||||
int toPage(CppInstancePtr @this); |
||||
[Const()] |
||||
PrintRange printRange(CppInstancePtr @this); |
||||
void setPrintRange(CppInstancePtr @this, [MangleAs("enum PrintRange")] PrintRange value); |
||||
void setPageMargins(CppInstancePtr @this, [MangleAs("double")] double left, [MangleAs("double")] double top, [MangleAs("double")] double right, [MangleAs("double")] double bottom, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
void getPageMargins(CppInstancePtr @this, [MangleAs("double *")] ref double left, [MangleAs("double *")] ref double top, [MangleAs("double *")] ref double right, [MangleAs("double *")] ref double bottom, [MangleAs("enum Unit")] Unit unit); |
||||
} |
||||
private struct _QPrinter { |
||||
// FIXME: Unknown type "class QScopedPointer <QPrinterPrivate, QScopedPointerDeleter <QPrinterPrivate>>" for field "d_ptr." Assuming IntPtr.
|
||||
private System.IntPtr d_ptr; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,368 @@
@@ -0,0 +1,368 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QPrinter : QPaintDevice { |
||||
private static IQPrinter impl = Wrappers.Libs.Lib.GetClass <IQPrinter, _QPrinter, QPrinter>("QPrinter"); |
||||
public QPrinter(PrinterMode mode) { |
||||
impl.QPrinter(this.Native, mode); |
||||
} |
||||
public QPrinter(QPrinterInfo printer, PrinterMode mode) { |
||||
impl.QPrinter(this.Native, printer, mode); |
||||
} |
||||
public OutputFormat OutputFormat { |
||||
get { |
||||
return impl.outputFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setOutputFormat(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrinterName { |
||||
get { |
||||
return impl.printerName(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrinterName(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsValid { |
||||
get { |
||||
return impl.isValid(this.Native); |
||||
} |
||||
} |
||||
public QString OutputFileName { |
||||
get { |
||||
return impl.outputFileName(this.Native); |
||||
} |
||||
set { |
||||
impl.setOutputFileName(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrintProgram { |
||||
get { |
||||
return impl.printProgram(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrintProgram(this.Native, value); |
||||
} |
||||
} |
||||
public QString DocName { |
||||
get { |
||||
return impl.docName(this.Native); |
||||
} |
||||
set { |
||||
impl.setDocName(this.Native, value); |
||||
} |
||||
} |
||||
public QString Creator { |
||||
get { |
||||
return impl.creator(this.Native); |
||||
} |
||||
set { |
||||
impl.setCreator(this.Native, value); |
||||
} |
||||
} |
||||
public Orientation Orientation { |
||||
get { |
||||
return impl.orientation(this.Native); |
||||
} |
||||
set { |
||||
impl.setOrientation(this.Native, value); |
||||
} |
||||
} |
||||
public PageSize PageSize { |
||||
get { |
||||
return impl.pageSize(this.Native); |
||||
} |
||||
set { |
||||
impl.setPageSize(this.Native, value); |
||||
} |
||||
} |
||||
public PageOrder PageOrder { |
||||
get { |
||||
return impl.pageOrder(this.Native); |
||||
} |
||||
set { |
||||
impl.setPageOrder(this.Native, value); |
||||
} |
||||
} |
||||
public int Resolution { |
||||
get { |
||||
return impl.resolution(this.Native); |
||||
} |
||||
set { |
||||
impl.setResolution(this.Native, value); |
||||
} |
||||
} |
||||
public ColorMode ColorMode { |
||||
get { |
||||
return impl.colorMode(this.Native); |
||||
} |
||||
set { |
||||
impl.setColorMode(this.Native, value); |
||||
} |
||||
} |
||||
public bool CollateCopies { |
||||
get { |
||||
return impl.collateCopies(this.Native); |
||||
} |
||||
set { |
||||
impl.setCollateCopies(this.Native, value); |
||||
} |
||||
} |
||||
public bool FullPage { |
||||
get { |
||||
return impl.fullPage(this.Native); |
||||
} |
||||
set { |
||||
impl.setFullPage(this.Native, value); |
||||
} |
||||
} |
||||
public int NumCopies { |
||||
get { |
||||
return impl.numCopies(this.Native); |
||||
} |
||||
set { |
||||
impl.setNumCopies(this.Native, value); |
||||
} |
||||
} |
||||
public int ActualNumCopies { |
||||
get { |
||||
return impl.actualNumCopies(this.Native); |
||||
} |
||||
} |
||||
public PaperSource PaperSource { |
||||
get { |
||||
return impl.paperSource(this.Native); |
||||
} |
||||
set { |
||||
impl.setPaperSource(this.Native, value); |
||||
} |
||||
} |
||||
public DuplexMode Duplex { |
||||
get { |
||||
return impl.duplex(this.Native); |
||||
} |
||||
set { |
||||
impl.setDuplex(this.Native, value); |
||||
} |
||||
} |
||||
public QList<System.Int32> SupportedResolutions { |
||||
get { |
||||
return impl.supportedResolutions(this.Native); |
||||
} |
||||
} |
||||
public bool FontEmbeddingEnabled { |
||||
get { |
||||
return impl.fontEmbeddingEnabled(this.Native); |
||||
} |
||||
set { |
||||
impl.setFontEmbeddingEnabled(this.Native, value); |
||||
} |
||||
} |
||||
public bool DoubleSidedPrinting { |
||||
get { |
||||
return impl.doubleSidedPrinting(this.Native); |
||||
} |
||||
set { |
||||
impl.setDoubleSidedPrinting(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrinterSelectionOption { |
||||
get { |
||||
return impl.printerSelectionOption(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrinterSelectionOption(this.Native, value); |
||||
} |
||||
} |
||||
public PrinterState PrinterState { |
||||
get { |
||||
return impl.printerState(this.Native); |
||||
} |
||||
} |
||||
public QPrintEngine PrintEngine { |
||||
get { |
||||
return impl.printEngine(this.Native); |
||||
} |
||||
} |
||||
public int FromPage { |
||||
get { |
||||
return impl.fromPage(this.Native); |
||||
} |
||||
} |
||||
public int ToPage { |
||||
get { |
||||
return impl.toPage(this.Native); |
||||
} |
||||
} |
||||
public PrintRange PrintRange { |
||||
get { |
||||
return impl.printRange(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrintRange(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetPaperSize(PageSize arg0) { |
||||
impl.setPaperSize(this.Native, arg0); |
||||
} |
||||
public PageSize PaperSize() { |
||||
return impl.paperSize(this.Native); |
||||
} |
||||
public void SetPaperSize(QSizeF paperSize, Unit unit) { |
||||
impl.setPaperSize(this.Native, paperSize, unit); |
||||
} |
||||
public QSizeF PaperSize(Unit unit) { |
||||
return impl.paperSize(this.Native, unit); |
||||
} |
||||
public QRect PaperRect() { |
||||
return impl.paperRect(this.Native); |
||||
} |
||||
public QRect PageRect() { |
||||
return impl.pageRect(this.Native); |
||||
} |
||||
public QRectF PaperRect(Unit arg0) { |
||||
return impl.paperRect(this.Native, arg0); |
||||
} |
||||
public QRectF PageRect(Unit arg0) { |
||||
return impl.pageRect(this.Native, arg0); |
||||
} |
||||
public bool NewPage() { |
||||
return impl.newPage(this.Native); |
||||
} |
||||
public bool Abort() { |
||||
return impl.abort(this.Native); |
||||
} |
||||
public void SetFromTo(int fromPage, int toPage) { |
||||
impl.setFromTo(this.Native, fromPage, toPage); |
||||
} |
||||
public void SetPageMargins(double left, double top, double right, double bottom, Unit unit) { |
||||
impl.setPageMargins(this.Native, left, top, right, bottom, unit); |
||||
} |
||||
public void GetPageMargins(ref double left, ref double top, ref double right, ref double bottom, Unit unit) { |
||||
impl.getPageMargins(this.Native, ref left, ref top, ref right, ref bottom, unit); |
||||
} |
||||
public interface IQPrinter : ICppClassOverridable<QPrinter> { |
||||
[Constructor()] |
||||
void QPrinter(CppInstancePtr @this, [MangleAs("enum PrinterMode")] PrinterMode mode); |
||||
[Constructor()] |
||||
void QPrinter(CppInstancePtr @this, [MangleAs("class QPrinterInfo const &")] QPrinterInfo printer, [MangleAs("enum PrinterMode")] PrinterMode mode); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
OutputFormat outputFormat(CppInstancePtr @this); |
||||
void setOutputFormat(CppInstancePtr @this, [MangleAs("enum OutputFormat")] OutputFormat value); |
||||
[Const()] |
||||
QString printerName(CppInstancePtr @this); |
||||
void setPrinterName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
bool isValid(CppInstancePtr @this); |
||||
[Const()] |
||||
QString outputFileName(CppInstancePtr @this); |
||||
void setOutputFileName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString printProgram(CppInstancePtr @this); |
||||
void setPrintProgram(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString docName(CppInstancePtr @this); |
||||
void setDocName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString creator(CppInstancePtr @this); |
||||
void setCreator(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
Orientation orientation(CppInstancePtr @this); |
||||
void setOrientation(CppInstancePtr @this, [MangleAs("enum Orientation")] Orientation value); |
||||
[Const()] |
||||
PageSize pageSize(CppInstancePtr @this); |
||||
void setPageSize(CppInstancePtr @this, [MangleAs("enum PageSize")] PageSize value); |
||||
void setPaperSize(CppInstancePtr @this, [MangleAs("enum PageSize")] PageSize arg0); |
||||
[Const()] |
||||
PageSize paperSize(CppInstancePtr @this); |
||||
void setPaperSize(CppInstancePtr @this, [MangleAs("class QSizeF const &")] QSizeF paperSize, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
QSizeF paperSize(CppInstancePtr @this, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
PageOrder pageOrder(CppInstancePtr @this); |
||||
void setPageOrder(CppInstancePtr @this, [MangleAs("enum PageOrder")] PageOrder value); |
||||
[Const()] |
||||
int resolution(CppInstancePtr @this); |
||||
void setResolution(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
ColorMode colorMode(CppInstancePtr @this); |
||||
void setColorMode(CppInstancePtr @this, [MangleAs("enum ColorMode")] ColorMode value); |
||||
[Const()] |
||||
bool collateCopies(CppInstancePtr @this); |
||||
void setCollateCopies(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool fullPage(CppInstancePtr @this); |
||||
void setFullPage(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
int numCopies(CppInstancePtr @this); |
||||
void setNumCopies(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int actualNumCopies(CppInstancePtr @this); |
||||
[Const()] |
||||
PaperSource paperSource(CppInstancePtr @this); |
||||
void setPaperSource(CppInstancePtr @this, [MangleAs("enum PaperSource")] PaperSource value); |
||||
[Const()] |
||||
DuplexMode duplex(CppInstancePtr @this); |
||||
void setDuplex(CppInstancePtr @this, [MangleAs("enum DuplexMode")] DuplexMode value); |
||||
[Const()] |
||||
QList<System.Int32> supportedResolutions(CppInstancePtr @this); |
||||
[Const()] |
||||
bool fontEmbeddingEnabled(CppInstancePtr @this); |
||||
void setFontEmbeddingEnabled(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool doubleSidedPrinting(CppInstancePtr @this); |
||||
void setDoubleSidedPrinting(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QRect paperRect(CppInstancePtr @this); |
||||
[Const()] |
||||
QRect pageRect(CppInstancePtr @this); |
||||
[Const()] |
||||
QRectF paperRect(CppInstancePtr @this, [MangleAs("enum Unit")] Unit arg0); |
||||
[Const()] |
||||
QRectF pageRect(CppInstancePtr @this, [MangleAs("enum Unit")] Unit arg0); |
||||
[Const()] |
||||
QString printerSelectionOption(CppInstancePtr @this); |
||||
void setPrinterSelectionOption(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
bool newPage(CppInstancePtr @this); |
||||
bool abort(CppInstancePtr @this); |
||||
[Const()] |
||||
PrinterState printerState(CppInstancePtr @this); |
||||
[Const()] |
||||
QPrintEngine printEngine(CppInstancePtr @this); |
||||
void setFromTo(CppInstancePtr @this, [MangleAs("int")] int fromPage, [MangleAs("int")] int toPage); |
||||
[Const()] |
||||
int fromPage(CppInstancePtr @this); |
||||
[Const()] |
||||
int toPage(CppInstancePtr @this); |
||||
[Const()] |
||||
PrintRange printRange(CppInstancePtr @this); |
||||
void setPrintRange(CppInstancePtr @this, [MangleAs("enum PrintRange")] PrintRange value); |
||||
void setPageMargins(CppInstancePtr @this, [MangleAs("double")] double left, [MangleAs("double")] double top, [MangleAs("double")] double right, [MangleAs("double")] double bottom, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
void getPageMargins(CppInstancePtr @this, [MangleAs("double *")] ref double left, [MangleAs("double *")] ref double top, [MangleAs("double *")] ref double right, [MangleAs("double *")] ref double bottom, [MangleAs("enum Unit")] Unit unit); |
||||
} |
||||
private struct _QPrinter { |
||||
// FIXME: Unknown type "class QScopedPointer <QPrinterPrivate, QScopedPointerDeleter <QPrinterPrivate>>" for field "d_ptr." Assuming IntPtr.
|
||||
private System.IntPtr d_ptr; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,368 @@
@@ -0,0 +1,368 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QPrinter : QPaintDevice { |
||||
private static IQPrinter impl = Wrappers.Libs.Lib.GetClass <IQPrinter, _QPrinter, QPrinter>("QPrinter"); |
||||
public QPrinter(PrinterMode mode) { |
||||
impl.QPrinter(this.Native, mode); |
||||
} |
||||
public QPrinter(QPrinterInfo printer, PrinterMode mode) { |
||||
impl.QPrinter(this.Native, printer, mode); |
||||
} |
||||
public OutputFormat OutputFormat { |
||||
get { |
||||
return impl.outputFormat(this.Native); |
||||
} |
||||
set { |
||||
impl.setOutputFormat(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrinterName { |
||||
get { |
||||
return impl.printerName(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrinterName(this.Native, value); |
||||
} |
||||
} |
||||
public bool IsValid { |
||||
get { |
||||
return impl.isValid(this.Native); |
||||
} |
||||
} |
||||
public QString OutputFileName { |
||||
get { |
||||
return impl.outputFileName(this.Native); |
||||
} |
||||
set { |
||||
impl.setOutputFileName(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrintProgram { |
||||
get { |
||||
return impl.printProgram(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrintProgram(this.Native, value); |
||||
} |
||||
} |
||||
public QString DocName { |
||||
get { |
||||
return impl.docName(this.Native); |
||||
} |
||||
set { |
||||
impl.setDocName(this.Native, value); |
||||
} |
||||
} |
||||
public QString Creator { |
||||
get { |
||||
return impl.creator(this.Native); |
||||
} |
||||
set { |
||||
impl.setCreator(this.Native, value); |
||||
} |
||||
} |
||||
public Orientation Orientation { |
||||
get { |
||||
return impl.orientation(this.Native); |
||||
} |
||||
set { |
||||
impl.setOrientation(this.Native, value); |
||||
} |
||||
} |
||||
public PageSize PageSize { |
||||
get { |
||||
return impl.pageSize(this.Native); |
||||
} |
||||
set { |
||||
impl.setPageSize(this.Native, value); |
||||
} |
||||
} |
||||
public PageOrder PageOrder { |
||||
get { |
||||
return impl.pageOrder(this.Native); |
||||
} |
||||
set { |
||||
impl.setPageOrder(this.Native, value); |
||||
} |
||||
} |
||||
public int Resolution { |
||||
get { |
||||
return impl.resolution(this.Native); |
||||
} |
||||
set { |
||||
impl.setResolution(this.Native, value); |
||||
} |
||||
} |
||||
public ColorMode ColorMode { |
||||
get { |
||||
return impl.colorMode(this.Native); |
||||
} |
||||
set { |
||||
impl.setColorMode(this.Native, value); |
||||
} |
||||
} |
||||
public bool CollateCopies { |
||||
get { |
||||
return impl.collateCopies(this.Native); |
||||
} |
||||
set { |
||||
impl.setCollateCopies(this.Native, value); |
||||
} |
||||
} |
||||
public bool FullPage { |
||||
get { |
||||
return impl.fullPage(this.Native); |
||||
} |
||||
set { |
||||
impl.setFullPage(this.Native, value); |
||||
} |
||||
} |
||||
public int NumCopies { |
||||
get { |
||||
return impl.numCopies(this.Native); |
||||
} |
||||
set { |
||||
impl.setNumCopies(this.Native, value); |
||||
} |
||||
} |
||||
public int ActualNumCopies { |
||||
get { |
||||
return impl.actualNumCopies(this.Native); |
||||
} |
||||
} |
||||
public PaperSource PaperSource { |
||||
get { |
||||
return impl.paperSource(this.Native); |
||||
} |
||||
set { |
||||
impl.setPaperSource(this.Native, value); |
||||
} |
||||
} |
||||
public DuplexMode Duplex { |
||||
get { |
||||
return impl.duplex(this.Native); |
||||
} |
||||
set { |
||||
impl.setDuplex(this.Native, value); |
||||
} |
||||
} |
||||
public QList<System.Int32> SupportedResolutions { |
||||
get { |
||||
return impl.supportedResolutions(this.Native); |
||||
} |
||||
} |
||||
public bool FontEmbeddingEnabled { |
||||
get { |
||||
return impl.fontEmbeddingEnabled(this.Native); |
||||
} |
||||
set { |
||||
impl.setFontEmbeddingEnabled(this.Native, value); |
||||
} |
||||
} |
||||
public bool DoubleSidedPrinting { |
||||
get { |
||||
return impl.doubleSidedPrinting(this.Native); |
||||
} |
||||
set { |
||||
impl.setDoubleSidedPrinting(this.Native, value); |
||||
} |
||||
} |
||||
public QString PrinterSelectionOption { |
||||
get { |
||||
return impl.printerSelectionOption(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrinterSelectionOption(this.Native, value); |
||||
} |
||||
} |
||||
public PrinterState PrinterState { |
||||
get { |
||||
return impl.printerState(this.Native); |
||||
} |
||||
} |
||||
public QPrintEngine PrintEngine { |
||||
get { |
||||
return impl.printEngine(this.Native); |
||||
} |
||||
} |
||||
public int FromPage { |
||||
get { |
||||
return impl.fromPage(this.Native); |
||||
} |
||||
} |
||||
public int ToPage { |
||||
get { |
||||
return impl.toPage(this.Native); |
||||
} |
||||
} |
||||
public PrintRange PrintRange { |
||||
get { |
||||
return impl.printRange(this.Native); |
||||
} |
||||
set { |
||||
impl.setPrintRange(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
} |
||||
public void SetPaperSize(PageSize arg0) { |
||||
impl.setPaperSize(this.Native, arg0); |
||||
} |
||||
public PageSize PaperSize() { |
||||
return impl.paperSize(this.Native); |
||||
} |
||||
public void SetPaperSize(QSizeF paperSize, Unit unit) { |
||||
impl.setPaperSize(this.Native, paperSize, unit); |
||||
} |
||||
public QSizeF PaperSize(Unit unit) { |
||||
return impl.paperSize(this.Native, unit); |
||||
} |
||||
public QRect PaperRect() { |
||||
return impl.paperRect(this.Native); |
||||
} |
||||
public QRect PageRect() { |
||||
return impl.pageRect(this.Native); |
||||
} |
||||
public QRectF PaperRect(Unit arg0) { |
||||
return impl.paperRect(this.Native, arg0); |
||||
} |
||||
public QRectF PageRect(Unit arg0) { |
||||
return impl.pageRect(this.Native, arg0); |
||||
} |
||||
public bool NewPage() { |
||||
return impl.newPage(this.Native); |
||||
} |
||||
public bool Abort() { |
||||
return impl.abort(this.Native); |
||||
} |
||||
public void SetFromTo(int fromPage, int toPage) { |
||||
impl.setFromTo(this.Native, fromPage, toPage); |
||||
} |
||||
public void SetPageMargins(double left, double top, double right, double bottom, Unit unit) { |
||||
impl.setPageMargins(this.Native, left, top, right, bottom, unit); |
||||
} |
||||
public void GetPageMargins(ref double left, ref double top, ref double right, ref double bottom, Unit unit) { |
||||
impl.getPageMargins(this.Native, ref left, ref top, ref right, ref bottom, unit); |
||||
} |
||||
public interface IQPrinter : ICppClassOverridable<QPrinter> { |
||||
[Constructor()] |
||||
void QPrinter(CppInstancePtr @this, [MangleAs("enum PrinterMode")] PrinterMode mode); |
||||
[Constructor()] |
||||
void QPrinter(CppInstancePtr @this, [MangleAs("class QPrinterInfo const &")] QPrinterInfo printer, [MangleAs("enum PrinterMode")] PrinterMode mode); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
OutputFormat outputFormat(CppInstancePtr @this); |
||||
void setOutputFormat(CppInstancePtr @this, [MangleAs("enum OutputFormat")] OutputFormat value); |
||||
[Const()] |
||||
QString printerName(CppInstancePtr @this); |
||||
void setPrinterName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
bool isValid(CppInstancePtr @this); |
||||
[Const()] |
||||
QString outputFileName(CppInstancePtr @this); |
||||
void setOutputFileName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString printProgram(CppInstancePtr @this); |
||||
void setPrintProgram(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString docName(CppInstancePtr @this); |
||||
void setDocName(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
QString creator(CppInstancePtr @this); |
||||
void setCreator(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
[Const()] |
||||
Orientation orientation(CppInstancePtr @this); |
||||
void setOrientation(CppInstancePtr @this, [MangleAs("enum Orientation")] Orientation value); |
||||
[Const()] |
||||
PageSize pageSize(CppInstancePtr @this); |
||||
void setPageSize(CppInstancePtr @this, [MangleAs("enum PageSize")] PageSize value); |
||||
void setPaperSize(CppInstancePtr @this, [MangleAs("enum PageSize")] PageSize arg0); |
||||
[Const()] |
||||
PageSize paperSize(CppInstancePtr @this); |
||||
void setPaperSize(CppInstancePtr @this, [MangleAs("class QSizeF const &")] QSizeF paperSize, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
QSizeF paperSize(CppInstancePtr @this, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
PageOrder pageOrder(CppInstancePtr @this); |
||||
void setPageOrder(CppInstancePtr @this, [MangleAs("enum PageOrder")] PageOrder value); |
||||
[Const()] |
||||
int resolution(CppInstancePtr @this); |
||||
void setResolution(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
ColorMode colorMode(CppInstancePtr @this); |
||||
void setColorMode(CppInstancePtr @this, [MangleAs("enum ColorMode")] ColorMode value); |
||||
[Const()] |
||||
bool collateCopies(CppInstancePtr @this); |
||||
void setCollateCopies(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool fullPage(CppInstancePtr @this); |
||||
void setFullPage(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
int numCopies(CppInstancePtr @this); |
||||
void setNumCopies(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
int actualNumCopies(CppInstancePtr @this); |
||||
[Const()] |
||||
PaperSource paperSource(CppInstancePtr @this); |
||||
void setPaperSource(CppInstancePtr @this, [MangleAs("enum PaperSource")] PaperSource value); |
||||
[Const()] |
||||
DuplexMode duplex(CppInstancePtr @this); |
||||
void setDuplex(CppInstancePtr @this, [MangleAs("enum DuplexMode")] DuplexMode value); |
||||
[Const()] |
||||
QList<System.Int32> supportedResolutions(CppInstancePtr @this); |
||||
[Const()] |
||||
bool fontEmbeddingEnabled(CppInstancePtr @this); |
||||
void setFontEmbeddingEnabled(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool doubleSidedPrinting(CppInstancePtr @this); |
||||
void setDoubleSidedPrinting(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QRect paperRect(CppInstancePtr @this); |
||||
[Const()] |
||||
QRect pageRect(CppInstancePtr @this); |
||||
[Const()] |
||||
QRectF paperRect(CppInstancePtr @this, [MangleAs("enum Unit")] Unit arg0); |
||||
[Const()] |
||||
QRectF pageRect(CppInstancePtr @this, [MangleAs("enum Unit")] Unit arg0); |
||||
[Const()] |
||||
QString printerSelectionOption(CppInstancePtr @this); |
||||
void setPrinterSelectionOption(CppInstancePtr @this, [MangleAs("class QString const &")] QString value); |
||||
bool newPage(CppInstancePtr @this); |
||||
bool abort(CppInstancePtr @this); |
||||
[Const()] |
||||
PrinterState printerState(CppInstancePtr @this); |
||||
[Const()] |
||||
QPrintEngine printEngine(CppInstancePtr @this); |
||||
void setFromTo(CppInstancePtr @this, [MangleAs("int")] int fromPage, [MangleAs("int")] int toPage); |
||||
[Const()] |
||||
int fromPage(CppInstancePtr @this); |
||||
[Const()] |
||||
int toPage(CppInstancePtr @this); |
||||
[Const()] |
||||
PrintRange printRange(CppInstancePtr @this); |
||||
void setPrintRange(CppInstancePtr @this, [MangleAs("enum PrintRange")] PrintRange value); |
||||
void setPageMargins(CppInstancePtr @this, [MangleAs("double")] double left, [MangleAs("double")] double top, [MangleAs("double")] double right, [MangleAs("double")] double bottom, [MangleAs("enum Unit")] Unit unit); |
||||
[Const()] |
||||
void getPageMargins(CppInstancePtr @this, [MangleAs("double *")] ref double left, [MangleAs("double *")] ref double top, [MangleAs("double *")] ref double right, [MangleAs("double *")] ref double bottom, [MangleAs("enum Unit")] Unit unit); |
||||
} |
||||
private struct _QPrinter { |
||||
// FIXME: Unknown type "class QScopedPointer <QPrinterPrivate, QScopedPointerDeleter <QPrinterPrivate>>" for field "d_ptr." Assuming IntPtr.
|
||||
private System.IntPtr d_ptr; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,86 @@
@@ -0,0 +1,86 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QProcessEnvironment : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQProcessEnvironment impl = Wrappers.Libs.Lib.GetClass <IQProcessEnvironment, _QProcessEnvironment, QProcessEnvironment>("QProcessEnvironment"); |
||||
public QProcessEnvironment() { |
||||
impl.QProcessEnvironment(this.Native); |
||||
} |
||||
public QProcessEnvironment(QProcessEnvironment other) { |
||||
impl.QProcessEnvironment(this.Native, other); |
||||
} |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public bool IsEmpty { |
||||
get { |
||||
return impl.isEmpty(this.Native); |
||||
} |
||||
} |
||||
public QStringList ToStringList { |
||||
get { |
||||
return impl.toStringList(this.Native); |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
} |
||||
public void Clear() { |
||||
impl.clear(this.Native); |
||||
} |
||||
public bool Contains(QString name) { |
||||
return impl.contains(this.Native, name); |
||||
} |
||||
public void Insert(QString name, QString value) { |
||||
impl.insert(this.Native, name, value); |
||||
} |
||||
public void Remove(QString name) { |
||||
impl.remove(this.Native, name); |
||||
} |
||||
public QString Value(QString name, QString defaultValue) { |
||||
return impl.value(this.Native, name, defaultValue); |
||||
} |
||||
public static QProcessEnvironment SystemEnvironment() { |
||||
return impl.systemEnvironment(); |
||||
} |
||||
public interface IQProcessEnvironment : ICppClassOverridable<QProcessEnvironment> { |
||||
[Constructor()] |
||||
void QProcessEnvironment(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QProcessEnvironment(CppInstancePtr @this, [MangleAs("class QProcessEnvironment const &")] QProcessEnvironment other); |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isEmpty(CppInstancePtr @this); |
||||
void clear(CppInstancePtr @this); |
||||
[Const()] |
||||
bool contains(CppInstancePtr @this, [MangleAs("class QString const &")] QString name); |
||||
void insert(CppInstancePtr @this, [MangleAs("class QString const &")] QString name, [MangleAs("class QString const &")] QString value); |
||||
void remove(CppInstancePtr @this, [MangleAs("class QString const &")] QString name); |
||||
[Const()] |
||||
QString value(CppInstancePtr @this, [MangleAs("class QString const &")] QString name, [MangleAs("class QString const &")] QString defaultValue); |
||||
[Const()] |
||||
QStringList toStringList(CppInstancePtr @this); |
||||
[Static()] |
||||
QProcessEnvironment systemEnvironment(); |
||||
} |
||||
private struct _QProcessEnvironment { |
||||
// FIXME: Unknown type "class QSharedDataPointer <QProcessEnvironmentPrivate>" for field "d." Assuming IntPtr.
|
||||
private System.IntPtr d; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,86 @@
@@ -0,0 +1,86 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QProcessEnvironment : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQProcessEnvironment impl = Wrappers.Libs.Lib.GetClass <IQProcessEnvironment, _QProcessEnvironment, QProcessEnvironment>("QProcessEnvironment"); |
||||
public QProcessEnvironment() { |
||||
impl.QProcessEnvironment(this.Native); |
||||
} |
||||
public QProcessEnvironment(QProcessEnvironment other) { |
||||
impl.QProcessEnvironment(this.Native, other); |
||||
} |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public bool IsEmpty { |
||||
get { |
||||
return impl.isEmpty(this.Native); |
||||
} |
||||
} |
||||
public QStringList ToStringList { |
||||
get { |
||||
return impl.toStringList(this.Native); |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
} |
||||
public void Clear() { |
||||
impl.clear(this.Native); |
||||
} |
||||
public bool Contains(QString name) { |
||||
return impl.contains(this.Native, name); |
||||
} |
||||
public void Insert(QString name, QString value) { |
||||
impl.insert(this.Native, name, value); |
||||
} |
||||
public void Remove(QString name) { |
||||
impl.remove(this.Native, name); |
||||
} |
||||
public QString Value(QString name, QString defaultValue) { |
||||
return impl.value(this.Native, name, defaultValue); |
||||
} |
||||
public static QProcessEnvironment SystemEnvironment() { |
||||
return impl.systemEnvironment(); |
||||
} |
||||
public interface IQProcessEnvironment : ICppClassOverridable<QProcessEnvironment> { |
||||
[Constructor()] |
||||
void QProcessEnvironment(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QProcessEnvironment(CppInstancePtr @this, [MangleAs("class QProcessEnvironment const &")] QProcessEnvironment other); |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isEmpty(CppInstancePtr @this); |
||||
void clear(CppInstancePtr @this); |
||||
[Const()] |
||||
bool contains(CppInstancePtr @this, [MangleAs("class QString const &")] QString name); |
||||
void insert(CppInstancePtr @this, [MangleAs("class QString const &")] QString name, [MangleAs("class QString const &")] QString value); |
||||
void remove(CppInstancePtr @this, [MangleAs("class QString const &")] QString name); |
||||
[Const()] |
||||
QString value(CppInstancePtr @this, [MangleAs("class QString const &")] QString name, [MangleAs("class QString const &")] QString defaultValue); |
||||
[Const()] |
||||
QStringList toStringList(CppInstancePtr @this); |
||||
[Static()] |
||||
QProcessEnvironment systemEnvironment(); |
||||
} |
||||
private struct _QProcessEnvironment { |
||||
// FIXME: Unknown type "class QSharedDataPointer <QProcessEnvironmentPrivate>" for field "d." Assuming IntPtr.
|
||||
private System.IntPtr d; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,86 @@
@@ -0,0 +1,86 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QProcessEnvironment : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQProcessEnvironment impl = Wrappers.Libs.Lib.GetClass <IQProcessEnvironment, _QProcessEnvironment, QProcessEnvironment>("QProcessEnvironment"); |
||||
public QProcessEnvironment() { |
||||
impl.QProcessEnvironment(this.Native); |
||||
} |
||||
public QProcessEnvironment(QProcessEnvironment other) { |
||||
impl.QProcessEnvironment(this.Native, other); |
||||
} |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public bool IsEmpty { |
||||
get { |
||||
return impl.isEmpty(this.Native); |
||||
} |
||||
} |
||||
public QStringList ToStringList { |
||||
get { |
||||
return impl.toStringList(this.Native); |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
} |
||||
public void Clear() { |
||||
impl.clear(this.Native); |
||||
} |
||||
public bool Contains(QString name) { |
||||
return impl.contains(this.Native, name); |
||||
} |
||||
public void Insert(QString name, QString value) { |
||||
impl.insert(this.Native, name, value); |
||||
} |
||||
public void Remove(QString name) { |
||||
impl.remove(this.Native, name); |
||||
} |
||||
public QString Value(QString name, QString defaultValue) { |
||||
return impl.value(this.Native, name, defaultValue); |
||||
} |
||||
public static QProcessEnvironment SystemEnvironment() { |
||||
return impl.systemEnvironment(); |
||||
} |
||||
public interface IQProcessEnvironment : ICppClassOverridable<QProcessEnvironment> { |
||||
[Constructor()] |
||||
void QProcessEnvironment(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QProcessEnvironment(CppInstancePtr @this, [MangleAs("class QProcessEnvironment const &")] QProcessEnvironment other); |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
[Const()] |
||||
bool isEmpty(CppInstancePtr @this); |
||||
void clear(CppInstancePtr @this); |
||||
[Const()] |
||||
bool contains(CppInstancePtr @this, [MangleAs("class QString const &")] QString name); |
||||
void insert(CppInstancePtr @this, [MangleAs("class QString const &")] QString name, [MangleAs("class QString const &")] QString value); |
||||
void remove(CppInstancePtr @this, [MangleAs("class QString const &")] QString name); |
||||
[Const()] |
||||
QString value(CppInstancePtr @this, [MangleAs("class QString const &")] QString name, [MangleAs("class QString const &")] QString defaultValue); |
||||
[Const()] |
||||
QStringList toStringList(CppInstancePtr @this); |
||||
[Static()] |
||||
QProcessEnvironment systemEnvironment(); |
||||
} |
||||
private struct _QProcessEnvironment { |
||||
// FIXME: Unknown type "class QSharedDataPointer <QProcessEnvironmentPrivate>" for field "d." Assuming IntPtr.
|
||||
private System.IntPtr d; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,33 @@
@@ -0,0 +1,33 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QSysInfo : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQSysInfo impl = Wrappers.Libs.Lib.GetClass <IQSysInfo, _QSysInfo, QSysInfo>("QSysInfo"); |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQSysInfo : ICppClassOverridable<QSysInfo> { |
||||
} |
||||
private struct _QSysInfo { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QTextBlockFormat : QTextFormat { |
||||
private static IQTextBlockFormat impl = Wrappers.Libs.Lib.GetClass <IQTextBlockFormat, _QTextBlockFormat, QTextBlockFormat>("QTextBlockFormat"); |
||||
public QTextBlockFormat() { |
||||
impl.QTextBlockFormat(this.Native); |
||||
} |
||||
public QList<QTextOption::Tab> TabPositions { |
||||
get { |
||||
return impl.tabPositions(this.Native); |
||||
} |
||||
set { |
||||
impl.setTabPositions(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQTextBlockFormat : ICppClassOverridable<QTextBlockFormat> { |
||||
[Constructor()] |
||||
void QTextBlockFormat(CppInstancePtr @this); |
||||
[Const()] |
||||
QList<QTextOption::Tab> tabPositions(CppInstancePtr @this); |
||||
void setTabPositions(CppInstancePtr @this, [MangleAs("class QList <QTextOption::Tab> const &")] QList<QTextOption::Tab> value); |
||||
} |
||||
private struct _QTextBlockFormat { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QTextBlockFormat : QTextFormat { |
||||
private static IQTextBlockFormat impl = Wrappers.Libs.Lib.GetClass <IQTextBlockFormat, _QTextBlockFormat, QTextBlockFormat>("QTextBlockFormat"); |
||||
public QTextBlockFormat() { |
||||
impl.QTextBlockFormat(this.Native); |
||||
} |
||||
public QList<QTextOption::Tab> TabPositions { |
||||
get { |
||||
return impl.tabPositions(this.Native); |
||||
} |
||||
set { |
||||
impl.setTabPositions(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQTextBlockFormat : ICppClassOverridable<QTextBlockFormat> { |
||||
[Constructor()] |
||||
void QTextBlockFormat(CppInstancePtr @this); |
||||
[Const()] |
||||
QList<QTextOption::Tab> tabPositions(CppInstancePtr @this); |
||||
void setTabPositions(CppInstancePtr @this, [MangleAs("class QList <QTextOption::Tab> const &")] QList<QTextOption::Tab> value); |
||||
} |
||||
private struct _QTextBlockFormat { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QTextBlockFormat : QTextFormat { |
||||
private static IQTextBlockFormat impl = Wrappers.Libs.Lib.GetClass <IQTextBlockFormat, _QTextBlockFormat, QTextBlockFormat>("QTextBlockFormat"); |
||||
public QTextBlockFormat() { |
||||
impl.QTextBlockFormat(this.Native); |
||||
} |
||||
public QList<QTextOption::Tab> TabPositions { |
||||
get { |
||||
return impl.tabPositions(this.Native); |
||||
} |
||||
set { |
||||
impl.setTabPositions(this.Native, value); |
||||
} |
||||
} |
||||
public override void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQTextBlockFormat : ICppClassOverridable<QTextBlockFormat> { |
||||
[Constructor()] |
||||
void QTextBlockFormat(CppInstancePtr @this); |
||||
[Const()] |
||||
QList<QTextOption::Tab> tabPositions(CppInstancePtr @this); |
||||
void setTabPositions(CppInstancePtr @this, [MangleAs("class QList <QTextOption::Tab> const &")] QList<QTextOption::Tab> value); |
||||
} |
||||
private struct _QTextBlockFormat { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,270 @@
@@ -0,0 +1,270 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QTextStream : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQTextStream impl = Wrappers.Libs.Lib.GetClass <IQTextStream, _QTextStream, QTextStream>("QTextStream"); |
||||
public QTextStream() { |
||||
impl.QTextStream(this.Native); |
||||
} |
||||
public QTextStream(QIODevice device) { |
||||
impl.QTextStream(this.Native, device); |
||||
} |
||||
public QTextStream(_IO_FILE fileHandle, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, fileHandle, openMode); |
||||
} |
||||
public QTextStream(QString @string, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, @string, openMode); |
||||
} |
||||
public QTextStream(QByteArray array, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, array, openMode); |
||||
} |
||||
public QTextStream(QByteArray array, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, array, openMode); |
||||
} |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public QTextCodec Codec { |
||||
get { |
||||
return impl.codec(this.Native); |
||||
} |
||||
} |
||||
public bool AutoDetectUnicode { |
||||
get { |
||||
return impl.autoDetectUnicode(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoDetectUnicode(this.Native, value); |
||||
} |
||||
} |
||||
public bool GenerateByteOrderMark { |
||||
get { |
||||
return impl.generateByteOrderMark(this.Native); |
||||
} |
||||
set { |
||||
impl.setGenerateByteOrderMark(this.Native, value); |
||||
} |
||||
} |
||||
public QLocale Locale { |
||||
get { |
||||
return impl.locale(this.Native); |
||||
} |
||||
set { |
||||
impl.setLocale(this.Native, value); |
||||
} |
||||
} |
||||
public QIODevice Device { |
||||
get { |
||||
return impl.device(this.Native); |
||||
} |
||||
set { |
||||
impl.setDevice(this.Native, value); |
||||
} |
||||
} |
||||
public QString String { |
||||
get { |
||||
return impl.@string(this.Native); |
||||
} |
||||
} |
||||
public Status Status { |
||||
get { |
||||
return impl.status(this.Native); |
||||
} |
||||
set { |
||||
impl.setStatus(this.Native, value); |
||||
} |
||||
} |
||||
public bool AtEnd { |
||||
get { |
||||
return impl.atEnd(this.Native); |
||||
} |
||||
} |
||||
public long Pos { |
||||
get { |
||||
return impl.pos(this.Native); |
||||
} |
||||
} |
||||
public FieldAlignment FieldAlignment { |
||||
get { |
||||
return impl.fieldAlignment(this.Native); |
||||
} |
||||
set { |
||||
impl.setFieldAlignment(this.Native, value); |
||||
} |
||||
} |
||||
public QChar PadChar { |
||||
get { |
||||
return impl.padChar(this.Native); |
||||
} |
||||
set { |
||||
impl.setPadChar(this.Native, value); |
||||
} |
||||
} |
||||
public int FieldWidth { |
||||
get { |
||||
return impl.fieldWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setFieldWidth(this.Native, value); |
||||
} |
||||
} |
||||
public QFlags<QTextStream::NumberFlag> NumberFlags { |
||||
get { |
||||
return impl.numberFlags(this.Native); |
||||
} |
||||
set { |
||||
impl.setNumberFlags(this.Native, value); |
||||
} |
||||
} |
||||
public int IntegerBase { |
||||
get { |
||||
return impl.integerBase(this.Native); |
||||
} |
||||
set { |
||||
impl.setIntegerBase(this.Native, value); |
||||
} |
||||
} |
||||
public RealNumberNotation RealNumberNotation { |
||||
get { |
||||
return impl.realNumberNotation(this.Native); |
||||
} |
||||
set { |
||||
impl.setRealNumberNotation(this.Native, value); |
||||
} |
||||
} |
||||
public int RealNumberPrecision { |
||||
get { |
||||
return impl.realNumberPrecision(this.Native); |
||||
} |
||||
set { |
||||
impl.setRealNumberPrecision(this.Native, value); |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
} |
||||
public void SetCodec(QTextCodec codec) { |
||||
impl.setCodec(this.Native, codec); |
||||
} |
||||
public void SetCodec(string codecName) { |
||||
impl.setCodec(this.Native, codecName); |
||||
} |
||||
public void SetString(QString @string, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.setString(this.Native, @string, openMode); |
||||
} |
||||
public void ResetStatus() { |
||||
impl.resetStatus(this.Native); |
||||
} |
||||
public void Reset() { |
||||
impl.reset(this.Native); |
||||
} |
||||
public void Flush() { |
||||
impl.flush(this.Native); |
||||
} |
||||
public bool Seek(long pos) { |
||||
return impl.seek(this.Native, pos); |
||||
} |
||||
public void SkipWhiteSpace() { |
||||
impl.skipWhiteSpace(this.Native); |
||||
} |
||||
public QString ReadLine(long maxlen) { |
||||
return impl.readLine(this.Native, maxlen); |
||||
} |
||||
public QString ReadAll() { |
||||
return impl.readAll(this.Native); |
||||
} |
||||
public QString Read(long maxlen) { |
||||
return impl.read(this.Native, maxlen); |
||||
} |
||||
public interface IQTextStream : ICppClassOverridable<QTextStream> { |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice device); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("struct _IO_FILE *")] _IO_FILE fileHandle, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QString *")] QString @string, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QByteArray *")] QByteArray array, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QByteArray const &")] QByteArray array, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
void setCodec(CppInstancePtr @this, [MangleAs("class QTextCodec *")] QTextCodec codec); |
||||
void setCodec(CppInstancePtr @this, [MangleAs("char const *")] string codecName); |
||||
[Const()] |
||||
QTextCodec codec(CppInstancePtr @this); |
||||
[Const()] |
||||
bool autoDetectUnicode(CppInstancePtr @this); |
||||
void setAutoDetectUnicode(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool generateByteOrderMark(CppInstancePtr @this); |
||||
void setGenerateByteOrderMark(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QLocale locale(CppInstancePtr @this); |
||||
void setLocale(CppInstancePtr @this, [MangleAs("class QLocale const &")] QLocale value); |
||||
[Const()] |
||||
QIODevice device(CppInstancePtr @this); |
||||
void setDevice(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice value); |
||||
void setString(CppInstancePtr @this, [MangleAs("class QString *")] QString @string, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Const()] |
||||
QString @string(CppInstancePtr @this); |
||||
[Const()] |
||||
Status status(CppInstancePtr @this); |
||||
void setStatus(CppInstancePtr @this, [MangleAs("enum Status")] Status value); |
||||
void resetStatus(CppInstancePtr @this); |
||||
[Const()] |
||||
bool atEnd(CppInstancePtr @this); |
||||
void reset(CppInstancePtr @this); |
||||
void flush(CppInstancePtr @this); |
||||
bool seek(CppInstancePtr @this, [MangleAs("int long long")] long pos); |
||||
[Const()] |
||||
long pos(CppInstancePtr @this); |
||||
void skipWhiteSpace(CppInstancePtr @this); |
||||
QString readLine(CppInstancePtr @this, [MangleAs("int long long")] long maxlen); |
||||
QString readAll(CppInstancePtr @this); |
||||
QString read(CppInstancePtr @this, [MangleAs("int long long")] long maxlen); |
||||
[Const()] |
||||
FieldAlignment fieldAlignment(CppInstancePtr @this); |
||||
void setFieldAlignment(CppInstancePtr @this, [MangleAs("enum FieldAlignment")] FieldAlignment value); |
||||
[Const()] |
||||
QChar padChar(CppInstancePtr @this); |
||||
void setPadChar(CppInstancePtr @this, [MangleAs("class QChar")] QChar value); |
||||
[Const()] |
||||
int fieldWidth(CppInstancePtr @this); |
||||
void setFieldWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
QFlags<QTextStream::NumberFlag> numberFlags(CppInstancePtr @this); |
||||
void setNumberFlags(CppInstancePtr @this, [MangleAs("class QFlags <QTextStream::NumberFlag>")] QFlags<QTextStream::NumberFlag> value); |
||||
[Const()] |
||||
int integerBase(CppInstancePtr @this); |
||||
void setIntegerBase(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
RealNumberNotation realNumberNotation(CppInstancePtr @this); |
||||
void setRealNumberNotation(CppInstancePtr @this, [MangleAs("enum RealNumberNotation")] RealNumberNotation value); |
||||
[Const()] |
||||
int realNumberPrecision(CppInstancePtr @this); |
||||
void setRealNumberPrecision(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
} |
||||
private struct _QTextStream { |
||||
// FIXME: Unknown type "class QScopedPointer <QTextStreamPrivate, QScopedPointerDeleter <QTextStreamPrivate>>" for field "d_ptr." Assuming IntPtr.
|
||||
private System.IntPtr d_ptr; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,270 @@
@@ -0,0 +1,270 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QTextStream : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQTextStream impl = Wrappers.Libs.Lib.GetClass <IQTextStream, _QTextStream, QTextStream>("QTextStream"); |
||||
public QTextStream() { |
||||
impl.QTextStream(this.Native); |
||||
} |
||||
public QTextStream(QIODevice device) { |
||||
impl.QTextStream(this.Native, device); |
||||
} |
||||
public QTextStream(_IO_FILE fileHandle, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, fileHandle, openMode); |
||||
} |
||||
public QTextStream(QString @string, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, @string, openMode); |
||||
} |
||||
public QTextStream(QByteArray array, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, array, openMode); |
||||
} |
||||
public QTextStream(QByteArray array, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, array, openMode); |
||||
} |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public QTextCodec Codec { |
||||
get { |
||||
return impl.codec(this.Native); |
||||
} |
||||
} |
||||
public bool AutoDetectUnicode { |
||||
get { |
||||
return impl.autoDetectUnicode(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoDetectUnicode(this.Native, value); |
||||
} |
||||
} |
||||
public bool GenerateByteOrderMark { |
||||
get { |
||||
return impl.generateByteOrderMark(this.Native); |
||||
} |
||||
set { |
||||
impl.setGenerateByteOrderMark(this.Native, value); |
||||
} |
||||
} |
||||
public QLocale Locale { |
||||
get { |
||||
return impl.locale(this.Native); |
||||
} |
||||
set { |
||||
impl.setLocale(this.Native, value); |
||||
} |
||||
} |
||||
public QIODevice Device { |
||||
get { |
||||
return impl.device(this.Native); |
||||
} |
||||
set { |
||||
impl.setDevice(this.Native, value); |
||||
} |
||||
} |
||||
public QString String { |
||||
get { |
||||
return impl.@string(this.Native); |
||||
} |
||||
} |
||||
public Status Status { |
||||
get { |
||||
return impl.status(this.Native); |
||||
} |
||||
set { |
||||
impl.setStatus(this.Native, value); |
||||
} |
||||
} |
||||
public bool AtEnd { |
||||
get { |
||||
return impl.atEnd(this.Native); |
||||
} |
||||
} |
||||
public long Pos { |
||||
get { |
||||
return impl.pos(this.Native); |
||||
} |
||||
} |
||||
public FieldAlignment FieldAlignment { |
||||
get { |
||||
return impl.fieldAlignment(this.Native); |
||||
} |
||||
set { |
||||
impl.setFieldAlignment(this.Native, value); |
||||
} |
||||
} |
||||
public QChar PadChar { |
||||
get { |
||||
return impl.padChar(this.Native); |
||||
} |
||||
set { |
||||
impl.setPadChar(this.Native, value); |
||||
} |
||||
} |
||||
public int FieldWidth { |
||||
get { |
||||
return impl.fieldWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setFieldWidth(this.Native, value); |
||||
} |
||||
} |
||||
public QFlags<QTextStream::NumberFlag> NumberFlags { |
||||
get { |
||||
return impl.numberFlags(this.Native); |
||||
} |
||||
set { |
||||
impl.setNumberFlags(this.Native, value); |
||||
} |
||||
} |
||||
public int IntegerBase { |
||||
get { |
||||
return impl.integerBase(this.Native); |
||||
} |
||||
set { |
||||
impl.setIntegerBase(this.Native, value); |
||||
} |
||||
} |
||||
public RealNumberNotation RealNumberNotation { |
||||
get { |
||||
return impl.realNumberNotation(this.Native); |
||||
} |
||||
set { |
||||
impl.setRealNumberNotation(this.Native, value); |
||||
} |
||||
} |
||||
public int RealNumberPrecision { |
||||
get { |
||||
return impl.realNumberPrecision(this.Native); |
||||
} |
||||
set { |
||||
impl.setRealNumberPrecision(this.Native, value); |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
} |
||||
public void SetCodec(QTextCodec codec) { |
||||
impl.setCodec(this.Native, codec); |
||||
} |
||||
public void SetCodec(string codecName) { |
||||
impl.setCodec(this.Native, codecName); |
||||
} |
||||
public void SetString(QString @string, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.setString(this.Native, @string, openMode); |
||||
} |
||||
public void ResetStatus() { |
||||
impl.resetStatus(this.Native); |
||||
} |
||||
public void Reset() { |
||||
impl.reset(this.Native); |
||||
} |
||||
public void Flush() { |
||||
impl.flush(this.Native); |
||||
} |
||||
public bool Seek(long pos) { |
||||
return impl.seek(this.Native, pos); |
||||
} |
||||
public void SkipWhiteSpace() { |
||||
impl.skipWhiteSpace(this.Native); |
||||
} |
||||
public QString ReadLine(long maxlen) { |
||||
return impl.readLine(this.Native, maxlen); |
||||
} |
||||
public QString ReadAll() { |
||||
return impl.readAll(this.Native); |
||||
} |
||||
public QString Read(long maxlen) { |
||||
return impl.read(this.Native, maxlen); |
||||
} |
||||
public interface IQTextStream : ICppClassOverridable<QTextStream> { |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice device); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("struct _IO_FILE *")] _IO_FILE fileHandle, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QString *")] QString @string, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QByteArray *")] QByteArray array, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QByteArray const &")] QByteArray array, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
void setCodec(CppInstancePtr @this, [MangleAs("class QTextCodec *")] QTextCodec codec); |
||||
void setCodec(CppInstancePtr @this, [MangleAs("char const *")] string codecName); |
||||
[Const()] |
||||
QTextCodec codec(CppInstancePtr @this); |
||||
[Const()] |
||||
bool autoDetectUnicode(CppInstancePtr @this); |
||||
void setAutoDetectUnicode(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool generateByteOrderMark(CppInstancePtr @this); |
||||
void setGenerateByteOrderMark(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QLocale locale(CppInstancePtr @this); |
||||
void setLocale(CppInstancePtr @this, [MangleAs("class QLocale const &")] QLocale value); |
||||
[Const()] |
||||
QIODevice device(CppInstancePtr @this); |
||||
void setDevice(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice value); |
||||
void setString(CppInstancePtr @this, [MangleAs("class QString *")] QString @string, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Const()] |
||||
QString @string(CppInstancePtr @this); |
||||
[Const()] |
||||
Status status(CppInstancePtr @this); |
||||
void setStatus(CppInstancePtr @this, [MangleAs("enum Status")] Status value); |
||||
void resetStatus(CppInstancePtr @this); |
||||
[Const()] |
||||
bool atEnd(CppInstancePtr @this); |
||||
void reset(CppInstancePtr @this); |
||||
void flush(CppInstancePtr @this); |
||||
bool seek(CppInstancePtr @this, [MangleAs("int long long")] long pos); |
||||
[Const()] |
||||
long pos(CppInstancePtr @this); |
||||
void skipWhiteSpace(CppInstancePtr @this); |
||||
QString readLine(CppInstancePtr @this, [MangleAs("int long long")] long maxlen); |
||||
QString readAll(CppInstancePtr @this); |
||||
QString read(CppInstancePtr @this, [MangleAs("int long long")] long maxlen); |
||||
[Const()] |
||||
FieldAlignment fieldAlignment(CppInstancePtr @this); |
||||
void setFieldAlignment(CppInstancePtr @this, [MangleAs("enum FieldAlignment")] FieldAlignment value); |
||||
[Const()] |
||||
QChar padChar(CppInstancePtr @this); |
||||
void setPadChar(CppInstancePtr @this, [MangleAs("class QChar")] QChar value); |
||||
[Const()] |
||||
int fieldWidth(CppInstancePtr @this); |
||||
void setFieldWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
QFlags<QTextStream::NumberFlag> numberFlags(CppInstancePtr @this); |
||||
void setNumberFlags(CppInstancePtr @this, [MangleAs("class QFlags <QTextStream::NumberFlag>")] QFlags<QTextStream::NumberFlag> value); |
||||
[Const()] |
||||
int integerBase(CppInstancePtr @this); |
||||
void setIntegerBase(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
RealNumberNotation realNumberNotation(CppInstancePtr @this); |
||||
void setRealNumberNotation(CppInstancePtr @this, [MangleAs("enum RealNumberNotation")] RealNumberNotation value); |
||||
[Const()] |
||||
int realNumberPrecision(CppInstancePtr @this); |
||||
void setRealNumberPrecision(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
} |
||||
private struct _QTextStream { |
||||
// FIXME: Unknown type "class QScopedPointer <QTextStreamPrivate, QScopedPointerDeleter <QTextStreamPrivate>>" for field "d_ptr." Assuming IntPtr.
|
||||
private System.IntPtr d_ptr; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,270 @@
@@ -0,0 +1,270 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QTextStream : ICppObject { |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQTextStream impl = Wrappers.Libs.Lib.GetClass <IQTextStream, _QTextStream, QTextStream>("QTextStream"); |
||||
public QTextStream() { |
||||
impl.QTextStream(this.Native); |
||||
} |
||||
public QTextStream(QIODevice device) { |
||||
impl.QTextStream(this.Native, device); |
||||
} |
||||
public QTextStream(_IO_FILE fileHandle, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, fileHandle, openMode); |
||||
} |
||||
public QTextStream(QString @string, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, @string, openMode); |
||||
} |
||||
public QTextStream(QByteArray array, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, array, openMode); |
||||
} |
||||
public QTextStream(QByteArray array, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.QTextStream(this.Native, array, openMode); |
||||
} |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public QTextCodec Codec { |
||||
get { |
||||
return impl.codec(this.Native); |
||||
} |
||||
} |
||||
public bool AutoDetectUnicode { |
||||
get { |
||||
return impl.autoDetectUnicode(this.Native); |
||||
} |
||||
set { |
||||
impl.setAutoDetectUnicode(this.Native, value); |
||||
} |
||||
} |
||||
public bool GenerateByteOrderMark { |
||||
get { |
||||
return impl.generateByteOrderMark(this.Native); |
||||
} |
||||
set { |
||||
impl.setGenerateByteOrderMark(this.Native, value); |
||||
} |
||||
} |
||||
public QLocale Locale { |
||||
get { |
||||
return impl.locale(this.Native); |
||||
} |
||||
set { |
||||
impl.setLocale(this.Native, value); |
||||
} |
||||
} |
||||
public QIODevice Device { |
||||
get { |
||||
return impl.device(this.Native); |
||||
} |
||||
set { |
||||
impl.setDevice(this.Native, value); |
||||
} |
||||
} |
||||
public QString String { |
||||
get { |
||||
return impl.@string(this.Native); |
||||
} |
||||
} |
||||
public Status Status { |
||||
get { |
||||
return impl.status(this.Native); |
||||
} |
||||
set { |
||||
impl.setStatus(this.Native, value); |
||||
} |
||||
} |
||||
public bool AtEnd { |
||||
get { |
||||
return impl.atEnd(this.Native); |
||||
} |
||||
} |
||||
public long Pos { |
||||
get { |
||||
return impl.pos(this.Native); |
||||
} |
||||
} |
||||
public FieldAlignment FieldAlignment { |
||||
get { |
||||
return impl.fieldAlignment(this.Native); |
||||
} |
||||
set { |
||||
impl.setFieldAlignment(this.Native, value); |
||||
} |
||||
} |
||||
public QChar PadChar { |
||||
get { |
||||
return impl.padChar(this.Native); |
||||
} |
||||
set { |
||||
impl.setPadChar(this.Native, value); |
||||
} |
||||
} |
||||
public int FieldWidth { |
||||
get { |
||||
return impl.fieldWidth(this.Native); |
||||
} |
||||
set { |
||||
impl.setFieldWidth(this.Native, value); |
||||
} |
||||
} |
||||
public QFlags<QTextStream::NumberFlag> NumberFlags { |
||||
get { |
||||
return impl.numberFlags(this.Native); |
||||
} |
||||
set { |
||||
impl.setNumberFlags(this.Native, value); |
||||
} |
||||
} |
||||
public int IntegerBase { |
||||
get { |
||||
return impl.integerBase(this.Native); |
||||
} |
||||
set { |
||||
impl.setIntegerBase(this.Native, value); |
||||
} |
||||
} |
||||
public RealNumberNotation RealNumberNotation { |
||||
get { |
||||
return impl.realNumberNotation(this.Native); |
||||
} |
||||
set { |
||||
impl.setRealNumberNotation(this.Native, value); |
||||
} |
||||
} |
||||
public int RealNumberPrecision { |
||||
get { |
||||
return impl.realNumberPrecision(this.Native); |
||||
} |
||||
set { |
||||
impl.setRealNumberPrecision(this.Native, value); |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
} |
||||
public void SetCodec(QTextCodec codec) { |
||||
impl.setCodec(this.Native, codec); |
||||
} |
||||
public void SetCodec(string codecName) { |
||||
impl.setCodec(this.Native, codecName); |
||||
} |
||||
public void SetString(QString @string, QFlags<QIODevice::OpenModeFlag> openMode) { |
||||
impl.setString(this.Native, @string, openMode); |
||||
} |
||||
public void ResetStatus() { |
||||
impl.resetStatus(this.Native); |
||||
} |
||||
public void Reset() { |
||||
impl.reset(this.Native); |
||||
} |
||||
public void Flush() { |
||||
impl.flush(this.Native); |
||||
} |
||||
public bool Seek(long pos) { |
||||
return impl.seek(this.Native, pos); |
||||
} |
||||
public void SkipWhiteSpace() { |
||||
impl.skipWhiteSpace(this.Native); |
||||
} |
||||
public QString ReadLine(long maxlen) { |
||||
return impl.readLine(this.Native, maxlen); |
||||
} |
||||
public QString ReadAll() { |
||||
return impl.readAll(this.Native); |
||||
} |
||||
public QString Read(long maxlen) { |
||||
return impl.read(this.Native, maxlen); |
||||
} |
||||
public interface IQTextStream : ICppClassOverridable<QTextStream> { |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice device); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("struct _IO_FILE *")] _IO_FILE fileHandle, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QString *")] QString @string, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QByteArray *")] QByteArray array, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Constructor()] |
||||
void QTextStream(CppInstancePtr @this, [MangleAs("class QByteArray const &")] QByteArray array, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Virtual()] |
||||
[Destructor()] |
||||
void Destruct(CppInstancePtr @this); |
||||
void setCodec(CppInstancePtr @this, [MangleAs("class QTextCodec *")] QTextCodec codec); |
||||
void setCodec(CppInstancePtr @this, [MangleAs("char const *")] string codecName); |
||||
[Const()] |
||||
QTextCodec codec(CppInstancePtr @this); |
||||
[Const()] |
||||
bool autoDetectUnicode(CppInstancePtr @this); |
||||
void setAutoDetectUnicode(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
bool generateByteOrderMark(CppInstancePtr @this); |
||||
void setGenerateByteOrderMark(CppInstancePtr @this, [MangleAs("bool")] bool value); |
||||
[Const()] |
||||
QLocale locale(CppInstancePtr @this); |
||||
void setLocale(CppInstancePtr @this, [MangleAs("class QLocale const &")] QLocale value); |
||||
[Const()] |
||||
QIODevice device(CppInstancePtr @this); |
||||
void setDevice(CppInstancePtr @this, [MangleAs("class QIODevice *")] QIODevice value); |
||||
void setString(CppInstancePtr @this, [MangleAs("class QString *")] QString @string, [MangleAs("class QFlags <QIODevice::OpenModeFlag>")] QFlags<QIODevice::OpenModeFlag> openMode); |
||||
[Const()] |
||||
QString @string(CppInstancePtr @this); |
||||
[Const()] |
||||
Status status(CppInstancePtr @this); |
||||
void setStatus(CppInstancePtr @this, [MangleAs("enum Status")] Status value); |
||||
void resetStatus(CppInstancePtr @this); |
||||
[Const()] |
||||
bool atEnd(CppInstancePtr @this); |
||||
void reset(CppInstancePtr @this); |
||||
void flush(CppInstancePtr @this); |
||||
bool seek(CppInstancePtr @this, [MangleAs("int long long")] long pos); |
||||
[Const()] |
||||
long pos(CppInstancePtr @this); |
||||
void skipWhiteSpace(CppInstancePtr @this); |
||||
QString readLine(CppInstancePtr @this, [MangleAs("int long long")] long maxlen); |
||||
QString readAll(CppInstancePtr @this); |
||||
QString read(CppInstancePtr @this, [MangleAs("int long long")] long maxlen); |
||||
[Const()] |
||||
FieldAlignment fieldAlignment(CppInstancePtr @this); |
||||
void setFieldAlignment(CppInstancePtr @this, [MangleAs("enum FieldAlignment")] FieldAlignment value); |
||||
[Const()] |
||||
QChar padChar(CppInstancePtr @this); |
||||
void setPadChar(CppInstancePtr @this, [MangleAs("class QChar")] QChar value); |
||||
[Const()] |
||||
int fieldWidth(CppInstancePtr @this); |
||||
void setFieldWidth(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
QFlags<QTextStream::NumberFlag> numberFlags(CppInstancePtr @this); |
||||
void setNumberFlags(CppInstancePtr @this, [MangleAs("class QFlags <QTextStream::NumberFlag>")] QFlags<QTextStream::NumberFlag> value); |
||||
[Const()] |
||||
int integerBase(CppInstancePtr @this); |
||||
void setIntegerBase(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
[Const()] |
||||
RealNumberNotation realNumberNotation(CppInstancePtr @this); |
||||
void setRealNumberNotation(CppInstancePtr @this, [MangleAs("enum RealNumberNotation")] RealNumberNotation value); |
||||
[Const()] |
||||
int realNumberPrecision(CppInstancePtr @this); |
||||
void setRealNumberPrecision(CppInstancePtr @this, [MangleAs("int")] int value); |
||||
} |
||||
private struct _QTextStream { |
||||
// FIXME: Unknown type "class QScopedPointer <QTextStreamPrivate, QScopedPointerDeleter <QTextStreamPrivate>>" for field "d_ptr." Assuming IntPtr.
|
||||
private System.IntPtr d_ptr; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,35 @@
@@ -0,0 +1,35 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
namespace Wrappers { |
||||
using System; |
||||
using System.Runtime.InteropServices; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
public class QTypeInfo<T> : ICppObject |
||||
{ |
||||
protected CppInstancePtr native_ptr; |
||||
private static IQTypeInfo<T> impl = Wrappers.Libs.Lib.GetClass <IQTypeInfo<T>, _QTypeInfo, QTypeInfo<T>>("QTypeInfo"); |
||||
public CppInstancePtr Native { |
||||
get { |
||||
return this.native_ptr; |
||||
} |
||||
} |
||||
public virtual void Dispose() { |
||||
// FIXME: Check for inline destructor for this class.
|
||||
this.Native.Dispose(); |
||||
} |
||||
public interface IQTypeInfo<T> : ICppClassOverridable<QTypeInfo<T>> |
||||
{ |
||||
} |
||||
private struct _QTypeInfo { |
||||
} |
||||
} |
||||
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
using System.Reflection; |
||||
using System.Runtime.CompilerServices; |
||||
|
||||
// Information about this assembly is defined by the following attributes.
|
||||
// Change them to the values specific to your project.
|
||||
|
||||
[assembly: AssemblyTitle("qttests")] |
||||
[assembly: AssemblyDescription("")] |
||||
[assembly: AssemblyConfiguration("")] |
||||
[assembly: AssemblyCompany("")] |
||||
[assembly: AssemblyProduct("")] |
||||
[assembly: AssemblyCopyright("")] |
||||
[assembly: AssemblyTrademark("")] |
||||
[assembly: AssemblyCulture("")] |
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.*")] |
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
using System; |
||||
using Qt.Gui; |
||||
using Mono.VisualC.Interop; |
||||
|
||||
namespace qttests { |
||||
class MainClass { |
||||
public static void Main (string[] args) |
||||
{ |
||||
Console.WriteLine ("Hello World!"); |
||||
} |
||||
} |
||||
} |
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in new issue