From c4189d200e71c7ef82e9a6e34935ad225154d658 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 29 May 2011 00:55:34 +0000 Subject: TQt4 port kbarcode This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1233956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbarcode/lineitem.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kbarcode/lineitem.cpp') diff --git a/kbarcode/lineitem.cpp b/kbarcode/lineitem.cpp index 5e7ae65..4ebf622 100644 --- a/kbarcode/lineitem.cpp +++ b/kbarcode/lineitem.cpp @@ -15,12 +15,12 @@ ***************************************************************************/ -#include +#include #include "documentitem.h" #include "lineitem.h" -#include +#include LineItem::LineItem() : DocumentItem() @@ -30,10 +30,10 @@ LineItem::LineItem() void LineItem::init() { - setRect( QRect( 0, 0, 20, 20 ) ); + setRect( TQRect( 0, 0, 20, 20 ) ); } -void LineItem::draw(QPainter* painter) +void LineItem::draw(TQPainter* painter) { painter->save(); painter->setPen( pen() ); @@ -41,27 +41,27 @@ void LineItem::draw(QPainter* painter) painter->restore(); } -void LineItem::drawZpl( QTextStream* ) +void LineItem::drawZpl( TQTextStream* ) { qDebug("LineItem not implemented for ZPL"); } -void LineItem::drawEPcl( QTextStream* ) +void LineItem::drawEPcl( TQTextStream* ) { qDebug("LineItem not implemented for EPCL"); } -void LineItem::drawIpl( QTextStream*, IPLUtils* ) +void LineItem::drawIpl( TQTextStream*, IPLUtils* ) { qDebug("LineItem not implemented for IPL"); } -void LineItem::loadXML(QDomElement* element) +void LineItem::loadXML(TQDomElement* element) { DocumentItem::loadXML(element); } -void LineItem::saveXML(QDomElement* element) +void LineItem::saveXML(TQDomElement* element) { DocumentItem::saveXML(element); } -- cgit v1.2.3