diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/kmdcodec.h | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kmdcodec.h')
-rw-r--r-- | kdecore/kmdcodec.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/kdecore/kmdcodec.h b/kdecore/kmdcodec.h index ef1d49d1e..d4bd8dfb0 100644 --- a/kdecore/kmdcodec.h +++ b/kdecore/kmdcodec.h @@ -541,27 +541,27 @@ private: KMD5& operator=(const KMD5& md); void init(); - void encode( unsigned char* output, Q_UINT32 *in, Q_UINT32 len ); - void decode( Q_UINT32 *output, const unsigned char* in, Q_UINT32 len ); - - Q_UINT32 rotate_left( Q_UINT32 x, Q_UINT32 n ); - Q_UINT32 F( Q_UINT32 x, Q_UINT32 y, Q_UINT32 z ); - Q_UINT32 G( Q_UINT32 x, Q_UINT32 y, Q_UINT32 z ); - Q_UINT32 H( Q_UINT32 x, Q_UINT32 y, Q_UINT32 z ); - Q_UINT32 I( Q_UINT32 x, Q_UINT32 y, Q_UINT32 z ); - void FF( Q_UINT32& a, Q_UINT32 b, Q_UINT32 c, Q_UINT32 d, Q_UINT32 x, - Q_UINT32 s, Q_UINT32 ac ); - void GG( Q_UINT32& a, Q_UINT32 b, Q_UINT32 c, Q_UINT32 d, Q_UINT32 x, - Q_UINT32 s, Q_UINT32 ac ); - void HH( Q_UINT32& a, Q_UINT32 b, Q_UINT32 c, Q_UINT32 d, Q_UINT32 x, - Q_UINT32 s, Q_UINT32 ac ); - void II( Q_UINT32& a, Q_UINT32 b, Q_UINT32 c, Q_UINT32 d, Q_UINT32 x, - Q_UINT32 s, Q_UINT32 ac ); + void encode( unsigned char* output, TQ_UINT32 *in, TQ_UINT32 len ); + void decode( TQ_UINT32 *output, const unsigned char* in, TQ_UINT32 len ); + + TQ_UINT32 rotate_left( TQ_UINT32 x, TQ_UINT32 n ); + TQ_UINT32 F( TQ_UINT32 x, TQ_UINT32 y, TQ_UINT32 z ); + TQ_UINT32 G( TQ_UINT32 x, TQ_UINT32 y, TQ_UINT32 z ); + TQ_UINT32 H( TQ_UINT32 x, TQ_UINT32 y, TQ_UINT32 z ); + TQ_UINT32 I( TQ_UINT32 x, TQ_UINT32 y, TQ_UINT32 z ); + void FF( TQ_UINT32& a, TQ_UINT32 b, TQ_UINT32 c, TQ_UINT32 d, TQ_UINT32 x, + TQ_UINT32 s, TQ_UINT32 ac ); + void GG( TQ_UINT32& a, TQ_UINT32 b, TQ_UINT32 c, TQ_UINT32 d, TQ_UINT32 x, + TQ_UINT32 s, TQ_UINT32 ac ); + void HH( TQ_UINT32& a, TQ_UINT32 b, TQ_UINT32 c, TQ_UINT32 d, TQ_UINT32 x, + TQ_UINT32 s, TQ_UINT32 ac ); + void II( TQ_UINT32& a, TQ_UINT32 b, TQ_UINT32 c, TQ_UINT32 d, TQ_UINT32 x, + TQ_UINT32 s, TQ_UINT32 ac ); private: - Q_UINT32 m_state[4]; - Q_UINT32 m_count[2]; - Q_UINT8 m_buffer[64]; + TQ_UINT32 m_state[4]; + TQ_UINT32 m_count[2]; + TQ_UINT8 m_buffer[64]; Digest m_digest; bool m_finalized; @@ -704,7 +704,7 @@ protected: * Performs the real update work. Note * that length is implied to be 64. */ - void transform( Q_UINT32 buf[4], Q_UINT32 const in[16] ); + void transform( TQ_UINT32 buf[4], TQ_UINT32 const in[16] ); /** * finalizes the digest @@ -717,23 +717,23 @@ private: void init(); - void byteReverse( unsigned char *buf, Q_UINT32 len ); + void byteReverse( unsigned char *buf, TQ_UINT32 len ); - Q_UINT32 rotate_left( Q_UINT32 x, Q_UINT32 n ); - Q_UINT32 F( Q_UINT32 x, Q_UINT32 y, Q_UINT32 z ); - Q_UINT32 G( Q_UINT32 x, Q_UINT32 y, Q_UINT32 z ); - Q_UINT32 H( Q_UINT32 x, Q_UINT32 y, Q_UINT32 z ); - void FF( Q_UINT32& a, Q_UINT32 b, Q_UINT32 c, Q_UINT32 d, Q_UINT32 x, - Q_UINT32 s ); - void GG( Q_UINT32& a, Q_UINT32 b, Q_UINT32 c, Q_UINT32 d, Q_UINT32 x, - Q_UINT32 s ); - void HH( Q_UINT32& a, Q_UINT32 b, Q_UINT32 c, Q_UINT32 d, Q_UINT32 x, - Q_UINT32 s ); + TQ_UINT32 rotate_left( TQ_UINT32 x, TQ_UINT32 n ); + TQ_UINT32 F( TQ_UINT32 x, TQ_UINT32 y, TQ_UINT32 z ); + TQ_UINT32 G( TQ_UINT32 x, TQ_UINT32 y, TQ_UINT32 z ); + TQ_UINT32 H( TQ_UINT32 x, TQ_UINT32 y, TQ_UINT32 z ); + void FF( TQ_UINT32& a, TQ_UINT32 b, TQ_UINT32 c, TQ_UINT32 d, TQ_UINT32 x, + TQ_UINT32 s ); + void GG( TQ_UINT32& a, TQ_UINT32 b, TQ_UINT32 c, TQ_UINT32 d, TQ_UINT32 x, + TQ_UINT32 s ); + void HH( TQ_UINT32& a, TQ_UINT32 b, TQ_UINT32 c, TQ_UINT32 d, TQ_UINT32 x, + TQ_UINT32 s ); private: - Q_UINT32 m_state[4]; - Q_UINT32 m_count[2]; - Q_UINT8 m_buffer[64]; + TQ_UINT32 m_state[4]; + TQ_UINT32 m_count[2]; + TQ_UINT8 m_buffer[64]; Digest m_digest; bool m_finalized; |