summaryrefslogtreecommitdiff
authormouse <mouse>2004-03-31 15:28:11 (UTC)
committer mouse <mouse>2004-03-31 15:28:11 (UTC)
commit9a12191d28e010f87c2c6414ef5d8a929938343b (patch) (unidiff)
tree8197aa5c8030d41112ed58e93bfa9d71bbf90564
parent10ed731c865d41955bf2aeb721cad592cd56b545 (diff)
downloadopie-9a12191d28e010f87c2c6414ef5d8a929938343b.zip
opie-9a12191d28e010f87c2c6414ef5d8a929938343b.tar.gz
opie-9a12191d28e010f87c2c6414ef5d8a929938343b.tar.bz2
added missed include file
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/packetview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/packetview.h b/noncore/net/wellenreiter/gui/packetview.h
index affedab..42e8f5d 100644
--- a/noncore/net/wellenreiter/gui/packetview.h
+++ b/noncore/net/wellenreiter/gui/packetview.h
@@ -1,58 +1,60 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved. 2** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved.
3** 3**
4** This file is part of Wellenreiter II. 4** This file is part of Wellenreiter II.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14**********************************************************************/ 14**********************************************************************/
15 15
16#ifndef PACKETVIEW_H 16#ifndef PACKETVIEW_H
17#define PACKETVIEW_H 17#define PACKETVIEW_H
18 18
19#include <qlist.h> 19#include <qlist.h>
20#include <qframe.h> 20#include <qframe.h>
21 21
22#include <opie2/opcap.h>
23
22class QLabel; 24class QLabel;
23class QString; 25class QString;
24class QSpinBox; 26class QSpinBox;
25class QTextView; 27class QTextView;
26class QObjectList; 28class QObjectList;
27namespace Opie {namespace Net {class OPacket;}} 29namespace Opie {namespace Net {class OPacket;}}
28namespace Opie {namespace Ui {class OListView;}} 30namespace Opie {namespace Ui {class OListView;}}
29 31
30class PacketView: public QFrame 32class PacketView: public QFrame
31{ 33{
32 Q_OBJECT 34 Q_OBJECT
33 35
34 public: 36 public:
35 PacketView( QWidget * parent = 0, const char * name = "PacketView", WFlags f = 0 ); 37 PacketView( QWidget * parent = 0, const char * name = "PacketView", WFlags f = 0 );
36 38
37 void add( const Opie::Net::OPacket* p ); 39 void add( const Opie::Net::OPacket* p );
38 const QString getLog() const; 40 const QString getLog() const;
39 void clear(); 41 void clear();
40 42
41 public slots: 43 public slots:
42 void showPacket( int number ); 44 void showPacket( int number );
43 45
44 protected: 46 protected:
45 QSpinBox* _number; 47 QSpinBox* _number;
46 QLabel* _label; 48 QLabel* _label;
47 Opie::Ui::OListView* _list; 49 Opie::Ui::OListView* _list;
48 QTextView* _hex; 50 QTextView* _hex;
49 QList<const Opie::Net::OPacket> _packets; 51 QList<const Opie::Net::OPacket> _packets;
50 52
51 protected: 53 protected:
52 void _doSubPackets( QObjectList*, int ); 54 void _doSubPackets( QObjectList*, int );
53 void _doHexPacket( const Opie::Net::OPacket* ); 55 void _doHexPacket( const Opie::Net::OPacket* );
54 56
55}; 57};
56 58
57#endif 59#endif
58 60