[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/flake (silent)
From: Ariya Hidayat <ariya () kde ! org>
Date: 2006-11-29 1:20:41
Message-ID: 1164763241.410927.32340.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 608980 by ariya:
SVN_SILENT explicit constructors
M +1 -1 KoCanvasBase.h
M +1 -1 KoCanvasController.h
M +1 -1 KoCanvasResourceProvider.h
M +1 -1 KoCreatePathTool.h
M +1 -1 KoCreateShapesTool.h
M +1 -1 KoInteractionTool.h
M +1 -1 KoLineBorder.h
M +2 -2 KoPathCommand.h
M +2 -2 KoPathTool.h
M +1 -1 KoShapeManager.h
M +1 -1 KoTool.h
--- trunk/koffice/libs/flake/KoCanvasBase.h #608979:608980
@@ -50,7 +50,7 @@
public:
- KoCanvasBase( KoShapeControllerBase * shapeControllerBase );
+ explicit KoCanvasBase( KoShapeControllerBase * shapeControllerBase );
virtual ~KoCanvasBase();
public:
--- trunk/koffice/libs/flake/KoCanvasController.h #608979:608980
@@ -53,7 +53,7 @@
* Constructor.
* @param parent the parent this widget will belong to
*/
- KoCanvasController(QWidget *parent);
+ explicit KoCanvasController(QWidget *parent);
virtual ~KoCanvasController() {}
/**
--- trunk/koffice/libs/flake/KoCanvasResourceProvider.h #608979:608980
@@ -68,7 +68,7 @@
public:
- KoCanvasResourceProvider(QObject * parent);
+ explicit KoCanvasResourceProvider(QObject * parent);
~KoCanvasResourceProvider() {}
void setResource( KoCanvasResource::EnumCanvasResource key, const QVariant & value );
--- trunk/koffice/libs/flake/KoCreatePathTool.h #608979:608980
@@ -31,7 +31,7 @@
class KoCreatePathTool : public KoTool
{
public:
- KoCreatePathTool( KoCanvasBase * canvas );
+ explicit KoCreatePathTool( KoCanvasBase * canvas );
virtual ~KoCreatePathTool();
void paint( QPainter &painter, KoViewConverter &converter );
--- trunk/koffice/libs/flake/KoCreateShapesTool.h #608979:608980
@@ -43,7 +43,7 @@
* Create a new tool; typically not called by applications, only by the KoToolManager
* @param canvas the canvas this tool works for.
*/
- KoCreateShapesTool( KoCanvasBase *canvas );
+ explicit KoCreateShapesTool( KoCanvasBase *canvas );
/// destructor
virtual ~KoCreateShapesTool() {}
void mouseReleaseEvent( KoPointerEvent *event );
--- trunk/koffice/libs/flake/KoInteractionTool.h #608979:608980
@@ -53,7 +53,7 @@
* and handled by interaction strategies of type KoInteractionStrategy.
* @param canvas the canvas this tool will be working for.
*/
- KoInteractionTool( KoCanvasBase *canvas );
+ explicit KoInteractionTool( KoCanvasBase *canvas );
virtual ~KoInteractionTool();
public:
--- trunk/koffice/libs/flake/KoLineBorder.h #608979:608980
@@ -44,7 +44,7 @@
* @param lineWidth the width, in pt
* @param color the color we draw the outline in.
*/
- KoLineBorder(double lineWidth, QColor color = Qt::black);
+ explicit KoLineBorder(double lineWidth, QColor color = Qt::black);
virtual ~KoLineBorder() {};
/// Sets the lines cap style
--- trunk/koffice/libs/flake/KoPathCommand.h #608979:608980
@@ -34,7 +34,7 @@
class KoPathBaseCommand : public KCommand {
public:
/// initialize the base command with the shape
- KoPathBaseCommand( KoPathShape *shape );
+ explicit KoPathBaseCommand( KoPathShape *shape );
protected:
/**
* Call this to repaint the shape after altering.
@@ -121,7 +121,7 @@
* @brief Command to remove a points from path shapes
* @param pointMap map of the path points to remove
*/
- KoPointRemoveCommand( const KoPathShapePointMap &pointMap );
+ explicit KoPointRemoveCommand( const KoPathShapePointMap &pointMap );
/// execute the command
void execute();
/// revert the actions done in execute
--- trunk/koffice/libs/flake/KoPathTool.h #608979:608980
@@ -36,7 +36,7 @@
/// The tool for editing a KoPathShape or a KoParameterShape
class KoPathTool : public KoTool {
public:
- KoPathTool(KoCanvasBase *canvas);
+ explicit KoPathTool(KoCanvasBase *canvas);
~KoPathTool();
void paint( QPainter &painter, KoViewConverter &converter );
@@ -126,7 +126,7 @@
class KoPathPointSelection
{
public:
- KoPathPointSelection( KoPathTool * tool )
+ explicit KoPathPointSelection( KoPathTool * tool )
: m_tool( tool )
{}
~KoPathPointSelection() {}
--- trunk/koffice/libs/flake/KoShapeManager.h #608979:608980
@@ -52,7 +52,7 @@
/**
* Empty constructor.
*/
- KoShapeManager(KoCanvasBase *canvas);
+ explicit KoShapeManager(KoCanvasBase *canvas);
/**
* Constructor that takes a list of shapes, convenience version.
* @param shapes the shapes to start out with, see also setShapes()
--- trunk/koffice/libs/flake/KoTool.h #608979:608980
@@ -53,7 +53,7 @@
* Constructor, normally only called by the factory (see KoToolFactory)
* @param canvas the canvas interface this tool will work for.
*/
- KoTool(KoCanvasBase *canvas );
+ explicit KoTool(KoCanvasBase *canvas );
virtual ~KoTool() {}
public:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic