[rkward-cvs] rkward/rkward Makefile.am,1.55,1.56 rkward.cpp,1.89,1.90 rkward.h,1.38,1.39

Thomas Friedrichsmeier tfry at users.sourceforge.net
Wed Sep 14 12:06:03 UTC 2005


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

Modified Files:
	Makefile.am rkward.cpp rkward.h 
Log Message:
Implemented R_EditFile and R_ShowFile. Not pretty yet, but working. Some more code cleanups

Index: rkward.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkward.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** rkward.cpp	13 Sep 2005 16:08:34 -0000	1.89
--- rkward.cpp	14 Sep 2005 12:06:01 -0000	1.90
***************
*** 83,89 ****
  #define ID_R_STATUS_MSG 2
  
! 
  
  RKwardApp::RKwardApp (KURL *load_url, QWidget* , const char* name) : KMdiMainFrm (0, name, KMdi::IDEAlMode) {
  	RK_TRACE (APP);
  	RKGlobals::app = this;
--- 83,91 ----
  #define ID_R_STATUS_MSG 2
  
! #include "agents/showedittextfileagent.h"	// TODO: see below: needed purely for linking!
  
  RKwardApp::RKwardApp (KURL *load_url, QWidget* , const char* name) : KMdiMainFrm (0, name, KMdi::IDEAlMode) {
+ 	ShowEditTextFileAgent::showEditFiles (0);		// TODO: AAAAAAAARGGGH!!!! It won't link without this bogus line!!!
+ 
  	RK_TRACE (APP);
  	RKGlobals::app = this;
***************
*** 1025,1047 ****
  
  
- 
- void RKwardApp::slotEditUndo()
- {
- 	if (! activeWindow()->inherits("RKCommandEditorWindow"))
- 		return;
- 	((RKCommandEditorWindow*) activeWindow())->undo();
- }
- 
- 
- 
- void RKwardApp::slotEditRedo()
- {
- 	if (! activeWindow()->inherits("RKCommandEditorWindow"))
- 		return;
- 	((RKCommandEditorWindow*) activeWindow())->redo();
- }
- 
- 
- 
  void RKwardApp::slotViewActivated (KMdiChildView * window)
  {
--- 1027,1030 ----

Index: rkward.h
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkward.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** rkward.h	12 Sep 2005 20:39:46 -0000	1.38
--- rkward.h	14 Sep 2005 12:06:01 -0000	1.39
***************
*** 211,216 ****
  	void slotInterruptCommand();
  	void slotRunAll();
- 	void slotEditUndo();
- 	void slotEditRedo();
  	void slotViewActivated (KMdiChildView *window);
  	void slotOpenRecentCommandEditor(const KURL&);
--- 211,214 ----

Index: Makefile.am
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/Makefile.am,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** Makefile.am	13 Sep 2005 16:08:34 -0000	1.55
--- Makefile.am	14 Sep 2005 12:06:01 -0000	1.56
***************
*** 16,20 ****
  	$(LIBSOCKET) -lR -lkatepartinterfaces
  
! SUBDIRS = plugins dataeditor settings plugin rbackend scriptbackends misc core dialogs icons agents windows
  
  ##EXTRA_DIST = main.cpp rkward.cpp rkward.h rkwardui.rc rkward.desktop lo32-app-rkward.png lo16-app-rkward.png twintable.cpp twintable.h twintablemember.cpp twintablemember.h rkdrag.cpp rkdrag.h rinterface.cpp rinterface.h rkwatch.cpp rkwatch.h typeselectcell.cpp typeselectcell.h rtableitem.cpp rtableitem.h nameselectcell.cpp nameselectcell.h rkmenu.cpp rkmenu.h rkplugin.cpp rkplugin.h rkpluginwidget.cpp rkpluginwidget.h rkvarselector.cpp rkvarselector.h rkvarslot.cpp rkvarslot.h rkradio.cpp rkradio.h rktext.cpp rktext.h rcommand.cpp rcommand.h labelcell.cpp labelcell.h rembed.h rembedinternal.h phpbackend.h common.php rkoutputwindow.h rksettings.h rksettingsmodule.h rksettingsmoduleplugins.h
--- 16,21 ----
  	$(LIBSOCKET) -lR -lkatepartinterfaces
  
! SUBDIRS = plugins dataeditor settings plugin agents rbackend scriptbackends \
! 	misc core dialogs icons windows
  
  ##EXTRA_DIST = main.cpp rkward.cpp rkward.h rkwardui.rc rkward.desktop lo32-app-rkward.png lo16-app-rkward.png twintable.cpp twintable.h twintablemember.cpp twintablemember.h rkdrag.cpp rkdrag.h rinterface.cpp rinterface.h rkwatch.cpp rkwatch.h typeselectcell.cpp typeselectcell.h rtableitem.cpp rtableitem.h nameselectcell.cpp nameselectcell.h rkmenu.cpp rkmenu.h rkplugin.cpp rkplugin.h rkpluginwidget.cpp rkpluginwidget.h rkvarselector.cpp rkvarselector.h rkvarslot.cpp rkvarslot.h rkradio.cpp rkradio.h rktext.cpp rktext.h rcommand.cpp rcommand.h labelcell.cpp labelcell.h rembed.h rembedinternal.h phpbackend.h common.php rkoutputwindow.h rksettings.h rksettingsmodule.h rksettingsmoduleplugins.h





More information about the rkward-tracker mailing list