From a0fd5320de07548880320658c17501c54c8a3beb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:01:05 -0600 Subject: Remove spurious TQ_OBJECT instances --- src/electronics/component.h | 2 +- src/electronics/components/ecsubcircuit.h | 2 +- src/electronics/components/piccomponent.h | 2 +- src/electronics/ecnode.h | 2 +- src/electronics/gpsimprocessor.h | 6 +++--- src/electronics/subcircuits.h | 2 +- src/electronics/switch.h | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/electronics') diff --git a/src/electronics/component.h b/src/electronics/component.h index a2b215f..5217c7f 100644 --- a/src/electronics/component.h +++ b/src/electronics/component.h @@ -76,7 +76,7 @@ typedef TQValueList ElementMapList; class Component : public CNItem { Q_OBJECT - TQ_OBJECT + public: Component( ICNDocument *icnDocument, bool newItem, const TQString &id ); virtual ~Component(); diff --git a/src/electronics/components/ecsubcircuit.h b/src/electronics/components/ecsubcircuit.h index 7bc9655..89f2a41 100644 --- a/src/electronics/components/ecsubcircuit.h +++ b/src/electronics/components/ecsubcircuit.h @@ -22,7 +22,7 @@ class ECSubcircuit : public Component { Q_OBJECT - TQ_OBJECT + public: ECSubcircuit( ICNDocument *icnDocument, bool newItem, const char *id = 0L ); ~ECSubcircuit(); diff --git a/src/electronics/components/piccomponent.h b/src/electronics/components/piccomponent.h index d5e668d..330fbf9 100644 --- a/src/electronics/components/piccomponent.h +++ b/src/electronics/components/piccomponent.h @@ -41,7 +41,7 @@ typedef TQMap< int, PICComponentPin * > PICComponentPinMap; class PICComponent : public Component { Q_OBJECT - TQ_OBJECT + public: PICComponent( ICNDocument * icnDocument, bool newItem, const char *id = 0L ); ~PICComponent(); diff --git a/src/electronics/ecnode.h b/src/electronics/ecnode.h index b75e945..0306749 100644 --- a/src/electronics/ecnode.h +++ b/src/electronics/ecnode.h @@ -32,7 +32,7 @@ typedef TQValueVector PinVector; class ECNode : public Node { Q_OBJECT - TQ_OBJECT + public: ECNode( ICNDocument *icnDocument, Node::node_type type, node_dir dir, const TQPoint &pos, TQString *id = 0L ); ~ECNode(); diff --git a/src/electronics/gpsimprocessor.h b/src/electronics/gpsimprocessor.h index e2f0e4c..aae2605 100644 --- a/src/electronics/gpsimprocessor.h +++ b/src/electronics/gpsimprocessor.h @@ -72,7 +72,7 @@ class DebugLine : public SourceLine class RegisterInfo : public TQObject { Q_OBJECT - TQ_OBJECT + public: RegisterInfo( Register * reg ); @@ -142,7 +142,7 @@ class GpsimDebugger : public TQObject { friend class GpsimProcessor; Q_OBJECT - TQ_OBJECT + public: enum Type @@ -247,7 +247,7 @@ class GpsimProcessor : public TQObject { friend class GpsimDebugger; Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/electronics/subcircuits.h b/src/electronics/subcircuits.h index af56b00..7fdc1e1 100644 --- a/src/electronics/subcircuits.h +++ b/src/electronics/subcircuits.h @@ -25,7 +25,7 @@ Interface for dealing with loading / saving / etc of subcircuits class Subcircuits : public TQObject { Q_OBJECT - TQ_OBJECT + public: ~Subcircuits(); /** diff --git a/src/electronics/switch.h b/src/electronics/switch.h index cd1cf4c..4f5b542 100644 --- a/src/electronics/switch.h +++ b/src/electronics/switch.h @@ -26,7 +26,7 @@ class TQTimer; class Switch : public TQObject { Q_OBJECT - TQ_OBJECT + public: enum State -- cgit v1.2.3