Diffstat (limited to 'noncore/net/opiestumbler/opiestumbler.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opiestumbler/opiestumbler.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/noncore/net/opiestumbler/opiestumbler.h b/noncore/net/opiestumbler/opiestumbler.h index 3f45a78..84a69ba 100644 --- a/noncore/net/opiestumbler/opiestumbler.h +++ b/noncore/net/opiestumbler/opiestumbler.h @@ -1,70 +1,81 @@ #ifndef OPIESTUMBLER_H #define OPIESTUMBLER_H #include <qmainwindow.h> #include <qlist.h> #include "stumblerstation.h" class QString; class QPopupMenu; class Stumbler; class QCopChannel; class QListView; class QListViewItem; +class QFrame; +class QLabel; +class QProgressBar; +class QVBoxLayout; namespace Opie{ namespace Net { class OMacAddress; class OStation; class OManufacturerDB; } namespace Core { class OProcess; } } class OpieStumbler: public QMainWindow { Q_OBJECT public: enum CurrentColumns { CURSSID, CURCHAN, CURSIGNAL, CURENC }; enum HistoryColumns { HISSSID, HISCHAN, HISSIGNAL, HISENC, HISVENDOR }; OpieStumbler(QWidget *parent = 0, const char *name = 0, WFlags f = 0); static QString appName() { return QString::fromLatin1("opiestumbler"); } static QString appCaption(); void displayStations(); QString manufacturer(const QString &mac, bool extended = FALSE ); protected slots: void slotConfigure(); void slotStartScanning(); void slotStopScanning(); void slotUpdateStations(); void slotMessageReceived( const QCString &, const QByteArray & ); void slotCurrentMousePressed(int button, QListViewItem *item, const QPoint &point, int c); void slotHistoryMousePressed(int button, QListViewItem *item, const QPoint &point, int c); void slotShowDetails(); void slotLoadManufacturers(); void slotJoinNetwork(); void slotAssociated(); void slotCheckDHCP(); + void slotCleanSplash(); protected: void loadConfig(); + QListView *m_listCurrent; QListView *m_listHistory; QString m_interface; Stumbler *m_stumbler; QCopChannel *m_channel; QList <Opie::Net::OStation> *m_stationsCurrent; QList <StumblerStation> m_stationsHistory; QPopupMenu *m_popupCurrent; QPopupMenu *m_popupHistory; Opie::Net::OManufacturerDB *m_db; QString m_mac; + QString m_ssid; Opie::Core::OProcess *m_proc; + QFrame *m_splash; + QVBoxLayout *m_splashBox; + QLabel *m_infoLabel; + QProgressBar *m_pbar; }; #endif /* OPIESTUMBLER_H */ |