2001-08-27 01:19:32 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QExternal.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QEXTERNAL_H
|
|
|
|
#define QEXTERNAL_H
|
|
|
|
|
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlExternal;
|
|
|
|
class QExternalDialog;
|
|
|
|
|
|
|
|
class QExternal :
|
2002-03-21 21:21:28 +00:00
|
|
|
public Qt2CB<ControlExternal, Qt2DB<QExternalDialog> >
|
2001-08-27 01:19:32 +00:00
|
|
|
{
|
|
|
|
friend class QExternalDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
public:
|
2002-08-12 14:28:43 +00:00
|
|
|
QExternal();
|
2001-08-27 01:19:32 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool isValid();
|
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
|