[qet] [2383] Solve compil error, but not compile yet

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2383
Author:   scorpio810
Date:     2013-07-08 11:19:07 +0200 (Mon, 08 Jul 2013)
Log Message:
-----------
Solve compil error, but not compile yet

Modified Paths:
--------------
    branches/0.4/sources/diagramimageitem.cpp
    branches/0.4/sources/diagramimageitem.h
    branches/0.4/sources/diagramview.cpp

Modified: branches/0.4/sources/diagramimageitem.cpp
===================================================================
--- branches/0.4/sources/diagramimageitem.cpp	2013-07-07 19:47:21 UTC (rev 2382)
+++ branches/0.4/sources/diagramimageitem.cpp	2013-07-08 09:19:07 UTC (rev 2383)
@@ -15,7 +15,7 @@
 	You should have received a copy of the GNU General Public License
 	along with QElectroTech.  If not, see <http://www.gnu.org/licenses/>.
 */
-#include "DiagramImageItem.h"
+#include "diagramimageitem.h"
 #include "diagramcommands.h"
 #include "qet.h"
 #include "qetapp.h"

Modified: branches/0.4/sources/diagramimageitem.h
===================================================================
--- branches/0.4/sources/diagramimageitem.h	2013-07-07 19:47:21 UTC (rev 2382)
+++ branches/0.4/sources/diagramimageitem.h	2013-07-08 09:19:07 UTC (rev 2383)
@@ -24,7 +24,7 @@
 	diagram.
 	@see QGraphicsItem::GraphicsItemFlags
 */
-class DiagramImageItem : public QGraphicsPixmapItem {
+class DiagramImageItem : public QObject, QGraphicsPixmapItem {
 	Q_OBJECT
 	// constructors, destructor
 	public:

Modified: branches/0.4/sources/diagramview.cpp
===================================================================
--- branches/0.4/sources/diagramview.cpp	2013-07-07 19:47:21 UTC (rev 2382)
+++ branches/0.4/sources/diagramview.cpp	2013-07-08 09:19:07 UTC (rev 2383)
@@ -26,7 +26,7 @@
 #include "conductortextitem.h"
 #include "elementtextitem.h"
 #include "independenttextitem.h"
-#include "DiagramImageItem.h"
+#include "diagramimageitem.h"
 #include "titleblockpropertieswidget.h"
 #include "templatelocation.h"
 #include "qetapp.h"
@@ -38,6 +38,7 @@
 #include "qeticons.h"
 #include "qetmessagebox.h"
 #include "qtextorientationspinboxwidget.h"
+#include <QGraphicsObject>
 
 #include <QGraphicsPixmapItem>
 #include <QGraphicsSceneMouseEvent>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/