mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
Shut up Qt lupdate warnings.
This commit is contained in:
parent
ef6e4e6e03
commit
8026a287d3
8 changed files with 13 additions and 0 deletions
|
@ -34,6 +34,7 @@ namespace Calamares
|
|||
|
||||
class JobThread : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
JobThread( JobQueue* queue )
|
||||
: QThread( queue )
|
||||
|
@ -168,3 +169,5 @@ JobQueue::enqueue( const QList< job_ptr >& jobs )
|
|||
}
|
||||
|
||||
} // namespace Calamares
|
||||
|
||||
#include "JobQueue.moc"
|
||||
|
|
|
@ -29,6 +29,7 @@ namespace Calamares
|
|||
|
||||
class InstallationViewStep : public ViewStep
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit InstallationViewStep( QObject* parent = nullptr );
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ class Device;
|
|||
*/
|
||||
class BootLoaderModel : public QStandardItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -30,6 +30,7 @@ class PartitionModel;
|
|||
*/
|
||||
class DeviceModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
DeviceModel( QObject* parent = 0 );
|
||||
~DeviceModel();
|
||||
|
|
|
@ -41,6 +41,7 @@ class PartitionNode;
|
|||
*/
|
||||
class PartitionModel : public QAbstractItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
/**
|
||||
* This helper class must be instantiated on the stack *before* making
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
class CheckFileSystemJob : public PartitionJob
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CheckFileSystemJob( Partition* partition );
|
||||
|
||||
|
|
|
@ -56,6 +56,7 @@ class Report;
|
|||
*/
|
||||
class MoveFileSystemJob : public PartitionJob
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MoveFileSystemJob( Device* device, Partition* partition, qint64 oldFirstSector, qint64 newFirstSector, qint64 length );
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
//- ResizeFileSystemJob --------------------------------------------------------
|
||||
class ResizeFileSystemJob : public Calamares::Job
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ResizeFileSystemJob( Device* device, CoreBackendPartitionTable* backendPartitionTable, Partition* partition, qint64 length )
|
||||
: m_device( device )
|
||||
|
@ -127,6 +128,7 @@ private:
|
|||
//- SetPartGeometryJob ---------------------------------------------------------
|
||||
class SetPartGeometryJob : public Calamares::Job
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SetPartGeometryJob( CoreBackendPartitionTable* backendPartitionTable, Partition* partition, qint64 firstSector, qint64 length )
|
||||
: m_backendPartitionTable( backendPartitionTable )
|
||||
|
@ -282,3 +284,5 @@ ResizePartitionJob::execJobList( const QList< Calamares::job_ptr >& jobs )
|
|||
}
|
||||
return Calamares::JobResult::ok();
|
||||
}
|
||||
|
||||
#include "ResizePartitionJob.moc"
|
||||
|
|
Loading…
Add table
Reference in a new issue