diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:27 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:27 -0600 |
| commit | 9d6927a7d6a543332f828bffedf65eecf6774c6d (patch) | |
| tree | 9f8210096908fddb7d266b477152021c45fa1a00 /src/devices/base/generic_device.h | |
| parent | 3534213800bd8d151759df307755f2bbd592dfa1 (diff) | |
| download | piklab-9d6927a7d6a543332f828bffedf65eecf6774c6d.tar.gz piklab-9d6927a7d6a543332f828bffedf65eecf6774c6d.zip | |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/devices/base/generic_device.h')
| -rw-r--r-- | src/devices/base/generic_device.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/base/generic_device.h b/src/devices/base/generic_device.h index 73f9b15..373601c 100644 --- a/src/devices/base/generic_device.h +++ b/src/devices/base/generic_device.h @@ -19,9 +19,9 @@ namespace Device { //---------------------------------------------------------------------------- -BEGIN_DECLARE_ENUM(tqStatus) +BEGIN_DECLARE_ENUM(Status) InProduction = 0, Future, NotRecommended, EOL, Unknown, Mature -END_DECLARE_ENUM_STD(tqStatus) +END_DECLARE_ENUM_STD(Status) BEGIN_DECLARE_ENUM(MemoryTechnology) Flash = 0, Eprom, Rom, Romless @@ -70,7 +70,7 @@ public: enum { MAX_NB = 9 }; struct TypeData { const char *name, *label; - Shape tqshape; + Shape shape; uint nbPins[MAX_NB]; }; static const TypeData TYPE_DATA[]; @@ -121,7 +121,7 @@ public: virtual TQString name() const { return _name; } virtual TQString fname(Special) const { return _name; } virtual TQString listViewGroup() const = 0; - tqStatus status() const { return _status; } + Status status() const { return _status; } const Documents &documents() const { return _documents; } const TQStringList &alternatives() const { return _alternatives; } MemoryTechnology memoryTechnology() const { return _memoryTechnology; } @@ -141,7 +141,7 @@ protected: TQString _name; Documents _documents; TQStringList _alternatives; - tqStatus _status; + Status _status; TQValueVector<FrequencyRange> _frequencyRanges; MemoryTechnology _memoryTechnology; RegistersData *_registersData; |
