Cherry-picking upstream-version 1.10.17.
* Bumped Standards to 4.1.0 - no changes needed * Changed CMAKE_BUILD_TYPE to RelWithDebInfo * Bumped dephelper to >= 10 and compat to 10 - removed --parallel from rules
This commit is contained in:
parent
c22bf2124c
commit
151094a2e3
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*kdev4
|
||||||
|
build
|
59
CHANGELOG
Normal file
59
CHANGELOG
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
|
||||||
|
qps-1.10.17 / 2017-09-22
|
||||||
|
========================
|
||||||
|
|
||||||
|
* some whitespaces fixed
|
||||||
|
* l10n: Polish translation
|
||||||
|
* Remove obsolete cpack
|
||||||
|
* Removed not needed ressource file
|
||||||
|
* some small fixes
|
||||||
|
* Fixed About page
|
||||||
|
* Fixed outdated FSF address in license headers
|
||||||
|
* Removed: It may be used, distributed and modified without limitation. - not exactly true.
|
||||||
|
* Added license headers
|
||||||
|
* Fix typo
|
||||||
|
* Fix license headers for files with clearly known authorship
|
||||||
|
* remove some empty files
|
||||||
|
* fixed encoding and added a proper GPL2 file header
|
||||||
|
* Renamed LICENSE -> COPYING
|
||||||
|
* Another set of licenseheader fixes
|
||||||
|
* Fixed some typos in comments (CMakeLists.txt) Fixed licenseheader: src/wchan.cpp UTF-8 and filename Fixed licenseheader: src/watchdogdialog.* filetype and UTF-8 Fixed licenseheader: src/watchcond.* UTF-8 Fixed licenseheader: src/ttystr.cpp filentype and UTF-8
|
||||||
|
* Work around grep 2.23 new behaviour
|
||||||
|
* Removes not needed file
|
||||||
|
* Fixes CPack package version
|
||||||
|
* Fixes misnaming of binary qps
|
||||||
|
* Use CMAKE PROJECT_NAME instead of PROJECT
|
||||||
|
* Removes Icon related commented code
|
||||||
|
* Removes the custom QtIconLoader
|
||||||
|
* Use QIcon::fromTheme() instead of the internal QtIconLoader
|
||||||
|
* Adds the resources as an target dependency
|
||||||
|
* Puts TableField sctruct on it's own file
|
||||||
|
* Puts the QpsApp in it's own file
|
||||||
|
* Splits the command file into several files
|
||||||
|
* Puts Command utilities into it's own file
|
||||||
|
* Updates translations sources
|
||||||
|
* Removes toolTip, statusTip, whatsThis and accesibleName from watchdog.ui
|
||||||
|
* Removes stylesheets commented stuff
|
||||||
|
* Include a copy of the license
|
||||||
|
* Install application icon
|
||||||
|
* Updates translation sources
|
||||||
|
* Adds desktop entry file
|
||||||
|
* Adds application internationalization / localization
|
||||||
|
* Set the minimum required CMake version to 3.0.2
|
||||||
|
* Add install instruction in CMakeLists.txt
|
||||||
|
* Add clang-format file and format all files
|
||||||
|
|
||||||
|
v1.10.16 / 2015-06-14
|
||||||
|
=====================
|
||||||
|
|
||||||
|
* Ported to Qt5 and fixed all warnings
|
||||||
|
* Added .gitignore
|
||||||
|
* remove
|
||||||
|
* fix
|
||||||
|
* fix
|
||||||
|
* fix
|
||||||
|
* hashstr length up to 128*8
|
||||||
|
* added
|
||||||
|
* fixed
|
||||||
|
* added source files
|
||||||
|
* commit
|
@ -12,7 +12,7 @@ endif()
|
|||||||
|
|
||||||
set(MAJOR_VERSION 1)
|
set(MAJOR_VERSION 1)
|
||||||
set(MINOR_VERSION 10)
|
set(MINOR_VERSION 10)
|
||||||
set(PATCH_VERSION 16)
|
set(PATCH_VERSION 17)
|
||||||
set(QPS_VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION})
|
set(QPS_VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION})
|
||||||
add_definitions(-DQPS_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
|
add_definitions(-DQPS_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
|
||||||
|
|
||||||
@ -56,13 +56,3 @@ install(FILES
|
|||||||
icon/qps.png
|
icon/qps.png
|
||||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/48x48/apps"
|
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/48x48/apps"
|
||||||
)
|
)
|
||||||
|
|
||||||
# building tar-ball with CPack
|
|
||||||
include(InstallRequiredSystemLibraries)
|
|
||||||
set(CPACK_PACKAGE_VERSION_MAJOR ${MAJOR_VERSION})
|
|
||||||
set(CPACK_PACKAGE_VERSION_MINOR ${MINOR_VERSION})
|
|
||||||
set(CPACK_PACKAGE_VERSION_PATCH ${PATCH_VERSION})
|
|
||||||
set(CPACK_GENERATOR TBZ2)
|
|
||||||
set(CPACK_SOURCE_GENERATOR TBZ2)
|
|
||||||
set(CPACK_SOURCE_IGNORE_FILES /build/;.gitignore;.*~;.git;.kdev4;temp)
|
|
||||||
include(CPack)
|
|
||||||
|
103
LICENSE.QPL
Normal file
103
LICENSE.QPL
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
THE Q PUBLIC LICENSE
|
||||||
|
version 1.0
|
||||||
|
|
||||||
|
Copyright (C) 1999-2006 Trolltech AS, Norway.
|
||||||
|
Everyone is permitted to copy and
|
||||||
|
distribute this license document.
|
||||||
|
|
||||||
|
The intent of this license is to establish freedom to share and change the
|
||||||
|
software regulated by this license under the open source model.
|
||||||
|
|
||||||
|
This license applies to any software containing a notice placed by the
|
||||||
|
copyright holder saying that it may be distributed under the terms of
|
||||||
|
the Q Public License version 1.0. Such software is herein referred to as
|
||||||
|
the Software. This license covers modification and distribution of the
|
||||||
|
Software, use of third-party application programs based on the Software,
|
||||||
|
and development of free software which uses the Software.
|
||||||
|
|
||||||
|
Granted Rights
|
||||||
|
|
||||||
|
1. You are granted the non-exclusive rights set forth in this license
|
||||||
|
provided you agree to and comply with any and all conditions in this
|
||||||
|
license. Whole or partial distribution of the Software, or software
|
||||||
|
items that link with the Software, in any form signifies acceptance of
|
||||||
|
this license.
|
||||||
|
|
||||||
|
2. You may copy and distribute the Software in unmodified form provided
|
||||||
|
that the entire package, including - but not restricted to - copyright,
|
||||||
|
trademark notices and disclaimers, as released by the initial developer
|
||||||
|
of the Software, is distributed.
|
||||||
|
|
||||||
|
3. You may make modifications to the Software and distribute your
|
||||||
|
modifications, in a form that is separate from the Software, such as
|
||||||
|
patches. The following restrictions apply to modifications:
|
||||||
|
|
||||||
|
a. Modifications must not alter or remove any copyright notices in
|
||||||
|
the Software.
|
||||||
|
|
||||||
|
b. When modifications to the Software are released under this
|
||||||
|
license, a non-exclusive royalty-free right is granted to the
|
||||||
|
initial developer of the Software to distribute your modification
|
||||||
|
in future versions of the Software provided such versions remain
|
||||||
|
available under these terms in addition to any other license(s) of
|
||||||
|
the initial developer.
|
||||||
|
|
||||||
|
4. You may distribute machine-executable forms of the Software or
|
||||||
|
machine-executable forms of modified versions of the Software, provided
|
||||||
|
that you meet these restrictions:
|
||||||
|
|
||||||
|
a. You must include this license document in the distribution.
|
||||||
|
|
||||||
|
b. You must ensure that all recipients of the machine-executable forms
|
||||||
|
are also able to receive the complete machine-readable source code
|
||||||
|
to the distributed Software, including all modifications, without
|
||||||
|
any charge beyond the costs of data transfer, and place prominent
|
||||||
|
notices in the distribution explaining this.
|
||||||
|
|
||||||
|
c. You must ensure that all modifications included in the
|
||||||
|
machine-executable forms are available under the terms of this
|
||||||
|
license.
|
||||||
|
|
||||||
|
5. You may use the original or modified versions of the Software to
|
||||||
|
compile, link and run application programs legally developed by you
|
||||||
|
or by others.
|
||||||
|
|
||||||
|
6. You may develop application programs, reusable components and other
|
||||||
|
software items that link with the original or modified versions of the
|
||||||
|
Software. These items, when distributed, are subject to the following
|
||||||
|
requirements:
|
||||||
|
|
||||||
|
a. You must ensure that all recipients of machine-executable forms of
|
||||||
|
these items are also able to receive and use the complete
|
||||||
|
machine-readable source code to the items without any charge
|
||||||
|
beyond the costs of data transfer.
|
||||||
|
|
||||||
|
b. You must explicitly license all recipients of your items to use
|
||||||
|
and re-distribute original and modified versions of the items in
|
||||||
|
both machine-executable and source code forms. The recipients must
|
||||||
|
be able to do so without any charges whatsoever, and they must be
|
||||||
|
able to re-distribute to anyone they choose.
|
||||||
|
|
||||||
|
|
||||||
|
c. If the items are not available to the general public, and the
|
||||||
|
initial developer of the Software requests a copy of the items,
|
||||||
|
then you must supply one.
|
||||||
|
|
||||||
|
Limitations of Liability
|
||||||
|
|
||||||
|
In no event shall the initial developers or copyright holders be liable
|
||||||
|
for any damages whatsoever, including - but not restricted to - lost
|
||||||
|
revenue or profits or other direct, indirect, special, incidental or
|
||||||
|
consequential damages, even if they have been advised of the possibility
|
||||||
|
of such damages, except to the extent invariable law, if any, provides
|
||||||
|
otherwise.
|
||||||
|
|
||||||
|
No Warranty
|
||||||
|
|
||||||
|
The Software and this license document are provided AS IS with NO WARRANTY
|
||||||
|
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE.
|
||||||
|
Choice of Law
|
||||||
|
|
||||||
|
This license is governed by the Laws of Norway. Disputes shall be settled
|
||||||
|
by Oslo City Court.
|
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,11 +1,11 @@
|
|||||||
qps (1.10.17-1) UNRELEASED; urgency=medium
|
qps (1.10.17-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Cherry-picking upstream-version 1.10.17.
|
* Cherry-picking upstream-version 1.10.17.
|
||||||
* Bumped Standards to 4.1.0 - no changes needed
|
* Bumped Standards to 4.1.0 - no changes needed
|
||||||
* Changed CMAKE_BUILD_TYPE to RelWithDebInfo
|
* Changed CMAKE_BUILD_TYPE to RelWithDebInfo
|
||||||
* Bumped dephelper to >= 10 and compat to 10 - removed --parallel from rules
|
* Bumped dephelper to >= 10 and compat to 10 - removed --parallel from rules
|
||||||
|
|
||||||
-- Alf Gaida <agaida@siduction.org> Fri, 22 Sep 2017 00:24:15 +0200
|
-- Alf Gaida <agaida@siduction.org> Fri, 22 Sep 2017 00:41:35 +0200
|
||||||
|
|
||||||
qps (1.10.16-29-g7e679db-1) unstable; urgency=medium
|
qps (1.10.16-29-g7e679db-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
proc.cpp
|
proc.cpp
|
||||||
qpsapp.cpp
|
qpsapp.cpp
|
||||||
|
@ -1,11 +1,28 @@
|
|||||||
// checkboxdelegate.cpp
|
/*
|
||||||
//
|
* checkboxdelegate.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "checkboxdelegate.h"
|
#include "checkboxdelegate.h"
|
||||||
|
|
||||||
#include <QSpinBox>
|
#include <QSpinBox>
|
||||||
|
|
||||||
checkBoxDelegate::checkBoxDelegate(QObject *parent) : QItemDelegate(parent) {}
|
checkBoxDelegate::checkBoxDelegate(QObject *parent) : QItemDelegate(parent) {}
|
||||||
//! [0]
|
//! [0]
|
||||||
|
|
||||||
@ -91,4 +108,3 @@ void checkBoxDelegate::paint(QPainter *painter,
|
|||||||
}
|
}
|
||||||
// QSize QAbstractItemDelegate::sizeHint ( const QStyleOptionViewItem & option,
|
// QSize QAbstractItemDelegate::sizeHint ( const QStyleOptionViewItem & option,
|
||||||
// const QModelIndex & index ) const [pure virtual]
|
// const QModelIndex & index ) const [pure virtual]
|
||||||
|
|
||||||
|
@ -1,8 +1,24 @@
|
|||||||
// checkboxdelegate.h
|
/*
|
||||||
//
|
* checkboxdelegate.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef CHECKBOXDELEGATE_H
|
#ifndef CHECKBOXDELEGATE_H
|
||||||
#define CHECKBOXDELEGATE_H
|
#define CHECKBOXDELEGATE_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// command.cpp
|
/*
|
||||||
//
|
* command.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// command.h
|
/*
|
||||||
//
|
* command.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef COMMAND_H
|
#ifndef COMMAND_H
|
||||||
#define COMMAND_H
|
#define COMMAND_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// commanddialog.cpp
|
/*
|
||||||
//
|
* commanddialog.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "commanddialog.h"
|
#include "commanddialog.h"
|
||||||
|
|
||||||
@ -115,7 +132,7 @@ CommandDialog::CommandDialog()
|
|||||||
TBloon *bloon = new TBloon(this);
|
TBloon *bloon = new TBloon(this);
|
||||||
/// for(int i = 0; i < commands.size(); i++)
|
/// for(int i = 0; i < commands.size(); i++)
|
||||||
/// listview->insertItem(commands[i]->name);
|
/// listview->insertItem(commands[i]->name);
|
||||||
// listview->addItem(commands[i]->name);
|
/// listview->addItem(commands[i]->name);
|
||||||
/// vbox->freeze();
|
/// vbox->freeze();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -254,4 +271,3 @@ void CommandDialog::del_current()
|
|||||||
emit command_change(); // notice to refresh menu_commands
|
emit command_change(); // notice to refresh menu_commands
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,8 +1,24 @@
|
|||||||
// commanddialog.h
|
/*
|
||||||
//
|
* commanddialog.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef COMMANDDIALOG_H
|
#ifndef COMMANDDIALOG_H
|
||||||
#define COMMANDDIALOG_H
|
#define COMMANDDIALOG_H
|
||||||
|
@ -1,10 +1,26 @@
|
|||||||
// commandmodel.cpp
|
/*
|
||||||
//
|
* commandmodel.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "commandmodel.h"
|
#include "commandmodel.h"
|
||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
extern QList<Command *> commands;
|
extern QList<Command *> commands;
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// commandmodel.h
|
/*
|
||||||
//
|
* commandmodel.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
|
|
||||||
|
@ -1,10 +1,26 @@
|
|||||||
// commandutils.cpp
|
/*
|
||||||
//
|
* commandutils.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "commandutils.h"
|
#include "commandutils.h"
|
||||||
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
|
|
||||||
extern QList<Command *> commands;
|
extern QList<Command *> commands;
|
||||||
@ -73,4 +89,3 @@ void add_default_command()
|
|||||||
|
|
||||||
// check_commandAll(); DEL?
|
// check_commandAll(); DEL?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// commandutils.h
|
/*
|
||||||
//
|
* commandutils.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef COMMANDUTILS_H
|
#ifndef COMMANDUTILS_H
|
||||||
#define COMMANDUTILS_H
|
#define COMMANDUTILS_H
|
||||||
|
25
src/config.h
25
src/config.h
@ -1,7 +1,24 @@
|
|||||||
// config.h -*-c++-*-
|
/*
|
||||||
//
|
* config.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef CONFIG_H
|
#ifndef CONFIG_H
|
||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// details.cpp
|
/*
|
||||||
//
|
* details.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// details.h
|
/*
|
||||||
//
|
* details.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef DETAILS_H
|
#ifndef DETAILS_H
|
||||||
#define DETAILS_H
|
#define DETAILS_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// dialogs.cpp
|
/*
|
||||||
//
|
* dialogs.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "qps.h"
|
#include "qps.h"
|
||||||
#include "dialogs.h"
|
#include "dialogs.h"
|
||||||
|
@ -1,7 +1,25 @@
|
|||||||
// dialogs.h
|
/*
|
||||||
//
|
* dialogs.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// misc. handy dialogs for use everywhere
|
// misc. handy dialogs for use everywhere
|
||||||
|
|
||||||
|
@ -1,10 +1,26 @@
|
|||||||
// execwindow.cpp
|
/*
|
||||||
//
|
* execwindow.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "execwindow.h"
|
#include "execwindow.h"
|
||||||
|
|
||||||
#include "watchcond.h"
|
#include "watchcond.h"
|
||||||
|
|
||||||
QList<ExecWindow *> execlist;
|
QList<ExecWindow *> execlist;
|
||||||
@ -109,4 +125,3 @@ void ExecWindow::setText(QString str)
|
|||||||
textEdit->append(str);
|
textEdit->append(str);
|
||||||
// label->setText(str);
|
// label->setText(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// execwindow.h
|
/*
|
||||||
//
|
* execwindow.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef EXECWINDOW_H
|
#ifndef EXECWINDOW_H
|
||||||
#define EXECWINDOW_H
|
#define EXECWINDOW_H
|
||||||
|
@ -1,8 +1,24 @@
|
|||||||
// indent by VIM
|
/*
|
||||||
// fieldsel.cpp
|
* fieldsel.cpp
|
||||||
//
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// This program is free software. See the file COPYING for details.
|
*
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "fieldsel.h"
|
#include "fieldsel.h"
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// fieldsel.h
|
/*
|
||||||
//
|
* fieldsel.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef FIELDSEL_H
|
#ifndef FIELDSEL_H
|
||||||
#define FIELDSEL_H
|
#define FIELDSEL_H
|
||||||
|
23
src/global.h
23
src/global.h
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* stable.h
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef GLOBAL_H
|
#ifndef GLOBAL_H
|
||||||
#define GLOBAL_H
|
#define GLOBAL_H
|
||||||
|
|
||||||
|
@ -1,10 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* htable.cpp
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// very dirty and complex code ( fasthyun@magicn.com)
|
// very dirty and complex code ( fasthyun@magicn.com)
|
||||||
// Disaster !!
|
// Disaster !!
|
||||||
|
|
||||||
// htable.cpp
|
|
||||||
// This program is free software. See the file COPYING for details.
|
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
// * autoscroll speed proportional to distance from edge
|
// * autoscroll speed proportional to distance from edge
|
||||||
// * interface to add/remove rows (for disclosure triangles)
|
// * interface to add/remove rows (for disclosure triangles)
|
||||||
|
25
src/htable.h
25
src/htable.h
@ -1,7 +1,24 @@
|
|||||||
// htable.h
|
/*
|
||||||
//
|
* htable.h
|
||||||
// This program is free software. See the file COPYING for details.
|
*
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
// This file defines the HeadedTable class.
|
// This file defines the HeadedTable class.
|
||||||
// A HeadedTable is a QTableView with one line of headers over each column.
|
// A HeadedTable is a QTableView with one line of headers over each column.
|
||||||
|
@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* htable2.cpp
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "htable2.h"
|
#include "htable2.h"
|
||||||
HtableModel::HtableModel(QObject *parent) : QAbstractItemModel(parent)
|
HtableModel::HtableModel(QObject *parent) : QAbstractItemModel(parent)
|
||||||
|
@ -1,9 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* htable2.h
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <QTreeView>
|
#include <QTreeView>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
#include <QStandardItemModel>
|
#include <QStandardItemModel>
|
||||||
#include <QHeaderView>
|
#include <QHeaderView>
|
||||||
|
|
||||||
#include <QTreeWidget>
|
#include <QTreeWidget>
|
||||||
|
|
||||||
class HeadedTable2;
|
class HeadedTable2;
|
||||||
|
@ -1,9 +1,25 @@
|
|||||||
// infobar.cpp
|
/*
|
||||||
//
|
* infobar.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
// 13,245,200
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// infobar.h
|
/*
|
||||||
//
|
* infobar.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef INFOBAR_H
|
#ifndef INFOBAR_H
|
||||||
#define INFOBAR_H
|
#define INFOBAR_H
|
||||||
|
@ -1,10 +1,26 @@
|
|||||||
// listmodel.cpp
|
/*
|
||||||
//
|
* listmodel.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "listmodel.h"
|
#include "listmodel.h"
|
||||||
|
|
||||||
#include "watchcond.h"
|
#include "watchcond.h"
|
||||||
|
|
||||||
extern QList<watchCond *> watchlist;
|
extern QList<watchCond *> watchlist;
|
||||||
@ -104,4 +120,3 @@ QVariant ListModel::data(const QModelIndex &index, int role) const
|
|||||||
}
|
}
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// listmodel.h
|
/*
|
||||||
//
|
* listmodel.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef LISTMODEL_H
|
#ifndef LISTMODEL_H
|
||||||
#define LISTMODEL_H
|
#define LISTMODEL_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// lookup.cpp
|
/*
|
||||||
//
|
* lookup.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
// This module implements asynchronous address->hostname lookup.
|
// This module implements asynchronous address->hostname lookup.
|
||||||
|
|
||||||
|
25
src/lookup.h
25
src/lookup.h
@ -1,7 +1,24 @@
|
|||||||
// lookup.h
|
/*
|
||||||
//
|
* lookup.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef LOOKUP_H
|
#ifndef LOOKUP_H
|
||||||
#define LOOKUP_H
|
#define LOOKUP_H
|
||||||
|
22
src/misc.cpp
22
src/misc.cpp
@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* misc.cpp
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
23
src/misc.h
23
src/misc.h
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* misc.h
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef MISC_H
|
#ifndef MISC_H
|
||||||
#define MISC_H
|
#define MISC_H
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// prefs.cpp
|
/*
|
||||||
//
|
* prefs.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "prefs.h"
|
#include "prefs.h"
|
||||||
#include "proc.h"
|
#include "proc.h"
|
||||||
|
25
src/prefs.h
25
src/prefs.h
@ -1,7 +1,24 @@
|
|||||||
// prefs.h
|
/*
|
||||||
//
|
* prefs.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef PREFS_H
|
#ifndef PREFS_H
|
||||||
#define PREFS_H
|
#define PREFS_H
|
||||||
|
27
src/proc.cpp
27
src/proc.cpp
@ -1,8 +1,25 @@
|
|||||||
// proc.cpp for Linux
|
/*
|
||||||
//
|
* proc.cpp for Linux
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
// Oliver
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
* Copyright Olivier Daudel
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
LWP (Light Weight Process): just thread, mainly used in Solaris
|
LWP (Light Weight Process): just thread, mainly used in Solaris
|
||||||
|
26
src/proc.h
26
src/proc.h
@ -1,8 +1,24 @@
|
|||||||
// proc.h
|
/*
|
||||||
//
|
* proc.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
//
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef PROC_H
|
#ifndef PROC_H
|
||||||
#define PROC_H
|
#define PROC_H
|
||||||
|
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* fm-search-uri.c
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2015 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
|
||||||
|
* Copyright 2012-2014 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
// for Non-ASCII locale
|
// for Non-ASCII locale
|
||||||
//#include <global.h>
|
//#include <global.h>
|
||||||
|
|
||||||
|
@ -1,8 +1,24 @@
|
|||||||
// proc.cpp for Linux
|
/*
|
||||||
//
|
* proc.cpp for Linux
|
||||||
// This program is free software. See the file COPYING for details.
|
*
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
// Oliver
|
* Copyright Olivier Daudel
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
LWP (Light Weight Process): just thread, mainly used in Solaris
|
LWP (Light Weight Process): just thread, mainly used in Solaris
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// proc.cpp
|
/*
|
||||||
//
|
* proc_mosix.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -1,8 +1,24 @@
|
|||||||
// proc.cpp for Solaris (SunOS)
|
/*
|
||||||
//
|
* proc.cpp for Solaris (SunOS)
|
||||||
// This program is free software. See the file COPYING for details.
|
*
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
// José Luis Sánchez, 2005
|
* Copyright 2005 José Luis Sánchez
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -345,7 +361,7 @@ int Procinfo::readproc()
|
|||||||
|
|
||||||
gettimeofday(&tv, 0); // current_time, sys/time , tv.tv_sec, tv.tv_usec
|
gettimeofday(&tv, 0); // current_time, sys/time , tv.tv_sec, tv.tv_usec
|
||||||
|
|
||||||
// god dam!!!! if that dont reel in¿ the ladies then nothing will!!!!
|
// god dam!!!! if that dont reel in the ladies then nothing will!!!!
|
||||||
|
|
||||||
// No
|
// No
|
||||||
state = psi.pr_lwp.pr_sname; // no
|
state = psi.pr_lwp.pr_sname; // no
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// pstable.cpp
|
/*
|
||||||
//
|
* pstable.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
// ** toooo complex,so need new Design ... should be more simple.. (by
|
// ** toooo complex,so need new Design ... should be more simple.. (by
|
||||||
// fasthyun@magicn.com)
|
// fasthyun@magicn.com)
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// pstable.h
|
/*
|
||||||
//
|
* pstable.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef PSTABLE_H
|
#ifndef PSTABLE_H
|
||||||
#define PSTABLE_H
|
#define PSTABLE_H
|
||||||
|
@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* pstable2.cpp
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "pstable2.h"
|
#include "pstable2.h"
|
||||||
int flag_x = 0;
|
int flag_x = 0;
|
||||||
|
@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* pstable2.h
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "proc.h"
|
#include "proc.h"
|
||||||
#include "htable2.h"
|
#include "htable2.h"
|
||||||
|
76
src/qps.cpp
76
src/qps.cpp
@ -1,8 +1,26 @@
|
|||||||
// qps -- Qt-based visual process status monitor
|
/*
|
||||||
// This program is free software. See the file COPYING for details.
|
* qps.cpp
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// fasthyun@magicn.com 2005-2012
|
*
|
||||||
// daehyun.yang@gmail.com 2015-
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
* Copyright 2005-2012 fasthyun@magicn.com
|
||||||
|
* Copyright 2015- daehyun.yang@gmail.com
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
// TODO & MEMO
|
// TODO & MEMO
|
||||||
/*
|
/*
|
||||||
@ -11,9 +29,8 @@
|
|||||||
* 1. F_CMDLINE should be rightmost field
|
* 1. F_CMDLINE should be rightmost field
|
||||||
* 2. F_PROCESSNAME shoud be leftmost field and NEVER removed!
|
* 2. F_PROCESSNAME shoud be leftmost field and NEVER removed!
|
||||||
*
|
*
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// . Memory Hole or Qt's string allocate bug?
|
// . Memory Hole or Qt's string allocate bug?
|
||||||
// . clipboard copy [CMDLINE,PID,USERNAME...]
|
// . clipboard copy [CMDLINE,PID,USERNAME...]
|
||||||
// . [klog] table cache.
|
// . [klog] table cache.
|
||||||
@ -238,9 +255,9 @@ Qps::Qps()
|
|||||||
|
|
||||||
connect(m_options, SIGNAL(aboutToShow()), SLOT(update_menu_status()));
|
connect(m_options, SIGNAL(aboutToShow()), SLOT(update_menu_status()));
|
||||||
|
|
||||||
QMenu *m_help = new QMenu("Help", this);
|
QMenu *m_help = new QMenu("&Help", this);
|
||||||
// m_help->addAction("FAQ", this, SLOT(license()));
|
// m_help->addAction("FAQ", this, SLOT(license()));
|
||||||
m_help->addAction(QIcon::fromTheme("help-about"), "Feedback", this,
|
m_help->addAction(QIcon::fromTheme("help-about"), "&About", this,
|
||||||
SLOT(about()));
|
SLOT(about()));
|
||||||
|
|
||||||
// menu = new QMenuBar(this);
|
// menu = new QMenuBar(this);
|
||||||
@ -2310,35 +2327,26 @@ void Qps::about()
|
|||||||
"using Qt library ");
|
"using Qt library ");
|
||||||
|
|
||||||
str.append(qVersion());
|
str.append(qVersion());
|
||||||
// s.append(url);
|
str.append("<br><br>"
|
||||||
str.append(""
|
"<b>Source: </b><a href=\"https://github.com/QtDesktop/qps\">http://github.com/QtDesktop/qps/</a>"
|
||||||
"<br>"
|
"<br>"
|
||||||
"<A "
|
"<b>Bugtracker: </b><a href=\"https://github.com/QtDesktop/qps/issues\">https://github.com/QtDesktop/qps/issues</a>"
|
||||||
"HREF=\"http://kldp.net/projects/qps\">http://kldp.net/projects/"
|
);
|
||||||
"qps</A>");
|
|
||||||
label->setText(str);
|
label->setText(str);
|
||||||
|
|
||||||
str = "";
|
str = "";
|
||||||
str.append("<center><b> Bug, Complains, Opinion, Patch to </b></center>"
|
str.append("<b>Original Qps by</b><br>"
|
||||||
"<center><a href=\"mail://daehyun.yang@gmail.com\" > "
|
"Mattias Engdegård (f91-men@nada.kth.se)<br><br>"
|
||||||
"daehyun.yang@gmail.com </a></center>"
|
"<b>Contributors</b><br>"
|
||||||
"<br>"
|
"Olivier.Daudel@u-paris10.fr<br>"
|
||||||
"<center> Contributors </center>"
|
"jsanchez@todounix.homeip.net <br>"
|
||||||
"<center><i>Olivier.Daudel@u-paris10.fr </i></center>"
|
"daehyun.yang@gmail.com <br>"
|
||||||
"<center><i>jsanchez@todounix.homeip.net </i></center>"
|
"Luís Pereira (luis.artur.pereira@gmail.com)<br>"
|
||||||
"<center><i>\
|
"Alf Gaida (agaida@siduction.org)<br>"
|
||||||
Vince Schiavoni (hlingler@verizon.net)\
|
"Paulo Lieuthier (paulolieuthier@gmail.com)<br>"
|
||||||
</i></center>"
|
"Jerome Leclanche (jerome@leclan.ch)<br>"
|
||||||
"<br>"
|
);
|
||||||
"<center>Original Qps by</center>"
|
|
||||||
"<center><i>"
|
|
||||||
" Mattias Engdeg?rd\n" //"(f91-men@nada.kth.se)\n"
|
|
||||||
"</i></center>");
|
|
||||||
|
|
||||||
// QPushButton *contribut = new QPushButton(tr("&More"));
|
|
||||||
|
|
||||||
// moreButton->setCheckable(true);
|
|
||||||
// moreButton->setAutoDefault(false);
|
|
||||||
|
|
||||||
browser->setText(str);
|
browser->setText(str);
|
||||||
|
|
||||||
|
25
src/qps.h
25
src/qps.h
@ -1,7 +1,24 @@
|
|||||||
// qps.h
|
/*
|
||||||
//
|
* qps.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef QPS_H
|
#ifndef QPS_H
|
||||||
#define QPS_H
|
#define QPS_H
|
||||||
|
@ -1,7 +1,26 @@
|
|||||||
// This program is free software. See the file COPYING for details.
|
/*
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
* qpsapp.cpp
|
||||||
// fasthyun@magicn.com 2005-2012
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// daehyun.yang@gmail.com 2015-
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
* Copyright 2005-2012 fasthyun@magicn.com
|
||||||
|
* Copyright 2015- daehyun.yang@gmail.com
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "qpsapp.h"
|
#include "qpsapp.h"
|
||||||
|
|
||||||
|
29
src/qpsapp.h
29
src/qpsapp.h
@ -1,9 +1,26 @@
|
|||||||
// qpsapp.h
|
/*
|
||||||
//
|
* qpsapp.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
// fasthyun@magicn.com 2005-2012
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
// daehyun.yang@gmail.com 2015-
|
* Copyright 2005-2012 fasthyun@magicn.com
|
||||||
|
* Copyright 2015- daehyun.yang@gmail.com
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef QPSAPP_H
|
#ifndef QPSAPP_H
|
||||||
#define QPSAPP_H
|
#define QPSAPP_H
|
||||||
|
1205
src/qrc_qps.cpp
1205
src/qrc_qps.cpp
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,36 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
** $Id: qttableview.cpp,v 1.115 2011/08/27 00:13:41 fasthyun Exp $
|
** $Id: qttableview.cpp,v 1.115 2011/08/27 00:13:41 fasthyun Exp $
|
||||||
|
**
|
||||||
** Implementation of QtTableView class
|
** Implementation of QtTableView class
|
||||||
** Created : 941115
|
**
|
||||||
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
|
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
|
||||||
** This file contains a class moved out of the Qt GUI Toolkit API. It
|
**
|
||||||
** may be used, distributed and modified without limitation.
|
** This file contains a class moved out of the Qt GUI Toolkit API.
|
||||||
|
**
|
||||||
|
** This file may be distributed under the terms of the Q Public License
|
||||||
|
** as defined by Trolltech AS of Norway and appearing in the file
|
||||||
|
** LICENSE.QPL included in the packaging of this file.
|
||||||
|
**
|
||||||
|
** This file may be distributed and/or modified under the terms of the
|
||||||
|
** GNU General Public License version 2 as published by the Free Software
|
||||||
|
** Foundation and appearing in the file COPYING included in the
|
||||||
|
** packaging of this file.
|
||||||
|
**
|
||||||
|
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
||||||
|
** licenses may use this file in accordance with the Qt Commercial License
|
||||||
|
** Agreement provided with the Software.
|
||||||
|
**
|
||||||
|
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
**
|
||||||
|
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
||||||
|
** information about Qt Commercial License Agreements.
|
||||||
|
** See http://www.trolltech.com/qpl/ for QPL licensing information.
|
||||||
|
** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
||||||
|
**
|
||||||
|
** Contact info@trolltech.com if any conditions of this licensing are
|
||||||
|
** not clear to you.
|
||||||
|
**
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include "qttableview.h"
|
#include "qttableview.h"
|
||||||
|
@ -3,12 +3,33 @@
|
|||||||
**
|
**
|
||||||
** Definition of QtTableView class
|
** Definition of QtTableView class
|
||||||
**
|
**
|
||||||
** Created : 941115
|
|
||||||
**
|
|
||||||
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
|
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
|
||||||
**
|
**
|
||||||
** This file contains a class moved out of the Qt GUI Toolkit API. It
|
** This file contains a class moved out of the Qt GUI Toolkit API.
|
||||||
** may be used, distributed and modified without limitation.
|
**
|
||||||
|
** This file may be distributed under the terms of the Q Public License
|
||||||
|
** as defined by Trolltech AS of Norway and appearing in the file
|
||||||
|
** LICENSE.QPL included in the packaging of this file.
|
||||||
|
**
|
||||||
|
** This file may be distributed and/or modified under the terms of the
|
||||||
|
** GNU General Public License version 2 as published by the Free Software
|
||||||
|
** Foundation and appearing in the file COPYING included in the
|
||||||
|
** packaging of this file.
|
||||||
|
**
|
||||||
|
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
||||||
|
** licenses may use this file in accordance with the Qt Commercial License
|
||||||
|
** Agreement provided with the Software.
|
||||||
|
**
|
||||||
|
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
**
|
||||||
|
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
||||||
|
** information about Qt Commercial License Agreements.
|
||||||
|
** See http://www.trolltech.com/qpl/ for QPL licensing information.
|
||||||
|
** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
||||||
|
**
|
||||||
|
** Contact info@trolltech.com if any conditions of this licensing are
|
||||||
|
** not clear to you.
|
||||||
**
|
**
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
|
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* screenshot.cpp
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QSizeGrip>
|
#include <QSizeGrip>
|
||||||
#include "screenshot.h"
|
#include "screenshot.h"
|
||||||
|
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* screenshot.h
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef SCREENSHOT_H
|
#ifndef SCREENSHOT_H
|
||||||
#define SCREENSHOT_H
|
#define SCREENSHOT_H
|
||||||
|
|
||||||
|
24
src/stable.h
24
src/stable.h
@ -1,3 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* stable.h
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2014 dae hyun, yang <daehyun.yang@gmail.com>
|
||||||
|
* Copyright 2015 Paulo Lieuthier <paulolieuthier@gmail.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// for Precompiled Header !
|
// for Precompiled Header !
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
25
src/svec.cpp
25
src/svec.cpp
@ -1,7 +1,24 @@
|
|||||||
// svec.cpp
|
/*
|
||||||
//
|
* svec.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
// implement a stretchy vector class:
|
// implement a stretchy vector class:
|
||||||
// An Svec<T> grows automatically (doubles when full), so that adding
|
// An Svec<T> grows automatically (doubles when full), so that adding
|
||||||
|
25
src/svec.h
25
src/svec.h
@ -1,7 +1,24 @@
|
|||||||
// svec.h emacs, this is a -*-c++-*- file
|
/*
|
||||||
//
|
* svec.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef SVEC_H
|
#ifndef SVEC_H
|
||||||
#define SVEC_H
|
#define SVEC_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// tablefield.h
|
/*
|
||||||
//
|
* tablefield.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef TABLEFIELD_H
|
#ifndef TABLEFIELD_H
|
||||||
#define TABLEFIELD_H
|
#define TABLEFIELD_H
|
||||||
|
171
src/translations/qps_pl.ts
Normal file
171
src/translations/qps_pl.ts
Normal file
@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="pl">
|
||||||
|
<context>
|
||||||
|
<name>ControlBar</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../misc.cpp" line="964"/>
|
||||||
|
<source>Pause (Ctrl+Space)</source>
|
||||||
|
<translation>Pauzuj (Ctrl+Spacja)</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>EventDialog</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="23"/>
|
||||||
|
<source>Watchdog 0.1 alpha</source>
|
||||||
|
<translation type="unfinished">Watchdog 0.1 alpha</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="117"/>
|
||||||
|
<source>Eventcat</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="162"/>
|
||||||
|
<source>Select condition</source>
|
||||||
|
<translation>Wybierz warunek</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="170"/>
|
||||||
|
<source>labelDescrition</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="193"/>
|
||||||
|
<source>Enable</source>
|
||||||
|
<translation>Włącz</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="219"/>
|
||||||
|
<source>process name</source>
|
||||||
|
<translation>nazwa procesu</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="229"/>
|
||||||
|
<source>cpu</source>
|
||||||
|
<translation>procesor</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="248"/>
|
||||||
|
<source>%</source>
|
||||||
|
<translation>%</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="280"/>
|
||||||
|
<source>include already running process</source>
|
||||||
|
<translation>uwzględnij już uruchomiony proces</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="309"/>
|
||||||
|
<source>run command</source>
|
||||||
|
<translation>wykonaj polecenie</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="342"/>
|
||||||
|
<source>show Message</source>
|
||||||
|
<translation>wyświetl wiadomość</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="367"/>
|
||||||
|
<source>Help (Not yet. just concept)</source>
|
||||||
|
<translation>Pomoc (nie zaimplementowano jeszcze)</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="394"/>
|
||||||
|
<source>%p : pid
|
||||||
|
%c : command</source>
|
||||||
|
<translation>%p : id procesu
|
||||||
|
%c : polecenie</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="425"/>
|
||||||
|
<source>New</source>
|
||||||
|
<translation>Nowy</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="432"/>
|
||||||
|
<source>Add</source>
|
||||||
|
<translation>Dodaj</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="439"/>
|
||||||
|
<source>Delete</source>
|
||||||
|
<translation>Usuń</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../watchdog.ui" line="446"/>
|
||||||
|
<source>Close</source>
|
||||||
|
<translation>Zamknij</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>ExecWindow</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../message.ui" line="13"/>
|
||||||
|
<source>Qps</source>
|
||||||
|
<translation>Qps</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../message.ui" line="27"/>
|
||||||
|
<source>Ok</source>
|
||||||
|
<translation>OK</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>Qps</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qps.cpp" line="335"/>
|
||||||
|
<source>Detail</source>
|
||||||
|
<translation>Szczegół</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>Screenshot</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="271"/>
|
||||||
|
<source>/untitled.</source>
|
||||||
|
<translation>/bez tytułu.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="276"/>
|
||||||
|
<source>Save As</source>
|
||||||
|
<translation>Zapisz jako</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="277"/>
|
||||||
|
<source>%1 Files (*.%2);;All Files (*)</source>
|
||||||
|
<translation>%1 plików (*.%2);;Wszystkie pliki (*)</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="304"/>
|
||||||
|
<source>Options</source>
|
||||||
|
<translation>Opcje</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="307"/>
|
||||||
|
<source> s</source>
|
||||||
|
<translation> sek</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="312"/>
|
||||||
|
<source>Screenshot Delay:</source>
|
||||||
|
<translation>Opóźnienie zrzutu ekranu</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="314"/>
|
||||||
|
<source>Hide This Window</source>
|
||||||
|
<translation>Ukryj to okno</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="326"/>
|
||||||
|
<source>New Screenshot</source>
|
||||||
|
<translation>Nowy zrzut ekranu</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../screenshot.cpp" line="327"/>
|
||||||
|
<source>Quit</source>
|
||||||
|
<translation>Wyjdź</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* trayicon.h - system-independent trayicon class (adapted from Qt example)
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2003 Justin Karneges
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
really sucking codes.. sorry..
|
really sucking codes.. sorry..
|
||||||
from psi , modified and cleand by fasthyun@magicn.com
|
from psi , modified and cleand by fasthyun@magicn.com
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* trayicon.h - system-independent trayicon class (adapted from Qt example)
|
* trayicon.h - system-independent trayicon class (adapted from Qt example)
|
||||||
* Copyright (C) 2003 Justin Karneges
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* Copyright 2003 Justin Karneges
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
@ -14,7 +16,8 @@
|
|||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// ttystr.cpp
|
/*
|
||||||
//
|
* ttystr.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
*
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
25
src/ttystr.h
25
src/ttystr.h
@ -1,7 +1,24 @@
|
|||||||
// ttystr.h
|
/*
|
||||||
//
|
* ttystr.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef TTYSTR_H
|
#ifndef TTYSTR_H
|
||||||
#define TTYSTR_H
|
#define TTYSTR_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// uidstr.C
|
/*
|
||||||
//
|
* uidstr.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
|
25
src/uidstr.h
25
src/uidstr.h
@ -1,7 +1,24 @@
|
|||||||
// uidstr.h
|
/*
|
||||||
//
|
* uidstr.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef UIDSTR_H
|
#ifndef UIDSTR_H
|
||||||
#define UIDSTR_H
|
#define UIDSTR_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// watchcond.cpp
|
/*
|
||||||
//
|
* watchcond.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "watchcond.h"
|
#include "watchcond.h"
|
||||||
|
|
||||||
@ -73,4 +90,3 @@ void watchCond::putstring(QString str)
|
|||||||
else
|
else
|
||||||
enable = false;
|
enable = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// watchcond.h
|
/*
|
||||||
//
|
* watchcond.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef WATCHCOND_H
|
#ifndef WATCHCOND_H
|
||||||
#define WATCHCOND_H
|
#define WATCHCOND_H
|
||||||
@ -47,4 +64,3 @@ class watchCond
|
|||||||
};
|
};
|
||||||
|
|
||||||
#endif // WATCHCOND_H
|
#endif // WATCHCOND_H
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// watchdogdialog.cpp
|
/*
|
||||||
//
|
* watchdogdialog.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "watchdogdialog.h"
|
#include "watchdogdialog.h"
|
||||||
|
|
||||||
@ -236,4 +253,3 @@ void WatchdogDialog::apply()
|
|||||||
qps->write_settings();
|
qps->write_settings();
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// watchdogdialog.h
|
/*
|
||||||
//
|
* watchdogdialog.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef WATCHDOGDIALOG_H
|
#ifndef WATCHDOGDIALOG_H
|
||||||
#define WATCHDOGDIALOG_H
|
#define WATCHDOGDIALOG_H
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
// wchan.cpp
|
/*
|
||||||
//
|
* wchan.cpp
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
25
src/wchan.h
25
src/wchan.h
@ -1,7 +1,24 @@
|
|||||||
// wchan.h
|
/*
|
||||||
//
|
* wchan.h
|
||||||
// This program is free software. See the file COPYING for details.
|
* This file is part of qps -- Qt-based visual process status monitor
|
||||||
// Author: Mattias Engdegård, 1997-1999
|
*
|
||||||
|
* Copyright 1997-1999 Mattias Engdegård
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
* MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef WCHAN_H
|
#ifndef WCHAN_H
|
||||||
#define WCHAN_H
|
#define WCHAN_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user