summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmscanner.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmscanner.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmscanner.cpp')
-rw-r--r--kpovmodeler/pmscanner.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpovmodeler/pmscanner.cpp b/kpovmodeler/pmscanner.cpp
index ebabb147..15e50489 100644
--- a/kpovmodeler/pmscanner.cpp
+++ b/kpovmodeler/pmscanner.cpp
@@ -304,13 +304,13 @@ PMReservedWordDict::PMReservedWordDict( PMDictMode mode )
insert( "prism", new int( PRISM_TOK ) );
insert( "projected_through", new int( PROJECTED_THROUGH_TOK ) );
insert( "pwr", new int( PWR_TOK ) );
- insert( "quadratic_spline", new int( QUADRATIC_SPLINE_TOK ) );
- insert( "quadric", new int( QUADRIC_TOK ) );
- insert( "quartic", new int( QUARTIC_TOK ) );
- insert( "quaternion", new int( QUATERNION_TOK ) );
- insert( "quick_color", new int( QUICK_COLOR_TOK ) );
- insert( "quick_colour", new int( QUICK_COLOUR_TOK ) );
- insert( "quilted", new int( QUILTED_TOK ) );
+ insert( "quadratic_spline", new int( TQUADRATIC_SPLINE_TOK ) );
+ insert( "quadric", new int( TQUADRIC_TOK ) );
+ insert( "quartic", new int( TQUARTIC_TOK ) );
+ insert( "quaternion", new int( TQUATERNION_TOK ) );
+ insert( "quick_color", new int( TQUICK_COLOR_TOK ) );
+ insert( "quick_colour", new int( TQUICK_COLOUR_TOK ) );
+ insert( "quilted", new int( TQUILTED_TOK ) );
insert( "radial", new int( RADIAL_TOK ) );
insert( "radians", new int( RADIANS_TOK ) );
insert( "radiosity", new int( RADIOSITY_TOK ) );
@@ -362,7 +362,7 @@ PMReservedWordDict::PMReservedWordDict( PMDictMode mode )
insert( "spiral2", new int( SPIRAL2_TOK ) );
insert( "spotlight", new int( SPOTLIGHT_TOK ) );
insert( "spotted", new int( SPOTTED_TOK ) );
- insert( "sqr", new int( SQR_TOK ) );
+ insert( "sqr", new int( STQR_TOK ) );
insert( "sqrt", new int( SQRT_TOK ) );
insert( "str", new int( STR_TOK ) );
insert( "strcmp", new int( STRCMP_TOK ) );
@@ -577,10 +577,10 @@ void PMScanner::scanError( int c )
m_token = SCANNER_ERROR_TOK;
if( isprint( c ) )
m_error = i18n( "Unexpected character '%1' after \"%2\"" )
- .arg( ( char )c ).arg( m_svalue );
+ .tqarg( ( char )c ).tqarg( m_svalue );
else
m_error = i18n( "Unexpected character %1 after \"%2\"" )
- .arg( c, 4, 16 ).arg( m_svalue );
+ .tqarg( c, 4, 16 ).tqarg( m_svalue );
#ifdef PMSCAN_DEBUG
kdDebug( PMArea ) << "Line " << m_line << ": Error " << m_error << "\n";