Permalink
Browse files

* comment++

  • Loading branch information...
fcecconi committed Apr 3, 2011
1 parent eaf0c3a commit 3d3682b03bfe1166662de28781344c83524f212d
Showing with 26 additions and 11 deletions.
  1. +8 −8 Doxygen
  2. +0 −2 nmapsi4/core/discover/pingThread.cpp
  3. +18 −1 nmapsi4/core/discover/pingThread.h
16 Doxygen
@@ -53,11 +53,11 @@ HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
INTERNAL_DOCS = YES
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
FORCE_LOCAL_INCLUDES = NO
FORCE_LOCAL_INCLUDES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
@@ -109,8 +109,8 @@ FILTER_SOURCE_PATTERNS =
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
SOURCE_BROWSER = YES
INLINE_SOURCES = YES
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
@@ -257,12 +257,12 @@ DOT_FONTPATH =
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
UML_LOOK = YES
TEMPLATE_RELATIONS = YES
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
CALLER_GRAPH = NO
CALL_GRAPH = YES
CALLER_GRAPH = YES
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
@@ -24,10 +24,8 @@ pingCore::pingThread::pingThread(QByteArray& ProcB1, const QStringList hostname,
m_host(hostname),
m_par(parent)
{
// TODO: port parent
connect(m_par, SIGNAL(killScan()),
this, SLOT(stopProcess()));
}
void pingCore::pingThread::run()
@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2009-2011 by Francesco Cecconi *
* Copyright (C) 2011 by Francesco Cecconi *
* francesco.cecconi@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -30,22 +30,39 @@
#include "../nmapsi4Debug.h"
namespace pingCore {
/*!
* nping thread class, start nping with a QProcess and return
* QByteArray result with a signal.
*/
class pingThread : public QThread
{
Q_OBJECT
public:
/*!
* Create a nping QThread and start QProcess for nping
* with hostname parameters.
*/
pingThread(QByteArray& ProcB1, const QStringList hostname, QObject *parent = 0);
signals:
/*!
* Return nping QThread output with a Signal.
*/
void threadEnd(const QStringList, QByteArray, pingThread*);
private:
QByteArray m_pout;
QStringList m_host;
private slots:
/*!
* Load QProcess buffer return on QByteArray
*/
void setValue();
/*!
* Stop QProcess immediately.
*/
void stopProcess();
protected:

0 comments on commit 3d3682b

Please sign in to comment.