<commit_before>/*   -*- Mode: C++ -*-
 * meegotouchcp-connman - connectivity plugin for duicontrolpanel
 * Copyright © 2010, Intel Corporation.
 *
 * This program is licensed under the terms and conditions of the
 * Apache License, version 2.0.  The full text of the Apache License is at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */
#include "networkitemmodel.h"
#include "debug.h"
#include "commondbustypes.h"

//FIXME: could reuse these static strings for getProperties and popertyChanged
const char* const NetworkItemModel::Name = "Name";
const char* const NetworkItemModel::Security = "Security";
const char* const NetworkItemModel::Strength = "Strength";
const char* const NetworkItemModel::State = "State";
const char* const NetworkItemModel::Type = "Type";
const char* const NetworkItemModel::PassphraseRequired = "PassphraseRequired";
const char* const NetworkItemModel::Passphrase = "Passphrase";
const char* const NetworkItemModel::IPv4 = "IPv4.Configuration";
const char* const NetworkItemModel::Nameservers = "Nameservers";
const char* const NetworkItemModel::DeviceAddress = "DeviceAddress";
const char* const NetworkItemModel::Mode = "Mode";

int NetworkItemModel::instances = 0;
int NetworkItemModel::idCounter = 0;

NetworkItemModel::NetworkItemModel(const QString &path, QObject *parent) :
  MWidgetModel(),
  id(idCounter),
  m_service(NULL),
  m_getPropertiesWatcher(NULL),
  m_setPropertyWatcher(NULL),
  m_disconnectWatcher(NULL),
  m_connectWatcher(NULL),
  m_state(STATE_NONE),
  m_strength(0),
  m_passphraseRequired(false)
{
  setParent(parent);
  instances++;
  idCounter++;
  m_servicePath = path;<commit_msg>remove non applicable fixme<commit_after>/*   -*- Mode: C++ -*-
 * meegotouchcp-connman - connectivity plugin for duicontrolpanel
 * Copyright © 2010, Intel Corporation.
 *
 * This program is licensed under the terms and conditions of the
 * Apache License, version 2.0.  The full text of the Apache License is at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */
#include "networkitemmodel.h"
#include "debug.h"
#include "commondbustypes.h"

const char* const NetworkItemModel::Name = "Name";
const char* const NetworkItemModel::Security = "Security";
const char* const NetworkItemModel::Strength = "Strength";
const char* const NetworkItemModel::State = "State";
const char* const NetworkItemModel::Type = "Type";
const char* const NetworkItemModel::PassphraseRequired = "PassphraseRequired";
const char* const NetworkItemModel::Passphrase = "<PASSWORD>";
const char* const NetworkItemModel::IPv4 = "IPv4.Configuration";
const char* const NetworkItemModel::Nameservers = "Nameservers";
const char* const NetworkItemModel::DeviceAddress = "DeviceAddress";
const char* const NetworkItemModel::Mode = "Mode";

int NetworkItemModel::instances = 0;
int NetworkItemModel::idCounter = 0;

NetworkItemModel::NetworkItemModel(const QString &path, QObject *parent) :
  MWidgetModel(),
  id(idCounter),
  m_service(NULL),
  m_getPropertiesWatcher(NULL),
  m_setPropertyWatcher(NULL),
  m_disconnectWatcher(NULL),
  m_connectWatcher(NULL),
  m_state(STATE_NONE),
  m_strength(0),
  m_passphraseRequired(false)
{
  setParent(parent);
  instances++;
  idCounter++;
  m_servicePath = path;
{'fraction_non_alphanumeric': 0.11759230530561589, 'fraction_numerical': 0.008067018305926156, 'mean_word_length': 6.196428571428571, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '801072', 'n_tokens_mistral': 982, 'n_tokens_neox': 960, 'n_words': 262}