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