diff options
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/rocs/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/rocs/files/rocs-4.5.3-double-handbook.patch | 25 | ||||
-rw-r--r-- | kde-base/rocs/files/rocs-4.5.3-double.patch | 100 | ||||
-rw-r--r-- | kde-base/rocs/files/rocs-double-handbook.patch | 25 | ||||
-rw-r--r-- | kde-base/rocs/files/rocs-double.patch | 100 |
5 files changed, 6 insertions, 251 deletions
diff --git a/kde-base/rocs/ChangeLog b/kde-base/rocs/ChangeLog index 2b7a746b881b..dc68236a7143 100644 --- a/kde-base/rocs/ChangeLog +++ b/kde-base/rocs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/rocs # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/rocs/ChangeLog,v 1.27 2011/04/06 14:19:08 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/rocs/ChangeLog,v 1.28 2011/05/04 11:14:38 scarabeus Exp $ + + 04 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> + -files/rocs-4.5.3-double.patch, -files/rocs-4.5.3-double-handbook.patch, + -files/rocs-double.patch, -files/rocs-double-handbook.patch: + old *rocs-4.6.2 (06 Apr 2011) diff --git a/kde-base/rocs/files/rocs-4.5.3-double-handbook.patch b/kde-base/rocs/files/rocs-4.5.3-double-handbook.patch deleted file mode 100644 index 8a73450272a7..000000000000 --- a/kde-base/rocs/files/rocs-4.5.3-double-handbook.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ru rocs-4.5.3.orig/doc/rocs/index.docbook rocs-4.5.3/doc/rocs/index.docbook ---- rocs-4.5.3.orig/doc/rocs/index.docbook 2010-06-08 12:10:55.000000000 +0200 -+++ rocs-4.5.3/doc/rocs/index.docbook 2010-11-10 01:21:53.467410347 +0100 -@@ -180,9 +180,9 @@ - </programlisting> - <para>Node Variables:</para> - <programlisting> -- double x -- double y -- double width -+ qreal x -+ qreal y -+ qreal width - string value - string name - string color // in HEXA -@@ -197,7 +197,7 @@ - string color ( em hexa ) - string value - string name -- double width -+ qreal width - string style ( dot, dash, dash dot, solid ) - - node start(); diff --git a/kde-base/rocs/files/rocs-4.5.3-double.patch b/kde-base/rocs/files/rocs-4.5.3-double.patch deleted file mode 100644 index 2a654df9932d..000000000000 --- a/kde-base/rocs/files/rocs-4.5.3-double.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff -ru rocs-4.5.3.orig/rocs/src/Core/edge.h rocs-4.5.3/rocs/src/Core/edge.h ---- rocs-4.5.3.orig/rocs/src/Core/edge.h 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Core/edge.h 2010-11-10 01:23:28.283410355 +0100 -@@ -62,7 +62,7 @@ - Q_PROPERTY(QString name READ name WRITE setName) - - /*! this property holds the width of the edge */ -- Q_PROPERTY(double width READ width WRITE setWidth) -+ Q_PROPERTY(qreal width READ width WRITE setWidth) - - /*! this property holds the style of the edge */ - Q_PROPERTY(QString style READ style WRITE setStyle) -@@ -169,7 +169,7 @@ - qreal width () const { - return _width; - } -- void setWidth(double w) { -+ void setWidth(qreal w) { - _width = w; - emit changed(); - } -@@ -239,7 +239,7 @@ - bool _showValue; - - QString _style; -- double _width; -+ qreal _width; - - Graph *_graph; - #ifdef USING_QTSCRIPT -diff -ru rocs-4.5.3.orig/rocs/src/Core/node.h rocs-4.5.3/rocs/src/Core/node.h ---- rocs-4.5.3.orig/rocs/src/Core/node.h 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Core/node.h 2010-11-10 01:23:32.241410345 +0100 -@@ -85,7 +85,7 @@ - - void setX(int x); - void setY(int y); -- void setWidth(double w); -+ void setWidth(qreal w); - void setPos(qreal x, qreal y); - qreal x() const; - qreal y() const; -diff -ru rocs-4.5.3.orig/rocs/src/GraphicsItem/math_constants.h rocs-4.5.3/rocs/src/GraphicsItem/math_constants.h ---- rocs-4.5.3.orig/rocs/src/GraphicsItem/math_constants.h 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/GraphicsItem/math_constants.h 2010-11-10 01:23:04.291410343 +0100 -@@ -23,10 +23,10 @@ - #define MATH_CONSTANTS_H - - --static const double Pi = 3.14159265358979323846264338327950288419717; -+static const qreal Pi = 3.14159265358979323846264338327950288419717; - - /// The value of Pi * 2 --static const double TwoPi = 2.0 * Pi; -+static const qreal TwoPi = 2.0 * Pi; - - /// The Value of PI / 3 - static const qreal PI_3 = Pi / 3.0; -diff -ru rocs-4.5.3.orig/rocs/src/Interface/NodePropertiesWidget.cpp rocs-4.5.3/rocs/src/Interface/NodePropertiesWidget.cpp ---- rocs-4.5.3.orig/rocs/src/Interface/NodePropertiesWidget.cpp 2010-06-16 14:03:03.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Interface/NodePropertiesWidget.cpp 2010-11-10 01:22:25.998410281 +0100 -@@ -43,7 +43,7 @@ - connect( _value, SIGNAL(textChanged(QString)), _node, SLOT(setValue(QString))); - connect( _x, SIGNAL(valueChanged(int)), _node, SLOT(setX(int))); - connect( _y, SIGNAL(valueChanged(int)), _node, SLOT(setY(int))); -- connect( _width, SIGNAL(valueChanged(double)), _node, SLOT(setWidth(double))); -+ connect( _width, SIGNAL(valueChanged(qreal)), _node, SLOT(setWidth(qreal))); - - GraphPropertiesModel *model = new GraphPropertiesModel(); - model->setDataSource(_node); -@@ -136,6 +136,6 @@ - disconnect( _value, SIGNAL(textChanged(QString)), n, SLOT(setValue(QString))); - disconnect( _x, SIGNAL(valueChanged(int)), n, SLOT(setX(int))); - disconnect( _y, SIGNAL(valueChanged(int)), n, SLOT(setY(int))); -- disconnect( _width, SIGNAL(valueChanged(double)), n, SLOT(setWidth(double))); -+ disconnect( _width, SIGNAL(valueChanged(qreal)), n, SLOT(setWidth(qreal))); - - } -\ Kein Zeilenumbruch am Dateiende. -diff -ru rocs-4.5.3.orig/rocs/src/Interface/edgepropertieswidget.cpp rocs-4.5.3/rocs/src/Interface/edgepropertieswidget.cpp ---- rocs-4.5.3.orig/rocs/src/Interface/edgepropertieswidget.cpp 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Interface/edgepropertieswidget.cpp 2010-11-10 01:22:33.872410348 +0100 -@@ -52,7 +52,7 @@ - - connect(_value, SIGNAL(textChanged(QString)), _edge, SLOT(setValue(QString))); - connect(_name, SIGNAL(textChanged(QString)), _edge, SLOT(setName(QString))); -- connect(_width, SIGNAL(valueChanged(double)), _edge, SLOT(setWidth(double))); -+ connect(_width, SIGNAL(valueChanged(qreal)), _edge, SLOT(setWidth(qreal))); - connect(_showName, SIGNAL(toggled(bool)), _edge, SLOT(hideName(bool))); - connect(_showValue, SIGNAL(toggled(bool)), _edge, SLOT(hideValue(bool))); - -@@ -101,7 +101,7 @@ - - disconnect(_value, SIGNAL(textChanged(QString)), _edge, SLOT(setValue(QString))); - disconnect(_name, SIGNAL(textChanged(QString)), _edge, SLOT(setName(QString))); -- disconnect(_width, SIGNAL(valueChanged(double)), _edge, SLOT(setWidth(double))); -+ disconnect(_width, SIGNAL(valueChanged(qreal)), _edge, SLOT(setWidth(qreal))); - disconnect(_showName, SIGNAL(toggled(bool)), _edge, SLOT(hideName(bool))); - disconnect(_showValue, SIGNAL(toggled(bool)), _edge, SLOT(hideValue(bool))); - } diff --git a/kde-base/rocs/files/rocs-double-handbook.patch b/kde-base/rocs/files/rocs-double-handbook.patch deleted file mode 100644 index 8a73450272a7..000000000000 --- a/kde-base/rocs/files/rocs-double-handbook.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ru rocs-4.5.3.orig/doc/rocs/index.docbook rocs-4.5.3/doc/rocs/index.docbook ---- rocs-4.5.3.orig/doc/rocs/index.docbook 2010-06-08 12:10:55.000000000 +0200 -+++ rocs-4.5.3/doc/rocs/index.docbook 2010-11-10 01:21:53.467410347 +0100 -@@ -180,9 +180,9 @@ - </programlisting> - <para>Node Variables:</para> - <programlisting> -- double x -- double y -- double width -+ qreal x -+ qreal y -+ qreal width - string value - string name - string color // in HEXA -@@ -197,7 +197,7 @@ - string color ( em hexa ) - string value - string name -- double width -+ qreal width - string style ( dot, dash, dash dot, solid ) - - node start(); diff --git a/kde-base/rocs/files/rocs-double.patch b/kde-base/rocs/files/rocs-double.patch deleted file mode 100644 index 2a654df9932d..000000000000 --- a/kde-base/rocs/files/rocs-double.patch +++ /dev/null @@ -1,100 +0,0 @@ -diff -ru rocs-4.5.3.orig/rocs/src/Core/edge.h rocs-4.5.3/rocs/src/Core/edge.h ---- rocs-4.5.3.orig/rocs/src/Core/edge.h 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Core/edge.h 2010-11-10 01:23:28.283410355 +0100 -@@ -62,7 +62,7 @@ - Q_PROPERTY(QString name READ name WRITE setName) - - /*! this property holds the width of the edge */ -- Q_PROPERTY(double width READ width WRITE setWidth) -+ Q_PROPERTY(qreal width READ width WRITE setWidth) - - /*! this property holds the style of the edge */ - Q_PROPERTY(QString style READ style WRITE setStyle) -@@ -169,7 +169,7 @@ - qreal width () const { - return _width; - } -- void setWidth(double w) { -+ void setWidth(qreal w) { - _width = w; - emit changed(); - } -@@ -239,7 +239,7 @@ - bool _showValue; - - QString _style; -- double _width; -+ qreal _width; - - Graph *_graph; - #ifdef USING_QTSCRIPT -diff -ru rocs-4.5.3.orig/rocs/src/Core/node.h rocs-4.5.3/rocs/src/Core/node.h ---- rocs-4.5.3.orig/rocs/src/Core/node.h 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Core/node.h 2010-11-10 01:23:32.241410345 +0100 -@@ -85,7 +85,7 @@ - - void setX(int x); - void setY(int y); -- void setWidth(double w); -+ void setWidth(qreal w); - void setPos(qreal x, qreal y); - qreal x() const; - qreal y() const; -diff -ru rocs-4.5.3.orig/rocs/src/GraphicsItem/math_constants.h rocs-4.5.3/rocs/src/GraphicsItem/math_constants.h ---- rocs-4.5.3.orig/rocs/src/GraphicsItem/math_constants.h 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/GraphicsItem/math_constants.h 2010-11-10 01:23:04.291410343 +0100 -@@ -23,10 +23,10 @@ - #define MATH_CONSTANTS_H - - --static const double Pi = 3.14159265358979323846264338327950288419717; -+static const qreal Pi = 3.14159265358979323846264338327950288419717; - - /// The value of Pi * 2 --static const double TwoPi = 2.0 * Pi; -+static const qreal TwoPi = 2.0 * Pi; - - /// The Value of PI / 3 - static const qreal PI_3 = Pi / 3.0; -diff -ru rocs-4.5.3.orig/rocs/src/Interface/NodePropertiesWidget.cpp rocs-4.5.3/rocs/src/Interface/NodePropertiesWidget.cpp ---- rocs-4.5.3.orig/rocs/src/Interface/NodePropertiesWidget.cpp 2010-06-16 14:03:03.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Interface/NodePropertiesWidget.cpp 2010-11-10 01:22:25.998410281 +0100 -@@ -43,7 +43,7 @@ - connect( _value, SIGNAL(textChanged(QString)), _node, SLOT(setValue(QString))); - connect( _x, SIGNAL(valueChanged(int)), _node, SLOT(setX(int))); - connect( _y, SIGNAL(valueChanged(int)), _node, SLOT(setY(int))); -- connect( _width, SIGNAL(valueChanged(double)), _node, SLOT(setWidth(double))); -+ connect( _width, SIGNAL(valueChanged(qreal)), _node, SLOT(setWidth(qreal))); - - GraphPropertiesModel *model = new GraphPropertiesModel(); - model->setDataSource(_node); -@@ -136,6 +136,6 @@ - disconnect( _value, SIGNAL(textChanged(QString)), n, SLOT(setValue(QString))); - disconnect( _x, SIGNAL(valueChanged(int)), n, SLOT(setX(int))); - disconnect( _y, SIGNAL(valueChanged(int)), n, SLOT(setY(int))); -- disconnect( _width, SIGNAL(valueChanged(double)), n, SLOT(setWidth(double))); -+ disconnect( _width, SIGNAL(valueChanged(qreal)), n, SLOT(setWidth(qreal))); - - } -\ Kein Zeilenumbruch am Dateiende. -diff -ru rocs-4.5.3.orig/rocs/src/Interface/edgepropertieswidget.cpp rocs-4.5.3/rocs/src/Interface/edgepropertieswidget.cpp ---- rocs-4.5.3.orig/rocs/src/Interface/edgepropertieswidget.cpp 2010-06-08 12:10:59.000000000 +0200 -+++ rocs-4.5.3/rocs/src/Interface/edgepropertieswidget.cpp 2010-11-10 01:22:33.872410348 +0100 -@@ -52,7 +52,7 @@ - - connect(_value, SIGNAL(textChanged(QString)), _edge, SLOT(setValue(QString))); - connect(_name, SIGNAL(textChanged(QString)), _edge, SLOT(setName(QString))); -- connect(_width, SIGNAL(valueChanged(double)), _edge, SLOT(setWidth(double))); -+ connect(_width, SIGNAL(valueChanged(qreal)), _edge, SLOT(setWidth(qreal))); - connect(_showName, SIGNAL(toggled(bool)), _edge, SLOT(hideName(bool))); - connect(_showValue, SIGNAL(toggled(bool)), _edge, SLOT(hideValue(bool))); - -@@ -101,7 +101,7 @@ - - disconnect(_value, SIGNAL(textChanged(QString)), _edge, SLOT(setValue(QString))); - disconnect(_name, SIGNAL(textChanged(QString)), _edge, SLOT(setName(QString))); -- disconnect(_width, SIGNAL(valueChanged(double)), _edge, SLOT(setWidth(double))); -+ disconnect(_width, SIGNAL(valueChanged(qreal)), _edge, SLOT(setWidth(qreal))); - disconnect(_showName, SIGNAL(toggled(bool)), _edge, SLOT(hideName(bool))); - disconnect(_showValue, SIGNAL(toggled(bool)), _edge, SLOT(hideValue(bool))); - } |