c++ mode and inherit privately from noncopyable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1930 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-04-17 14:11:26 +00:00
parent ebacae88fe
commit 1e0c627c73
8 changed files with 19 additions and 6 deletions

View 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> 2001-04-03 John Levon <moz@compsoc.man.ac.uk>
* Form*.C: * Form*.C:

View File

@ -25,7 +25,7 @@
* A simple widget for a quick "preview" in TabularCreateDialog. * A simple widget for a quick "preview" in TabularCreateDialog.
* The user can drag on the widget to change the table dimensions. * 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 Q_OBJECT
public: public:
EmptyTable(QWidget * parent = 0, const char * name = 0); EmptyTable(QWidget * parent = 0, const char * name = 0);

View File

@ -30,7 +30,7 @@ class QComboBox;
* This widget provides a value edit and a combo box * This widget provides a value edit and a combo box
* for LyXLengths. * for LyXLengths.
*/ */
class LengthEntry : public QWidget, public boost::noncopyable { class LengthEntry : public QWidget, boost::noncopyable {
Q_OBJECT Q_OBJECT
public: public:
LengthEntry(QWidget * parent = 0, const char * name = 0); LengthEntry(QWidget * parent = 0, const char * name = 0);

View File

@ -1,3 +1,4 @@
// -*- C++ -*-
/* /*
* tabstack.h * tabstack.h
* (C) 2000 LyX Team * (C) 2000 LyX Team
@ -28,7 +29,7 @@ class QBoxLayout;
* This widget provides a tab bar which can switch between a stack * This widget provides a tab bar which can switch between a stack
* of QFrames. * of QFrames.
*/ */
class TabStack : public QWidget, public boost::noncopyable { class TabStack : public QWidget, boost::noncopyable {
Q_OBJECT Q_OBJECT
public: public:
TabStack(QWidget * parent = 0, const char * name = 0); TabStack(QWidget * parent = 0, const char * name = 0);

View 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> 2001-04-16 Allan Rae <rae@lyx.org>
* ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun

View File

@ -31,7 +31,7 @@ class GraphicsCacheItem;
GraphicsCache is a singleton class, there should be only one instance of GraphicsCache is a singleton class, there should be only one instance of
it at any moment. it at any moment.
*/ */
class GraphicsCache : public boost::noncopyable { class GraphicsCache : boost::noncopyable {
public: public:
/// Get the instance of the class. /// Get the instance of the class.
static GraphicsCache & getInstance(); static GraphicsCache & getInstance();

View File

@ -29,7 +29,7 @@
class LyXImage; class LyXImage;
/// A GraphicsCache item holder. /// A GraphicsCache item holder.
class GraphicsCacheItem : public boost::noncopyable { class GraphicsCacheItem : boost::noncopyable {
public: public:
/// c-tor /// c-tor
GraphicsCacheItem(string const & filename); GraphicsCacheItem(string const & filename);

View File

@ -29,7 +29,7 @@ class LyXImage;
* *
* @Author Baruch Even, <baruch.even@writeme.com> * @Author Baruch Even, <baruch.even@writeme.com>
*/ */
class ImageLoader : public boost::noncopyable { class ImageLoader : boost::noncopyable {
public: public:
/// Errors that can be returned from this class. /// Errors that can be returned from this class.
enum Result { enum Result {