mirror of
https://github.com/QuasarApp/DoctorPill.git
synced 2025-04-27 10:14:41 +00:00
fix build warnings
This commit is contained in:
parent
c5ab76470e
commit
9f10d680a3
@ -17,7 +17,7 @@ Doctor::Doctor(const QList<QSharedPointer<iPill> > &base) {
|
||||
qRegisterMetaType<QList<QSharedPointer<iPill> >>();
|
||||
}
|
||||
|
||||
void Doctor::diagnostic(bool fix) const {
|
||||
void Doctor::diagnostic(bool fix) {
|
||||
|
||||
QList<QSharedPointer<iPill> > failed;
|
||||
QList<QSharedPointer<iPill> > detected;
|
||||
@ -55,7 +55,7 @@ void Doctor::diagnostic(bool fix) const {
|
||||
}
|
||||
}
|
||||
|
||||
void Doctor::fix(const QList<QSharedPointer<iPill> > &pills) const {
|
||||
void Doctor::fix(const QList<QSharedPointer<iPill> > &pills) {
|
||||
|
||||
QList<QSharedPointer<iPill> > failed;
|
||||
QList<QSharedPointer<iPill> > fixedSuccessful;
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
* @see Doctor::sigFixesFinishedSuccessful
|
||||
* @see Doctor::sigDiagnosticFinished
|
||||
*/
|
||||
void diagnostic(bool fix = false) const;
|
||||
void diagnostic(bool fix = false);
|
||||
|
||||
/**
|
||||
* @brief fix This method try run fixes by input pills.
|
||||
@ -51,7 +51,7 @@ public:
|
||||
* @see Doctor::sigFixesFailed
|
||||
* @see Doctor::sigFixesFinishedSuccessful
|
||||
*/
|
||||
void fix(const QList<QSharedPointer<iPill>>& pills) const;
|
||||
void fix(const QList<QSharedPointer<iPill>>& pills);
|
||||
|
||||
/**
|
||||
* @brief addPill This method add new pill object to doctor library
|
||||
@ -71,25 +71,25 @@ signals:
|
||||
* @see Doctor::sigFixesFailed
|
||||
* @see Doctor::sigFixesFinishedSuccessful
|
||||
*/
|
||||
void sigDiagnosticFinished(QList<QSharedPointer<iPill>> issues) const;
|
||||
void sigDiagnosticFinished(QList<QSharedPointer<DP::iPill>> issues);
|
||||
|
||||
/**
|
||||
* @brief sigFixesFailed This signal emited when the doctor can't fix foundet issues.
|
||||
* @param issues This is list of the unfixable issues.
|
||||
*/
|
||||
void sigFixesFailed(QList<QSharedPointer<iPill>> issues) const;
|
||||
void sigFixesFailed(QList<QSharedPointer<DP::iPill>> issues);
|
||||
|
||||
/**
|
||||
* @brief sigFixesFinishedSuccessful This signal emited when the doctor fix foundet issues successfull.
|
||||
* @param issues This is list of the fixed issues.
|
||||
*/
|
||||
void sigFixesFinishedSuccessful(QList<QSharedPointer<iPill>> issues) const;
|
||||
void sigFixesFinishedSuccessful(QList<QSharedPointer<DP::iPill>> issues);
|
||||
|
||||
/**
|
||||
* @brief sigDiagnosticProgressChanged This signal emitted when progress of diagnstic changed.
|
||||
* @param progress This is ptogress of diagnostic process from 0 to 1
|
||||
*/
|
||||
void sigDiagnosticProgressChanged(float progress) const;
|
||||
void sigDiagnosticProgressChanged(float progress);
|
||||
private:
|
||||
QList<QSharedPointer<iPill>> _pillsData;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user