Changeset View
Changeset View
Standalone View
Standalone View
Modules/devinfo/soldevicetypes.cpp
Show All 15 Lines | |||||
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License | ||
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 | #include "soldevicetypes.h" | 22 | #include "soldevicetypes.h" | ||
23 | 23 | | |||
24 | #include <solid/deviceinterface.h> | ||||
25 | #include <solid/processor.h> | ||||
26 | #include <solid/storagedrive.h> | ||||
27 | #include <solid/storagevolume.h> | ||||
28 | #include <solid/storageaccess.h> | ||||
29 | #include <solid/portablemediaplayer.h> | ||||
30 | #include <solid/camera.h> | ||||
31 | #include <solid/battery.h> | ||||
32 | | ||||
24 | #include <QProgressBar> | 33 | #include <QProgressBar> | ||
25 | 34 | | |||
35 | //kde | ||||
36 | #include <kdiskfreespaceinfo.h> | ||||
26 | #include <kcapacitybar.h> | 37 | #include <kcapacitybar.h> | ||
27 | | ||||
28 | #include <KFormat> | 38 | #include <KFormat> | ||
39 | | ||||
40 | #include "qvlistlayout.h" | ||||
41 | | ||||
29 | // ---- Processor | 42 | // ---- Processor | ||
30 | 43 | | |||
31 | SolProcessorDevice::SolProcessorDevice(QTreeWidgetItem *parent, const Solid::Device &device) | 44 | SolProcessorDevice::SolProcessorDevice(QTreeWidgetItem *parent, const Solid::Device &device) | ||
32 | : SolDevice(parent, device) | 45 | : SolDevice(parent, device) | ||
33 | { | 46 | { | ||
34 | deviceTypeHolder = Solid::DeviceInterface::Processor; | 47 | deviceTypeHolder = Solid::DeviceInterface::Processor; | ||
35 | setDefaultDeviceText(); | 48 | setDefaultDeviceText(); | ||
36 | } | 49 | } | ||
▲ Show 20 Lines • Show All 473 Lines • Show Last 20 Lines |