From c550060e7f977ab7aba7fcb77b8b0a9c3aecf74a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:05:48 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit fe0bbe03a0fb7f514d4f0921b5e99caa654c336f) --- src/codeeditor.cpp | 6 +++--- 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 ) ; -- cgit v1.2.1