File ksociograma-2.0.1-include.patch of Package ksociograma
Index: ksociograma-2.0.1/src/ksociograma.cpp
===================================================================
--- ksociograma-2.0.1.orig/src/ksociograma.cpp
+++ ksociograma-2.0.1/src/ksociograma.cpp
@@ -68,7 +68,7 @@
#include <qspinbox.h>
#include <qpaintdevicemetrics.h>
-//#include <iostream.h> // para sacar con cout
+//#include <iostream> // para sacar con cout
ksociograma::ksociograma(KMainWindow* parent, const char* name, WFlags fl, sociometricTest *myTest2, KAction *actOpenNew2, KAction *actOpen2, KAction *actSave2, KAction *actPrint2, KAction *actQuit2, KAction *actOpenQuestionnaire2 )
Index: ksociograma-2.0.1/src/ksociogramaMainWindow.cpp
===================================================================
--- ksociograma-2.0.1.orig/src/ksociogramaMainWindow.cpp
+++ ksociograma-2.0.1/src/ksociogramaMainWindow.cpp
@@ -29,7 +29,7 @@
#include <kapplication.h> //para el font
#include <qfontmetrics.h>
-#include <iostream.h> // para sacar con cout
+#include <iostream> // para sacar con cout
#include <qtextstream.h> // para las qWarning
ksociogramaMainWindow::ksociogramaMainWindow() : KMainWindow (0,"ksociogramaMainWindow"), myksociograma(new ksociograma(this,0,0,new sociometricTest(),
Index: ksociograma-2.0.1/src/sociogram.cpp
===================================================================
--- ksociograma-2.0.1.orig/src/sociogram.cpp
+++ ksociograma-2.0.1/src/sociogram.cpp
@@ -25,7 +25,7 @@
#include <qfontmetrics.h>
#include <qpen.h>
#include <qmessagebox.h>
-//#include <iostream.h> // para sacar con cout
+//#include <iostream> // para sacar con cout
#include <qpoint.h>
#include <qcombobox.h>
#include <qlabel.h>
Index: ksociograma-2.0.1/src/sociogram.h
===================================================================
--- ksociograma-2.0.1.orig/src/sociogram.h
+++ ksociograma-2.0.1/src/sociogram.h
@@ -60,7 +60,7 @@ private slots:
private:
void drawSimbol(QString sex, QString identificativ, double x, double y, double side);
void drawArrow(double x1, double y1, double x2, double y2, QString typeArrow);
- double evaluatePosition(int cx[], int cx[], QString typeSociogram);
+ double evaluatePosition(int cx[], int cy[], QString typeSociogram);
void sociometricAlgoritm(int cx[], int cy[], int variants = 1000, QString typeSociogram = QString::null);
int randZone(int alumno, QString parametro);
double randAngle(int alumno, int zone);