summaryrefslogtreecommitdiffstats
path: root/src/devices/base/device_group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/base/device_group.h')
-rw-r--r--src/devices/base/device_group.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/base/device_group.h b/src/devices/base/device_group.h
index 087ca99..8414515 100644
--- a/src/devices/base/device_group.h
+++ b/src/devices/base/device_group.h
@@ -10,7 +10,7 @@
#define DEVICE_GROUP_H
#if !defined(NO_KDE)
-# include <qcolor.h>
+# include <tqcolor.h>
#endif
#include "generic_device.h"
@@ -35,13 +35,13 @@ class GroupBase : public ::Group::Base
{
public:
virtual Memory *createMemory(const Device::Data &data) const = 0;
- virtual QString informationHtml(const Device::Data &data) const = 0;
+ virtual TQString informationHtml(const Device::Data &data) const = 0;
#if !defined(NO_KDE)
- virtual QPixmap memoryGraph(const Device::Data &data) const = 0;
+ virtual TQPixmap memoryGraph(const Device::Data &data) const = 0;
#endif
protected:
- virtual void addDevice(const QString &name, const Device::Data *data, ::Group::Support support) {
+ virtual void addDevice(const TQString &name, const Device::Data *data, ::Group::Support support) {
const_cast<Device::Data *>(data)->_group = this;
::Group::Base::addDevice(name, data, support);
}
@@ -52,7 +52,7 @@ class Group : public GroupBase, public DataStreamer<DataType>
{
protected:
virtual void initSupported() {
- QValueList<DataType *> list = fromCppString(dataStream(), dataSize());
+ TQValueList<DataType *> list = fromCppString(dataStream(), dataSize());
for (uint i=0; i<uint(list.count()); i++) addDevice(list[i]->name(), list[i], ::Group::Support::Tested);
}
virtual uint dataSize() const = 0;
@@ -61,24 +61,24 @@ protected:
//----------------------------------------------------------------------------
#if !defined(NO_KDE)
-extern QColor statusColor(Status status);
-extern QPixmap vddGraph(const QString &xLabel, const QString &yLabel, const QValueVector<RangeBox> &boxes);
+extern TQColor statusColor(tqStatus status);
+extern TQPixmap vddGraph(const TQString &xLabel, const TQString &yLabel, const TQValueVector<RangeBox> &boxes);
extern const Package *barPackage(const char *name, const Data &data);
-extern QPixmap pinsGraph(const Package &package);
+extern TQPixmap pinsGraph(const Package &package);
-extern QString htmlInfo(const Data &data, const QString &deviceHref, const QString &documentHtml);
-extern QString htmlPinDiagrams(const Device::Data &data, const QString &imagePrefix, QMimeSourceFactory *msf);
-extern QString htmlVoltageFrequencyGraphs(const Device::Data &data, const QString &imagePrefix, QMimeSourceFactory *msf);
+extern TQString htmlInfo(const Data &data, const TQString &deviceHref, const TQString &documentHtml);
+extern TQString htmlPinDiagrams(const Device::Data &data, const TQString &imagePrefix, TQMimeSourceFactory *msf);
+extern TQString htmlVoltageFrequencyGraphs(const Device::Data &data, const TQString &imagePrefix, TQMimeSourceFactory *msf);
class MemoryGraphData
{
public:
Address startAddress, endAddress;
- QString start, end, label;
+ TQString start, end, label;
int height;
bool operator <(const MemoryGraphData &data) const { return ( startAddress < data.startAddress ); }
};
-extern QPixmap memoryGraph(const QValueList<MemoryGraphData> &ranges);
+extern TQPixmap memoryGraph(const TQValueList<MemoryGraphData> &ranges);
#endif