diff options
Diffstat (limited to 'src/electronics/components/bussplitter.cpp')
-rw-r--r-- | src/electronics/components/bussplitter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/electronics/components/bussplitter.cpp b/src/electronics/components/bussplitter.cpp index 62fbb39..85619a4 100644 --- a/src/electronics/components/bussplitter.cpp +++ b/src/electronics/components/bussplitter.cpp @@ -14,7 +14,7 @@ #include "wire.h" #include <klocale.h> -#include <qpainter.h> +#include <tqpainter.h> Item* BusSplitter::construct( ItemDocument *itemDocument, bool newItem, const char *id ) { @@ -105,24 +105,24 @@ void BusSplitter::dataChanged() } -QString BusSplitter::outNodeID( unsigned node ) const +TQString BusSplitter::outNodeID( unsigned node ) const { - return QString("out_%1").arg(QString::number(node)); + return TQString("out_%1").tqarg(TQString::number(node)); } -void BusSplitter::drawShape( QPainter &p ) +void BusSplitter::drawShape( TQPainter &p ) { initPainter(p); -// QPen pen(p.pen()); +// TQPen pen(p.pen()); // pen.setWidth(); // p.setPen(pen); int _x = int(x()); int _y = int(y()); - QRect r = m_sizeRect; + TQRect r = m_sizeRect; r.moveBy( _x, _y ); p.drawRect(r); |