2001-08-27 01:19:32 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QExternal.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.
|
2001-08-27 01:19:32 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-27 01:19:32 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QEXTERNAL_H
|
|
|
|
#define QEXTERNAL_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-08-27 01:19:32 +00:00
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlExternal;
|
|
|
|
class QExternalDialog;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QExternal
|
|
|
|
: public Qt2CB<ControlExternal, Qt2DB<QExternalDialog> >
|
2001-08-27 01:19:32 +00:00
|
|
|
{
|
2002-10-20 01:48:28 +00:00
|
|
|
public:
|
2001-08-27 01:19:32 +00:00
|
|
|
friend class QExternalDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2002-08-12 14:28:43 +00:00
|
|
|
QExternal();
|
2002-11-01 00:13:25 +00:00
|
|
|
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2001-08-27 01:19:32 +00:00
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-27 01:19:32 +00:00
|
|
|
/// get the right helptext
|
|
|
|
string const & helpText();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QEXTERNAL_H
|