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
|
|
|
|
2001-08-25 20:04:15 +00:00
|
|
|
#include "Qt2Base.h"
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-25 20:04:15 +00:00
|
|
|
class ControlUrl;
|
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 :
|
2002-03-21 21:21:28 +00:00
|
|
|
public Qt2CB<ControlUrl, Qt2DB<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;
|
2002-08-12 14:28:43 +00:00
|
|
|
QURL();
|
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
|