]> git.lyx.org Git - features.git/commitdiff
c++ mode and inherit privately from noncopyable
authorLars Gullik Bjønnes <larsbj@gullik.org>
Tue, 17 Apr 2001 14:11:26 +0000 (14:11 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Tue, 17 Apr 2001 14:11:26 +0000 (14:11 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1930 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/kde/ChangeLog
src/frontends/kde/dlg/emptytable.h
src/frontends/kde/dlg/lengthentry.h
src/frontends/kde/dlg/tabstack.h
src/graphics/ChangeLog
src/graphics/GraphicsCache.h
src/graphics/GraphicsCacheItem.h
src/graphics/ImageLoader.h

index 1bf3a53dfeaae3eb1fef8912ec35de92079a295e..a6bfe6afb3595aa844c2ec1f36863336c64af6a6 100644 (file)
@@ -1,3 +1,9 @@
+2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * dlg/emptytable.h: C++ mode, inhrit privately from noncopyable
+       * dlg/tabstack.h: ditto
+       * dlg/lengthentry.h: ditto
+
 2001-04-03  John Levon  <moz@compsoc.man.ac.uk>
 
        * Form*.C:
index 4fcef29914a73b56c07ec75d1d12819de50c23e1..2e77893f6e4c1492b8028439c5215d5f821129f3 100644 (file)
@@ -25,7 +25,7 @@
  * A simple widget for a quick "preview" in TabularCreateDialog.
  * The user can drag on the widget to change the table dimensions.
  */
-class EmptyTable : public QTableView, public boost::noncopyable {
+class EmptyTable : public QTableView, boost::noncopyable {
    Q_OBJECT
 public:
        EmptyTable(QWidget * parent = 0, const char * name = 0);
index 3fd06743d45fabb61737468e43a7b525502b3df8..36df35de329460d25685e46b64d9ccc42f48283e 100644 (file)
@@ -30,7 +30,7 @@ class QComboBox;
  * This widget provides a value edit and a combo box
  * for LyXLengths.
  */
-class LengthEntry : public QWidget, public boost::noncopyable {
+class LengthEntry : public QWidget, boost::noncopyable {
    Q_OBJECT
 public:
        LengthEntry(QWidget * parent = 0, const char * name = 0);
index 219de775066cae74de3457d7b46e1404db1a48b8..3c0b8270776cb994a1d9a8238409240685dcba51 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /*
  * tabstack.h
  * (C) 2000 LyX Team
@@ -28,7 +29,7 @@ class QBoxLayout;
  * This widget provides a tab bar which can switch between a stack
  * of QFrames.
  */
-class TabStack : public QWidget, public boost::noncopyable {
+class TabStack : public QWidget, boost::noncopyable {
    Q_OBJECT
 public:
        TabStack(QWidget * parent = 0, const char * name = 0);
index 3b8294e7961f4d5526b6b77cec85117fa3c62f26..9ef681cf12464c32ae0c500c8729d5a5ea0bff22 100644 (file)
@@ -1,3 +1,9 @@
+2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * GraphicsCache.h: inherit privately from noncopyable
+       * ImageLoader.h: ditto
+       * GraphicsCacheItem.h: ditto
+
 2001-04-16  Allan Rae  <rae@lyx.org>
 
        * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
index 37eb8d1f08e769c8e54e3eeaa61c1865b1680797..712ad8006235d4da68371639c08482427111a7ed 100644 (file)
@@ -31,7 +31,7 @@ class GraphicsCacheItem;
     GraphicsCache is a singleton class, there should be only one instance of
     it at any moment.
 */
-class GraphicsCache : public boost::noncopyable {
+class GraphicsCache : boost::noncopyable {
 public:
        /// Get the instance of the class.
        static GraphicsCache & getInstance();
index f75b9a40db6aa50ceab9405bf2517313d5716b39..5f22d950c5e7269b10c7ab6c1c9c4abe439087f8 100644 (file)
@@ -29,7 +29,7 @@
 class LyXImage;
 
 /// A GraphicsCache item holder.
-class GraphicsCacheItem : public boost::noncopyable {
+class GraphicsCacheItem : boost::noncopyable {
 public:
        /// c-tor
        GraphicsCacheItem(string const & filename);
index e2fe8b31b2329764757a8a16bb57f58d095a0c4a..fa6f44d06b72476a52936f675f07cf07e8e5fe72 100644 (file)
@@ -29,7 +29,7 @@ class LyXImage;
  *  
  *  @Author Baruch Even, <baruch.even@writeme.com>
  */
-class ImageLoader : public boost::noncopyable {
+class ImageLoader : boost::noncopyable {
 public:
        /// Errors that can be returned from this class.
        enum Result {