summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2/base/pickit2_prog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/pickit2/base/pickit2_prog.h')
-rw-r--r--src/progs/pickit2/base/pickit2_prog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/progs/pickit2/base/pickit2_prog.h b/src/progs/pickit2/base/pickit2_prog.h
index 5a67e2a..31efb44 100644
--- a/src/progs/pickit2/base/pickit2_prog.h
+++ b/src/progs/pickit2/base/pickit2_prog.h
@@ -18,6 +18,7 @@ namespace Pickit2
class Base : public Pickit::Base
{
Q_OBJECT
+ TQ_OBJECT
public:
Base(const Programmer::Group &group, const Pic::Data *data) : Pickit::Base(group, data) {}
virtual bool deviceHasOsccalRegeneration() const;
@@ -33,8 +34,8 @@ private:
class Group : public Pickit::Group
{
public:
- virtual QString name() const { return "pickit2"; }
- virtual QString label() const { return i18n("PICkit2 Firmware 1.x"); }
+ virtual TQString name() const { return "pickit2"; }
+ virtual TQString label() const { return i18n("PICkit2 Firmware 1.x"); }
virtual Programmer::Properties properties() const { return ::Programmer::Programmer | ::Programmer::HasFirmware | ::Programmer::CanUploadFirmware | ::Programmer::CanReadMemory | ::Programmer::HasConnectedState; }
virtual bool canReadVoltage(Pic::VoltageType type) const { return ( type==Pic::TargetVdd || type==Pic::TargetVpp ); }