void KrecipesView::categorizeCurrentRecipe()
{
	QWidget * vis_panel = rightPanel->visiblePanel();
	if ( vis_panel == selectPanel ) {
		selectPanel->getActionsHandler()->categorize();
	}
	else if (vis_panel == inputPanel ) {
		inputPanel->addCategory();
	}
}
void KrecipesView::categorizeCurrentRecipe()
{
	QWidget * vis_panel = rightPanel->visiblePanel();
	if ( vis_panel == selectPanel ) {
		selectPanel->getActionsHandler()->categorize();
	}
	else if (vis_panel == inputPanel ) {
		inputPanel->addCategory();
	}
}