Changeset View
Changeset View
Standalone View
Standalone View
Modules/devinfo/devicelisting.h
Show All 16 Lines | |||||
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #ifndef DEVICELISTING | 22 | #ifndef DEVICELISTING | ||
23 | #define DEVICELISTING | 23 | #define DEVICELISTING | ||
24 | 24 | | |||
25 | //Solid | | |||
26 | #include <solid/device.h> | | |||
27 | #include <solid/deviceinterface.h> | | |||
28 | #include <solid/processor.h> | | |||
29 | #include <solid/devicenotifier.h> | | |||
30 | | ||||
31 | //QT | 25 | //QT | ||
32 | #include <QMap> | 26 | #include <QMap> | ||
33 | #include <QTreeWidget> | 27 | #include <QTreeWidget> | ||
34 | #include <QAction> | | |||
35 | #include <QContextMenuEvent> | | |||
36 | #include <QTreeWidgetItemIterator> | 28 | #include <QTreeWidgetItemIterator> | ||
37 | 29 | | |||
38 | //Local | 30 | //Local | ||
39 | #include "infopanel.h" | | |||
40 | #include "soldevice.h" | 31 | #include "soldevice.h" | ||
41 | #include "soldevicetypes.h" | | |||
42 | #include "devinfo.h" | | |||
43 | #include "solidhelper.h" | | |||
44 | //#include "nicsignals.h" | | |||
45 | 32 | | |||
46 | //Kde | 33 | //Kde | ||
47 | 34 | | |||
48 | class InfoPanel; | 35 | class InfoPanel; | ||
49 | class DevInfoPlugin; | 36 | class DevInfoPlugin; | ||
50 | //class NicSignals; | 37 | class QContextMenuEvent; | ||
38 | class QAction; | ||||
51 | 39 | | |||
52 | class DeviceListing : public QTreeWidget | 40 | class DeviceListing : public QTreeWidget | ||
53 | { | 41 | { | ||
54 | Q_OBJECT | 42 | Q_OBJECT | ||
55 | 43 | | |||
56 | private: | 44 | private: | ||
57 | enum show { | 45 | enum show { | ||
58 | ALL = 0, RELEVANT | 46 | ALL = 0, RELEVANT | ||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |