Shut up Qt lupdate warnings.

main
Teo Mrnjavac 10 years ago
parent ef6e4e6e03
commit 8026a287d3

@ -34,6 +34,7 @@ namespace Calamares
class JobThread : public QThread class JobThread : public QThread
{ {
Q_OBJECT
public: public:
JobThread( JobQueue* queue ) JobThread( JobQueue* queue )
: QThread( queue ) : QThread( queue )
@ -168,3 +169,5 @@ JobQueue::enqueue( const QList< job_ptr >& jobs )
} }
} // namespace Calamares } // namespace Calamares
#include "JobQueue.moc"

@ -29,6 +29,7 @@ namespace Calamares
class InstallationViewStep : public ViewStep class InstallationViewStep : public ViewStep
{ {
Q_OBJECT
public: public:
explicit InstallationViewStep( QObject* parent = nullptr ); explicit InstallationViewStep( QObject* parent = nullptr );

@ -29,6 +29,7 @@ class Device;
*/ */
class BootLoaderModel : public QStandardItemModel class BootLoaderModel : public QStandardItemModel
{ {
Q_OBJECT
public: public:
enum enum
{ {

@ -30,6 +30,7 @@ class PartitionModel;
*/ */
class DeviceModel : public QAbstractListModel class DeviceModel : public QAbstractListModel
{ {
Q_OBJECT
public: public:
DeviceModel( QObject* parent = 0 ); DeviceModel( QObject* parent = 0 );
~DeviceModel(); ~DeviceModel();

@ -41,6 +41,7 @@ class PartitionNode;
*/ */
class PartitionModel : public QAbstractItemModel class PartitionModel : public QAbstractItemModel
{ {
Q_OBJECT
public: public:
/** /**
* This helper class must be instantiated on the stack *before* making * This helper class must be instantiated on the stack *before* making

@ -26,6 +26,7 @@
*/ */
class CheckFileSystemJob : public PartitionJob class CheckFileSystemJob : public PartitionJob
{ {
Q_OBJECT
public: public:
CheckFileSystemJob( Partition* partition ); CheckFileSystemJob( Partition* partition );

@ -56,6 +56,7 @@ class Report;
*/ */
class MoveFileSystemJob : public PartitionJob class MoveFileSystemJob : public PartitionJob
{ {
Q_OBJECT
public: public:
MoveFileSystemJob( Device* device, Partition* partition, qint64 oldFirstSector, qint64 newFirstSector, qint64 length ); MoveFileSystemJob( Device* device, Partition* partition, qint64 oldFirstSector, qint64 newFirstSector, qint64 length );

@ -60,6 +60,7 @@
//- ResizeFileSystemJob -------------------------------------------------------- //- ResizeFileSystemJob --------------------------------------------------------
class ResizeFileSystemJob : public Calamares::Job class ResizeFileSystemJob : public Calamares::Job
{ {
Q_OBJECT
public: public:
ResizeFileSystemJob( Device* device, CoreBackendPartitionTable* backendPartitionTable, Partition* partition, qint64 length ) ResizeFileSystemJob( Device* device, CoreBackendPartitionTable* backendPartitionTable, Partition* partition, qint64 length )
: m_device( device ) : m_device( device )
@ -127,6 +128,7 @@ private:
//- SetPartGeometryJob --------------------------------------------------------- //- SetPartGeometryJob ---------------------------------------------------------
class SetPartGeometryJob : public Calamares::Job class SetPartGeometryJob : public Calamares::Job
{ {
Q_OBJECT
public: public:
SetPartGeometryJob( CoreBackendPartitionTable* backendPartitionTable, Partition* partition, qint64 firstSector, qint64 length ) SetPartGeometryJob( CoreBackendPartitionTable* backendPartitionTable, Partition* partition, qint64 firstSector, qint64 length )
: m_backendPartitionTable( backendPartitionTable ) : m_backendPartitionTable( backendPartitionTable )
@ -282,3 +284,5 @@ ResizePartitionJob::execJobList( const QList< Calamares::job_ptr >& jobs )
} }
return Calamares::JobResult::ok(); return Calamares::JobResult::ok();
} }
#include "ResizePartitionJob.moc"

Loading…
Cancel
Save