From 377a74382c0f10b2d3ec30d9b2337e8409bec58f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 12:35:00 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro --- src/canvasitemparts.h | 8 ++++---- src/canvasmanipulator.h | 2 +- src/circuitdocument.h | 2 +- src/circuitview.h | 2 +- src/cnitem.h | 2 +- src/cnitemgroup.h | 2 +- src/connector.h | 2 +- src/debugmanager.h | 2 +- src/docmanager.h | 2 +- src/document.h | 2 +- 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 +- src/filemetainfo.h | 2 +- src/flowcodedocument.h | 2 +- src/flowcodeview.h | 2 +- src/flowcontainer.h | 2 +- src/flowparts/flowpart.h | 2 +- src/flowparts/pinmapping.h | 6 +++--- src/fpnode.h | 2 +- src/gui/colorcombo.h | 2 +- src/gui/contexthelp.h | 2 +- src/gui/doublespinbox.h | 2 +- src/gui/itemeditor.h | 2 +- src/gui/itemselector.h | 8 ++++---- src/gui/logview.h | 2 +- src/gui/microselectwidget.h | 2 +- src/gui/microsettingsdlg.h | 2 +- src/gui/newfiledlg.h | 2 +- src/gui/orientationwidget.h | 2 +- src/gui/oscilloscope.h | 2 +- src/gui/oscilloscopeview.h | 2 +- src/gui/outputmethoddlg.h | 2 +- src/gui/pieditor.h | 16 ++++++++-------- src/gui/plvitem.h | 2 +- src/gui/probepositioner.h | 2 +- src/gui/programmerdlg.h | 2 +- src/gui/projectdlgs.h | 6 +++--- src/gui/propertieslistview.h | 2 +- src/gui/settingsdlg.h | 2 +- src/gui/symbolviewer.h | 4 ++-- src/icndocument.h | 2 +- src/icnview.h | 2 +- src/item.h | 2 +- src/itemdocument.h | 4 ++-- src/itemgroup.h | 2 +- src/iteminterface.h | 2 +- src/itemview.h | 4 ++-- src/katemdi.h | 12 ++++++------ src/ktechlab.h | 2 +- src/languages/externallanguage.h | 2 +- src/languages/language.h | 4 ++-- src/languages/languagemanager.h | 2 +- src/languages/processchain.h | 4 ++-- src/mechanics/mechanicsdocument.h | 2 +- src/mechanics/mechanicsgroup.h | 2 +- src/mechanics/mechanicsitem.h | 2 +- src/mechanics/mechanicssimulation.h | 2 +- src/mechanics/mechanicsview.h | 2 +- src/microsettings.h | 4 ++-- src/node.h | 2 +- src/nodegroup.h | 2 +- src/oscilloscopedata.h | 2 +- src/picitem.h | 4 ++-- src/projectmanager.h | 4 ++-- src/recentfilesaction.h | 2 +- src/resizeoverlay.h | 10 +++++----- src/simulator.h | 2 +- src/textdocument.h | 2 +- src/textview.h | 4 ++-- src/variablelabel.h | 2 +- src/variant.h | 2 +- src/view.h | 4 ++-- src/viewcontainer.h | 4 ++-- 78 files changed, 117 insertions(+), 117 deletions(-) diff --git a/src/canvasitemparts.h b/src/canvasitemparts.h index 4f97869..1ac58da 100644 --- a/src/canvasitemparts.h +++ b/src/canvasitemparts.h @@ -25,7 +25,7 @@ class TQString; class GuiPart : public TQObject, public TQCanvasRectangle { - Q_OBJECT + TQ_OBJECT public: /** @@ -94,7 +94,7 @@ class GuiPart : public TQObject, public TQCanvasRectangle */ class Text : public GuiPart { - Q_OBJECT + TQ_OBJECT public: Text( const TQString &text, CNItem *parent, const TQRect & r, TQCanvas * canvas, int flags = TQt::AlignHCenter | TQt::AlignVCenter ); @@ -205,7 +205,7 @@ class ToolButton : public TQToolButton */ class Button : public Widget { - Q_OBJECT + TQ_OBJECT public: Button( const TQString & id, CNItem *parent, bool isToggle, const TQRect & r, TQCanvas * canvas ); @@ -261,7 +261,7 @@ class SliderWidget : public TQSlider */ class Slider : public Widget { - Q_OBJECT + TQ_OBJECT public: Slider( const TQString & id, CNItem *parent, const TQRect & r, TQCanvas * canvas ); diff --git a/src/canvasmanipulator.h b/src/canvasmanipulator.h index 7ba3b8a..5199f39 100644 --- a/src/canvasmanipulator.h +++ b/src/canvasmanipulator.h @@ -68,7 +68,7 @@ Handles canvas manipulation, such as moving an item or resizing the canvas */ class CMManager : public TQObject { -Q_OBJECT +TQ_OBJECT public: enum EventState diff --git a/src/circuitdocument.h b/src/circuitdocument.h index f9942c2..dceb1d7 100644 --- a/src/circuitdocument.h +++ b/src/circuitdocument.h @@ -61,7 +61,7 @@ information from those simulations back on the ICNDocument */ class CircuitDocument : public ICNDocument { - Q_OBJECT + TQ_OBJECT public: CircuitDocument( const TQString &caption, KTechlab *ktechlab, const char *name = 0L ); diff --git a/src/circuitview.h b/src/circuitview.h index e6056ca..9d6b51e 100644 --- a/src/circuitview.h +++ b/src/circuitview.h @@ -20,7 +20,7 @@ class CircuitDocument; */ class CircuitView : public ICNView { -Q_OBJECT +TQ_OBJECT public: CircuitView( CircuitDocument *circuitDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0l ); diff --git a/src/cnitem.h b/src/cnitem.h index bdcc299..c306d71 100644 --- a/src/cnitem.h +++ b/src/cnitem.h @@ -57,7 +57,7 @@ saving and editing of associated data, cutting / copying, etc) */ class CNItem : public Item, public CIWidgetMgr { -Q_OBJECT +TQ_OBJECT public: CNItem( ICNDocument *_icnView, bool newItem, const TQString &id ); diff --git a/src/cnitemgroup.h b/src/cnitemgroup.h index ba89638..7406a9a 100644 --- a/src/cnitemgroup.h +++ b/src/cnitemgroup.h @@ -36,7 +36,7 @@ typedef TQValueList > ConnectorList; */ class CNItemGroup : public ItemGroup { -Q_OBJECT +TQ_OBJECT public: CNItemGroup( ICNDocument *icnDocument, const char *name = 0 ); diff --git a/src/connector.h b/src/connector.h index 1af54a3..92426b7 100644 --- a/src/connector.h +++ b/src/connector.h @@ -36,7 +36,7 @@ typedef TQValueVector > WireVector; */ class Connector : public TQObject, public TQCanvasPolygon { -Q_OBJECT +TQ_OBJECT public: Connector( Node * startNode, Node * endNode, ICNDocument *_ICNDocument, TQString *id = 0L ); diff --git a/src/debugmanager.h b/src/debugmanager.h index 00d6c5f..60a7aac 100644 --- a/src/debugmanager.h +++ b/src/debugmanager.h @@ -30,7 +30,7 @@ typedef TQValueList< TQGuardedPtr > GpsimProcessorList; */ class DebugManager : public TQObject { - Q_OBJECT + TQ_OBJECT public: static DebugManager * self(); diff --git a/src/docmanager.h b/src/docmanager.h index c6b28ec..1df3678 100644 --- a/src/docmanager.h +++ b/src/docmanager.h @@ -36,7 +36,7 @@ typedef TQValueList TDEActionList; */ class DocManager : public TQObject { -Q_OBJECT +TQ_OBJECT public: static DocManager * self( KTechlab * ktechlab = 0l ); diff --git a/src/document.h b/src/document.h index 1dc7b59..2e1219e 100644 --- a/src/document.h +++ b/src/document.h @@ -28,7 +28,7 @@ typedef TQValueList > ViewList; */ class Document : public TQObject { -Q_OBJECT +TQ_OBJECT public: enum DocumentType diff --git a/src/electronics/component.h b/src/electronics/component.h index 5217c7f..f1cdb2e 100644 --- a/src/electronics/component.h +++ b/src/electronics/component.h @@ -75,7 +75,7 @@ typedef TQValueList ElementMapList; */ class Component : public CNItem { - Q_OBJECT + TQ_OBJECT public: Component( ICNDocument *icnDocument, bool newItem, const TQString &id ); diff --git a/src/electronics/components/ecsubcircuit.h b/src/electronics/components/ecsubcircuit.h index 89f2a41..4c19e63 100644 --- a/src/electronics/components/ecsubcircuit.h +++ b/src/electronics/components/ecsubcircuit.h @@ -21,7 +21,7 @@ */ class ECSubcircuit : public Component { -Q_OBJECT +TQ_OBJECT public: ECSubcircuit( ICNDocument *icnDocument, bool newItem, const char *id = 0L ); diff --git a/src/electronics/components/piccomponent.h b/src/electronics/components/piccomponent.h index 5bf4ac8..9625bfd 100644 --- a/src/electronics/components/piccomponent.h +++ b/src/electronics/components/piccomponent.h @@ -42,7 +42,7 @@ typedef TQMap< int, PICComponentPin * > PICComponentPinMap; */ class PICComponent : public Component { - Q_OBJECT + TQ_OBJECT public: PICComponent( ICNDocument * icnDocument, bool newItem, const char *id = 0L ); diff --git a/src/electronics/ecnode.h b/src/electronics/ecnode.h index 0306749..04665f5 100644 --- a/src/electronics/ecnode.h +++ b/src/electronics/ecnode.h @@ -31,7 +31,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 ); diff --git a/src/electronics/gpsimprocessor.h b/src/electronics/gpsimprocessor.h index 6337300..0e42246 100644 --- a/src/electronics/gpsimprocessor.h +++ b/src/electronics/gpsimprocessor.h @@ -73,7 +73,7 @@ class DebugLine : public SourceLine */ class RegisterInfo : public TQObject { - Q_OBJECT + TQ_OBJECT public: RegisterInfo( Register * reg ); @@ -143,7 +143,7 @@ class RegisterSet class GpsimDebugger : public TQObject { friend class GpsimProcessor; - Q_OBJECT + TQ_OBJECT public: @@ -248,7 +248,7 @@ class GpsimDebugger : public TQObject 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 acbaf90..df2e991 100644 --- a/src/electronics/subcircuits.h +++ b/src/electronics/subcircuits.h @@ -24,7 +24,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 4f5b542..b2e94e2 100644 --- a/src/electronics/switch.h +++ b/src/electronics/switch.h @@ -25,7 +25,7 @@ class TQTimer; */ class Switch : public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/filemetainfo.h b/src/filemetainfo.h index 6fed08b..194397e 100644 --- a/src/filemetainfo.h +++ b/src/filemetainfo.h @@ -81,7 +81,7 @@ Looks after per-file metainfo; e.g. bookmarks, breakpoints, compiling options, e */ class FileMetaInfo : public TQObject { - Q_OBJECT + TQ_OBJECT public: ~FileMetaInfo(); diff --git a/src/flowcodedocument.h b/src/flowcodedocument.h index 0f89623..b29850c 100644 --- a/src/flowcodedocument.h +++ b/src/flowcodedocument.h @@ -33,7 +33,7 @@ typedef TQMap StringIntMap; */ class FlowCodeDocument : public ICNDocument { - Q_OBJECT + TQ_OBJECT public: FlowCodeDocument( const TQString &caption, KTechlab *ktechlab, const char *name = 0L); diff --git a/src/flowcodeview.h b/src/flowcodeview.h index 26dfff1..913d7dc 100644 --- a/src/flowcodeview.h +++ b/src/flowcodeview.h @@ -20,7 +20,7 @@ class FlowCodeDocument; */ class FlowCodeView : public ICNView { - Q_OBJECT + TQ_OBJECT public: FlowCodeView( FlowCodeDocument *flowCodeDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0l ); diff --git a/src/flowcontainer.h b/src/flowcontainer.h index 6369ecf..a26afad 100644 --- a/src/flowcontainer.h +++ b/src/flowcontainer.h @@ -20,7 +20,7 @@ class RectangularOverlay; */ class FlowContainer : public FlowPart { -Q_OBJECT +TQ_OBJECT public: FlowContainer( ICNDocument *_icnView, bool newItem, const TQString &id ); diff --git a/src/flowparts/flowpart.h b/src/flowparts/flowpart.h index 3523b4e..2b3be1d 100644 --- a/src/flowparts/flowpart.h +++ b/src/flowparts/flowpart.h @@ -33,7 +33,7 @@ that you should reinherit for generating the assembly code. */ class FlowPart : public CNItem { -Q_OBJECT +TQ_OBJECT public: enum FlowSymbol diff --git a/src/flowparts/pinmapping.h b/src/flowparts/pinmapping.h index c1f278c..3ba3f51 100644 --- a/src/flowparts/pinmapping.h +++ b/src/flowparts/pinmapping.h @@ -70,7 +70,7 @@ Dialog for editing a Pin Mapping */ class PinMapEditor : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: PinMapEditor( PinMapping * PinMapping, MicroInfo * Info, TQWidget * parent, const char * name ); @@ -93,7 +93,7 @@ For use with FlowParts that require a pin map (e.g. Keypad and Seven Segment). */ class PinMapDocument : public ICNDocument { - Q_OBJECT + TQ_OBJECT public: PinMapDocument(); @@ -121,7 +121,7 @@ class PinMapDocument : public ICNDocument */ class PinMapView : public ICNView { - Q_OBJECT + TQ_OBJECT public: PinMapView( PinMapDocument * pinMapDocument, ViewContainer * viewContainer, uint viewAreaId, const char * name = 0l ); diff --git a/src/fpnode.h b/src/fpnode.h index 43b670c..bbf3b9a 100644 --- a/src/fpnode.h +++ b/src/fpnode.h @@ -25,7 +25,7 @@ always valid (eg not more than two outputs from one node, which makes no sense) */ class FPNode : public Node { -Q_OBJECT +TQ_OBJECT public: FPNode( ICNDocument *_icnView, Node::node_type type, node_dir dir, const TQPoint &pos, TQString *id = 0L ); diff --git a/src/gui/colorcombo.h b/src/gui/colorcombo.h index 40ce598..037d860 100644 --- a/src/gui/colorcombo.h +++ b/src/gui/colorcombo.h @@ -22,7 +22,7 @@ which colours are displayed to be changed. */ class ColorCombo : public TQComboBox { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQColor color READ color WRITE setColor ) diff --git a/src/gui/contexthelp.h b/src/gui/contexthelp.h index 452e39f..0b31db4 100644 --- a/src/gui/contexthelp.h +++ b/src/gui/contexthelp.h @@ -29,7 +29,7 @@ in a ICNDocument. */ class ContextHelp : public TQWidget { - Q_OBJECT + TQ_OBJECT public: static ContextHelp * self( KateMDI::ToolView * parent = 0l ); diff --git a/src/gui/doublespinbox.h b/src/gui/doublespinbox.h index 079f2b5..4607ec8 100644 --- a/src/gui/doublespinbox.h +++ b/src/gui/doublespinbox.h @@ -22,7 +22,7 @@ spin box plus the SI magnitude symbol it is showing */ class DoubleSpinBox : public TQSpinBox { - Q_OBJECT + TQ_OBJECT public: DoubleSpinBox( double lower, double upper, double minAbs, double value, const TQString & unit, TQWidget * parent = 0 ); diff --git a/src/gui/itemeditor.h b/src/gui/itemeditor.h index 998a120..47fac35 100644 --- a/src/gui/itemeditor.h +++ b/src/gui/itemeditor.h @@ -35,7 +35,7 @@ namespace KateMDI { class ToolView; } */ class ItemEditor : public TQWidget { - Q_OBJECT + TQ_OBJECT public: static ItemEditor * self( KateMDI::ToolView * parent = 0l ); diff --git a/src/gui/itemselector.h b/src/gui/itemselector.h index 18cf387..0d7e61f 100644 --- a/src/gui/itemselector.h +++ b/src/gui/itemselector.h @@ -57,7 +57,7 @@ class ILVItem : public TQObject, public TDEListViewItem */ class ItemSelector : public TDEListView { - Q_OBJECT + TQ_OBJECT public: ItemSelector( TQWidget *parent, const char *name ); @@ -121,7 +121,7 @@ class ItemSelector : public TDEListView */ class ComponentSelector : public ItemSelector { - Q_OBJECT + TQ_OBJECT public: static ComponentSelector * self( KateMDI::ToolView * parent = 0l ); @@ -139,7 +139,7 @@ class ComponentSelector : public ItemSelector */ class FlowPartSelector : public ItemSelector { - Q_OBJECT + TQ_OBJECT public: static FlowPartSelector * self( KateMDI::ToolView * parent = 0l ); @@ -156,7 +156,7 @@ class FlowPartSelector : public ItemSelector */ class MechanicsSelector : public ItemSelector { - Q_OBJECT + TQ_OBJECT public: static MechanicsSelector * self( KateMDI::ToolView * parent = 0l ); diff --git a/src/gui/logview.h b/src/gui/logview.h index bdbef38..52a627b 100644 --- a/src/gui/logview.h +++ b/src/gui/logview.h @@ -41,7 +41,7 @@ Base class for logviews (eg GpasmInterface) which output information, warnings, */ class LogView : public KTextEdit { - Q_OBJECT + TQ_OBJECT public: LogView( KateMDI::ToolView * parent, const char *name = 0 ); diff --git a/src/gui/microselectwidget.h b/src/gui/microselectwidget.h index b5d7801..1fa49e9 100644 --- a/src/gui/microselectwidget.h +++ b/src/gui/microselectwidget.h @@ -26,7 +26,7 @@ class KComboBox; */ class MicroSelectWidget : public TQGroupBox { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/gui/microsettingsdlg.h b/src/gui/microsettingsdlg.h index e12d9b5..e226f9a 100644 --- a/src/gui/microsettingsdlg.h +++ b/src/gui/microsettingsdlg.h @@ -30,7 +30,7 @@ typedef TQMap< TQString, PinMapping > PinMappingMap; */ class MicroSettingsDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: MicroSettingsDlg( MicroSettings *_microSettings, TQWidget *parent = 0L, const char *name = 0L ); diff --git a/src/gui/newfiledlg.h b/src/gui/newfiledlg.h index 4f13fd6..679c66e 100644 --- a/src/gui/newfiledlg.h +++ b/src/gui/newfiledlg.h @@ -24,7 +24,7 @@ A standard dialog for getting file details from the user for a new project */ class NewFileDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: NewFileDlg( TQWidget *parent ); diff --git a/src/gui/orientationwidget.h b/src/gui/orientationwidget.h index 73a39e4..b119ffc 100644 --- a/src/gui/orientationwidget.h +++ b/src/gui/orientationwidget.h @@ -24,7 +24,7 @@ class TQPushButton; */ class OrientationWidget : public TQWidget { -Q_OBJECT +TQ_OBJECT public: OrientationWidget( TQWidget *parent = 0l, const char *name = 0l ); diff --git a/src/gui/oscilloscope.h b/src/gui/oscilloscope.h index b0f59ac..588c776 100644 --- a/src/gui/oscilloscope.h +++ b/src/gui/oscilloscope.h @@ -75,7 +75,7 @@ void addOscilloscopeAsToolView( KTechlab *ktechlab ); */ class Oscilloscope : public OscilloscopeWidget { - Q_OBJECT + TQ_OBJECT public: static Oscilloscope * self( KateMDI::ToolView * parent = 0l ); diff --git a/src/gui/oscilloscopeview.h b/src/gui/oscilloscopeview.h index 0332607..cf9adfe 100644 --- a/src/gui/oscilloscopeview.h +++ b/src/gui/oscilloscopeview.h @@ -25,7 +25,7 @@ class TQTimer; */ class OscilloscopeView : public TQFrame { - Q_OBJECT + TQ_OBJECT public: OscilloscopeView( TQWidget *parent, const char *name = 0 ); diff --git a/src/gui/outputmethoddlg.h b/src/gui/outputmethoddlg.h index 6e7a914..1e14ffb 100644 --- a/src/gui/outputmethoddlg.h +++ b/src/gui/outputmethoddlg.h @@ -61,7 +61,7 @@ class OutputMethodInfo */ class OutputMethodDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/src/gui/pieditor.h b/src/gui/pieditor.h index 03fe2c1..f8102c3 100644 --- a/src/gui/pieditor.h +++ b/src/gui/pieditor.h @@ -29,7 +29,7 @@ class Variant; */ class PIEditor : public TQWidget { - Q_OBJECT + TQ_OBJECT public: PIEditor(TQString id, Variant *data, TQWidget *parent = 0, const char *name = 0); @@ -52,7 +52,7 @@ class PIEditor : public TQWidget */ class PIBool : public PIEditor { - Q_OBJECT + TQ_OBJECT public: PIBool( TQString id, Variant *data, TQWidget *parent = 0, const char *name = 0 ); @@ -73,7 +73,7 @@ class PIBool : public PIEditor */ class PIColor : public PIEditor { - Q_OBJECT + TQ_OBJECT public: PIColor(TQString id, Variant *data, TQWidget *parent = 0, const char *name = 0); @@ -95,7 +95,7 @@ Allows the editing of double precision numerical values, using the DoubleNum wid */ class PIDouble : public PIEditor { - Q_OBJECT + TQ_OBJECT public: PIDouble(TQString id, Variant *data, TQWidget *parent = 0, const char *name = 0); @@ -115,7 +115,7 @@ class PIDouble : public PIEditor */ class PIFilename : public PIEditor { - Q_OBJECT + TQ_OBJECT public: PIFilename(TQString id, Variant *data, TQWidget *parent = 0, const char *name = 0); @@ -137,7 +137,7 @@ class PIFilename : public PIEditor */ class PIInt : public PIEditor { - Q_OBJECT + TQ_OBJECT public: PIInt( const TQString &id, Variant *data, TQWidget *parent = 0, const char *name = 0); @@ -157,7 +157,7 @@ class PIInt : public PIEditor */ class PILineEdit : public PIEditor { - Q_OBJECT + TQ_OBJECT public: PILineEdit(TQString id, Variant *data, TQWidget *parent = 0, const char *name = 0); @@ -177,7 +177,7 @@ class PILineEdit : public PIEditor */ class PIStringCombo : public PIEditor { - Q_OBJECT + TQ_OBJECT public: PIStringCombo(TQString id, Variant *data, TQWidget *parent, const char *name = 0); diff --git a/src/gui/plvitem.h b/src/gui/plvitem.h index 78afcb9..8b32fe4 100644 --- a/src/gui/plvitem.h +++ b/src/gui/plvitem.h @@ -26,7 +26,7 @@ Basic item, which holds the Variant data and Id for an item */ class PLVItem : public TQObject, public TDEListViewItem { - Q_OBJECT + TQ_OBJECT public: PLVItem( TDEListView *listview, const TQString &id, Variant * data ); diff --git a/src/gui/probepositioner.h b/src/gui/probepositioner.h index daa1110..1be66dd 100644 --- a/src/gui/probepositioner.h +++ b/src/gui/probepositioner.h @@ -25,7 +25,7 @@ Widget for positioning the output of Probes in the OscilloscopeView */ class ProbePositioner : public TQWidget { - Q_OBJECT + TQ_OBJECT public: ProbePositioner(TQWidget *parent = 0, const char *name = 0); diff --git a/src/gui/programmerdlg.h b/src/gui/programmerdlg.h index 0464b91..1f0dcb4 100644 --- a/src/gui/programmerdlg.h +++ b/src/gui/programmerdlg.h @@ -24,7 +24,7 @@ class ProgrammerWidget; */ class ProgrammerDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/src/gui/projectdlgs.h b/src/gui/projectdlgs.h index 56fb58b..1d8078e 100644 --- a/src/gui/projectdlgs.h +++ b/src/gui/projectdlgs.h @@ -29,7 +29,7 @@ A standard dialog for getting project details from the user for a new project */ class NewProjectDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: NewProjectDlg( TQWidget * parent ); @@ -72,7 +72,7 @@ class NewProjectDlg : public KDialogBase */ class CreateSubprojectDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: CreateSubprojectDlg( TQWidget *parent = 0 ); @@ -112,7 +112,7 @@ class CreateSubprojectDlg : public KDialogBase */ class LinkerOptionsDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: LinkerOptionsDlg( LinkerOptions * linkingOptions, TQWidget *parent = 0 ); diff --git a/src/gui/propertieslistview.h b/src/gui/propertieslistview.h index 70b2180..e7405aa 100644 --- a/src/gui/propertieslistview.h +++ b/src/gui/propertieslistview.h @@ -28,7 +28,7 @@ typedef TQMap< TQString, PLVItem * > PLVItemMap; */ class PropertiesListView : public TDEListView { -Q_OBJECT +TQ_OBJECT public: PropertiesListView( TQWidget *parent = 0l, const char *name = 0l ); diff --git a/src/gui/settingsdlg.h b/src/gui/settingsdlg.h index 9d747cf..751c524 100644 --- a/src/gui/settingsdlg.h +++ b/src/gui/settingsdlg.h @@ -28,7 +28,7 @@ class SDCCOptionsWidget; */ class SettingsDlg : public TDEConfigDialog { - Q_OBJECT + TQ_OBJECT public: SettingsDlg( TQWidget *parent, const char *name, TDEConfigSkeleton *config ); diff --git a/src/gui/symbolviewer.h b/src/gui/symbolviewer.h index a85253f..2953439 100644 --- a/src/gui/symbolviewer.h +++ b/src/gui/symbolviewer.h @@ -31,7 +31,7 @@ namespace KateMDI { class ToolView; } */ class SymbolViewer : public TQWidget { - Q_OBJECT + TQ_OBJECT public: static SymbolViewer * self( KateMDI::ToolView * parent = 0l ); @@ -88,7 +88,7 @@ class SymbolViewer : public TQWidget class SymbolViewerItem : public TQObject, public TDEListViewItem { - Q_OBJECT + TQ_OBJECT public: SymbolViewerItem( SymbolViewer * symbolViewer, RegisterInfo * registerInfo ); diff --git a/src/icndocument.h b/src/icndocument.h index 3ad3ac0..faa2ce2 100644 --- a/src/icndocument.h +++ b/src/icndocument.h @@ -33,7 +33,7 @@ typedef TQValueList > GuardedNodeGroupList; */ class ICNDocument : public ItemDocument { -Q_OBJECT +TQ_OBJECT public: ICNDocument( const TQString &caption, KTechlab *ktechlab, const char *name ); diff --git a/src/icnview.h b/src/icnview.h index 206d10b..1c4bfe4 100644 --- a/src/icnview.h +++ b/src/icnview.h @@ -22,7 +22,7 @@ class TDEToolBarPopupAction; */ class ICNView : public ItemView { - Q_OBJECT + TQ_OBJECT public: ICNView( ICNDocument * icnDocument, ViewContainer *viewContainer, uint viewAreaId, const char * name = 0l ); diff --git a/src/item.h b/src/item.h index 22e7a91..7310f60 100644 --- a/src/item.h +++ b/src/item.h @@ -40,7 +40,7 @@ typedef TQValueList ItemList; */ class Item : public TQObject, public TQCanvasPolygon { -Q_OBJECT +TQ_OBJECT public: Item( ItemDocument *itemDocument, bool newItem, const TQString &id ); diff --git a/src/itemdocument.h b/src/itemdocument.h index 1194ee3..1ee6a71 100644 --- a/src/itemdocument.h +++ b/src/itemdocument.h @@ -41,7 +41,7 @@ typedef TQValueList TQPointList; */ class ItemDocument : public Document { - Q_OBJECT + TQ_OBJECT public: ItemDocument( const TQString &caption, KTechlab *ktechlab, const char *name = 0 ); @@ -396,7 +396,7 @@ class ItemDocument : public Document */ class Canvas : public TQCanvas { - Q_OBJECT + TQ_OBJECT public: Canvas( ItemDocument *itemDocument, const char * name = 0 ); diff --git a/src/itemgroup.h b/src/itemgroup.h index fe30b28..c2846c3 100644 --- a/src/itemgroup.h +++ b/src/itemgroup.h @@ -33,7 +33,7 @@ some functionality such as for dealing with item data */ class ItemGroup : public TQObject { -Q_OBJECT +TQ_OBJECT public: ItemGroup( ItemDocument *view, const char *name = 0 ); diff --git a/src/iteminterface.h b/src/iteminterface.h index 6592597..fedb27d 100644 --- a/src/iteminterface.h +++ b/src/iteminterface.h @@ -49,7 +49,7 @@ Items's, and the various objects that like to know about them */ class ItemInterface : public TQObject { - Q_OBJECT + TQ_OBJECT public: ~ItemInterface(); diff --git a/src/itemview.h b/src/itemview.h index 55dc420..cd70f66 100644 --- a/src/itemview.h +++ b/src/itemview.h @@ -25,7 +25,7 @@ class TQTimer; */ class ItemView : public View { - Q_OBJECT + TQ_OBJECT public: ItemView( ItemDocument *itemDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0 ); @@ -86,7 +86,7 @@ class ItemView : public View */ class CVBEditor : public TQCanvasView { -Q_OBJECT +TQ_OBJECT public: CVBEditor( TQCanvas *canvas, ItemView *itemView, const char *name ); diff --git a/src/katemdi.h b/src/katemdi.h index 42df649..51d8149 100644 --- a/src/katemdi.h +++ b/src/katemdi.h @@ -35,7 +35,7 @@ namespace KateMDI { /** This class is needed because TQSplitter cant return an index for a widget. */ class Splitter : public TQSplitter { - Q_OBJECT + TQ_OBJECT public: @@ -55,7 +55,7 @@ class Splitter : public TQSplitter class ToggleToolViewAction : public TDEToggleAction { - Q_OBJECT + TQ_OBJECT public: @@ -74,7 +74,7 @@ class ToggleToolViewAction : public TDEToggleAction class GUIClient : public TQObject, public KXMLGUIClient { - Q_OBJECT + TQ_OBJECT public: @@ -93,7 +93,7 @@ class GUIClient : public TQObject, public KXMLGUIClient class ToolView : public TQVBox { - Q_OBJECT + TQ_OBJECT friend class Sidebar; @@ -168,7 +168,7 @@ class ToolView : public TQVBox class Sidebar : public KMultiTabBar { - Q_OBJECT + TQ_OBJECT public: @@ -244,7 +244,7 @@ class Sidebar : public KMultiTabBar class MainWindow : public KParts::MainWindow { - Q_OBJECT + TQ_OBJECT friend class ToolView; diff --git a/src/ktechlab.h b/src/ktechlab.h index 41dbf1a..7c39b8f 100644 --- a/src/ktechlab.h +++ b/src/ktechlab.h @@ -45,7 +45,7 @@ class TQLabel; */ class KTechlab : public KateMDI::MainWindow { - Q_OBJECT + TQ_OBJECT public: KTechlab(); diff --git a/src/languages/externallanguage.h b/src/languages/externallanguage.h index dc02e3a..a920d20 100644 --- a/src/languages/externallanguage.h +++ b/src/languages/externallanguage.h @@ -24,7 +24,7 @@ class provides functionality for dealing with external processes. */ class ExternalLanguage : public Language { -Q_OBJECT +TQ_OBJECT public: ExternalLanguage( ProcessChain *processChain, KTechlab *parent, const TQString &name ); diff --git a/src/languages/language.h b/src/languages/language.h index 5885779..063d035 100644 --- a/src/languages/language.h +++ b/src/languages/language.h @@ -53,7 +53,7 @@ class ProcessOptionsSpecial class ProcessOptionsHelper : public TQObject { - Q_OBJECT + TQ_OBJECT #define protected public signals: @@ -203,7 +203,7 @@ class ProcessOptions : public ProcessOptionsSpecial */ class Language : public TQObject { - Q_OBJECT + TQ_OBJECT public: Language( ProcessChain *processChain, KTechlab *parent, const TQString &name ); diff --git a/src/languages/languagemanager.h b/src/languages/languagemanager.h index 5d6d971..bf5d488 100644 --- a/src/languages/languagemanager.h +++ b/src/languages/languagemanager.h @@ -35,7 +35,7 @@ namespace KateMDI { class ToolView; } */ class LanguageManager : public TQObject { - Q_OBJECT + TQ_OBJECT public: static LanguageManager * self( KateMDI::ToolView * parent = 0l, KTechlab * ktl = 0l ); diff --git a/src/languages/processchain.h b/src/languages/processchain.h index ab99a48..5ca466a 100644 --- a/src/languages/processchain.h +++ b/src/languages/processchain.h @@ -34,7 +34,7 @@ typedef TQValueList ProcessOptionsList; */ class ProcessChain : public TQObject { - Q_OBJECT + TQ_OBJECT public: ProcessChain( ProcessOptions options, KTechlab *parent, const char *name = 0l ); @@ -101,7 +101,7 @@ class ProcessChain : public TQObject class ProcessListChain : public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/mechanics/mechanicsdocument.h b/src/mechanics/mechanicsdocument.h index b2275d1..4058b18 100644 --- a/src/mechanics/mechanicsdocument.h +++ b/src/mechanics/mechanicsdocument.h @@ -26,7 +26,7 @@ typedef TQValueList MechanicsItemList; */ class MechanicsDocument : public ItemDocument { -Q_OBJECT +TQ_OBJECT public: MechanicsDocument( const TQString &caption, KTechlab *ktechlab, const char *name = 0 ); diff --git a/src/mechanics/mechanicsgroup.h b/src/mechanics/mechanicsgroup.h index 368a234..a3433a8 100644 --- a/src/mechanics/mechanicsgroup.h +++ b/src/mechanics/mechanicsgroup.h @@ -23,7 +23,7 @@ typedef TQValueList MechanicsItemList; */ class MechanicsGroup : public ItemGroup { -Q_OBJECT +TQ_OBJECT public: MechanicsGroup( MechanicsDocument *mechanicsDocument, const char *name = 0); diff --git a/src/mechanics/mechanicsitem.h b/src/mechanics/mechanicsitem.h index 5ccb327..86d3edd 100644 --- a/src/mechanics/mechanicsitem.h +++ b/src/mechanics/mechanicsitem.h @@ -117,7 +117,7 @@ protected: */ class MechanicsItem : public Item { -Q_OBJECT +TQ_OBJECT public: MechanicsItem( MechanicsDocument *mechanicsDocument, bool newItem, const TQString &id ); diff --git a/src/mechanics/mechanicssimulation.h b/src/mechanics/mechanicssimulation.h index 920d911..74ebaee 100644 --- a/src/mechanics/mechanicssimulation.h +++ b/src/mechanics/mechanicssimulation.h @@ -57,7 +57,7 @@ public: */ class MechanicsSimulation : public TQObject { -Q_OBJECT +TQ_OBJECT public: MechanicsSimulation( MechanicsDocument *mechanicsDocument ); diff --git a/src/mechanics/mechanicsview.h b/src/mechanics/mechanicsview.h index 59ed484..3473591 100644 --- a/src/mechanics/mechanicsview.h +++ b/src/mechanics/mechanicsview.h @@ -20,7 +20,7 @@ class MechanicsDocument; */ class MechanicsView : public ItemView { - Q_OBJECT + TQ_OBJECT public: MechanicsView( MechanicsDocument *mechanicsDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0l ); diff --git a/src/microsettings.h b/src/microsettings.h index 2b3f20a..b8b132d 100644 --- a/src/microsettings.h +++ b/src/microsettings.h @@ -55,7 +55,7 @@ typedef TQMap< TQString, VariableInfo > VariableMap; // Variable name, variable */ class PinSettings : public TQObject { - Q_OBJECT + TQ_OBJECT public: enum pin_type @@ -109,7 +109,7 @@ This is different from PIC info, which includes stuff such as PIC pin names */ class MicroSettings : public TQObject { - Q_OBJECT + TQ_OBJECT public: enum VariableType diff --git a/src/node.h b/src/node.h index e5b29a9..64558fc 100644 --- a/src/node.h +++ b/src/node.h @@ -33,7 +33,7 @@ typedef TQValueList > NodeList; */ class Node : public TQObject, public TQCanvasPolygon { -Q_OBJECT +TQ_OBJECT public: /** diff --git a/src/nodegroup.h b/src/nodegroup.h index 54d0da4..9a7a4de 100644 --- a/src/nodegroup.h +++ b/src/nodegroup.h @@ -35,7 +35,7 @@ along with their associated connectors. */ class NodeGroup : public TQObject { -Q_OBJECT +TQ_OBJECT public: NodeGroup( ICNDocument *icnDocument, const char *name = 0); diff --git a/src/oscilloscopedata.h b/src/oscilloscopedata.h index b73eb4c..8860842 100644 --- a/src/oscilloscopedata.h +++ b/src/oscilloscopedata.h @@ -208,7 +208,7 @@ class StoredData */ class ProbeData : public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/picitem.h b/src/picitem.h index 959311f..0f2bdc9 100644 --- a/src/picitem.h +++ b/src/picitem.h @@ -25,7 +25,7 @@ class PinSettings; */ class PinItem : public TQObject, public TQCanvasRectangle { - Q_OBJECT + TQ_OBJECT public: PinItem( FlowCodeDocument* _view, TQPoint position, bool _onLeft, PinSettings *_pinSettings ); @@ -66,7 +66,7 @@ Allows visual editing of inital PIC settings */ class PicItem : public CNItem { - Q_OBJECT + TQ_OBJECT public: PicItem( ICNDocument *icnDocument, bool newItem, const char *id, MicroSettings *_microSettings ); diff --git a/src/projectmanager.h b/src/projectmanager.h index 3adef41..4ea27dc 100644 --- a/src/projectmanager.h +++ b/src/projectmanager.h @@ -237,7 +237,7 @@ class ProjectItem : public TQObject, public LinkerOptions, public ProcessingOpti */ class ProjectInfo : public ProjectItem { - Q_OBJECT + TQ_OBJECT public: @@ -266,7 +266,7 @@ class ProjectInfo : public ProjectItem */ class ProjectManager : public ItemSelector { - Q_OBJECT + TQ_OBJECT public: ~ProjectManager(); diff --git a/src/recentfilesaction.h b/src/recentfilesaction.h index 89bc5ed..1d38b20 100644 --- a/src/recentfilesaction.h +++ b/src/recentfilesaction.h @@ -19,7 +19,7 @@ Adapted to work around strange bug occuring. */ class RecentFilesAction : public TDESelectAction { - Q_OBJECT + TQ_OBJECT public: RecentFilesAction( const TQString & configGroupName, const TQString & text, const TQObject * receiver, const char* slot, TQObject* parent, const char * name ); diff --git a/src/resizeoverlay.h b/src/resizeoverlay.h index a2a2f12..8a3f5c6 100644 --- a/src/resizeoverlay.h +++ b/src/resizeoverlay.h @@ -31,7 +31,7 @@ typedef TQMap< int, TQGuardedPtr > ResizeHandleMap; */ class ResizeHandle : public TQObject, public TQCanvasRectangle { - Q_OBJECT + TQ_OBJECT public: /** @@ -116,7 +116,7 @@ typedef TQValueList ResizeHandleList; */ class ResizeOverlay : public TQObject { - Q_OBJECT + TQ_OBJECT public: ResizeOverlay( Item *parent ); @@ -190,7 +190,7 @@ protected: */ class MechanicsItemOverlay : public ResizeOverlay { -Q_OBJECT +TQ_OBJECT public: MechanicsItemOverlay( MechanicsItem *parent ); @@ -221,7 +221,7 @@ protected: */ class RectangularOverlay : public ResizeOverlay { -Q_OBJECT +TQ_OBJECT public: RectangularOverlay( Item *item, int xsnap = 1, int ysnap = 1 ); @@ -260,7 +260,7 @@ protected: */ class LineOverlay : public ResizeOverlay { - Q_OBJECT + TQ_OBJECT public: LineOverlay( Item * parent ); diff --git a/src/simulator.h b/src/simulator.h index fedf605..9686a2e 100644 --- a/src/simulator.h +++ b/src/simulator.h @@ -82,7 +82,7 @@ logic, external simulators (such as gpsim), mechanical simulation, etc). */ class Simulator : public TQObject { - Q_OBJECT + TQ_OBJECT public: static Simulator * self(); diff --git a/src/textdocument.h b/src/textdocument.h index ace26ab..1f1f0bf 100644 --- a/src/textdocument.h +++ b/src/textdocument.h @@ -32,7 +32,7 @@ typedef TQValueList IntList; */ class TextDocument : public Document { -Q_OBJECT +TQ_OBJECT public: ~TextDocument(); diff --git a/src/textview.h b/src/textview.h index cfb3158..320ebb3 100644 --- a/src/textview.h +++ b/src/textview.h @@ -33,7 +33,7 @@ class VariableLabel; */ class TextView : public View { - Q_OBJECT + TQ_OBJECT public: TextView( TextDocument *textDocument, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0 ); @@ -106,7 +106,7 @@ over (used in the debugger). */ class TextViewEventFilter : public TQObject { - Q_OBJECT + TQ_OBJECT public: TextViewEventFilter( TextView * textView ); diff --git a/src/variablelabel.h b/src/variablelabel.h index 40ab293..0e4f372 100644 --- a/src/variablelabel.h +++ b/src/variablelabel.h @@ -30,7 +30,7 @@ a variable while debugging. */ class VariableLabel : public TQLabel { - Q_OBJECT + TQ_OBJECT public: VariableLabel( TextView * parent ); diff --git a/src/variant.h b/src/variant.h index 52a9ca7..9fa7791 100644 --- a/src/variant.h +++ b/src/variant.h @@ -26,7 +26,7 @@ contained. e.g. returns TQVariant::Color or TQVariant::Rect */ class Variant : public TQObject { -Q_OBJECT +TQ_OBJECT public: class Type diff --git a/src/view.h b/src/view.h index b59d736..b66413e 100644 --- a/src/view.h +++ b/src/view.h @@ -28,7 +28,7 @@ class TQVBoxLayout; class ViewStatusBar : public KStatusBar { -Q_OBJECT +TQ_OBJECT public: ViewStatusBar( View *view ); @@ -60,7 +60,7 @@ protected: */ class View : public TQWidget, public KXMLGUIClient { -Q_OBJECT +TQ_OBJECT public: View( Document *document, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0 ); diff --git a/src/viewcontainer.h b/src/viewcontainer.h index 6b28ffe..20f1523 100644 --- a/src/viewcontainer.h +++ b/src/viewcontainer.h @@ -49,7 +49,7 @@ If it contains two ViewAreas, then the value returned by id() is -1. */ class ViewArea : public TQSplitter { -Q_OBJECT +TQ_OBJECT public: enum Position @@ -112,7 +112,7 @@ protected: */ class ViewContainer : public TQWidget { -Q_OBJECT +TQ_OBJECT public: /** -- cgit v1.2.3