rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpicosim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 604ed09603
commit 0579ae7150

@ -25,8 +25,8 @@
#include <tqlayout.h>
#include <kfiledialog.h>
CodeEditor::CodeEditor(TQWidget *tqparent, const char *name)
: TQWidget(tqparent, name)
CodeEditor::CodeEditor(TQWidget *parent, const char *name)
: TQWidget(parent, name)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this) ;

@ -30,7 +30,7 @@ class CodeEditor : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
CodeEditor(TQWidget *tqparent = 0, const char *name = 0);
CodeEditor(TQWidget *parent = 0, const char *name = 0);
~CodeEditor();
void clearExecutionMarker() ;

@ -66,9 +66,9 @@ const unsigned int id_code[] =
#define MAX_IDS ( sizeof( id_code ) / sizeof( int ) )
JTAGProgrammer::JTAGProgrammer( TQObject *tqparent )
JTAGProgrammer::JTAGProgrammer( TQObject *parent )
{
m_parent = tqparent ;
m_parent = parent ;
m_bitFilename = "" ;
m_dev = new CJTAG ;

@ -29,7 +29,7 @@ class JTAGProgrammer : public TQObject
TQ_OBJECT
public:
JTAGProgrammer( TQObject *tqparent );
JTAGProgrammer( TQObject *parent );
~JTAGProgrammer();
void setBitFile( std::string filename ) ;

@ -20,7 +20,7 @@
#include "kexportdialog.h"
#include <kfiledialog.h>
KExportDialog::KExportDialog( TQWidget *tqparent, const char *name ) : TQDialog(tqparent, name)
KExportDialog::KExportDialog( TQWidget *parent, const char *name ) : TQDialog(parent, name)
{
m_templateFile = "" ;
m_outputDir = "" ;

@ -32,7 +32,7 @@ class KExportDialog : public TQDialog
Q_OBJECT
TQ_OBJECT
public:
KExportDialog(TQWidget *tqparent = 0, const char *name = 0 );
KExportDialog(TQWidget *parent = 0, const char *name = 0 );
~KExportDialog();
void setOutputDir( TQString dir ) ;

@ -22,8 +22,8 @@
#include <kfiledialog.h>
#include <kiconloader.h>
KJTAGDialog::KJTAGDialog( TQWidget *tqparent )
: TQDialog( tqparent )
KJTAGDialog::KJTAGDialog( TQWidget *parent )
: TQDialog( parent )
{
setFixedSize( 330, 300 ) ;

@ -38,7 +38,7 @@ class KJTAGDialog : public TQDialog
Q_OBJECT
TQ_OBJECT
public:
KJTAGDialog(TQWidget *tqparent);
KJTAGDialog(TQWidget *parent);
~KJTAGDialog();
void setFilename( TQString filename ) ;

@ -21,8 +21,8 @@
#include <tqlayout.h>
#include <tqlabel.h>
KPortView::KPortView( CPicoBlaze *cpu, TQWidget *tqparent, const char *name)
: KToolBar(tqparent, name)
KPortView::KPortView( CPicoBlaze *cpu, TQWidget *parent, const char *name)
: KToolBar(parent, name)
{
m_cpu = cpu ;

@ -31,7 +31,7 @@ class KPortView : public KToolBar
Q_OBJECT
TQ_OBJECT
public:
KPortView( CPicoBlaze *cpu, TQWidget *tqparent = 0, const char *name = 0);
KPortView( CPicoBlaze *cpu, TQWidget *parent = 0, const char *name = 0);
~KPortView();
KPort * m_port ;

@ -8,7 +8,7 @@
#include <tqpopupmenu.h>
#include <tqcursor.h>
MyListView::MyListView(TQWidget *tqparent) : KListView(tqparent)
MyListView::MyListView(TQWidget *parent) : KListView(parent)
{
connect( this, TQT_SIGNAL( contextMenu( KListView *, TQListViewItem *, const TQPoint & ) ),
TQT_SLOT( slotContextMenu( KListView *, TQListViewItem *, const TQPoint & ) ) );
@ -35,8 +35,8 @@ void MyListView::mousePressEvent( TQMouseEvent * event )
}
*/
KProcessorView::KProcessorView(TQWidget *tqparent, const char *name)
: KToolBar(tqparent)
KProcessorView::KProcessorView(TQWidget *parent, const char *name)
: KToolBar(parent)
{
name = name ; // avoid compiler warning

@ -12,7 +12,7 @@ class MyListView : public KListView
Q_OBJECT
TQ_OBJECT
public:
MyListView(TQWidget *tqparent) ;
MyListView(TQWidget *parent) ;
~MyListView() ;
protected:
@ -32,7 +32,7 @@ class KProcessorView : public KToolBar
Q_OBJECT
TQ_OBJECT
public:
KProcessorView(TQWidget *tqparent = 0, const char *name = 0);
KProcessorView(TQWidget *parent = 0, const char *name = 0);
~KProcessorView();
void setRegisterValues( unsigned char *values ) ;

@ -19,8 +19,8 @@
***************************************************************************/
#include "kscratchpadview.h"
KScratchpadView::KScratchpadView( TQWidget *tqparent, const char *name)
: KToolBar(tqparent, name)
KScratchpadView::KScratchpadView( TQWidget *parent, const char *name)
: KToolBar(parent, name)
{
view = new KTextEdit( this ) ;
view->setFont( TQFont( "Courier", view->font().pointSize() ) ) ;

@ -28,7 +28,7 @@ class KScratchpadView : public KToolBar
Q_OBJECT
TQ_OBJECT
public:
KScratchpadView(TQWidget *tqparent = 0, const char *name = 0);
KScratchpadView(TQWidget *parent = 0, const char *name = 0);
~KScratchpadView();
void setContent( unsigned char *values, unsigned int len ) ;

@ -23,7 +23,7 @@
#include <tqgroupbox.h>
#include <tqframe.h>
KSerialView::KSerialView( CPicoBlaze *cpu, TQWidget * tqparent ) : TQWidget( tqparent )
KSerialView::KSerialView( CPicoBlaze *cpu, TQWidget * parent ) : TQWidget( parent )
{
m_cpu = cpu ;

@ -36,7 +36,7 @@ class KSerialWindow : public KTextEdit
TQ_OBJECT
public:
KSerialWindow( TQWidget *tqparent ) : KTextEdit( tqparent ) {
KSerialWindow( TQWidget *parent ) : KTextEdit( parent ) {
setWrapColumnOrWidth( 80 ) ; // Serial window is a terminal
setWrapPolicy( TQTextEdit::Anywhere ) ;
setWordWrap( TQTextEdit::FixedColumnWidth ) ;
@ -74,7 +74,7 @@ class KSerialView : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
KSerialView( CPicoBlaze *cpu, TQWidget *tqparent );
KSerialView( CPicoBlaze *cpu, TQWidget *parent );
~KSerialView();
KPort * rxPort, * txPort, * statusPort ;

@ -19,8 +19,8 @@
***************************************************************************/
#include "ksimulator.h"
KSimulator::KSimulator(TQObject *tqparent, const char *name )
: TQObject(tqparent, name)
KSimulator::KSimulator(TQObject *parent, const char *name )
: TQObject(parent, name)
{
m_picoBlaze = new CPicoBlaze() ;
m_assembler = new CAssembler() ;

@ -39,7 +39,7 @@ class KSimulator : public TQObject
Q_OBJECT
TQ_OBJECT
public:
KSimulator(TQObject *tqparent = 0, const char *name = 0);
KSimulator(TQObject *parent = 0, const char *name = 0);
~KSimulator();
void setFilename( string filename ) { m_assembler->setFilename( filename ) ; }

Loading…
Cancel
Save