00001 #ifndef __ut_timer_qt_private_hpp__ 00002 #define __ut_timer_qt_private_hpp__ 00003 00004 #include "ut_timer.h" 00005 00006 #include <QTimer> 00007 00008 class MyTimer : public QTimer 00009 { 00010 Q_OBJECT 00011 00012 public: 00013 MyTimer( 00014 void* aUserdata, 00015 ut_TimerCallback* aCb 00016 ); 00017 00018 private: 00019 void* userdata; 00020 ut_TimerCallback* cb; 00021 00022 private slots: 00023 void handleTimeout(); 00024 }; 00025 00026 #endif /* __ut_timer_qt_private_hpp__ */ 00027 00028 /** 00029 00030 Copyright 2010 Helsinki Institute for Information Technology (HIIT) 00031 and the authors. All rights reserved. 00032 00033 Authors: Tero Hasu <tero.hasu@hut.fi> 00034 00035 Permission is hereby granted, free of charge, to any person 00036 obtaining a copy of this software and associated documentation files 00037 (the "Software"), to deal in the Software without restriction, 00038 including without limitation the rights to use, copy, modify, merge, 00039 publish, distribute, sublicense, and/or sell copies of the Software, 00040 and to permit persons to whom the Software is furnished to do so, 00041 subject to the following conditions: 00042 00043 The above copyright notice and this permission notice shall be 00044 included in all copies or substantial portions of the Software. 00045 00046 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00047 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00048 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00049 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 00050 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 00051 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00052 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 00053 SOFTWARE. 00054 00055 **/
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:57 2011 by Doxygen 1.6.1