From 8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:21:02 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- kio/misc/kntlm/kntlm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kio/misc/kntlm/kntlm.cpp') diff --git a/kio/misc/kntlm/kntlm.cpp b/kio/misc/kntlm/kntlm.cpp index 9af382483..dd9cd33ec 100644 --- a/kio/misc/kntlm/kntlm.cpp +++ b/kio/misc/kntlm/kntlm.cpp @@ -265,7 +265,7 @@ TQByteArray KNTLM::getLMv2Response( const TQString &target, const TQString &user TQByteArray hash = ntlmv2Hash( target, user, password ); TQByteArray clientChallenge( 8 ); for ( uint i = 0; i<8; i++ ) { - clientChallenge.data()[i] = KApplication::random() % 0xff; + clientChallenge.data()[i] = TDEApplication::random() % 0xff; } return lmv2Response( hash, clientChallenge, challenge ); } @@ -304,7 +304,7 @@ TQByteArray KNTLM::createBlob( const TQByteArray &targetinfo ) now *= (TQ_UINT64)10000000; bl->timestamp = KFromToLittleEndian( now ); for ( uint i = 0; i<8; i++ ) { - bl->challenge[i] = KApplication::random() % 0xff; + bl->challenge[i] = TDEApplication::random() % 0xff; } memcpy( blob.data() + sizeof(Blob), targetinfo.data(), targetinfo.size() ); return blob; -- cgit v1.2.1