void Krecipes::printSetupSlot()
{
	Recipe recipe;
	m_view->selectPanel->getCurrentRecipe( &recipe );

        KConfigGroup grp(KGlobal::config(),"Page Setup");
	QString layout = grp.readEntry( "Layout", KStandardDirs::locate( "appdata", "layouts/None.klo" ) );
	QString printLayout = grp.readEntry( "PrintLayout", KStandardDirs::locate( "appdata", "layouts/None.klo" ) );

	if ( layout == printLayout ) {
		KMessageBox::information( this, i18n("The recipe print and view layouts use the same file for their style, meaning changing one view's look changes them both.  If this is not the behavior you desire, load one style and save it under a different name."),
		QString(), "sharedLayoutWarning" );
	}

	QPointer<PageSetupDialog> pageSetup = new PageSetupDialog( this, recipe, "Print" );
	pageSetup->setCaption( i18n("Print Setup") );
	pageSetup->exec();
	delete pageSetup;
}
void Krecipes::printSetupSlot()
{
	Recipe recipe;
	m_view->selectPanel->getCurrentRecipe( &recipe );

        KConfigGroup grp(KGlobal::config(),"Page Setup");
	QString layout = grp.readEntry( "Layout", KStandardDirs::locate( "appdata", "layouts/None.klo" ) );
	QString printLayout = grp.readEntry( "PrintLayout", KStandardDirs::locate( "appdata", "layouts/None.klo" ) );

	if ( layout == printLayout ) {
		KMessageBox::information( this, i18n("The recipe print and view layouts use the same file for their style, meaning changing one view's look changes them both.  If this is not the behavior you desire, load one style and save it under a different name."),
		QString(), "sharedLayoutWarning" );
	}

	QPointer<PageSetupDialog> pageSetup = new PageSetupDialog( this, recipe, "Print" );
	pageSetup->setCaption( i18n("Print Setup") );
	pageSetup->exec();
	delete pageSetup;
}