summaryrefslogtreecommitdiff
authordrw <drw>2002-03-09 18:41:03 (UTC)
committer drw <drw>2002-03-09 18:41:03 (UTC)
commit3095bf47c523afcf5441057db23050767f69ebf9 (patch) (unidiff)
tree3e3da415057bc40b9d448233536fc9d33b4e066b
parente1d66f627634b95bdc9c63ce14eefa1707f9dad8 (diff)
downloadopie-3095bf47c523afcf5441057db23050767f69ebf9.zip
opie-3095bf47c523afcf5441057db23050767f69ebf9.tar.gz
opie-3095bf47c523afcf5441057db23050767f69ebf9.tar.bz2
drw: Added SIGINT, SIGCONT & SIGSTOP to signal list.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/processdetail.cpp3
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
@@ -30,34 +30,37 @@
30#include <qmessagebox.h> 30#include <qmessagebox.h>
31 31
32ProcessDetail::ProcessDetail( QWidget* parent, const char* name, bool modal, WFlags fl ) 32ProcessDetail::ProcessDetail( QWidget* parent, const char* name, bool modal, WFlags fl )
33 : QDialog( parent, name, modal, fl ) 33 : QDialog( parent, name, modal, fl )
34{ 34{
35 pid = 0; 35 pid = 0;
36 36
37 QGridLayout *layout = new QGridLayout( this ); 37 QGridLayout *layout = new QGridLayout( this );
38 layout->setSpacing( 6 ); 38 layout->setSpacing( 6 );
39 layout->setMargin( 11 ); 39 layout->setMargin( 11 );
40 40
41 SignalCB = new QComboBox( FALSE, this, "SignalCB" ); 41 SignalCB = new QComboBox( FALSE, this, "SignalCB" );
42 SignalCB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)7, SignalCB->sizePolicy().hasHeightForWidth() ) ); 42 SignalCB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)7, SignalCB->sizePolicy().hasHeightForWidth() ) );
43 SignalCB->setMinimumSize( QSize( 50, 24 ) ); 43 SignalCB->setMinimumSize( QSize( 50, 24 ) );
44 SignalCB->setMaximumSize( QSize( 600, 24 ) ); 44 SignalCB->setMaximumSize( QSize( 600, 24 ) );
45 SignalCB->insertItem( " 1: SIGHUP" ); 45 SignalCB->insertItem( " 1: SIGHUP" );
46 SignalCB->insertItem( " 2: SIGINT" );
46 SignalCB->insertItem( " 9: SIGKILL" ); 47 SignalCB->insertItem( " 9: SIGKILL" );
47 SignalCB->insertItem( "15: SIGTERM" ); 48 SignalCB->insertItem( "15: SIGTERM" );
49 SignalCB->insertItem( "18: SIGCONT" );
50 SignalCB->insertItem( "19: SIGSTOP" );
48 layout->addWidget( SignalCB, 1, 0 ); 51 layout->addWidget( SignalCB, 1, 0 );
49 52
50 ProcessView = new QTextView( this, "ProcessView" ); 53 ProcessView = new QTextView( this, "ProcessView" );
51 ProcessView->setFrameShadow( QTextView::Plain ); 54 ProcessView->setFrameShadow( QTextView::Plain );
52 layout->addMultiCellWidget( ProcessView, 0, 0, 0, 1 ); 55 layout->addMultiCellWidget( ProcessView, 0, 0, 0, 1 );
53 56
54 SendButton = new QPushButton( this, "SendButton" ); 57 SendButton = new QPushButton( this, "SendButton" );
55 SendButton->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, SendButton->sizePolicy().hasHeightForWidth() ) ); 58 SendButton->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, SendButton->sizePolicy().hasHeightForWidth() ) );
56 SendButton->setMinimumSize( QSize( 50, 24 ) ); 59 SendButton->setMinimumSize( QSize( 50, 24 ) );
57 SendButton->setMaximumSize( QSize( 50, 24 ) ); 60 SendButton->setMaximumSize( QSize( 50, 24 ) );
58 SendButton->setText( tr( "Send" ) ); 61 SendButton->setText( tr( "Send" ) );
59 connect( SendButton, SIGNAL( clicked() ), this, SLOT( slotSendClicked() ) ); 62 connect( SendButton, SIGNAL( clicked() ), this, SLOT( slotSendClicked() ) );
60 layout->addWidget( SendButton, 1, 1 ); 63 layout->addWidget( SendButton, 1, 1 );
61} 64}
62 65
63ProcessDetail::~ProcessDetail() 66ProcessDetail::~ProcessDetail()