diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:05:48 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-07-31 02:21:58 +0200 |
commit | c550060e7f977ab7aba7fcb77b8b0a9c3aecf74a (patch) | |
tree | 4a1761d6b9ccc6e2b8b97158749b181dc6145d1d | |
parent | 7aeaea8c78498645c4a0871a0b63b9481a02242d (diff) | |
download | kpicosim-c550060e7f977ab7aba7fcb77b8b0a9c3aecf74a.tar.gz kpicosim-c550060e7f977ab7aba7fcb77b8b0a9c3aecf74a.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit fe0bbe03a0fb7f514d4f0921b5e99caa654c336f)
-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 ) ; |