diff options
Diffstat (limited to 'src/electronics/components/externalconnection.cpp')
-rw-r--r-- | src/electronics/components/externalconnection.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/electronics/components/externalconnection.cpp b/src/electronics/components/externalconnection.cpp index 596727a..ca89240 100644 --- a/src/electronics/components/externalconnection.cpp +++ b/src/electronics/components/externalconnection.cpp @@ -12,7 +12,7 @@ #include "libraryitem.h" #include <klocale.h> -#include <qpainter.h> +#include <tqpainter.h> Item* ExternalConnection::construct( ItemDocument *itemDocument, bool newItem, const char *id ) { @@ -43,7 +43,7 @@ ExternalConnection::ExternalConnection( ICNDocument *icnDocument, bool newItem, init1PinLeft(); - addDisplayText( "name", QRect( -24, 8, 3*width(), 16 ), "ExtCon" ); + addDisplayText( "name", TQRect( -24, 8, 3*width(), 16 ), "ExtCon" ); } ExternalConnection::~ExternalConnection() @@ -53,14 +53,14 @@ ExternalConnection::~ExternalConnection() void ExternalConnection::dataChanged() { - QString name = dataString("name"); + TQString name = dataString("name"); - QRect r( -width(), 16, 3*width(), 16 ); + TQRect r( -width(), 16, 3*width(), 16 ); setDisplayText( "name", name ); } -void ExternalConnection::drawShape( QPainter &p ) +void ExternalConnection::drawShape( TQPainter &p ) { initPainter(p); int _x = (int)x()-8; |