Revision a5723b9...

Go back to digest for 20th March 2011

Optimization in KDE Base

Alex Fiestas committed changes in [bluedevil/nonSequencialWizard] /wizard:

Refactoring of the Wizard, now it is non-sequential.

This is the first commit of the non-sequential wizard, which will
allow us to have shorter and smarter user flow's as well as a
more clean code, since the we're are going to split the logic in
each case we have, which at the moment are:

1-Simple Secure Pairing(SSP)
· Page showing the PIN sent by the device.
· Showing "Correct" and "Not correct" options.
2-No pairing needed
· We'll jump directly into the services page.
3-The device is a Keyboard
· We'll show the PIN
· We'll show a label such "Type this pin and press enter".
· Maybe a nice picture of a keyboard as well :p
4-The device is in our Database (no need to show the PIN)
· We'll show a "Connecting...."
· If succees, go directly to the Service page.
5-The device is not in our database (Show the pin, just in case)
· This should not happen too much since these cases are
usually keyboards which are covered by case 3
· Since this case is weird, we'll show the PIN just in case.

File Changes

Added 3 files
  • /wizard/pages
  •   src/nopairing.cpp
  •   src/nopairing.h
  •   src/nopairing.ui
Deleted 1 files
  • src/wizard/pages/CMakeLists.txt
Modified 5 files
  • /wizard
  •   src/bluewizard.cpp
  •   src/bluewizard.h
  •   src/CMakeLists.txt
  •   src/pages/discoverpage.cpp
  •   src/pages/discoverpage.h
9 files changed in total