Private slot -> private

This commit is contained in:
Klaus Basan
2017-07-14 00:00:34 +02:00
committed by Mathew Sutcliffe
parent c81a56bcba
commit c276d7cd44
2 changed files with 7 additions and 6 deletions

View File

@@ -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

View File

@@ -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;