mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Private slot -> private
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c81a56bcba
commit
c276d7cd44
@@ -98,7 +98,7 @@ namespace BlackCore
|
||||
const CUrl url(this->getInfoObjectsUrl());
|
||||
if (!url.isEmpty())
|
||||
{
|
||||
sApp->getFromNetwork(url, { this, &CInfoDataReader::ps_parseInfoObjectsData});
|
||||
sApp->getFromNetwork(url, { this, &CInfoDataReader::parseInfoObjectsData});
|
||||
emit dataRead(this->getEntityForMode(), CEntityFlags::StartRead, 0);
|
||||
}
|
||||
else
|
||||
@@ -107,7 +107,7 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
void CInfoDataReader::ps_parseInfoObjectsData(QNetworkReply *nwReplyPtr)
|
||||
void CInfoDataReader::parseInfoObjectsData(QNetworkReply *nwReplyPtr)
|
||||
{
|
||||
// wrap pointer, make sure any exit cleans up reply
|
||||
// required to use delete later as object is created in a different thread
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackCore
|
||||
namespace Db
|
||||
{
|
||||
//! Read information about data from Database or shared file
|
||||
//! like when updated and number of entries.
|
||||
//! \see BlackMisc::Db::CDbInfo
|
||||
class BLACKCORE_EXPORT CInfoDataReader : public CDatabaseReader
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -64,11 +66,10 @@ namespace BlackCore
|
||||
virtual bool hasChangedUrl(BlackMisc::Network::CEntityFlags::Entity entity) const override;
|
||||
virtual BlackMisc::Network::CUrl getDbServiceBaseUrl() const override;
|
||||
|
||||
private slots:
|
||||
//! Info objects have been read
|
||||
void ps_parseInfoObjectsData(QNetworkReply *nwReply);
|
||||
|
||||
private:
|
||||
//! Info objects have been read
|
||||
void parseInfoObjectsData(QNetworkReply *nwReply);
|
||||
|
||||
//! URL info objects web service
|
||||
BlackMisc::Network::CUrl getDbInfoObjectsUrl() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user