-rw-r--r-- | noncore/net/wellenreiter/gui/packetview.h | 2 |
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,45 +1,47 @@ | |||
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 | |||
22 | class QLabel; | 24 | class QLabel; |
23 | class QString; | 25 | class QString; |
24 | class QSpinBox; | 26 | class QSpinBox; |
25 | class QTextView; | 27 | class QTextView; |
26 | class QObjectList; | 28 | class QObjectList; |
27 | namespace Opie {namespace Net {class OPacket;}} | 29 | namespace Opie {namespace Net {class OPacket;}} |
28 | namespace Opie {namespace Ui {class OListView;}} | 30 | namespace Opie {namespace Ui {class OListView;}} |
29 | 31 | ||
30 | class PacketView: public QFrame | 32 | class 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; |