diff options
Diffstat (limited to 'src/electronics/subcircuits.h')
-rw-r--r-- | src/electronics/subcircuits.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/electronics/subcircuits.h b/src/electronics/subcircuits.h index 3f08dd9..af56b00 100644 --- a/src/electronics/subcircuits.h +++ b/src/electronics/subcircuits.h @@ -11,7 +11,7 @@ #ifndef SUBCIRCUITS_H #define SUBCIRCUITS_H -#include <qobject.h> +#include <tqobject.h> class CircuitDocument; class ECSubcircuit; @@ -22,9 +22,10 @@ inline Subcircuits *subcircuits(); Interface for dealing with loading / saving / etc of subcircuits @author David Saxton */ -class Subcircuits : public QObject +class Subcircuits : public TQObject { Q_OBJECT + TQ_OBJECT public: ~Subcircuits(); /** @@ -46,19 +47,19 @@ public: * Saves the given subcircuit to the appdata dir, updates the appropriate * config entries, and adds the subcircuit to the component selector. */ - static void addSubcircuit( const QString &name, const QString &subcircuitXml ); + static void addSubcircuit( const TQString &name, const TQString &subcircuitXml ); /** * returns a path to the appdata dir, e.g. genFileName(2) might return * ~/.kde/share/apps/ktechlab/subcircuit_2.circuit */ - static QString genFileName( const int nextId ); + static TQString genFileName( const int nextId ); /** * Adds the given entry to the component selector */ - static void updateComponentSelector( int id, const QString &name ); + static void updateComponentSelector( int id, const TQString &name ); protected slots: - void slotItemRemoved( const QString &id ); + void slotItemRemoved( const TQString &id ); private: Subcircuits(); |