summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/ecsubcircuit.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/electronics/components/ecsubcircuit.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/electronics/components/ecsubcircuit.h')
-rw-r--r--src/electronics/components/ecsubcircuit.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/electronics/components/ecsubcircuit.h b/src/electronics/components/ecsubcircuit.h
index eaf21ec..7bc9655 100644
--- a/src/electronics/components/ecsubcircuit.h
+++ b/src/electronics/components/ecsubcircuit.h
@@ -13,7 +13,7 @@
#include <component.h>
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
/**
"Container" component for subcircuits
@@ -22,6 +22,7 @@
class ECSubcircuit : public Component
{
Q_OBJECT
+ TQ_OBJECT
public:
ECSubcircuit( ICNDocument *icnDocument, bool newItem, const char *id = 0L );
~ECSubcircuit();
@@ -37,7 +38,7 @@ public:
/**
* Give the connecting node at position numId the given name
*/
- void setExtConName( unsigned numId, const QString & name );
+ void setExtConName( unsigned numId, const TQString & name );
/**
* Called from SubcircuitData once the subcircuit has been fully attached
*/
@@ -54,8 +55,8 @@ signals:
protected:
virtual void dataChanged();
- virtual void drawShape( QPainter &p );
- QValueVector<QString> m_conNames;
+ virtual void drawShape( TQPainter &p );
+ TQValueVector<TQString> m_conNames;
};
#endif