mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 15:15:39 +08:00
Formatting, typos
This commit is contained in:
committed by
Mathew Sutcliffe
parent
9eb67edddf
commit
ec297d5838
@@ -121,6 +121,7 @@ namespace BlackCore
|
|||||||
bool isAlreadyRunning() const;
|
bool isAlreadyRunning() const;
|
||||||
|
|
||||||
//! Is application shutting down?
|
//! Is application shutting down?
|
||||||
|
//! \threadsafe
|
||||||
bool isShuttingDown() const;
|
bool isShuttingDown() const;
|
||||||
|
|
||||||
//! Application name and version
|
//! Application name and version
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ namespace BlackCore
|
|||||||
if (url.isLocalFile())
|
if (url.isLocalFile())
|
||||||
{
|
{
|
||||||
this->m_localSetupFileValue = url.toLocalFile();
|
this->m_localSetupFileValue = url.toLocalFile();
|
||||||
QFile f(this->m_localSetupFileValue);
|
const QFile f(this->m_localSetupFileValue);
|
||||||
if (!f.exists())
|
if (!f.exists())
|
||||||
{
|
{
|
||||||
sApp->cmdLineErrorMessage(QString("File '%1' does not exist)").arg(this->m_localSetupFileValue));
|
sApp->cmdLineErrorMessage(QString("File '%1' does not exist)").arg(this->m_localSetupFileValue));
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
class QWidget;
|
class QWidget;
|
||||||
|
|
||||||
namespace Ui { class CDbCountryComponent; }
|
namespace Ui { class CDbCountryComponent; }
|
||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
namespace Components
|
namespace Components
|
||||||
@@ -44,7 +43,7 @@ namespace BlackGui
|
|||||||
explicit CDbCountryComponent(QWidget *parent = nullptr);
|
explicit CDbCountryComponent(QWidget *parent = nullptr);
|
||||||
|
|
||||||
//! Destructor
|
//! Destructor
|
||||||
~CDbCountryComponent();
|
virtual ~CDbCountryComponent();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
//! Countries have been read
|
//! Countries have been read
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class QTimerEvent;
|
|||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
/**
|
/*!
|
||||||
* The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
|
* The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
|
||||||
* Progress indicators are indeterminate and do nothing more than spin to show that the application is busy.
|
* Progress indicators are indeterminate and do nothing more than spin to show that the application is busy.
|
||||||
* \note based on https://github.com/mojocorp/QProgressIndicator under MIT license
|
* \note based on https://github.com/mojocorp/QProgressIndicator under MIT license
|
||||||
@@ -121,8 +121,8 @@ namespace BlackGui
|
|||||||
QColor m_color = Qt::blue;
|
QColor m_color = Qt::blue;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/*!
|
||||||
* Enable widgte class for load indicator
|
* Enable widget class for load indicator
|
||||||
*/
|
*/
|
||||||
class BLACKGUI_EXPORT CLoadIndicatorEnabled
|
class BLACKGUI_EXPORT CLoadIndicatorEnabled
|
||||||
{
|
{
|
||||||
@@ -148,7 +148,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
//! Indicator timed out
|
//! Indicator timed out
|
||||||
//! \remark override for usage
|
//! \remark override for usage
|
||||||
void virtual indicatorTimedOut();
|
virtual void indicatorTimedOut();
|
||||||
|
|
||||||
QWidget *m_usingWidget = nullptr; //!< widget which uses load indicator
|
QWidget *m_usingWidget = nullptr; //!< widget which uses load indicator
|
||||||
CLoadIndicator *m_loadIndicator = nullptr; //!< indicator itself
|
CLoadIndicator *m_loadIndicator = nullptr; //!< indicator itself
|
||||||
|
|||||||
Reference in New Issue
Block a user