diff options
Diffstat (limited to 'src/electronics/components/rotoswitch.h')
-rw-r--r-- | src/electronics/components/rotoswitch.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/electronics/components/rotoswitch.h b/src/electronics/components/rotoswitch.h index 909c0ea..8a4c802 100644 --- a/src/electronics/components/rotoswitch.h +++ b/src/electronics/components/rotoswitch.h @@ -12,7 +12,7 @@ #define ROTOSWITCH_H #include "component.h" -#include <qvaluevector.h> +#include <tqvaluevector.h> struct SwitchPosition { @@ -35,11 +35,11 @@ public: static Item* construct( ItemDocument *itemDocument, bool newItem, const char *id ); static LibraryItem *libraryItem(); - virtual void buttonStateChanged( const QString &id, bool state ); + virtual void buttonStateChanged( const TQString &id, bool state ); virtual void dataChanged(); private: - virtual void drawShape( QPainter &p ); + virtual void drawShape( TQPainter &p ); int m_numPositions; int m_curPosition; @@ -59,7 +59,7 @@ private: ///The radius of the ring of positions static const int _contactRingRadius = _contactOuterRadius - _contactRadius; - QValueVector<SwitchPosition> m_positions; + TQValueVector<SwitchPosition> m_positions; ECNode* m_inNode; protected: |