summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/toggleswitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/electronics/components/toggleswitch.h')
-rw-r--r--src/electronics/components/toggleswitch.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/electronics/components/toggleswitch.h b/src/electronics/components/toggleswitch.h
index 80fd064..f6947b0 100644
--- a/src/electronics/components/toggleswitch.h
+++ b/src/electronics/components/toggleswitch.h
@@ -26,12 +26,12 @@ 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();
virtual bool canFlip() const { return true; }
private:
- virtual void drawShape( QPainter &p );
+ virtual void drawShape( TQPainter &p );
Switch *m_switch1;
Switch *m_switch2;
Switch *m_switch3;
@@ -53,12 +53,12 @@ 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();
virtual bool canFlip() const { return true; }
private:
- virtual void drawShape( QPainter &p );
+ virtual void drawShape( TQPainter &p );
Switch *m_switch1;
Switch *m_switch2;
bool pressed;
@@ -78,12 +78,12 @@ 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();
virtual bool canFlip() const { return true; }
private:
- virtual void drawShape( QPainter &p );
+ virtual void drawShape( TQPainter &p );
Switch *m_switch1;
Switch *m_switch2;
bool pressed;
@@ -103,12 +103,12 @@ 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();
virtual bool canFlip() const { return true; }
private:
- virtual void drawShape( QPainter &p );
+ virtual void drawShape( TQPainter &p );
Switch *m_switch;
bool pressed;
};