diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-09 20:12:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-09 20:12:22 +0900 |
commit | 1b35744b7931a67f9ad418bb1cbee870a7dda811 (patch) | |
tree | a4ef401f9bdb6c2a25c01fbe569a55b2de2bde13 /qtsharp | |
parent | 476cadbff0a357d207282a1106132724a3c77ad9 (diff) | |
download | tdebindings-1b35744b7931a67f9ad418bb1cbee870a7dda811.tar.gz tdebindings-1b35744b7931a67f9ad418bb1cbee870a7dda811.zip |
Drop compatibility code for TQToolButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtsharp')
-rw-r--r-- | qtsharp/src/bindings/static/TQToolButton.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/qtsharp/src/bindings/static/TQToolButton.cs b/qtsharp/src/bindings/static/TQToolButton.cs index 6f3d7dfa..855a9202 100644 --- a/qtsharp/src/bindings/static/TQToolButton.cs +++ b/qtsharp/src/bindings/static/TQToolButton.cs @@ -175,26 +175,6 @@ namespace Qt { } [DllImport("libtqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QToolButton_setIconSet1 (IntPtr raw, IntPtr set, bool on); - public void SetIconSet (TQIconSet set, bool on) - { - if (disposed) - throw new ObjectDisposedException (this+": Attempted use of disposed object"); - - qt_QToolButton_setIconSet1 (rawObject, set.RawObject, on); - } - - [DllImport("libtqtc", CharSet=CharSet.Ansi)] - private static extern IntPtr qt_QToolButton_iconSet (IntPtr raw, bool on); - public TQIconSet IconSet (bool on) - { - if (disposed) - throw new ObjectDisposedException (this+": Attempted use of disposed object"); - - return LookupObject (qt_QToolButton_iconSet (rawObject, on), typeof (TQIconSet)) as TQIconSet; - } - - [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setPopupDelay (IntPtr raw, int delay); public void SetPopupDelay (int delay) { |