[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Thu Oct 6 16:14:37 CEST 2005
SVN commit 467817 by staikos:
another round of build fixes
M +2 -0 dataobjectdialog.h
M +3 -0 kstgfxarrowmousehandler.cpp
M +3 -0 kstgfxellipsemousehandler.cpp
M +3 -0 kstgfxlinemousehandler.cpp
M +3 -0 kstgfxpicturemousehandler.cpp
M +3 -0 kstgfxrectanglemousehandler.cpp
M +3 -0 kstgfxtextmousehandler.cpp
M +1 -0 kstplotgroup.cpp
M +7 -6 ksttoplevelview.cpp
M +2 -1 kstviewobject.cpp
M +1 -0 kstviewpicture.cpp
--- trunk/extragear/graphics/kst/kst/dataobjectdialog.h #467816:467817
@@ -43,6 +43,8 @@
// Call Init() in the constructor, and DP = 0L in the destructor
// Additionally, new_I, edit_I, and update(int new_index)
// must be delcared and defined.
+#include <klocale.h>
+
void DIALOGTYPE::Init() {
connect(_OK, SIGNAL(clicked()), this, SLOT(OK()));
connect(_cancel, SIGNAL(clicked()), this, SLOT(close()));
--- trunk/extragear/graphics/kst/kst/kstgfxarrowmousehandler.cpp #467816:467817
@@ -17,11 +17,14 @@
#include <stdlib.h>
+#include <qpainter.h>
+
#include "kstgfxarrowmousehandler.h"
#include "kstgfxmousehandlerutils.h"
#include "kst.h"
#include "kstdoc.h"
#include "kstviewarrow.h"
+#include "kstviewwidget.h"
KstGfxArrowMouseHandler::KstGfxArrowMouseHandler(KstTopLevelViewPtr top)
: KstGfxMouseHandler(top) {
--- trunk/extragear/graphics/kst/kst/kstgfxellipsemousehandler.cpp #467816:467817
@@ -17,11 +17,14 @@
#include <stdlib.h>
+#include <qpainter.h>
+
#include "kstgfxellipsemousehandler.h"
#include "kstgfxmousehandlerutils.h"
#include "kst.h"
#include "kstdoc.h"
#include "kstviewellipse.h"
+#include "kstviewwidget.h"
KstGfxEllipseMouseHandler::KstGfxEllipseMouseHandler(KstTopLevelViewPtr top)
: KstGfxMouseHandler(top) {
--- trunk/extragear/graphics/kst/kst/kstgfxlinemousehandler.cpp #467816:467817
@@ -17,11 +17,14 @@
#include <stdlib.h>
+#include <qpainter.h>
+
#include "kstgfxlinemousehandler.h"
#include "kstgfxmousehandlerutils.h"
#include "kst.h"
#include "kstdoc.h"
#include "kstviewarrow.h"
+#include "kstviewwidget.h"
KstGfxLineMouseHandler::KstGfxLineMouseHandler(KstTopLevelViewPtr top)
: KstGfxMouseHandler(top) {
--- trunk/extragear/graphics/kst/kst/kstgfxpicturemousehandler.cpp #467816:467817
@@ -17,11 +17,14 @@
#include <stdlib.h>
+#include <qpainter.h>
+
#include "kstgfxpicturemousehandler.h"
#include "kstgfxmousehandlerutils.h"
#include "kst.h"
#include "kstdoc.h"
#include "kstviewpicture.h"
+#include "kstviewwidget.h"
KstGfxPictureMouseHandler::KstGfxPictureMouseHandler(KstTopLevelViewPtr top)
: KstGfxMouseHandler(top) {
--- trunk/extragear/graphics/kst/kst/kstgfxrectanglemousehandler.cpp #467816:467817
@@ -17,11 +17,14 @@
#include <stdlib.h>
+#include <qpainter.h>
+
#include "kst.h"
#include "kstdoc.h"
#include "kstgfxrectanglemousehandler.h"
#include "kstgfxmousehandlerutils.h"
#include "kstviewbox.h"
+#include "kstviewwidget.h"
KstGfxRectangleMouseHandler::KstGfxRectangleMouseHandler(KstTopLevelViewPtr top)
: KstGfxMouseHandler(top) {
--- trunk/extragear/graphics/kst/kst/kstgfxtextmousehandler.cpp #467816:467817
@@ -17,11 +17,14 @@
#include <stdlib.h>
+#include <qpainter.h>
+
#include "kstgfxtextmousehandler.h"
#include "kstgfxmousehandlerutils.h"
#include "kst.h"
#include "kstdoc.h"
#include "kstviewlabel.h"
+#include "kstviewwidget.h"
KstGfxTextMouseHandler::KstGfxTextMouseHandler(KstTopLevelViewPtr top)
: KstGfxMouseHandler(top) {
--- trunk/extragear/graphics/kst/kst/kstplotgroup.cpp #467816:467817
@@ -18,6 +18,7 @@
#include <assert.h>
// include files for Qt
+#include <qpainter.h>
// include files for KDE
#include "ksdebug.h"
--- trunk/extragear/graphics/kst/kst/ksttoplevelview.cpp #467816:467817
@@ -36,12 +36,12 @@
#include "kst.h"
#include "kstaccessibility.h"
#include "kstdoc.h"
-#include <kstgfxpicturemousehandler.h>
-#include <kstgfxarrowmousehandler.h>
-#include <kstgfxellipsemousehandler.h>
-#include <kstgfxlinemousehandler.h>
-#include <kstgfxrectanglemousehandler.h>
-#include <kstgfxtextmousehandler.h>
+#include "kstgfxpicturemousehandler.h"
+#include "kstgfxarrowmousehandler.h"
+#include "kstgfxellipsemousehandler.h"
+#include "kstgfxlinemousehandler.h"
+#include "kstgfxrectanglemousehandler.h"
+#include "kstgfxtextmousehandler.h"
#include "kstplotgroup.h"
#include "kstsettings.h"
#include "ksttimers.h"
@@ -52,6 +52,7 @@
#include "kstviewbox.h"
#include "kstviewellipse.h"
#include "kstviewpicture.h"
+#include "kstviewwidget.h"
#define STICKY_THRESHOLD 10
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #467816:467817
@@ -31,6 +31,7 @@
// application specific includes
#include "kst.h"
+#include "kst2dplot.h" // Yuck, fix this
#include "kstaccessibility.h"
#include "kstdoc.h"
#include "ksteditviewobjectdialog_i.h"
@@ -167,7 +168,7 @@
// FIXME: View Object should not know about this!!!!
Kst2DPlotMap *pmap = KstApp::inst()->plotHolderWhileOpeningDocument();
if (pmap->count(in_tag) > 0) {
- Kst2DPlotPtr plot = pmap->at(in_tag);
+ Kst2DPlotPtr plot = (*pmap)[in_tag];
if (plot) {
appendChild(plot.data(), true);
plot->loadChildren(el);
--- trunk/extragear/graphics/kst/kst/kstviewpicture.cpp #467816:467817
@@ -22,6 +22,7 @@
#include <kglobal.h>
#include <kio/netaccess.h>
+#include <klocale.h>
#include <qfile.h>
#include <qfileinfo.h>
More information about the Kst
mailing list