2002-01-29 10:05:09 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QShowFile.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-01-29 10:05:09 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-01-29 10:05:09 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QSHOWFILE_H
|
|
|
|
#define QSHOWFILE_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2002-01-29 10:05:09 +00:00
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlShowFile;
|
|
|
|
class QShowFileDialog;
|
2002-08-12 14:28:43 +00:00
|
|
|
|
2002-01-29 10:05:09 +00:00
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QShowFile
|
|
|
|
: public Qt2CB<ControlShowFile, Qt2DB<QShowFileDialog> >
|
2002-01-29 10:05:09 +00:00
|
|
|
{
|
2002-10-20 01:48:28 +00:00
|
|
|
public:
|
2002-01-29 10:05:09 +00:00
|
|
|
friend class QShowFileDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2002-08-12 14:28:43 +00:00
|
|
|
QShowFile();
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2002-01-29 10:05:09 +00:00
|
|
|
/// Apply changes
|
2002-10-20 01:48:28 +00:00
|
|
|
virtual void apply() {}
|
2002-01-29 10:05:09 +00:00
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QSHOWFILE_H
|