lyx_mirror/src/frontends/qt4/DialogView.cpp
Abdelrazak Younes 41681e7185 Add common session handling infrastructure for dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22061 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-10 13:05:00 +00:00

39 lines
683 B
C++

/**
* \file Dialog.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "DialogView.h"
#include "GuiView.h"
#include "qt_helpers.h"
#include <QCloseEvent>
#include <QShowEvent>
namespace lyx {
namespace frontend {
DialogView::DialogView(GuiView & lv, std::string const & name)
: QDialog(&lv), Dialog(lv, name)
{}
void DialogView::setViewTitle(docstring const & title)
{
setWindowTitle("LyX: " + toqstr(title));
}
} // namespace frontend
} // namespace lyx
#include "DialogView_moc.cpp"