Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start refactoring of NetworkingModel: add class TechnologyModel #5

Merged
merged 3 commits into from Dec 4, 2012

Conversation

rojkov
Copy link
Contributor

@rojkov rojkov commented Dec 3, 2012

I'd like to deprecate NetworkingModel, but to keep backward compatibility with existing code for awhile thus the new code goes to TechnologyModel.

TBD:

  1. consider refactoring TechnologyModel to NetworkServiceListModel with "technologyName" as a filtering property;
  2. drop properties NetworkServiceListModel.available, NetworkServiceListModel.powered;
  3. expose NetworkTechnology as QtQuick component.
  4. move QtQuick plugin from MeeGo.Connman to org.nemomobile.networking

The D-Bus path property is used as a string identificator
of NetworkService instance in QML.
The class TechnologyModel is supposed to be an initial refactoring
of NetworkingModel. The goals are
1. represent the list of services as QAbstractListModel;
2. don't bind the list model to a hardcoded technology (wifi);
@ftonello
Copy link
Contributor

ftonello commented Dec 3, 2012

One important thing is that ConnMan doesn't support multiple Agents at the moment. In fact, if you check on theirs TODO file[1], you will see that they don't expect to support Agents for each technology.

Since ConnMan supports ofono, bluez, and others technologies, our Agent should support them. At least should be scalable.

[1] http://git.kernel.org/?p=network/connman/connman.git;a=blob;f=TODO;h=3d487ae340d783c70bc6551ec0a54361c4b2c9e6;hb=HEAD

@rojkov
Copy link
Contributor Author

rojkov commented Dec 4, 2012

Agree. I think Agent should become a QtQuick component in its own right and not coupled with technologies.

rojkov added a commit that referenced this pull request Dec 4, 2012
Start refactoring of NetworkingModel: add class TechnologyModel
@rojkov rojkov merged commit c98747d into nemomobile:master Dec 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants