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
|
class LIBKPMCORE_EXPORT Device : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(Device)
|
Q_DISABLE_COPY(Device)
|
||||||
|
|
||||||
friend class CreatePartitionTableOperation;
|
friend class CreatePartitionTableOperation;
|
||||||
|
|
|
@ -38,8 +38,6 @@ class PartitionRole;
|
||||||
*/
|
*/
|
||||||
class LIBKPMCORE_EXPORT PartitionNode : public QObject
|
class LIBKPMCORE_EXPORT PartitionNode : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef QList<Partition*> Partitions;
|
typedef QList<Partition*> Partitions;
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,6 @@ class LIBKPMCORE_EXPORT PartWidget : public PartWidgetBase
|
||||||
public:
|
public:
|
||||||
explicit PartWidget(QWidget* parent, const Partition* p = nullptr);
|
explicit PartWidget(QWidget* parent, const Partition* p = nullptr);
|
||||||
|
|
||||||
public:
|
|
||||||
void init(const Partition* p);
|
void init(const Partition* p);
|
||||||
void setActive(bool b) {
|
void setActive(bool b) {
|
||||||
m_Active = b;
|
m_Active = b;
|
||||||
|
|
|
@ -35,7 +35,6 @@ class QWidget;
|
||||||
*/
|
*/
|
||||||
class LIBKPMCORE_EXPORT PartWidgetBase : public QWidget
|
class LIBKPMCORE_EXPORT PartWidgetBase : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(PartWidgetBase)
|
Q_DISABLE_COPY(PartWidgetBase)
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -35,7 +35,6 @@ class BackupFileSystemJob;
|
||||||
*/
|
*/
|
||||||
class LIBKPMCORE_EXPORT BackupOperation : public Operation
|
class LIBKPMCORE_EXPORT BackupOperation : public Operation
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(BackupOperation)
|
Q_DISABLE_COPY(BackupOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -38,7 +38,6 @@ class LIBKPMCORE_EXPORT CheckOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(CheckOperation)
|
Q_DISABLE_COPY(CheckOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -47,7 +47,6 @@ class LIBKPMCORE_EXPORT CopyOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(CopyOperation)
|
Q_DISABLE_COPY(CopyOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -45,7 +45,6 @@ class LIBKPMCORE_EXPORT CreateFileSystemOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(CreateFileSystemOperation)
|
Q_DISABLE_COPY(CreateFileSystemOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -38,7 +38,6 @@ class OperationStack;
|
||||||
*/
|
*/
|
||||||
class LIBKPMCORE_EXPORT CreatePartitionTableOperation : public Operation
|
class LIBKPMCORE_EXPORT CreatePartitionTableOperation : public Operation
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(CreatePartitionTableOperation)
|
Q_DISABLE_COPY(CreatePartitionTableOperation)
|
||||||
|
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
|
@ -40,7 +40,6 @@ class LIBKPMCORE_EXPORT DeleteOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(DeleteOperation)
|
Q_DISABLE_COPY(DeleteOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -45,7 +45,6 @@ class LIBKPMCORE_EXPORT NewOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(NewOperation)
|
Q_DISABLE_COPY(NewOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -52,7 +52,6 @@ class LIBKPMCORE_EXPORT ResizeOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(ResizeOperation)
|
Q_DISABLE_COPY(ResizeOperation)
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -48,7 +48,6 @@ class LIBKPMCORE_EXPORT RestoreOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(RestoreOperation)
|
Q_DISABLE_COPY(RestoreOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -41,7 +41,6 @@ class LIBKPMCORE_EXPORT SetFileSystemLabelOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(SetFileSystemLabelOperation)
|
Q_DISABLE_COPY(SetFileSystemLabelOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -44,7 +44,6 @@ class LIBKPMCORE_EXPORT SetPartFlagsOperation : public Operation
|
||||||
{
|
{
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
||||||
Q_OBJECT
|
|
||||||
Q_DISABLE_COPY(SetPartFlagsOperation)
|
Q_DISABLE_COPY(SetPartFlagsOperation)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue