⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vk_logpoller.cpp

📁 Linux平台下的内核及程序调试器
💻 CPP
字号:
/* ---------------------------------------------------------------------  * Implementation of class VkLogPoller                  vk_logpoller.cpp * Polls a log for updates * --------------------------------------------------------------------- * This file is part of Valkyrie, a front-end for Valgrind * Copyright (c) 2000-2006, OpenWorks LLP <info@open-works.co.uk> * This program is released under the terms of the GNU GPL v.2 * See the file LICENSE.GPL for the full license details. */#include "vk_logpoller.h"VkLogPoller::~VkLogPoller(){   /* m_timer deleted by it's parent: this */}VkLogPoller::VkLogPoller ( QObject* parent/*=0*/, const char* name/*=0*/ )   : QObject( parent, name ){   m_timer = new QTimer( this );   connect( m_timer, SIGNAL(timeout()),            this,    SIGNAL(logUpdated()) );}bool VkLogPoller::start( int interval/*=100*/){   return m_timer->start( interval );}void VkLogPoller::stop(){   if (m_timer->isActive())      m_timer->stop();}bool VkLogPoller::isActive(){   return m_timer->isActive();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -