[rkward-cvs] rkward/rkward rkconsole.cpp,1.8,1.9 rkconsole.h,1.6,1.7

Pierre ecoch at users.sourceforge.net
Thu May 5 20:20:51 UTC 2005


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

Modified Files:
	rkconsole.cpp rkconsole.h 
Log Message:
Using KTextEdit instead of QTextEdit.

Index: rkconsole.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkconsole.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** rkconsole.cpp	24 Apr 2005 16:16:09 -0000	1.8
--- rkconsole.cpp	5 May 2005 20:20:49 -0000	1.9
***************
*** 35,39 ****
  
  RKConsole::RKConsole(QWidget *parent, const char *name)
!  : QTextEdit(parent, name)
  {
  	QFont font ("Courier");
--- 35,39 ----
  
  RKConsole::RKConsole(QWidget *parent, const char *name)
!  : KTextEdit(parent, name)
  {
  	QFont font ("Courier");
***************
*** 95,99 ****
  	}
  	
! 	QTextEdit::keyPressEvent( e );
  }
  
--- 95,99 ----
  	}
  	
! 	KTextEdit::keyPressEvent( e );
  }
  
***************
*** 258,262 ****
  void RKConsole::clear()
  {
! 	QTextEdit::clear();
  	newLine();
  	
--- 258,262 ----
  void RKConsole::clear()
  {
! 	KTextEdit::clear();
  	newLine();
  	

Index: rkconsole.h
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkconsole.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** rkconsole.h	24 Apr 2005 16:16:09 -0000	1.6
--- rkconsole.h	5 May 2005 20:20:49 -0000	1.7
***************
*** 18,22 ****
  #define RKCONSOLE_H
  
! #include <qtextedit.h>
  #include <qptrlist.h>
  
--- 18,22 ----
  #define RKCONSOLE_H
  
! #include <ktextedit.h>
  #include <qptrlist.h>
  
***************
*** 30,41 ****
  **
  ** This class provides a console, which is very similar to the classic R console. It is mainly used by RKwatch to allow
! ** the user to enter commands manualy. It is basically just a modified QTextEdit.
  ** 
! ** \sa RKwatch, QTextEdit
  ** 
  ** @author Pierre Ecochard
  **/
  
! class RKConsole : public QTextEdit, public RCommandReceiver {
  Q_OBJECT
  public:
--- 30,41 ----
  **
  ** This class provides a console, which is very similar to the classic R console. It is mainly used by RKwatch to allow
! ** the user to enter commands manualy. It is basically just a modified KTextEdit.
  ** 
! ** \sa RKwatch, KTextEdit
  ** 
  ** @author Pierre Ecochard
  **/
  
! class RKConsole : public KTextEdit, public RCommandReceiver {
  Q_OBJECT
  public:





More information about the rkward-tracker mailing list