]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/Qt2Base.h
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / Qt2Base.h
index 3bea0caaefa954a6c4fc882ef4cc4c878bf56719..2491a9895c448ddb5f9f5ea12836b97198be5eda 100644 (file)
@@ -1,27 +1,22 @@
 // -*- 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>
@@ -33,15 +28,13 @@ class Qt2BC;
 
 /** 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;
@@ -63,7 +56,6 @@ protected:
 
        /// are we updating ?
        bool updating_;
-
 protected slots:
        // dialog closed from WM
        void slotWMHide();
@@ -79,7 +71,6 @@ protected slots:
 
        // Close button clicked
        void slotClose();
-
 private:
        /// Pointer to the actual instantiation of xform's form
        virtual QDialog * form() const = 0;
@@ -91,8 +82,7 @@ private:
 
 
 template <class Dialog>
-class Qt2DB: public Qt2Base
-{
+class Qt2DB: public Qt2Base {
 protected:
        Qt2DB(QString const &);