diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmvariant.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-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/pmvariant.cpp')
-rw-r--r-- | kpovmodeler/pmvariant.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpovmodeler/pmvariant.cpp b/kpovmodeler/pmvariant.cpp index fb2175c7..8dd4fe2c 100644 --- a/kpovmodeler/pmvariant.cpp +++ b/kpovmodeler/pmvariant.cpp @@ -360,7 +360,7 @@ TQString PMVariant::stringData( ) const if( m_dataType == PMVariant::String ) return *( ( TQString* ) m_pData ); kdError( PMArea ) << "Wrong type in PMVariant get function\n"; - return TQString::null; + return TQString(); } PMVector PMVariant::vectorData( ) const @@ -897,7 +897,7 @@ bool PMVariant::fromString( const PMVariant::PMVariantDataType t, const TQString TQDataStream& operator<<( TQDataStream& stream, const PMVariant& value ) { - stream << (Q_INT8)value.dataType( ); + stream << (TQ_INT8)value.dataType( ); stream << value.asString( ); return stream; @@ -905,7 +905,7 @@ TQDataStream& operator<<( TQDataStream& stream, const PMVariant& value ) TQDataStream& operator>>( TQDataStream& stream, PMVariant& value ) { - Q_INT8 type; + TQ_INT8 type; PMVariant::PMVariantDataType dataType; TQString str; |