Ref T171, formatting of some existing completers

* private slots -> private
* this->m_ -> m_
* removed unused utility function (model string completer)
This commit is contained in:
Klaus Basan
2017-10-16 13:00:47 +02:00
parent 73c76155f7
commit bf390f592a
11 changed files with 111 additions and 131 deletions

View File

@@ -30,7 +30,6 @@ class QDropEvent;
class QWidget;
namespace Ui { class CDbCountrySelectorComponent; }
namespace BlackGui
{
namespace Components
@@ -86,17 +85,16 @@ namespace BlackGui
//! \copydoc QWidget::dropEvent
virtual void dropEvent(QDropEvent *event) override;
private slots:
//! Countries have been read
void ps_CountriesRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState readState, int count);
//! Data have been changed
void ps_dataChanged();
//! Data have been changed
void ps_completerActivated(const QString &countryName);
private:
//! Countries have been read
void onCountriesRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState readState, int count);
//! Data have been changed
void onDataChanged();
//! Data have been changed
void onCompleterActivated(const QString &countryName);
QScopedPointer<Ui::CDbCountrySelectorComponent> ui;
QScopedPointer<QCompleter> m_completerCountryNames;
BlackMisc::CCountry m_currentCountry;