[rkward-cvs] rkward/rkward rkward.cpp,1.72,1.73 rkward.h,1.29,1.30

adrien adhardemare at users.sourceforge.net
Wed Apr 6 11:49:48 UTC 2005


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

Modified Files:
	rkward.cpp rkward.h 
Log Message:
try this : 
go to editor and type eg
adrien # how are you handling error now
example(plot)
I don't know why this hasn't been done earlier. Maybe I miss something

Index: rkward.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkward.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** rkward.cpp	5 Apr 2005 10:17:13 -0000	1.72
--- rkward.cpp	6 Apr 2005 11:49:46 -0000	1.73
***************
*** 77,81 ****
  #include "windows/rkhelpwindow.h"
  #include "khelpdlg.h"
! 
  #include "debug.h"
  
--- 77,81 ----
  #include "windows/rkhelpwindow.h"
  #include "khelpdlg.h"
! #include "rkkonsole.h"
  #include "debug.h"
  
***************
*** 214,217 ****
--- 214,221 ----
  	addToolWindow(helpDlg,KDockWidget::DockBottom, getMainDockWidget(), 10);
  	
+ 	konsole = new RKKonsole(0);
+ 	konsole->setIcon(SmallIcon("konsole"));
+ 	addToolWindow(konsole,KDockWidget::DockBottom, getMainDockWidget(), 10);
+ 	
  	
  	// just to initialize the window-actions according to whether they're shown on startup or not
***************
*** 1037,1041 ****
  		return;
  
! 	RKGlobals::rInterface ()->issueCommand (new RCommand ( ((RKCommandEditorWindow*) activeWindow())->getSelection(), RCommand::User, ""));
  }
  
--- 1041,1046 ----
  		return;
  
! // 	RKGlobals::rInterface ()->issueCommand (new RCommand ( ((RKCommandEditorWindow*) activeWindow())->getSelection(), RCommand::User, ""));
! 	konsole -> sendInput(((RKCommandEditorWindow*) activeWindow())->getSelection()  ) ;
  }
  
***************
*** 1048,1052 ****
  		return;
  		
! 	RKGlobals::rInterface ()->issueCommand (new RCommand ( ((RKCommandEditorWindow*) activeWindow())->getText(), RCommand::User, ""));
  }
  
--- 1053,1058 ----
  		return;
  		
! // 	RKGlobals::rInterface ()->issueCommand (new RCommand ( ((RKCommandEditorWindow*) activeWindow())->getText(), RCommand::User, ""));
! 	konsole->sendInput(((RKCommandEditorWindow*) activeWindow())->getText() + "\n " ) ;
  }
  

Index: rkward.h
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkward.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** rkward.h	3 Apr 2005 16:23:39 -0000	1.29
--- rkward.h	6 Apr 2005 11:49:46 -0000	1.30
***************
*** 49,53 ****
  class RKCommandEditorWindow;
  class KHelpDlg;
! 
  class QSplitter;
  
--- 49,53 ----
  class RKCommandEditorWindow;
  class KHelpDlg;
! class RKKonsole ; 
  class QSplitter;
  
***************
*** 284,287 ****
--- 284,288 ----
  	RObjectBrowser *object_browser;
  	KHelpDlg *helpDlg;
+ 	RKKonsole * konsole ;
  	
  	KURL *initial_url;





More information about the rkward-tracker mailing list