Commit 9207d199 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer

parent 30be80b6
Pipeline #26278 passed with stage
in 10 minutes and 32 seconds
......@@ -35,7 +35,7 @@ class Q_DECL_HIDDEN CommentFetchJob::Private
bool fetchBodies;
private:
CommentFetchJob *q;
CommentFetchJob *const q;
};
CommentFetchJob::Private::Private(const QString &blogId_,
......
......@@ -36,7 +36,7 @@ class Q_DECL_HIDDEN PostFetchJob::Private
StatusFilters statusFilter;
private:
PostFetchJob *q;
PostFetchJob *const q;
};
PostFetchJob::Private::Private(const QString &blogId_,
......
......@@ -29,7 +29,7 @@ class Q_DECL_HIDDEN PostSearchJob::Private
bool fetchBodies;
private:
PostSearchJob *q;
PostSearchJob *const q;
};
PostSearchJob::Private::Private(const QString &blogId_,
......
......@@ -33,7 +33,7 @@ class Q_DECL_HIDDEN ContactModifyJob::Private
ContactPtr lastContact;
QPair<QByteArray, QString> pendingPhoto;
private:
ContactModifyJob *q;
ContactModifyJob *const q;
};
ContactModifyJob::Private::Private(ContactModifyJob *parent):
......
......@@ -52,7 +52,7 @@ class Q_DECL_HIDDEN AuthJob::Private
QPointer<QDialog> dialog;
private:
AuthJob *q;
AuthJob *const q;
};
AuthJob::Private::Private(AuthJob *parent):
......
......@@ -79,7 +79,7 @@ class KGAPICORE_EXPORT DeleteJob : public KGAPI2::Job
private:
class Private;
Private const * d;
Private *const d;
friend class Private;
};
......
......@@ -81,7 +81,7 @@ class KGAPICORE_EXPORT AuthWidgetPrivate: public QObject {
void setSslIcon(const QString &icon);
AuthWidget *q;
AuthWidget *const q;
friend class AuthWidget;
};
......
......@@ -35,7 +35,7 @@ class Q_DECL_HIDDEN ChangeFetchJob::Private
bool supportsAllDrives;
private:
ChangeFetchJob *q;
ChangeFetchJob *const q;
};
ChangeFetchJob::Private::Private(ChangeFetchJob *parent):
......
......@@ -31,7 +31,7 @@ class Q_DECL_HIDDEN ChildReferenceCreateJob::Private
bool supportsAllDrives;
private:
ChildReferenceCreateJob *q;
ChildReferenceCreateJob *const q;
};
ChildReferenceCreateJob::Private::Private(ChildReferenceCreateJob *parent):
......
......@@ -28,7 +28,7 @@ class Q_DECL_HIDDEN ChildReferenceFetchJob::Private
QString childId;
private:
ChildReferenceFetchJob *q;
ChildReferenceFetchJob *const q;
};
ChildReferenceFetchJob::Private::Private(ChildReferenceFetchJob *parent):
......
......@@ -31,7 +31,7 @@ class Q_DECL_HIDDEN FileAbstractModifyJob::Private
bool supportsAllDrives;
private:
FileAbstractModifyJob *q;
FileAbstractModifyJob *const q;
};
FileAbstractModifyJob::Private::Private(FileAbstractModifyJob *parent):
......
......@@ -31,7 +31,7 @@ class Q_DECL_HIDDEN ParentReferenceCreateJob::Private
ParentReferencesList references;
private:
ParentReferenceCreateJob *q;
ParentReferenceCreateJob *const q;
};
ParentReferenceCreateJob::Private::Private(ParentReferenceCreateJob *parent):
......
......@@ -41,7 +41,7 @@ class Q_DECL_HIDDEN PermissionModifyJob::Private
bool useDomainAdminAccess;
private:
PermissionModifyJob *q;
PermissionModifyJob *const q;
};
PermissionModifyJob::Private::Private(PermissionModifyJob *parent):
......
......@@ -29,7 +29,7 @@ class Q_DECL_HIDDEN RevisionModifyJob::Private
RevisionsList revisions;
private:
RevisionModifyJob *q;
RevisionModifyJob *const q;
};
RevisionModifyJob::Private::Private(RevisionModifyJob *parent):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment