summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs
blob: 9d9dceed4dd611aa69dfe1c038a8c1a6669e0994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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(" ", "");
		}
	}
}