summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/packetview.h
Side-by-side diff
Diffstat (limited to 'noncore/net/wellenreiter/gui/packetview.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/packetview.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/packetview.h b/noncore/net/wellenreiter/gui/packetview.h
index 42e8f5d..bb366c5 100644
--- a/noncore/net/wellenreiter/gui/packetview.h
+++ b/noncore/net/wellenreiter/gui/packetview.h
@@ -18,12 +18,13 @@
#include <qlist.h>
#include <qframe.h>
#include <opie2/opcap.h>
+class QWidget;
class QLabel;
class QString;
class QSpinBox;
class QTextView;
class QObjectList;
namespace Opie {namespace Net {class OPacket;}}
@@ -33,18 +34,19 @@ class PacketView: public QFrame
{
Q_OBJECT
public:
PacketView( QWidget * parent = 0, const char * name = "PacketView", WFlags f = 0 );
- void add( const Opie::Net::OPacket* p );
+ void add( const Opie::Net::OPacket* p, int size );
const QString getLog() const;
void clear();
public slots:
void showPacket( int number );
+ void activated( QWidget* );
protected:
QSpinBox* _number;
QLabel* _label;
Opie::Ui::OListView* _list;
QTextView* _hex;