2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2001-08-19 13:25:15 +00:00
|
|
|
/**
|
|
|
|
* \file QURL.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-19 13:25:15 +00:00
|
|
|
*
|
2001-08-25 20:04:15 +00:00
|
|
|
* \author John Levon
|
2002-09-24 13:57:09 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-19 13:25:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QURL_H
|
|
|
|
#define QURL_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
#include "QDialogView.h"
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2003-03-07 14:08:10 +00:00
|
|
|
class ControlCommand;
|
2001-08-19 13:25:15 +00:00
|
|
|
class QURLDialog;
|
2002-08-12 14:28:43 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2001-08-25 20:04:15 +00:00
|
|
|
class QURL :
|
2003-03-07 14:08:10 +00:00
|
|
|
public QController<ControlCommand, QView<QURLDialog> >
|
2001-08-25 20:04:15 +00:00
|
|
|
{
|
2002-03-21 21:21:28 +00:00
|
|
|
public:
|
2002-10-20 01:48:28 +00:00
|
|
|
friend class QURLDialog;
|
2003-02-25 14:51:38 +00:00
|
|
|
QURL(Dialog &);
|
2001-08-25 20:04:15 +00:00
|
|
|
protected:
|
|
|
|
virtual bool isValid();
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2001-08-25 20:04:15 +00:00
|
|
|
/// apply dialog
|
|
|
|
virtual void apply();
|
|
|
|
/// build dialog
|
2001-08-26 00:29:39 +00:00
|
|
|
virtual void build_dialog();
|
2001-08-25 20:04:15 +00:00
|
|
|
/// update dialog
|
|
|
|
virtual void update_contents();
|
2001-08-19 13:25:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QURL_H
|