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 <tqlayout.h>
#include <kfiledialog.h> #include <kfiledialog.h>
CodeEditor::CodeEditor(TQWidget *tqparent, const char *name) CodeEditor::CodeEditor(TQWidget *parent, const char *name)
: TQWidget(tqparent, name) : TQWidget(parent, name)
{ {
TQVBoxLayout *tqlayout = new TQVBoxLayout(this) ; TQVBoxLayout *tqlayout = new TQVBoxLayout(this) ;

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

@ -66,9 +66,9 @@ const unsigned int id_code[] =
#define MAX_IDS ( sizeof( id_code ) / sizeof( int ) ) #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_bitFilename = "" ;
m_dev = new CJTAG ; m_dev = new CJTAG ;

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

@ -20,7 +20,7 @@
#include "kexportdialog.h" #include "kexportdialog.h"
#include <kfiledialog.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_templateFile = "" ;
m_outputDir = "" ; m_outputDir = "" ;

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

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

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

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

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

@ -8,7 +8,7 @@
#include <tqpopupmenu.h> #include <tqpopupmenu.h>
#include <tqcursor.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 & ) ), connect( this, TQT_SIGNAL( contextMenu( KListView *, TQListViewItem *, const TQPoint & ) ),
TQT_SLOT( slotContextMenu( 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) KProcessorView::KProcessorView(TQWidget *parent, const char *name)
: KToolBar(tqparent) : KToolBar(parent)
{ {
name = name ; // avoid compiler warning name = name ; // avoid compiler warning

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

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

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

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

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

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

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

Loading…
Cancel
Save