diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:49 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:15:18 +0200 |
commit | a3f1234ece748a30d118e4b6f8333c19505bd516 (patch) | |
tree | f86bf3eb14b004c4e2e3bf9bf36e321dee3ce6b5 /khexedit/toplevel.cc | |
parent | 632b7d40cf87562965abb5c7dffc1bae509bad2c (diff) | |
download | tdeutils-a3f1234ece748a30d118e4b6f8333c19505bd516.tar.gz tdeutils-a3f1234ece748a30d118e4b6f8333c19505bd516.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 89856e749bf14e63fed55a8f3436ea9a6f19667a)
Diffstat (limited to 'khexedit/toplevel.cc')
-rw-r--r-- | khexedit/toplevel.cc | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/khexedit/toplevel.cc b/khexedit/toplevel.cc index b8942d6..b59bbb1 100644 --- a/khexedit/toplevel.cc +++ b/khexedit/toplevel.cc @@ -755,11 +755,11 @@ void KHexEdit::cursorChanged( SCursorState &state ) } else { - SDisplayLayout &tqlayout = editor()->tqlayout(); + SDisplayLayout &layout = editor()->layout(); - if( tqlayout.offsetMode == SDisplayLayout::hexadecimal ) + if( layout.offsetMode == SDisplayLayout::hexadecimal ) { - if( tqlayout.offsetUpperCase == false ) + if( layout.offsetUpperCase == false ) { offset += TQString().sprintf( " %04x:%04x-%u", state.offset>>16, state.offset&0x0000FFFF, state.cell ); @@ -807,23 +807,23 @@ void KHexEdit::fileState( SFileState &state ) -void KHexEdit::layoutChanged( const SDisplayLayout &tqlayout ) +void KHexEdit::layoutChanged( const SDisplayLayout &layout ) { KRadioAction *radioAction; - if( tqlayout.primaryMode == SDisplayLayout::hexadecimal ) + if( layout.primaryMode == SDisplayLayout::hexadecimal ) { radioAction = mAction.hexadecimal; } - else if( tqlayout.primaryMode == SDisplayLayout::decimal ) + else if( layout.primaryMode == SDisplayLayout::decimal ) { radioAction = mAction.decimal; } - else if( tqlayout.primaryMode == SDisplayLayout::octal ) + else if( layout.primaryMode == SDisplayLayout::octal ) { radioAction = mAction.octal; } - else if( tqlayout.primaryMode == SDisplayLayout::binary ) + else if( layout.primaryMode == SDisplayLayout::binary ) { radioAction = mAction.binary; } @@ -841,15 +841,15 @@ void KHexEdit::layoutChanged( const SDisplayLayout &tqlayout ) mAction.dataUppercase->blockSignals(true); mAction.offsetUppercase->blockSignals(true); - mAction.showOffsetColumn->setChecked( tqlayout.offsetVisible ); + mAction.showOffsetColumn->setChecked( layout.offsetVisible ); mAction.showTextColumn->setEnabled( - tqlayout.primaryMode != SDisplayLayout::textOnly ); + layout.primaryMode != SDisplayLayout::textOnly ); mAction.showTextColumn->setChecked( - tqlayout.secondaryMode != SDisplayLayout::hide ); + layout.secondaryMode != SDisplayLayout::hide ); mAction.offsetAsDecimal->setChecked( - tqlayout.offsetMode != SDisplayLayout::hexadecimal); - mAction.dataUppercase->setChecked( tqlayout.primaryUpperCase ); - mAction.offsetUppercase->setChecked( tqlayout.offsetUpperCase ); + layout.offsetMode != SDisplayLayout::hexadecimal); + mAction.dataUppercase->setChecked( layout.primaryUpperCase ); + mAction.offsetUppercase->setChecked( layout.offsetUpperCase ); mAction.showOffsetColumn->blockSignals(false); mAction.showTextColumn->blockSignals(false); @@ -857,23 +857,23 @@ void KHexEdit::layoutChanged( const SDisplayLayout &tqlayout ) mAction.dataUppercase->blockSignals(false); mAction.offsetUppercase->blockSignals(false); - if( tqlayout.primaryMode == SDisplayLayout::hexadecimal ) + if( layout.primaryMode == SDisplayLayout::hexadecimal ) { statusBar()->changeItem( i18n("Hex"), status_Layout ); } - else if( tqlayout.primaryMode == SDisplayLayout::decimal ) + else if( layout.primaryMode == SDisplayLayout::decimal ) { statusBar()->changeItem( i18n("Dec"), status_Layout ); } - else if( tqlayout.primaryMode == SDisplayLayout::octal ) + else if( layout.primaryMode == SDisplayLayout::octal ) { statusBar()->changeItem( i18n("Oct"), status_Layout ); } - else if( tqlayout.primaryMode == SDisplayLayout::binary ) + else if( layout.primaryMode == SDisplayLayout::binary ) { statusBar()->changeItem( i18n("Bin"), status_Layout ); } - else if( tqlayout.primaryMode == SDisplayLayout::textOnly ) + else if( layout.primaryMode == SDisplayLayout::textOnly ) { statusBar()->changeItem( i18n("Txt"), status_Layout ); } |