summaryrefslogtreecommitdiffstats
path: root/src/devices/base/device_group.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:14:26 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-27 04:09:42 +0200
commit1177a9f23b1c9929bef9464f434d82273783204c (patch)
treebb02f26d98266ad9b7501307ab3013edd1b55ea7 /src/devices/base/device_group.cpp
parentadc9148343ca4ef148414cec1a6b38eb9636c029 (diff)
downloadpiklab-1177a9f23b1c9929bef9464f434d82273783204c.tar.gz
piklab-1177a9f23b1c9929bef9464f434d82273783204c.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 9d9fe02a944fe0719c2475739411727a729251ad)
Diffstat (limited to 'src/devices/base/device_group.cpp')
-rw-r--r--src/devices/base/device_group.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/base/device_group.cpp b/src/devices/base/device_group.cpp
index 94586bd..fa26d19 100644
--- a/src/devices/base/device_group.cpp
+++ b/src/devices/base/device_group.cpp
@@ -12,16 +12,16 @@
# include <tqpainter.h>
# include <kglobal.h>
-TQColor Device::statusColor(tqStatus status)
+TQColor Device::statusColor(Status status)
{
switch (status.type()) {
- case tqStatus::Future: return TQt::blue;
- case tqStatus::InProduction: return TQt::green;
- case tqStatus::Mature:
- case tqStatus::NotRecommended: return TQColor("orange");
- case tqStatus::EOL: return TQt::red;
- case tqStatus::Unknown:
- case tqStatus::Nb_Types: break;
+ case Status::Future: return TQt::blue;
+ case Status::InProduction: return TQt::green;
+ case Status::Mature:
+ case Status::NotRecommended: return TQColor("orange");
+ case Status::EOL: return TQt::red;
+ case Status::Unknown:
+ case Status::Nb_Types: break;
}
return TQt::black;
}