summaryrefslogtreecommitdiffstats
path: root/kbarcode/lineitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 00:55:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 00:55:34 +0000
commitc4189d200e71c7ef82e9a6e34935ad225154d658 (patch)
treef7f29a1159e0402472ff2ab22617a8113f66263c /kbarcode/lineitem.cpp
parent2f888b1578e65ec1bc514996eb509fcaf34462d6 (diff)
downloadkbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.tar.gz
kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.zip
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
Diffstat (limited to 'kbarcode/lineitem.cpp')
-rw-r--r--kbarcode/lineitem.cpp18
1 files changed, 9 insertions, 9 deletions
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 <qstring.h>
+#include <tqstring.h>
#include "documentitem.h"
#include "lineitem.h"
-#include <qpainter.h>
+#include <tqpainter.h>
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);
}