diff options
Diffstat (limited to 'src/flowparts/pinmapping.h')
-rw-r--r-- | src/flowparts/pinmapping.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/flowparts/pinmapping.h b/src/flowparts/pinmapping.h index 6131e45..8cb0747 100644 --- a/src/flowparts/pinmapping.h +++ b/src/flowparts/pinmapping.h @@ -42,7 +42,7 @@ class PinMapping }; /** - * Creates an invalid PinMapping, required by Qt templates. + * Creates an invalid PinMapping, required by TQt templates. */ PinMapping(); /** @@ -53,14 +53,14 @@ class PinMapping Type type() const { return m_type; } - QStringList pins() const { return m_pins; } - void setPins( const QStringList & pins ) { m_pins = pins; } + TQStringList pins() const { return m_pins; } + void setPins( const TQStringList & pins ) { m_pins = pins; } protected: - QStringList m_pins; + TQStringList m_pins; Type m_type; }; -typedef QMap< QString, PinMapping > PinMappingMap; +typedef TQMap< TQString, PinMapping > PinMappingMap; @@ -71,8 +71,9 @@ Dialog for editing a Pin Mapping class PinMapEditor : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - PinMapEditor( PinMapping * PinMapping, MicroInfo * Info, QWidget * parent, const char * name ); + PinMapEditor( PinMapping * PinMapping, MicroInfo * Info, TQWidget * tqparent, const char * name ); protected: virtual void slotApply(); @@ -93,6 +94,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(); ~PinMapDocument(); @@ -100,7 +102,7 @@ class PinMapDocument : public ICNDocument void init( const PinMapping & PinMapping, MicroInfo * microInfo ); virtual bool isValidItem( Item * item ); - virtual bool isValidItem( const QString &itemId ); + virtual bool isValidItem( const TQString &itemId ); PinMapping pinMapping() const; @@ -120,6 +122,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 ); ~PinMapView(); |