#include <QString>
+class QSettings;
class QWidget;
namespace lyx {
/** \c Dialog collects the different parts of a Model-Controller-View
* split of a generic dialog together.
*/
-class Dialog
+class Dialog
{
public:
/// \param lv is the access point for the dialog to the LyX kernel.
* This default implementation saves the geometry state.
* Reimplement to save more settings.
**/
- virtual void saveSession() const;
+ virtual void saveSession(QSettings & settings) const;
/// Restore session settings.
/**