00001 /********************************************************************** 00002 ** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved. 00003 ** 00004 ** This file is part of Wellenreiter II. 00005 ** 00006 ** This file may be distributed and/or modified under the terms of the 00007 ** GNU General Public License version 2 as published by the Free Software 00008 ** Foundation and appearing in the file LICENSE.GPL included in the 00009 ** packaging of this file. 00010 ** 00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 ** 00014 **********************************************************************/ 00015 00016 #ifndef PROTOLISTVIEW_H 00017 #define PROTOLISTVIEW_H 00018 00019 #include <qscrollview.h> 00020 #include <qdict.h> 00021 class QCheckBox; 00022 class QComboBox; 00023 00024 class QVBox; 00025 00026 class ProtocolListView : public QScrollView 00027 { 00028 public: 00029 ProtocolListView( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); 00030 virtual ~ProtocolListView(); 00031 00032 bool isProtocolChecked( const QString& name ); 00033 QString protocolAction( const QString& name ); 00034 00035 protected: 00036 virtual void addProtocol( const QString& name ); 00037 00038 private: 00039 QVBox* vbox; 00040 bool parse; 00041 }; 00042 00043 00044 00045 #endif // PROTOLISTVIEW_H
1.4.2