[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/qca/examples/randomtest
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2005-02-28 5:08:58
Message-ID: 20050228050858.EB694148A2 () office ! kde ! org
[Download RAW message or body]

CVS commit by bhards: 

Update to work with Qt4.


  M +1 -1      randomtest.cpp   1.3


--- kdesupport/qca/examples/randomtest/randomtest.cpp  #1.2:1.3
@@ -60,5 +60,5 @@ int main(int argc, char **argv)
         // To make this viewable, we convert to hexadecimal.
         std::cout << "A random 10 byte array (in hex): ";
-        std::cout << QCA::Hex().arrayToString(tenBytes) << std::endl;
+        std::cout << QCA::Hex().arrayToString(tenBytes).toAscii().data() << std::endl;
 
         // Under some circumstances, you may want to create a


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic