mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 08:25:21 +01:00
Move source files to /src
This commit is contained in:
parent
4daff1ba79
commit
033ff07abf
2685 changed files with 9 additions and 7 deletions
17
src/drivelistitem.cpp
Normal file
17
src/drivelistitem.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright (C) 2020 Raspberry Pi Ltd
|
||||
*/
|
||||
|
||||
#include "drivelistitem.h"
|
||||
|
||||
DriveListItem::DriveListItem(QString device, QString description, quint64 size, bool isUsb, bool isScsi, bool readOnly, QStringList mountpoints, QObject *parent)
|
||||
: QObject(parent), _device(device), _description(description), _mountpoints(mountpoints), _size(size), _isUsb(isUsb), _isScsi(isScsi), _isReadOnly(readOnly)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int DriveListItem::sizeInGb()
|
||||
{
|
||||
return _size / 1000000000;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue