2001-08-19 13:25:15 +00:00
|
|
|
/**
|
|
|
|
* \file QURL.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
2001-08-25 20:04:15 +00:00
|
|
|
* \author John Levon
|
2001-08-19 13:25:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QURL_H
|
|
|
|
#define QURL_H
|
|
|
|
|
2001-08-25 20:04:15 +00:00
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlUrl;
|
2001-08-19 13:25:15 +00:00
|
|
|
class QURLDialog;
|
|
|
|
|
2001-08-25 20:04:15 +00:00
|
|
|
class QURL :
|
|
|
|
public Qt2CB<ControlUrl, Qt2DB<QURLDialog> >
|
|
|
|
{
|
|
|
|
friend class QURLDialog;
|
2001-08-19 13:25:15 +00:00
|
|
|
public:
|
2001-08-25 20:04:15 +00:00
|
|
|
QURL(ControlUrl & c);
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2001-08-25 20:04:15 +00:00
|
|
|
protected:
|
|
|
|
virtual bool isValid();
|
2001-08-19 13:25:15 +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
|