Guest User

Untitled

a guest
May 31st, 2012
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. QtLogger::QtLogger()
  2.     : messageQueue( new QQueue<QString> )
  3. {
  4.     std::clog << "mq.size: "
  5.             << (messageQueue->isEmpty()?(-1):messageQueue->size())
  6.             << std::endl;
  7. }
  8.  
  9. // ======================================
  10.  
  11. class QtLogger
  12. {
  13. public:
  14.     QtLogger();
  15.     ~QtLogger();
  16.  
  17. protected:
  18.     QQueue< QString >* messageQueue;
  19. };
RAW Paste Data