// -*- C++ -*-
/**
* \file Qt2Base.h
- * Copyright 2000-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
-
#ifndef QT2BASE_H
#define QT2BASE_H
-#include <config.h>
-
#ifdef __GNUG__
#pragma interface
#endif
#include "ViewBase.h"
-#include "LString.h"
-#include "debug.h"
-#include "ButtonPolicies.h"
-
#include <boost/scoped_ptr.hpp>
#include <qfont.h>
/** This class is an Qt2 GUI base class.
*/
-class Qt2Base : public QObject, public ViewBase
-{
+class Qt2Base : public QObject, public ViewBase {
Q_OBJECT
public:
///
Qt2Base(QString const &);
///
virtual ~Qt2Base() {}
-
protected:
/// build the actual dialog
virtual void build_dialog() = 0;
/// are we updating ?
bool updating_;
-
protected slots:
// dialog closed from WM
void slotWMHide();
// Close button clicked
void slotClose();
-
private:
/// Pointer to the actual instantiation of xform's form
virtual QDialog * form() const = 0;
template <class Dialog>
-class Qt2DB: public Qt2Base
-{
+class Qt2DB: public Qt2Base {
protected:
Qt2DB(QString const &);