qt: Rename JobPrivate::start to JobPrivate::startNow

* lang/qt/src/job_p.h (JobPrivate::start): Rename to startNow.
* lang/qt/src/job.cpp (Job::startNow): Adapt function call.
* lang/qt/src/qgpgmechangeexpiryjob.cpp
(QGpgMEChangeExpiryJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmedecryptverifyarchivejob.cpp
(QGpgMEDecryptVerifyArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmeencryptarchivejob.cpp
(QGpgMEEncryptArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmeencryptjob.cpp (QGpgMEEncryptJobPrivate::start):
Rename to startNow.
* lang/qt/src/qgpgmeimportjob.cpp (QGpgMEImportJobPrivate::start):
Rename to startNow.
* lang/qt/src/qgpgmelistallkeysjob.cpp
(QGpgMEListAllKeysJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmesignarchivejob.cpp
(QGpgMESignArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmesignencryptarchivejob.cpp
(QGpgMESignEncryptArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmesignencryptjob.cpp
(QGpgMESignEncryptJobPrivate::start): Rename to startNow.
--

Using the same name for the public and the private method avoids
confusion.

GnuPG-bug-id: 6530
This commit is contained in:
Ingo Klöcker 2023-06-19 12:53:42 +02:00
parent 6f6b35df50
commit 4655b2dc6b
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9
11 changed files with 11 additions and 11 deletions

View File

@ -146,7 +146,7 @@ void QGpgME::Job::startNow()
{
auto d = getJobPrivate(this);
Q_ASSERT(d && "This Job class has no JobPrivate class");
d->start();
d->startNow();
}
#define make_job_subclass_ext(x,y) \

View File

@ -49,7 +49,7 @@ class JobPrivate
public:
virtual ~JobPrivate() {}
virtual void start() = 0;
virtual void startNow() = 0;
};
// Setter and getters for the externally stored pimpl instances of jobs

View File

@ -66,7 +66,7 @@ public:
~QGpgMEChangeExpiryJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -64,7 +64,7 @@ public:
~QGpgMEDecryptVerifyArchiveJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -65,7 +65,7 @@ public:
~QGpgMEEncryptArchiveJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -72,7 +72,7 @@ public:
~QGpgMEEncryptJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -67,7 +67,7 @@ public:
~QGpgMEImportJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -77,7 +77,7 @@ public:
~QGpgMEListAllKeysJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -65,7 +65,7 @@ public:
~QGpgMESignArchiveJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -72,7 +72,7 @@ public:
~QGpgMESignEncryptArchiveJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}

View File

@ -73,7 +73,7 @@ public:
~QGpgMESignEncryptJobPrivate() override = default;
private:
void start() override
void startNow() override
{
q->run();
}