summaryrefslogtreecommitdiffstats
path: root/src/progs/base/prog_group.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/progs/base/prog_group.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/progs/base/prog_group.h')
-rw-r--r--src/progs/base/prog_group.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/base/prog_group.h b/src/progs/base/prog_group.h
index 07807fe..f72c783 100644
--- a/src/progs/base/prog_group.h
+++ b/src/progs/base/prog_group.h
@@ -9,7 +9,7 @@
#ifndef PROG_GROUP_H
#define PROG_GROUP_H
-class QWidget;
+class TQWidget;
#include "common/common/group.h"
#include "common/port/port.h"
#include "common/common/purl_base.h"
@@ -29,8 +29,8 @@ enum Property { NoProperty = 0, Programmer = 1, Debugger = 2,
CanReleaseReset = 4, HasFirmware = 8, CanUploadFirmware = 16,
NeedDeviceSpecificFirmware = 32, HasSelfTest = 64,
CanReadMemory = 128, HasConnectedState = 256 };
-Q_DECLARE_FLAGS(Properties, Property)
-Q_DECLARE_OPERATORS_FOR_FLAGS(Properties)
+TQ_DECLARE_FLAGS(Properties, Property)
+TQ_DECLARE_OPERATORS_FOR_FLAGS(Properties)
enum TargetPowerMode { TargetPowerModeFromConfig, TargetSelfPowered, TargetExternallyPowered };
@@ -40,10 +40,10 @@ extern const PURL::FileType INPUT_FILE_TYPE_DATA[Nb_InputFileTypes];
class Group : public ::Group::Base
{
public:
- virtual QString xmlName() const { return name(); }
+ virtual TQString xmlName() const { return name(); }
virtual ::Hardware::Config *hardwareConfig() const { return 0; }
virtual Properties properties() const = 0;
- virtual QString statusLabel(PortType type) const;
+ virtual TQString statusLabel(PortType type) const;
virtual bool canReadVoltages() const = 0;
virtual TargetPowerMode targetPowerMode() const = 0;
bool isDebugger() const { return ( properties() & Debugger ); }