[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    make_it_cool: kdeedu/kig/kig
From:       Dominique Devriese <devriese () kde ! org>
Date:       2003-02-07 0:40:39
[Download RAW message or body]

CVS commit by domi: 

change a doc string, and add an interface to set the objects of a KigDocument


  M +9 -3      kig_part.cpp   1.98.2.18
  M +1 -0      kig_part.h   1.40.2.2


--- kdeedu/kig/kig/kig_part.cpp  #1.98.2.17:1.98.2.18
@@ -311,7 +311,7 @@ bool KigDocument::openFile()
         "corrupted and is no longer usable.  If you know that the file is "
         "valid, and you think Kig should be able to open it, you can try to "
-        "send me a copy of the file and ask me nicely to check it out.  If "
-        "you want more certain results, you can always do the work yourself "
-        "( since Kig is Free Software ), and send me a patch."
+        "send me a copy of the file and ask me to check it out.  If you want "
+        "more certain results, you can always do the work yourself ( since Kig "
+        "is Free Software ), and send me a patch."
                             ) );
     return false;
@@ -701,3 +701,9 @@ void KigDocument::doneMode( KigMode* d )
   kapp->exit_loop();
 #endif
+}
+
+void KigDocument::setObjects( const Objects& os )
+{
+  assert( mObjs.empty() );
+  mObjs = os;
 }

--- kdeedu/kig/kig/kig_part.h  #1.40.2.1:1.40.2.2
@@ -124,4 +124,5 @@ public:
 
   const Objects& objects() const { return mObjs;};
+  void setObjects( const Objects& os );
   const CoordinateSystem& coordinateSystem() const;
   KigMode* mode() { return mMode; };


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic