[rkward-cvs] rkward/rkward/windows rkcommandeditorwindow.cpp,1.5,1.6

Pierre ecoch at users.sourceforge.net
Fri Oct 22 15:23:27 UTC 2004


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

Modified Files:
	rkcommandeditorwindow.cpp 
Log Message:


Index: rkcommandeditorwindow.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/windows/rkcommandeditorwindow.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** rkcommandeditorwindow.cpp	19 Oct 2004 21:04:10 -0000	1.5
--- rkcommandeditorwindow.cpp	22 Oct 2004 15:23:24 -0000	1.6
***************
*** 67,76 ****
  	
  	KAction * file_new = KStdAction::openNew (this, SLOT (newFile ()), actionCollection(), "file_new");
! 	file_new->setWhatsThis(i18n("Use this to create a new document"));
  	KAction * file_open = KStdAction::open (this, SLOT (openFile ()), actionCollection(), "file_open");
! 	file_open->setWhatsThis(i18n("Use this to open an existing document"));
  	
  	KAction * close_window = KStdAction::close (this, SLOT (close ()), actionCollection(), "file_close");
! 	close_window->setWhatsThis(i18n("Use this to close the current window"));
  
  	KAction * run_all = new KAction (i18n ("Run all"), KShortcut ("Ctrl+R"), this, SLOT (run ()), actionCollection(), "run_all" );
--- 67,76 ----
  	
  	KAction * file_new = KStdAction::openNew (this, SLOT (newFile ()), actionCollection(), "file_new");
! 	file_new->setWhatsThis(i18n("Use this command to create a new document"));
  	KAction * file_open = KStdAction::open (this, SLOT (openFile ()), actionCollection(), "file_open");
! 	file_open->setWhatsThis(i18n("Use this command to open an existing document for editing"));
  	
  	KAction * close_window = KStdAction::close (this, SLOT (close ()), actionCollection(), "file_close");
! 	close_window->setWhatsThis(i18n("Use this to close the current document"));
  
  	KAction * run_all = new KAction (i18n ("Run all"), KShortcut ("Ctrl+R"), this, SLOT (run ()), actionCollection(), "run_all" );
***************
*** 78,82 ****
  	KAction * run_selection = new KAction (i18n ("Run selection"), KShortcut ("Ctrl+E"), this, SLOT (runSelection ()), actionCollection(), "run_selection" );
  	run_selection->setWhatsThis(i18n("Use this to run the current selection"));
! 
  
  	KLibFactory *factory = KLibLoader::self()->factory( "libkatepart" );
--- 78,83 ----
  	KAction * run_selection = new KAction (i18n ("Run selection"), KShortcut ("Ctrl+E"), this, SLOT (runSelection ()), actionCollection(), "run_selection" );
  	run_selection->setWhatsThis(i18n("Use this to run the current selection"));
! 	KAction * interrupt = new KAction (i18n ("Interrupt command"), KShortcut ("Ctrl+I"), this, SLOT (interruptCommand ()), actionCollection(), "interrupt" );
! 	interrupt->setWhatsThis(i18n("Use this to interrupt the current command"));
  
  	KLibFactory *factory = KLibLoader::self()->factory( "libkatepart" );
***************
*** 167,171 ****
  }
  
! 
  
  
--- 168,175 ----
  }
  
! void RKCommandEditorWindow::interruptCommand () {
! 	RK_TRACE (COMMANDEDITOR);
! 	RKGlobals::rInterface ()->cancelCommand (user_command);
! }
  
  





More information about the rkward-tracker mailing list