diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:05:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:05:21 -0600 |
commit | 6f617c4181afa90f3eba14139d4f92eb98834899 (patch) | |
tree | 8b1b3f1b1834eeca086e1b6948e926d726f3b025 /src/devices/gui/register_view.cpp | |
parent | b42d04f596e5440b17d954ba9e24d55368030120 (diff) | |
download | piklab-6f617c4181afa90f3eba14139d4f92eb98834899.tar.gz piklab-6f617c4181afa90f3eba14139d4f92eb98834899.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/devices/gui/register_view.cpp')
-rw-r--r-- | src/devices/gui/register_view.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/gui/register_view.cpp b/src/devices/gui/register_view.cpp index bd444c9..a290508 100644 --- a/src/devices/gui/register_view.cpp +++ b/src/devices/gui/register_view.cpp @@ -12,8 +12,8 @@ #include "libgui/gui_debug_manager.h" //---------------------------------------------------------------------------- -Register::PortBitListViewItem::PortBitListViewItem(uint index, uint bit, KListViewItem *parent) - : KListViewItem(parent), _index(index), _bit(bit) +Register::PortBitListViewItem::PortBitListViewItem(uint index, uint bit, TDEListViewItem *parent) + : TDEListViewItem(parent), _index(index), _bit(bit) { const Device::RegistersData *rdata = Main::deviceData()->registersData(); setText(1, rdata->portBitName(_index, _bit)); @@ -53,7 +53,7 @@ void Register::PortBitListViewItem::paintCell(TQPainter *p, const TQColorGroup & const TQMap<uint, Device::PortBitData> &odata = Register::list().oldPortData(_index); bool changed = ( !data.isEmpty() && data[_bit]!=odata[_bit] ); if ( column==2 && changed ) ncg.setColor(TQColorGroup::Text, red); - KListViewItem::paintCell(p, ncg, column, width, align); + TDEListViewItem::paintCell(p, ncg, column, width, align); } TQString Register::PortBitListViewItem::tooltip(int col) const @@ -75,7 +75,7 @@ TQString Register::PortBitListViewItem::tooltip(int col) const } //----------------------------------------------------------------------------- -Register::ListViewItem::ListViewItem(const TypeData &data, KListViewItem *parent) +Register::ListViewItem::ListViewItem(const TypeData &data, TDEListViewItem *parent) : EditListViewItem(parent), _data(data), _base(NumberBase::Hex) { setSelectable(false); |