]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QToc.h
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QToc.h
index 520a0759d0b1f204c7df5251fffea84b59e0d6f1..d3a8caf5f612b9f488b92cf7ac0c1c82d602abeb 100644 (file)
@@ -1,11 +1,13 @@
 // -*- C++ -*-
 /**
  * \file QToc.h
- * Copyright 2001 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 John Levon
- * \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
+ * \author Kalle Dalheimer
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef QTOC_H
 #pragma interface
 #endif
 
-#include "ControlToc.h"
-#include "toc.h"
-
 #include "Qt2Base.h"
+#include "toc.h"
 
 class ControlToc;
 class QTocDialog;
@@ -27,10 +27,9 @@ class QToc :
        public Qt2CB<ControlToc, Qt2DB<QTocDialog> >
 {
 public:
-       QToc();
-
        friend class QTocDialog;
 
+       QToc();
 private:
        /// update the listview
        void updateToc(int newdepth);
@@ -44,7 +43,7 @@ private:
        /// set the depth
        void set_depth(int depth);
 
-       virtual void apply() {};
+       virtual void apply() {}
 
        /// update dialog
        virtual void update_contents();