lyx_mirror/src/frontends/qt4/DialogView.cpp
Abdelrazak Younes 6bb94129d8 Factorize out the way window titles are handled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22784 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-05 12:43:19 +00:00

35 lines
641 B
C++

/**
* \file DialogView.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>
using namespace std;
namespace lyx {
namespace frontend {
DialogView::DialogView(GuiView & lv, string const & name,
QString const & title)
: QDialog(&lv), Dialog(lv, name, "LyX: " + title)
{}
} // namespace frontend
} // namespace lyx
#include "DialogView_moc.cpp"