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:
parent
6f6b35df50
commit
4655b2dc6b
@ -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) \
|
||||
|
@ -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
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
~QGpgMEChangeExpiryJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
~QGpgMEDecryptVerifyArchiveJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
~QGpgMEEncryptArchiveJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ public:
|
||||
~QGpgMEEncryptJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
~QGpgMEImportJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
~QGpgMEListAllKeysJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
~QGpgMESignArchiveJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ public:
|
||||
~QGpgMESignEncryptArchiveJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ public:
|
||||
~QGpgMESignEncryptJobPrivate() override = default;
|
||||
|
||||
private:
|
||||
void start() override
|
||||
void startNow() override
|
||||
{
|
||||
q->run();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user