Do not run moc on classes where it is not necessary.

This commit is contained in:
Andrius Štikonas 2016-05-22 23:53:17 +01:00
parent b4a13599aa
commit 6e4c330410
15 changed files with 0 additions and 16 deletions

View File

@ -41,7 +41,6 @@ class SmartStatus;
*/
class LIBKPMCORE_EXPORT Device : public QObject
{
Q_OBJECT
Q_DISABLE_COPY(Device)
friend class CreatePartitionTableOperation;

View File

@ -38,8 +38,6 @@ class PartitionRole;
*/
class LIBKPMCORE_EXPORT PartitionNode : public QObject
{
Q_OBJECT
public:
typedef QList<Partition*> Partitions;

View File

@ -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;

View File

@ -35,7 +35,6 @@ class QWidget;
*/
class LIBKPMCORE_EXPORT PartWidgetBase : public QWidget
{
Q_OBJECT
Q_DISABLE_COPY(PartWidgetBase)
protected:

View File

@ -35,7 +35,6 @@ class BackupFileSystemJob;
*/
class LIBKPMCORE_EXPORT BackupOperation : public Operation
{
Q_OBJECT
Q_DISABLE_COPY(BackupOperation)
public:

View File

@ -38,7 +38,6 @@ class LIBKPMCORE_EXPORT CheckOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(CheckOperation)
public:

View File

@ -47,7 +47,6 @@ class LIBKPMCORE_EXPORT CopyOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(CopyOperation)
public:

View File

@ -45,7 +45,6 @@ class LIBKPMCORE_EXPORT CreateFileSystemOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(CreateFileSystemOperation)
public:

View File

@ -38,7 +38,6 @@ class OperationStack;
*/
class LIBKPMCORE_EXPORT CreatePartitionTableOperation : public Operation
{
Q_OBJECT
Q_DISABLE_COPY(CreatePartitionTableOperation)
friend class OperationStack;

View File

@ -40,7 +40,6 @@ class LIBKPMCORE_EXPORT DeleteOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(DeleteOperation)
public:

View File

@ -45,7 +45,6 @@ class LIBKPMCORE_EXPORT NewOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(NewOperation)
public:

View File

@ -52,7 +52,6 @@ class LIBKPMCORE_EXPORT ResizeOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(ResizeOperation)
protected:

View File

@ -48,7 +48,6 @@ class LIBKPMCORE_EXPORT RestoreOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(RestoreOperation)
public:

View File

@ -41,7 +41,6 @@ class LIBKPMCORE_EXPORT SetFileSystemLabelOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(SetFileSystemLabelOperation)
public:

View File

@ -44,7 +44,6 @@ class LIBKPMCORE_EXPORT SetPartFlagsOperation : public Operation
{
friend class OperationStack;
Q_OBJECT
Q_DISABLE_COPY(SetPartFlagsOperation)
public: