[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kivio/src/part
From: Peter Simonsson <peter.simonsson () gmail ! com>
Date: 2007-10-31 21:41:51
Message-ID: 1193866911.890293.10720.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 731513 by psn:
Remove the geomerty docker as there's a koffice wide one now
M +0 -3 CMakeLists.txt
D KivioShapeGeometry.cpp
D KivioShapeGeometry.h
D KivioShapeGeometry.ui
M +0 -12 KivioView.cpp
M +1 -7 KivioView.h
--- trunk/koffice/kivio/src/part/CMakeLists.txt #731512:731513
@@ -7,11 +7,8 @@
KivioFactory.cpp
KivioDocument.cpp
KivioView.cpp
- KivioShapeGeometry.cpp
)
-kde4_add_ui_files(kivioprivate_LIB_SRCS KivioShapeGeometry.ui)
-
kde4_add_library(kivioprivate SHARED ${kivioprivate_LIB_SRCS})
target_link_libraries(kivioprivate ${KDE4_KDECORE_LIBS} koguiutils flake kopageapp)
--- trunk/koffice/kivio/src/part/KivioView.cpp #731512:731513
@@ -26,7 +26,6 @@
#include <KoPACanvas.h>
#include "KivioDocument.h"
-#include "KivioShapeGeometry.h"
KivioView::KivioView(KivioDocument* document, QWidget* parent)
: KoPAView(document, parent), m_document(document)
@@ -52,23 +51,12 @@
void KivioView::initializeGUI()
{
- KivioShapeGeometryFactory geometryFactory(document());
- m_geometryDocker = qobject_cast<KivioShapeGeometry*>(createDockWidget(&geometryFactory));
}
void KivioView::initializeActions()
{
}
-void KivioView::selectionChanged()
-{
- KoPAView::selectionChanged();
-
- if(m_geometryDocker) {
- m_geometryDocker->setSelection(m_canvas->shapeManager()->selection());
- }
-}
-
void KivioView::updateGui()
{
selectionChanged();
--- trunk/koffice/kivio/src/part/KivioView.h #731512:731513
@@ -25,7 +25,6 @@
class KAction;
class KivioDocument;
-class KivioShapeGeometry;
class KivioView : public KoPAView
{
@@ -38,10 +37,7 @@
/// Returns the document
KivioDocument* document() const;
- protected Q_SLOTS:
- /// Called when the selection changed
- void selectionChanged();
-
+ protected slots:
/// Called when the doc emits updateGui
void updateGui();
@@ -53,8 +49,6 @@
private:
KivioDocument* m_document;
-
- KivioShapeGeometry* m_geometryDocker;
};
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic