summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/packetview.cpp2
-rw-r--r--noncore/net/wellenreiter/gui/packetview.h2
-rw-r--r--noncore/net/wellenreiter/gui/statwindow.h2
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.h22
4 files changed, 13 insertions, 15 deletions
diff --git a/noncore/net/wellenreiter/gui/packetview.cpp b/noncore/net/wellenreiter/gui/packetview.cpp
index 8312e71..e0e626c 100644
--- a/noncore/net/wellenreiter/gui/packetview.cpp
+++ b/noncore/net/wellenreiter/gui/packetview.cpp
@@ -17,26 +17,24 @@
17 17
18/* OPIE */ 18/* OPIE */
19#include <opie2/opcap.h> 19#include <opie2/opcap.h>
20 20
21/* QT */ 21/* QT */
22#include <qtextview.h> 22#include <qtextview.h>
23#include <qspinbox.h> 23#include <qspinbox.h>
24#include <qlabel.h> 24#include <qlabel.h>
25#include <qlayout.h> 25#include <qlayout.h>
26#include <qlist.h> 26#include <qlist.h>
27 27
28using namespace Opie::Net; 28using namespace Opie::Net;
29using namespace Opie::Net;
30using namespace Opie::Net;
31PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) 29PacketView::PacketView( QWidget * parent, const char * name, WFlags f )
32 :QFrame( parent, name, f ) 30 :QFrame( parent, name, f )
33{ 31{
34 _number = new QSpinBox( this ); 32 _number = new QSpinBox( this );
35 _number->setPrefix( "Packet # " ); 33 _number->setPrefix( "Packet # " );
36 _label = new QLabel( this ); 34 _label = new QLabel( this );
37 _label->setText( "eth0 2004/03/08 - 00:00:21" ); 35 _label->setText( "eth0 2004/03/08 - 00:00:21" );
38 _list = new QLabel( this ); 36 _list = new QLabel( this );
39 _hex = new QTextView( this ); 37 _hex = new QTextView( this );
40 38
41 QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 ); 39 QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 );
42 QHBoxLayout* hb = new QHBoxLayout( vb, 2 ); 40 QHBoxLayout* hb = new QHBoxLayout( vb, 2 );
diff --git a/noncore/net/wellenreiter/gui/packetview.h b/noncore/net/wellenreiter/gui/packetview.h
index 1ac19bb..938aa19 100644
--- a/noncore/net/wellenreiter/gui/packetview.h
+++ b/noncore/net/wellenreiter/gui/packetview.h
@@ -14,25 +14,25 @@
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
22class QString; 22class QString;
23class QSpinBox; 23class QSpinBox;
24class QLabel; 24class QLabel;
25class QTextView; 25class QTextView;
26namespace Opie {namespace Net {class Opie::Net::OPacket;}} 26namespace Opie {namespace Net {class OPacket;}}
27 27
28class PacketView: public QFrame 28class PacketView: public QFrame
29{ 29{
30 30
31 public: 31 public:
32 PacketView( QWidget * parent = 0, const char * name = "PacketView", WFlags f = 0 ); 32 PacketView( QWidget * parent = 0, const char * name = "PacketView", WFlags f = 0 );
33 33
34 void add( Opie::Net::OPacket* p ); 34 void add( Opie::Net::OPacket* p );
35 const QString getLog() const; 35 const QString getLog() const;
36 void clear(); 36 void clear();
37 37
38 protected: 38 protected:
diff --git a/noncore/net/wellenreiter/gui/statwindow.h b/noncore/net/wellenreiter/gui/statwindow.h
index e11247b..c514146 100644
--- a/noncore/net/wellenreiter/gui/statwindow.h
+++ b/noncore/net/wellenreiter/gui/statwindow.h
@@ -10,25 +10,25 @@
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 STATWINDOW_H 16#ifndef STATWINDOW_H
17#define STATWINDOW_H 17#define STATWINDOW_H
18 18
19#include <qvbox.h> 19#include <qvbox.h>
20 20
21class QString; 21class QString;
22namespace Opie {namespace Ui {class Opie::Ui::OListView;}} 22namespace Opie {namespace Ui {class OListView;}}
23 23
24class MStatWindow: public QVBox 24class MStatWindow: public QVBox
25{ 25{
26 Q_OBJECT 26 Q_OBJECT
27 27
28 public: 28 public:
29 MStatWindow( QWidget * parent = 0, const char * name = "MStatWindow", WFlags f = 0 ); 29 MStatWindow( QWidget * parent = 0, const char * name = "MStatWindow", WFlags f = 0 );
30 30
31 void log( QString text ); 31 void log( QString text );
32 const QString getLog() const; 32 const QString getLog() const;
33 void clear(); 33 void clear();
34 34
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h
index 83299c9..f609ef4 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.h
+++ b/noncore/net/wellenreiter/gui/wellenreiter.h
@@ -13,35 +13,35 @@
13 13
14#ifndef WELLENREITER_H 14#ifndef WELLENREITER_H
15#define WELLENREITER_H 15#define WELLENREITER_H
16 16
17#include "wellenreiterbase.h" 17#include "wellenreiterbase.h"
18 18
19#ifdef QWS 19#ifdef QWS
20#include <opie2/odevice.h> 20#include <opie2/odevice.h>
21#endif 21#endif
22 22
23class QTimerEvent; 23class QTimerEvent;
24class QPixmap; 24class QPixmap;
25namespace Opie {namespace Net {class Opie::Net::OPacket;}} 25namespace Opie {namespace Net {class OPacket;}}
26namespace Opie {namespace Net {class Opie::Net::OWaveLanManagementPacket;}} 26namespace Opie {namespace Net {class OWaveLanManagementPacket;}}
27namespace Opie {namespace Net {class Opie::Net::OWaveLanControlPacket;}} 27namespace Opie {namespace Net {class OWaveLanControlPacket;}}
28namespace Opie {namespace Net {class Opie::Net::OWaveLanDataPacket;}} 28namespace Opie {namespace Net {class OWaveLanDataPacket;}}
29namespace Opie {namespace Net {class Opie::Net::OEthernetPacket;}} 29namespace Opie {namespace Net {class OEthernetPacket;}}
30namespace Opie {namespace Net {class Opie::Net::OARPPacket;}} 30namespace Opie {namespace Net {class OARPPacket;}}
31namespace Opie {namespace Net {class Opie::Net::OMacAddress;}} 31namespace Opie {namespace Net {class OMacAddress;}}
32namespace Opie {namespace Net {class Opie::Net::OIPPacket;}} 32namespace Opie {namespace Net {class OIPPacket;}}
33namespace Opie {namespace Net {class Opie::Net::OPacket;}} 33namespace Opie {namespace Net {class OPacket;}}
34namespace Opie {namespace Net {class Opie::Net::OWirelessNetworkInterface;}} 34namespace Opie {namespace Net {class OWirelessNetworkInterface;}}
35namespace Opie {namespace Net {class Opie::Net::OPacketCapturer;}} 35namespace Opie {namespace Net {class OPacketCapturer;}}
36class PacketView; 36class PacketView;
37class WellenreiterConfigWindow; 37class WellenreiterConfigWindow;
38class MLogWindow; 38class MLogWindow;
39class GPS; 39class GPS;
40 40
41class Wellenreiter : public WellenreiterBase { 41class Wellenreiter : public WellenreiterBase {
42 Q_OBJECT 42 Q_OBJECT
43 43
44 public: 44 public:
45 Wellenreiter( QWidget* parent = 0 ); 45 Wellenreiter( QWidget* parent = 0 );
46 ~Wellenreiter(); 46 ~Wellenreiter();
47 47