[rkward-cvs] rkward/rkward/dataeditor rkeditordataframepart.cpp,1.2,1.3 rkeditordataframepart.h,1.2,1.3

Thomas Friedrichsmeier tfry at users.sourceforge.net
Sat Sep 17 15:55:32 UTC 2005


Update of /cvsroot/rkward/rkward/rkward/dataeditor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27828/rkward/dataeditor

Modified Files:
	rkeditordataframepart.cpp rkeditordataframepart.h 
Log Message:
Window->close/close all working properly

Index: rkeditordataframepart.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/dataeditor/rkeditordataframepart.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** rkeditordataframepart.cpp	16 Sep 2005 16:08:11 -0000	1.2
--- rkeditordataframepart.cpp	17 Sep 2005 15:55:30 -0000	1.3
***************
*** 57,61 ****
  	editPasteToSelection = new KAction(i18n("Paste inside Selection"), 0, 0, this, SLOT(slotEditPasteToSelection()), actionCollection(), "paste_to_selection");
  	editPasteToSelection->setIcon("frame_edit");
- 	//windowClose = new KAction (i18n("Close"), 0, KShortcut ("Ctrl+W"), this, SLOT (slotCloseWindow()), actionCollection(), "window_close");
  
  	editCut->setStatusText(i18n("Cuts the selected section and puts it to the clipboard"));
--- 57,60 ----
***************
*** 123,132 ****
  	RKGlobals::rkApp ()->slotStatusMsg(i18n("Ready."));
  }
- /*
- void RKEditorDataFramePart::slotCloseWindow () {
- 	RK_TRACE (EDITOR);
- 
- 	RKGlobals::rkApp ()->closeWindow (editor);
- }*/
  
  #include "rkeditordataframepart.moc"
--- 122,125 ----

Index: rkeditordataframepart.h
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/dataeditor/rkeditordataframepart.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** rkeditordataframepart.h	16 Sep 2005 16:08:11 -0000	1.2
--- rkeditordataframepart.h	17 Sep 2005 15:55:30 -0000	1.3
***************
*** 45,51 ****
  /** paste the clipboard into the table, but not beyond selection boundaries	*/
  	void slotEditPasteToSelection();
- /** closes the window. Note: Actually this should be handled in rkwardapp, but somehow that does not work. Therefore, we override the close-window
- 	function and do this from here */
- //	void slotCloseWindow ();
  private:
  	KAction* editCut;
--- 45,48 ----
***************
*** 54,58 ****
  	KAction* editPasteToSelection;
  	KAction* editPasteToTable;
- //	KAction* windowClose;
  
  	RKEditorDataFrame *editor;
--- 51,54 ----





More information about the rkward-tracker mailing list