lyx_mirror/src/frontends/qt2/QShowFile.h
Angus Leeming 6d47abda7f port the various dialogs to display the contents of an external file to the new Dialog-based scheme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6575 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 18:13:46 +00:00

40 lines
677 B
C++

// -*- C++ -*-
/**
* \file QShowFile.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS
*/
#ifndef QSHOWFILE_H
#define QSHOWFILE_H
#include "QDialogView.h"
class ControlShowFile;
class QShowFileDialog;
class QShowFile
: public QController<ControlShowFile, QView<QShowFileDialog> >
{
public:
friend class QShowFileDialog;
QShowFile(Dialog &);
private:
/// Apply changes
virtual void apply() {}
/// update
virtual void update_contents();
/// build the dialog
virtual void build_dialog();
};
#endif // QSHOWFILE_H