diff options
Diffstat (limited to 'qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs')
-rw-r--r-- | qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs b/qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs new file mode 100644 index 00000000..9d9dceed --- /dev/null +++ b/qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs @@ -0,0 +1,16 @@ +namespace Qt { + using System; + + [AttributeUsage(AttributeTargets.Class, Inherited=true, AllowMultiple=true)] + public class DeclareQtSignalAttribute: Attribute { + private string signalName; + + internal string SignalName { + get { return signalName; } + } + + public DeclareQtSignalAttribute(string signalname) { + signalName = signalname.Replace(" ", ""); + } + } +} |