Merged the hostap_2.6 updates, and the Leap of Faith work, from the hostap_update...
[mech_eap.git] / libeap / wpa_supplicant / wpa_gui-qt4 / signalbar.h
diff --git a/libeap/wpa_supplicant/wpa_gui-qt4/signalbar.h b/libeap/wpa_supplicant/wpa_gui-qt4/signalbar.h
new file mode 100644 (file)
index 0000000..37da5dd
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * wpa_gui - SignalBar class
+ * Copyright (c) 2011, Kel Modderman <kel@otaku42.de>
+ *
+ * This software may be distributed under the terms of the BSD license.
+ * See README for more details.
+ */
+
+#ifndef SIGNALBAR_H
+#define SIGNALBAR_H
+
+#include <QObject>
+#include <QStyledItemDelegate>
+
+class SignalBar : public QStyledItemDelegate
+{
+       Q_OBJECT
+
+public:
+       SignalBar(QObject *parent = 0);
+       ~SignalBar();
+
+       virtual void paint(QPainter *painter,
+                          const QStyleOptionViewItem &option,
+                          const QModelIndex &index) const ;
+};
+
+#endif /* SIGNALBAR_H */