diff options
Diffstat (limited to 'src/electronics/components/discretelogic.h')
-rw-r--r-- | src/electronics/components/discretelogic.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/electronics/components/discretelogic.h b/src/electronics/components/discretelogic.h index 82775bf..c8a5778 100644 --- a/src/electronics/components/discretelogic.h +++ b/src/electronics/components/discretelogic.h @@ -31,7 +31,7 @@ class Inverter : public CallbackClass, public Component protected: void inStateChanged( bool newState ); - virtual void drawShape( QPainter &p ); + virtual void drawShape( TQPainter &p ); LogicIn * m_pIn; LogicOut * m_pOut; @@ -52,7 +52,7 @@ public: private: void inStateChanged( bool newState ); - virtual void drawShape( QPainter &p ); + virtual void drawShape( TQPainter &p ); LogicIn * m_pIn; LogicOut * m_pOut; @@ -71,11 +71,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 ); private: virtual void dataChanged(); - virtual void drawShape( QPainter &p ); + virtual void drawShape( TQPainter &p ); LogicOut * m_pOut; bool b_state; }; @@ -95,7 +95,7 @@ class ECLogicOutput : public CallbackClass, public Component protected: void inStateChanged( bool newState ); - virtual void drawShape( QPainter &p ); + virtual void drawShape( TQPainter &p ); unsigned long long m_lastDrawTime; unsigned long long m_lastSwitchTime; |