Do not run moc on classes where it is not necessary.
This commit is contained in:
parent
b4a13599aa
commit
6e4c330410
|
@ -41,7 +41,6 @@ class SmartStatus;
|
|||
*/
|
||||
class LIBKPMCORE_EXPORT Device : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(Device)
|
||||
|
||||
friend class CreatePartitionTableOperation;
|
||||
|
|
|
@ -38,8 +38,6 @@ class PartitionRole;
|
|||
*/
|
||||
class LIBKPMCORE_EXPORT PartitionNode : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
typedef QList<Partition*> Partitions;
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ class LIBKPMCORE_EXPORT PartWidget : public PartWidgetBase
|
|||
public:
|
||||
explicit PartWidget(QWidget* parent, const Partition* p = nullptr);
|
||||
|
||||
public:
|
||||
void init(const Partition* p);
|
||||
void setActive(bool b) {
|
||||
m_Active = b;
|
||||
|
|
|
@ -35,7 +35,6 @@ class QWidget;
|
|||
*/
|
||||
class LIBKPMCORE_EXPORT PartWidgetBase : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PartWidgetBase)
|
||||
|
||||
protected:
|
||||
|
|
|
@ -35,7 +35,6 @@ class BackupFileSystemJob;
|
|||
*/
|
||||
class LIBKPMCORE_EXPORT BackupOperation : public Operation
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(BackupOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -38,7 +38,6 @@ class LIBKPMCORE_EXPORT CheckOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(CheckOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -47,7 +47,6 @@ class LIBKPMCORE_EXPORT CopyOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(CopyOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -45,7 +45,6 @@ class LIBKPMCORE_EXPORT CreateFileSystemOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(CreateFileSystemOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -38,7 +38,6 @@ class OperationStack;
|
|||
*/
|
||||
class LIBKPMCORE_EXPORT CreatePartitionTableOperation : public Operation
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(CreatePartitionTableOperation)
|
||||
|
||||
friend class OperationStack;
|
||||
|
|
|
@ -40,7 +40,6 @@ class LIBKPMCORE_EXPORT DeleteOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(DeleteOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -45,7 +45,6 @@ class LIBKPMCORE_EXPORT NewOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(NewOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -52,7 +52,6 @@ class LIBKPMCORE_EXPORT ResizeOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(ResizeOperation)
|
||||
|
||||
protected:
|
||||
|
|
|
@ -48,7 +48,6 @@ class LIBKPMCORE_EXPORT RestoreOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(RestoreOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -41,7 +41,6 @@ class LIBKPMCORE_EXPORT SetFileSystemLabelOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(SetFileSystemLabelOperation)
|
||||
|
||||
public:
|
||||
|
|
|
@ -44,7 +44,6 @@ class LIBKPMCORE_EXPORT SetPartFlagsOperation : public Operation
|
|||
{
|
||||
friend class OperationStack;
|
||||
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(SetPartFlagsOperation)
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue