diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:48 -0600 |
commit | fe0bbe03a0fb7f514d4f0921b5e99caa654c336f (patch) | |
tree | 04970df79dbdc65b70137c249804fbebb11da9c2 /src | |
parent | d6c74708032dfcd93e0071691c02db5eaf97b313 (diff) | |
download | kpicosim-fe0bbe03a0fb7f514d4f0921b5e99caa654c336f.tar.gz kpicosim-fe0bbe03a0fb7f514d4f0921b5e99caa654c336f.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src')
-rwxr-xr-x | src/codeeditor.cpp | 6 | ||||
-rwxr-xr-x | src/kserialview.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/codeeditor.cpp b/src/codeeditor.cpp index 19c48f5..1eb5201 100755 --- a/src/codeeditor.cpp +++ b/src/codeeditor.cpp @@ -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() ; diff --git a/src/kserialview.cpp b/src/kserialview.cpp index 579313c..ae2ef4d 100755 --- a/src/kserialview.cpp +++ b/src/kserialview.cpp @@ -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 ) ; |