diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | d98fea1f859d23e1b1220a65d7a8eda3b757fd08 (patch) | |
tree | a7e6a450baf5017f93f73636f9e8f9b5e9a56f05 /src/devices/pic/gui/pic_memory_editor.cpp | |
parent | 704123e8152edcd80447659317f1c8b31a1576e6 (diff) | |
download | piklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.tar.gz piklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/devices/pic/gui/pic_memory_editor.cpp')
-rw-r--r-- | src/devices/pic/gui/pic_memory_editor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/pic/gui/pic_memory_editor.cpp b/src/devices/pic/gui/pic_memory_editor.cpp index 50f686a..bb06f3d 100644 --- a/src/devices/pic/gui/pic_memory_editor.cpp +++ b/src/devices/pic/gui/pic_memory_editor.cpp @@ -220,14 +220,14 @@ void Pic::MemoryRangeEditor::updateDisplay() void Pic::MemoryRangeEditor::updateAddressColor(uint i, Address address) { - if ( _codeProtected.tqcontains(address) ) + if ( _codeProtected.contains(address) ) _addresses[i]->setPaletteBackgroundColor(MemoryEditorLegend::protectedColor()); else _addresses[i]->unsetPalette(); _blocks[i]->unsetPalette(); if ( type()==MemoryRangeType::Code ) { - if ( _bootRange.tqcontains(address) ) _blocks[i]->setPaletteBackgroundColor(MemoryEditorLegend::bootColor()); + if ( _bootRange.contains(address) ) _blocks[i]->setPaletteBackgroundColor(MemoryEditorLegend::bootColor()); else for (uint k=0; k<_blockRanges.count(); k++) { - if ( !_blockRanges[k].tqcontains(address) ) continue; + if ( !_blockRanges[k].contains(address) ) continue; _blocks[i]->setPaletteBackgroundColor(MemoryEditorLegend::blockColor(k)); break; } |