summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/positionregexp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/positionregexp.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/positionregexp.cpp')
-rw-r--r--kregexpeditor/positionregexp.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kregexpeditor/positionregexp.cpp b/kregexpeditor/positionregexp.cpp
index df5311f..d210f66 100644
--- a/kregexpeditor/positionregexp.cpp
+++ b/kregexpeditor/positionregexp.cpp
@@ -34,18 +34,18 @@ bool PositionRegExp::check( ErrorMap& map, bool first , bool last )
return true;
}
-QDomNode PositionRegExp::toXml( QDomDocument* doc ) const
+TQDomNode PositionRegExp::toXml( TQDomDocument* doc ) const
{
switch (_tp) {
- case BEGLINE: return doc->createElement(QString::fromLocal8Bit( "BegLine" ) );
- case ENDLINE: return doc->createElement(QString::fromLocal8Bit( "EndLine" ) );
- case WORDBOUNDARY: return doc->createElement(QString::fromLocal8Bit( "WordBoundary" ) );
- case NONWORDBOUNDARY: return doc->createElement(QString::fromLocal8Bit( "NonWordBoundary" ) );
+ case BEGLINE: return doc->createElement(TQString::fromLocal8Bit( "BegLine" ) );
+ case ENDLINE: return doc->createElement(TQString::fromLocal8Bit( "EndLine" ) );
+ case WORDBOUNDARY: return doc->createElement(TQString::fromLocal8Bit( "WordBoundary" ) );
+ case NONWORDBOUNDARY: return doc->createElement(TQString::fromLocal8Bit( "NonWordBoundary" ) );
}
- return QDomNode();
+ return TQDomNode();
}
-bool PositionRegExp::load( QDomElement /* top */, const QString& /*version*/ )
+bool PositionRegExp::load( TQDomElement /* top */, const TQString& /*version*/ )
{
// Nothing to do.
return true;