Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent d6c7470803
commit fe0bbe03a0

@ -28,7 +28,7 @@
CodeEditor::CodeEditor(TQWidget *parent, const char *name)
: TQWidget(parent, name)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this) ;
TQVBoxLayout *layout = new TQVBoxLayout(this) ;
KLibFactory *factory = KLibLoader::self()->factory( "libkatepart" ) ;
m_doc = ( Kate::Document* ) factory->create( 0L, "kate", "KTextEditor::Document" ) ;
@ -37,7 +37,7 @@ CodeEditor::CodeEditor(TQWidget *parent, const char *name)
connect( m_view, TQT_SIGNAL(cursorPositionChanged()), this, TQT_SLOT(slotCursorPositionChanged()) );
tqlayout->addWidget( m_view ) ;
layout->addWidget( m_view ) ;
m_exeLine = 0 ;
m_filename = "" ;
@ -56,7 +56,7 @@ CodeEditor::CodeEditor(TQWidget *parent, const char *name)
m_statusBar = new KStatusBar( this ) ;
tqlayout->addWidget( m_statusBar ) ;
layout->addWidget( m_statusBar ) ;
m_statusBar->insertItem( "", 0, 0, true ) ;
slotCursorPositionChanged() ;

@ -40,9 +40,9 @@ KSerialView::KSerialView( CPicoBlaze *cpu, TQWidget * parent ) : TQWidget( paren
TQWidget *settings = new TQWidget( this ) ;
settings->setMinimumSize( 90, 90 ) ;
TQVBoxLayout *tqlayout = new TQVBoxLayout( this ) ;
tqlayout->addWidget( view ) ;
tqlayout->addWidget( settings ) ;
TQVBoxLayout *layout = new TQVBoxLayout( this ) ;
layout->addWidget( view ) ;
layout->addWidget( settings ) ;
TQGroupBox *groupBox = new TQGroupBox( "Serial Settings", settings ) ;
groupBox->setFixedSize( 200, 80 ) ;

Loading…
Cancel
Save