[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Fri Apr 15 15:04:33 UTC 2005


CVS commit by okellogg: 

resetPastePoint(): New.


  M +4 -0      umlview.cpp   1.215
  M +5 -0      umlview.h   1.75


--- kdesdk/umbrello/umbrello/umlview.cpp  #1.214:1.215
@@ -2977,4 +2977,8 @@ QPoint UMLView::getPastePoint() {
 }
 
+void UMLView::resetPastePoint() {
+        m_PastePoint = m_Pos;
+}
+
 int UMLView::snappedX (int x) {
         if (getSnapToGrid()) {

--- kdesdk/umbrello/umbrello/umlview.h  #1.74:1.75
@@ -701,4 +701,9 @@ public:
 
         /**
+         * Reset the paste point.
+         */
+        void resetPastePoint();
+
+        /**
          * Called by the view or any of its children when they start a cut
          * operation.






More information about the umbrello-devel mailing list