00001 /********************************************************************** 00002 ** ProcessInfo 00003 ** 00004 ** Display process information 00005 ** 00006 ** Copyright (C) 2002, Dan Williams 00007 ** williamsdr@acm.org 00008 ** http://draknor.net 00009 ** 00010 ** This file may be distributed and/or modified under the terms of the 00011 ** GNU General Public License version 2 as published by the Free Software 00012 ** Foundation and appearing in the file LICENSE.GPL included in the 00013 ** packaging of this file. 00014 ** 00015 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00016 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00017 ** 00018 **********************************************************************/ 00019 00020 #ifndef PROCESSINFO_H 00021 #define PROCESSINFO_H 00022 00023 #include <qwidget.h> 00024 00025 class Detail; 00026 class QComboBox; 00027 class QListViewItem; 00028 namespace Opie {namespace Ui {class OListView;}} 00029 namespace Opie {namespace Ui {class OListViewItem;}} 00030 00031 class ProcessInfo : public QWidget 00032 { 00033 Q_OBJECT 00034 public: 00035 ProcessInfo( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 00036 ~ProcessInfo(); 00037 00038 private: 00039 Opie::Ui::OListView* ProcessView; 00040 QComboBox* SignalCB; 00041 QPushButton* SendButton; 00042 00043 Detail *ProcessDtl; 00044 00045 private slots: 00046 void updateData(); 00047 void slotSendClicked(); 00048 void viewProcess( QListViewItem* ); 00049 void viewProcess( Opie::Ui::OListViewItem * ); 00050 }; 00051 00052 #endif
1.4.2