export interface QActionData { [ key ] : any ; } export class QAction { private data : QActionData ; constructor ( private name , data ? ) { this . data = data ; } get Data ( ) { return this . data ; } set Data ( data ) { this . data = data ; } get Name ( ) { return this . name ; } }