summaryrefslogtreecommitdiffstats
path: root/kbarcode/textitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit33038ab0e8b8e7fb05093f953e4f6f724c6e2482 (patch)
tree6a5f53930c5919157cb0f1e928500f97ff8dde95 /kbarcode/textitem.cpp
parent7a4cd8d44ee83c7de058bb0da8ae6676166e9325 (diff)
downloadkbarcode-33038ab0e8b8e7fb05093f953e4f6f724c6e2482.tar.gz
kbarcode-33038ab0e8b8e7fb05093f953e4f6f724c6e2482.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbarcode/textitem.cpp')
-rw-r--r--kbarcode/textitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbarcode/textitem.cpp b/kbarcode/textitem.cpp
index 16578e3..61b792e 100644
--- a/kbarcode/textitem.cpp
+++ b/kbarcode/textitem.cpp
@@ -122,7 +122,7 @@ void TextItem::draw(TQPainter* painter)
void TextItem::drawZpl( TQTextStream* stream )
{
// simply remove all html tags....
- TQString data = m_text.tqreplace( TQRegExp("<[^>]*>"), "" );
+ TQString data = m_text.replace( TQRegExp("<[^>]*>"), "" );
*stream << ZPLUtils::fieldOrigin( rect().x(), rect().y() );
*stream << ZPLUtils::font( TQFont() ); // todo: select a valid font
}
@@ -132,7 +132,7 @@ void TextItem::drawIpl( TQTextStream* stream, IPLUtils* utils )
int counter = utils->counter();
// simply remove all html tags....
- TQString data = m_text.tqreplace( TQRegExp("<[^>]*>"), "" );
+ TQString data = m_text.replace( TQRegExp("<[^>]*>"), "" );
TQString s = TQString("H%1;").tqarg( counter ); // field number
@@ -155,7 +155,7 @@ void TextItem::drawEPcl( TQTextStream* stream )
//
// break string into lines
- TQString t = m_text.tqreplace( TQRegExp("<[^>]*>"), "" );
+ TQString t = m_text.replace( TQRegExp("<[^>]*>"), "" );
// @DOM:
// TODO:
// provide an API which simplifies wordwrapping for