65
66
void setHierarchicalModel( AbstractKeyListModel * model );
66
67
AbstractKeyListModel * hierarchicalModel() const;
68
74
void setTabWidget( TabWidget * tabs );
69
75
TabWidget * tabWidget() const;
71
77
void registerCommand( Command * cmd );
73
81
template <typename T_Command>
74
82
void registerActionForCommand( QAction * action ) {
75
this->registerAction( action, T_Command::restrictions() /*, &KeyListController::create<T_Command>*/ );
83
this->registerAction( action, T_Command::restrictions(), &KeyListController::template create<T_Command> );
78
86
void enableDisableActions( const QItemSelectionModel * sm ) const;