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
ubuntu/disco debian/1.10.17-1
Alf Gaida 7 years ago
parent c22bf2124c
commit 151094a2e3

2
.gitignore vendored

@ -0,0 +1,2 @@
*kdev4
build

@ -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(MINOR_VERSION 10)
set(PATCH_VERSION 16)
set(PATCH_VERSION 17)
set(QPS_VERSION_STRING ${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
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)

@ -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

@ -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.
* 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
-- 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

@ -1,20 +1,19 @@
set(SOURCES
proc.cpp
set(SOURCES
proc.cpp
qpsapp.cpp
qps.cpp
qps.cpp
screenshot.cpp
pstable.cpp
uidstr.cpp
ttystr.cpp
dialogs.cpp
infobar.cpp
fieldsel.cpp
wchan.cpp
prefs.cpp
lookup.cpp
details.cpp
command.cpp
pstable.cpp
uidstr.cpp
ttystr.cpp
dialogs.cpp
infobar.cpp
fieldsel.cpp
wchan.cpp
prefs.cpp
lookup.cpp
details.cpp
command.cpp
commandutils.cpp
commandmodel.cpp
commanddialog.cpp
@ -23,27 +22,27 @@ set(SOURCES
watchcond.cpp
listmodel.cpp
watchdogdialog.cpp
misc.cpp
trayicon.cpp
htable.cpp
# htable2.cpp
# pstable2.cpp
qttableview.cpp
misc.cpp
trayicon.cpp
htable.cpp
# htable2.cpp
# pstable2.cpp
qttableview.cpp
)
SET(HEADERS
SET(HEADERS
qpsapp.h
qps.h
screenshot.h
pstable.h
dialogs.h
fieldsel.h
prefs.h
infobar.h
lookup.h
details.h
qps.h
screenshot.h
pstable.h
dialogs.h
fieldsel.h
prefs.h
infobar.h
lookup.h
details.h
tablefield.h
command.h
command.h
commandutils.h
commandmodel.h
commanddialog.h
@ -52,12 +51,12 @@ SET(HEADERS
watchcond.h
listmodel.h
watchdogdialog.h
misc.h
trayicon.h
htable.h
# htable2.h
# pstable2.h
qttableview.h
misc.h
trayicon.h
htable.h
# htable2.h
# pstable2.h
qttableview.h
)
set(UIS

@ -1,11 +1,28 @@
// checkboxdelegate.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* checkboxdelegate.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.
*/
#include "checkboxdelegate.h"
#include <QSpinBox>
checkBoxDelegate::checkBoxDelegate(QObject *parent) : QItemDelegate(parent) {}
//! [0]
@ -91,4 +108,3 @@ void checkBoxDelegate::paint(QPainter *painter,
}
// QSize QAbstractItemDelegate::sizeHint ( const QStyleOptionViewItem & option,
// const QModelIndex & index ) const [pure virtual]

@ -1,8 +1,24 @@
// checkboxdelegate.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* checkboxdelegate.h
* 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.
*/
#ifndef CHECKBOXDELEGATE_H
#define CHECKBOXDELEGATE_H

@ -1,7 +1,24 @@
// command.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* command.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.
*/
#include <stdlib.h>
#include <string.h>
@ -179,7 +196,7 @@ void Command::call(Procinfo *p)
null then
segfault occurs. ?
}
connect(pr, SIGNAL(started()), this, SLOT(cmd_started()));
connect(pr, SIGNAL(finished ( int , QProcess::ExitStatus
)),this,SLOT(cmd_finished ( int , QProcess::ExitStatus )));

@ -1,7 +1,24 @@
// command.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* command.h
* 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.
*/
#ifndef COMMAND_H
#define COMMAND_H

@ -1,7 +1,24 @@
// commanddialog.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* commanddialog.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.
*/
#include "commanddialog.h"
@ -115,7 +132,7 @@ CommandDialog::CommandDialog()
TBloon *bloon = new TBloon(this);
/// for(int i = 0; i < commands.size(); i++)
/// listview->insertItem(commands[i]->name);
// listview->addItem(commands[i]->name);
/// listview->addItem(commands[i]->name);
/// vbox->freeze();
}
@ -254,4 +271,3 @@ void CommandDialog::del_current()
emit command_change(); // notice to refresh menu_commands
}
}

@ -1,8 +1,24 @@
// commanddialog.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* commanddialog.h
* 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.
*/
#ifndef COMMANDDIALOG_H
#define COMMANDDIALOG_H

@ -1,10 +1,26 @@
// commandmodel.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* commandmodel.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.
*/
#include "commandmodel.h"
#include "command.h"
extern QList<Command *> commands;

@ -1,7 +1,24 @@
// commandmodel.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* commandmodel.h
* 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.
*/
#include <QAbstractItemModel>

@ -1,10 +1,26 @@
// commandutils.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* commandutils.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.
*/
#include "commandutils.h"
#include <command.h>
extern QList<Command *> commands;
@ -73,4 +89,3 @@ void add_default_command()
// check_commandAll(); DEL?
}

@ -1,7 +1,24 @@
// commandutils.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* commandutils.h
* 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.
*/
#ifndef COMMANDUTILS_H
#define COMMANDUTILS_H

@ -1,7 +1,24 @@
// config.h -*-c++-*-
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* config.h
* 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.
*/
#ifndef CONFIG_H
#define CONFIG_H

@ -1,7 +1,24 @@
// details.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* details.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.
*/
#include <stdio.h>
#include <netdb.h>

@ -1,7 +1,24 @@
// details.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* details.h
* 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.
*/
#ifndef DETAILS_H
#define DETAILS_H

@ -1,7 +1,24 @@
// dialogs.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* dialogs.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.
*/
#include "qps.h"
#include "dialogs.h"

@ -1,7 +1,25 @@
// dialogs.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* dialogs.h
* 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.
*/
// misc. handy dialogs for use everywhere

@ -1,10 +1,26 @@
// execwindow.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* execwindow.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.
*/
#include "execwindow.h"
#include "watchcond.h"
QList<ExecWindow *> execlist;
@ -109,4 +125,3 @@ void ExecWindow::setText(QString str)
textEdit->append(str);
// label->setText(str);
}

@ -1,10 +1,27 @@
// execwindow.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* execwindow.h
* 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.
*/
#ifndef EXECWINDOW_H
#define EXECWINDOW_H
#define EXECWINDOW_H
#include <QProcess>
#include <QString>

@ -1,8 +1,24 @@
// indent by VIM
// fieldsel.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* fieldsel.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.
*/
#include "fieldsel.h"

@ -1,7 +1,24 @@
// fieldsel.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* fieldsel.h
* 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.
*/
#ifndef FIELDSEL_H
#define FIELDSEL_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
#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)
// Disaster !!
// htable.cpp
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
// TODO:
// * autoscroll speed proportional to distance from edge
// * interface to add/remove rows (for disclosure triangles)

@ -1,7 +1,24 @@
// htable.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* htable.h
*
* 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.
// 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"
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 <QMouseEvent>
#include <QStandardItemModel>
#include <QHeaderView>
#include <QTreeWidget>
class HeadedTable2;

@ -1,9 +1,25 @@
// infobar.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* infobar.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.
*/
// 13,245,200
#include <stdio.h>
#include <sys/types.h>
#include <time.h>

@ -1,7 +1,24 @@
// infobar.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* infobar.h
* 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.
*/
#ifndef INFOBAR_H
#define INFOBAR_H

@ -1,10 +1,26 @@
// listmodel.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* listmodel.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.
*/
#include "listmodel.h"
#include "watchcond.h"
extern QList<watchCond *> watchlist;
@ -104,4 +120,3 @@ QVariant ListModel::data(const QModelIndex &index, int role) const
}
return QVariant();
}

@ -1,7 +1,24 @@
// listmodel.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* listmodel.h
* 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.
*/
#ifndef LISTMODEL_H
#define LISTMODEL_H

@ -1,7 +1,24 @@
// lookup.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* lookup.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.
*/
// This module implements asynchronous address->hostname lookup.

@ -1,7 +1,24 @@
// lookup.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* lookup.h
* 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.
*/
#ifndef LOOKUP_H
#define LOOKUP_H

@ -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"

@ -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
#define MISC_H

@ -1,7 +1,24 @@
// prefs.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* prefs.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.
*/
#include "prefs.h"
#include "proc.h"

@ -1,7 +1,24 @@
// prefs.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* prefs.h
* 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.
*/
#ifndef PREFS_H
#define PREFS_H

@ -1,8 +1,25 @@
// proc.cpp for Linux
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
// Oliver
/*
* proc.cpp for Linux
* This file is part of qps -- Qt-based visual process status monitor
*
* 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

@ -1,8 +1,24 @@
// proc.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
//
/*
* proc.h
* 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.
*/
#ifndef 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
//#include <global.h>

@ -1,8 +1,24 @@
// proc.cpp for Linux
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
// Oliver
/*
* proc.cpp for Linux
*
* 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

@ -1,7 +1,24 @@
// proc.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* proc_mosix.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.
*/
#include <stdio.h>
#include <sys/types.h>

@ -1,8 +1,24 @@
// proc.cpp for Solaris (SunOS)
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
// José Luis Sánchez, 2005
/*
* proc.cpp for Solaris (SunOS)
*
* Copyright 1997-1999 Mattias Engdegård
* 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 <sys/types.h>
@ -34,20 +50,20 @@
/*
*
If you want an "#ifdef solaris", the portable way is
#if defined (__SVR4) && defined (__sun)
This should work on gcc, sun cc, and lots o other compilers, on both sparc and
intel.
If for some reason, you want to know that Sun forte CC (c++) compiler is being
used, something that seems to work is
#if defined(__SUNPRO_CC)
Whereas for forte cc (regular C), you can use
#if defined(__SUNPRO_C)
*/
#include "proc_common.cpp"
@ -345,7 +361,7 @@ int Procinfo::readproc()
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
state = psi.pr_lwp.pr_sname; // no

@ -1,7 +1,24 @@
// pstable.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* pstable.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.
*/
// ** toooo complex,so need new Design ... should be more simple.. (by
// fasthyun@magicn.com)

@ -1,7 +1,24 @@
// pstable.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* pstable.h
* 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.
*/
#ifndef 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"
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 "htable2.h"

@ -1,8 +1,26 @@
// qps -- Qt-based visual process status monitor
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
// fasthyun@magicn.com 2005-2012
// daehyun.yang@gmail.com 2015-
/*
* qps.cpp
* This file is part of qps -- Qt-based visual process status monitor
*
* 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
/*
@ -11,9 +29,8 @@
* 1. F_CMDLINE should be rightmost field
* 2. F_PROCESSNAME shoud be leftmost field and NEVER removed!
*
*
*
*/
// . Memory Hole or Qt's string allocate bug?
// . clipboard copy [CMDLINE,PID,USERNAME...]
// . [klog] table cache.
@ -238,9 +255,9 @@ Qps::Qps()
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(QIcon::fromTheme("help-about"), "Feedback", this,
m_help->addAction(QIcon::fromTheme("help-about"), "&About", this,
SLOT(about()));
// menu = new QMenuBar(this);
@ -1382,7 +1399,7 @@ void Qps::context_heading_menu(QPoint p, int col)
if (init == 0)
{
/* #ifdef SHash
/* #ifdef SHash
SHash<int,Category *>::const_iterator it=procview->categories.begin();
QList<int> keys;
for ( ; it != procview->categories.end(); it++ )
@ -2310,35 +2327,26 @@ void Qps::about()
"using Qt library ");
str.append(qVersion());
// s.append(url);
str.append(""
str.append("<br><br>"
"<b>Source: </b><a href=\"https://github.com/QtDesktop/qps\">http://github.com/QtDesktop/qps/</a>"
"<br>"
"<A "
"HREF=\"http://kldp.net/projects/qps\">http://kldp.net/projects/"
"qps</A>");
"<b>Bugtracker: </b><a href=\"https://github.com/QtDesktop/qps/issues\">https://github.com/QtDesktop/qps/issues</a>"
);
label->setText(str);
str = "";
str.append("<center><b> Bug, Complains, Opinion, Patch to </b></center>"
"<center><a href=\"mail://daehyun.yang@gmail.com\" > "
"daehyun.yang@gmail.com </a></center>"
"<br>"
"<center> Contributors </center>"
"<center><i>Olivier.Daudel@u-paris10.fr </i></center>"
"<center><i>jsanchez@todounix.homeip.net </i></center>"
"<center><i>\
Vince Schiavoni (hlingler@verizon.net)\
</i></center>"
"<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);
str.append("<b>Original Qps by</b><br>"
"Mattias Engdegård (f91-men@nada.kth.se)<br><br>"
"<b>Contributors</b><br>"
"Olivier.Daudel@u-paris10.fr<br>"
"jsanchez@todounix.homeip.net <br>"
"daehyun.yang@gmail.com <br>"
"Luís Pereira (luis.artur.pereira@gmail.com)<br>"
"Alf Gaida (agaida@siduction.org)<br>"
"Paulo Lieuthier (paulolieuthier@gmail.com)<br>"
"Jerome Leclanche (jerome@leclan.ch)<br>"
);
browser->setText(str);

@ -1,7 +1,24 @@
// qps.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* qps.h
* 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.
*/
#ifndef 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
// fasthyun@magicn.com 2005-2012
// daehyun.yang@gmail.com 2015-
/*
* qpsapp.cpp
* This file is part of qps -- Qt-based visual process status monitor
*
* 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"

@ -1,9 +1,26 @@
// qpsapp.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
// fasthyun@magicn.com 2005-2012
// daehyun.yang@gmail.com 2015-
/*
* qpsapp.h
* This file is part of qps -- Qt-based visual process status monitor
*
* 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.
*/
#ifndef QPSAPP_H
#define QPSAPP_H

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 $
**
** Implementation of QtTableView class
** Created : 941115
**
** 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"

@ -3,12 +3,33 @@
**
** Definition of QtTableView class
**
** Created : 941115
**
** 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.
**
**********************************************************************/

@ -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 <QSizeGrip>
#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
#define SCREENSHOT_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 !
#include <time.h>
#include <stdio.h>

@ -1,7 +1,24 @@
// svec.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* svec.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.
*/
// implement a stretchy vector class:
// An Svec<T> grows automatically (doubles when full), so that adding

@ -1,7 +1,24 @@
// svec.h emacs, this is a -*-c++-*- file
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* svec.h
* 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.
*/
#ifndef SVEC_H
#define SVEC_H

@ -1,7 +1,24 @@
// tablefield.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* tablefield.h
* 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.
*/
#ifndef TABLEFIELD_H
#define TABLEFIELD_H

@ -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,12 +1,35 @@
/*
really sucking codes.. sorry..
from psi , modified and cleand by fasthyun@magicn.com
trayicon_x11.cpp - X11 trayicon (for use with KDE and GNOME)
Copyright (C) 2003 Justin Karneges
GNOME2 Notification Area support: Tomasz Sterna
* 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..
from psi , modified and cleand by fasthyun@magicn.com
trayicon_x11.cpp - X11 trayicon (for use with KDE and GNOME)
Copyright (C) 2003 Justin Karneges
GNOME2 Notification Area support: Tomasz Sterna
*/
#include <QApplication> // *****should be First!!!
#include "global.h" // Qps *qps;
#include "trayicon.h"

@ -1,6 +1,8 @@
/*
* 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
* 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
* 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
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* ttystr.cpp
*
* 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 <stdlib.h>

@ -1,7 +1,24 @@
// ttystr.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* ttystr.h
* 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.
*/
#ifndef TTYSTR_H
#define TTYSTR_H

@ -1,7 +1,24 @@
// uidstr.C
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* uidstr.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.
*/
#include <pwd.h>
#include <grp.h>

@ -1,7 +1,24 @@
// uidstr.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* uidstr.h
* 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.
*/
#ifndef UIDSTR_H
#define UIDSTR_H

@ -1,7 +1,24 @@
// watchcond.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* watchcond.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.
*/
#include "watchcond.h"
@ -73,4 +90,3 @@ void watchCond::putstring(QString str)
else
enable = false;
}

@ -1,7 +1,24 @@
// watchcond.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* watchcond.h
* 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.
*/
#ifndef WATCHCOND_H
#define WATCHCOND_H
@ -47,4 +64,3 @@ class watchCond
};
#endif // WATCHCOND_H

@ -28,9 +28,9 @@
border-image: url(:/icon/vista.png);
}
QWidget {
}
}
QFrame, QLabel, QToolTip {
}
}
</string>
</property>
<layout class="QVBoxLayout">

@ -1,7 +1,24 @@
// watchdogdialog.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* watchdogdialog.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.
*/
#include "watchdogdialog.h"
@ -236,4 +253,3 @@ void WatchdogDialog::apply()
qps->write_settings();
close();
}

@ -1,7 +1,24 @@
// watchdogdialog.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* watchdogdialog.h
* 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.
*/
#ifndef WATCHDOGDIALOG_H
#define WATCHDOGDIALOG_H

@ -1,7 +1,24 @@
// wchan.cpp
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* wchan.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.
*/
#include <stdio.h>
#include <string.h>

@ -1,7 +1,24 @@
// wchan.h
//
// This program is free software. See the file COPYING for details.
// Author: Mattias Engdegård, 1997-1999
/*
* wchan.h
* 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.
*/
#ifndef WCHAN_H
#define WCHAN_H

Loading…
Cancel
Save