summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/pushswitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/electronics/components/pushswitch.h')
-rw-r--r--src/electronics/components/pushswitch.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/electronics/components/pushswitch.h b/src/electronics/components/pushswitch.h
index c22ea93..1854eb2 100644
--- a/src/electronics/components/pushswitch.h
+++ b/src/electronics/components/pushswitch.h
@@ -26,11 +26,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 );
Switch *m_switch;
bool pressed;
};
@@ -49,11 +49,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 );
Switch *m_switch;
bool pressed;
};