author | drw <drw> | 2002-03-09 18:41:03 (UTC) |
---|---|---|
committer | drw <drw> | 2002-03-09 18:41:03 (UTC) |
commit | 3095bf47c523afcf5441057db23050767f69ebf9 (patch) (side-by-side diff) | |
tree | 3e3da415057bc40b9d448233536fc9d33b4e066b | |
parent | e1d66f627634b95bdc9c63ce14eefa1707f9dad8 (diff) | |
download | opie-3095bf47c523afcf5441057db23050767f69ebf9.zip opie-3095bf47c523afcf5441057db23050767f69ebf9.tar.gz opie-3095bf47c523afcf5441057db23050767f69ebf9.tar.bz2 |
drw: Added SIGINT, SIGCONT & SIGSTOP to signal list.
-rw-r--r-- | noncore/settings/sysinfo/processdetail.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/processdetail.cpp b/noncore/settings/sysinfo/processdetail.cpp index 1ca1e72..06e5c0d 100644 --- a/noncore/settings/sysinfo/processdetail.cpp +++ b/noncore/settings/sysinfo/processdetail.cpp @@ -22,50 +22,53 @@ #include <sys/types.h> #include <signal.h> #include <qcombobox.h> #include <qpushbutton.h> #include <qtextview.h> #include <qlayout.h> #include <qlistview.h> #include <qmessagebox.h> ProcessDetail::ProcessDetail( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ) { pid = 0; QGridLayout *layout = new QGridLayout( this ); layout->setSpacing( 6 ); layout->setMargin( 11 ); SignalCB = new QComboBox( FALSE, this, "SignalCB" ); SignalCB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)7, SignalCB->sizePolicy().hasHeightForWidth() ) ); SignalCB->setMinimumSize( QSize( 50, 24 ) ); SignalCB->setMaximumSize( QSize( 600, 24 ) ); SignalCB->insertItem( " 1: SIGHUP" ); + SignalCB->insertItem( " 2: SIGINT" ); SignalCB->insertItem( " 9: SIGKILL" ); SignalCB->insertItem( "15: SIGTERM" ); + SignalCB->insertItem( "18: SIGCONT" ); + SignalCB->insertItem( "19: SIGSTOP" ); layout->addWidget( SignalCB, 1, 0 ); ProcessView = new QTextView( this, "ProcessView" ); ProcessView->setFrameShadow( QTextView::Plain ); layout->addMultiCellWidget( ProcessView, 0, 0, 0, 1 ); SendButton = new QPushButton( this, "SendButton" ); SendButton->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, SendButton->sizePolicy().hasHeightForWidth() ) ); SendButton->setMinimumSize( QSize( 50, 24 ) ); SendButton->setMaximumSize( QSize( 50, 24 ) ); SendButton->setText( tr( "Send" ) ); connect( SendButton, SIGNAL( clicked() ), this, SLOT( slotSendClicked() ) ); layout->addWidget( SendButton, 1, 1 ); } ProcessDetail::~ProcessDetail() { } void ProcessDetail::slotSendClicked() { QString sigstr = SignalCB->currentText(); sigstr.truncate(2); int sigid = sigstr.toUInt(); |