Re: [SailfishDevel] Known Bluetooth devices

2014-06-23 Thread Bea Lam
On 24 Jun 2014, at 11:30 am, Tomasz Sterna  wrote:

> Hello.
> 
> Is there a way of obtaining a list of known BT devices from pure Qt C++?
> 
> I know there is KnownDevicesModel in Sailfish.Bluetooth QML module, but
> I would like to get that information on C++ level - in an command-line
> application running without UI.

Hi Tomasz, 

I suggest using the BlueZ 4.x API directly through QtDBus until there is public 
API support for Bluetooth functionality. You can call 
org.bluez.Adapter.GetProperties and check the “Devices” property in the 
returned map to get a list of object paths for known devices. This is what 
KnownDevicesModel does internally. 

We would like to provide some kind of public API support for Bluetooth in the 
future — in the form of QtBluetooth support, for example — though this will be 
some way off.

cheers,
Bea
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Known Bluetooth devices

2014-06-23 Thread Tomasz Sterna
Hello.

Is there a way of obtaining a list of known BT devices from pure Qt C++?

I know there is KnownDevicesModel in Sailfish.Bluetooth QML module, but
I would like to get that information on C++ level - in an command-line
application running without UI.

Any hints?



-- 
Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/


signature.asc
Description: This is a digitally signed message part
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Recent update improvements?

2014-06-23 Thread Steph Gosling
Hola,

On Mon, 23 Jun 2014 19:40:30 +0100
Chris Walker  wrote:

> Now, another question. When did the ability to jump to the top or bottom
> of a list happen? I have only just noticed it so I'm assuming it
> happened with the latest update. In case you're not clear what I mean,
> it's when I scroll a long list, some icons appear enabling me to jump
> to the top or bottom of the list. Perhaps it was this question -
> [SailfishDevel] Scroll Indicator - from February 14 2014 that prompted
> it ;-)

Yep that happened in Update 7.

Cheers,

Steph

-- 
Steph Gosling 
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Recent update improvements?

2014-06-23 Thread Chris Walker
On Mon, 23 Jun 2014 19:06:56 +0300
Juha Kallioinen  wrote:

> On 23.06.2014 18:52, Chris Walker wrote:
> > On Mon, 23 Jun 2014 16:51:17 +0300
> > Juha Kallioinen  wrote:
> >
> >> On 23.06.2014 16:38, Chris Walker wrote:
> >>> What was the reason for 'improving' the Emulator? By improvement,
> >>> I mean that there is now only one option and that is to shut it
> >>> down rather than saving the state? I consider that to be a right
> >>> PITA.
> >>>
> >> The reason was to prevent accidental state savings.
> >>
> >> You can still save its state by opening the VirtualBox manager
> >> window and selecting the menu option (Close/Save state) for the
> >> running Emulator. It's a bit more difficult to choose and that
> >> should make it a more deliberate action.
> > Just to be clear on this, you are referring to the option to save a
> > single state with Ctrl-V rather than a permanent change to re-enable
> > the option to save the state.
> 
> I think so... how do these differ in operation? I think they do
> exactly the same thing?
> 
> If you want to re-enable the three options in the shut down dialog,
> you can do this (including the quotes) on your host command line when
> the Emulator is not running:
> 
> $ VBoxManage setextradata "SailfishOS Emulator"
> "GUI/RestrictedCloseActions"
> 
> But I will keep shipping the Emulator with just the one option
> enabled also in the future releases.

That's fine. I understand the reasons for that. But I like to be able
to have my system run as I like it, so I appreciate the hint about
changing it back to 'as was'.

Now, another question. When did the ability to jump to the top or bottom
of a list happen? I have only just noticed it so I'm assuming it
happened with the latest update. In case you're not clear what I mean,
it's when I scroll a long list, some icons appear enabling me to jump
to the top or bottom of the list. Perhaps it was this question -
[SailfishDevel] Scroll Indicator - from February 14 2014 that prompted
it ;-)
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Recent update improvements?

2014-06-23 Thread Juha Kallioinen

On 23.06.2014 18:52, Chris Walker wrote:

On Mon, 23 Jun 2014 16:51:17 +0300
Juha Kallioinen  wrote:


On 23.06.2014 16:38, Chris Walker wrote:

What was the reason for 'improving' the Emulator? By improvement, I
mean that there is now only one option and that is to shut it down
rather than saving the state? I consider that to be a right PITA.


The reason was to prevent accidental state savings.

You can still save its state by opening the VirtualBox manager window
and selecting the menu option (Close/Save state) for the running
Emulator. It's a bit more difficult to choose and that should make it
a more deliberate action.

Just to be clear on this, you are referring to the option to save a
single state with Ctrl-V rather than a permanent change to re-enable
the option to save the state.


I think so... how do these differ in operation? I think they do exactly 
the same thing?


If you want to re-enable the three options in the shut down dialog, you 
can do this (including the quotes) on your host command line when the 
Emulator is not running:


$ VBoxManage setextradata "SailfishOS Emulator" "GUI/RestrictedCloseActions"

But I will keep shipping the Emulator with just the one option enabled 
also in the future releases.


Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Recent update improvements?

2014-06-23 Thread Chris Walker
On Mon, 23 Jun 2014 16:51:17 +0300
Juha Kallioinen  wrote:

> On 23.06.2014 16:38, Chris Walker wrote:
> > What was the reason for 'improving' the Emulator? By improvement, I
> > mean that there is now only one option and that is to shut it down
> > rather than saving the state? I consider that to be a right PITA.
> >
> 
> The reason was to prevent accidental state savings.
> 
> You can still save its state by opening the VirtualBox manager window 
> and selecting the menu option (Close/Save state) for the running 
> Emulator. It's a bit more difficult to choose and that should make it
> a more deliberate action.

Just to be clear on this, you are referring to the option to save a
single state with Ctrl-V rather than a permanent change to re-enable
the option to save the state.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Recent update improvements?

2014-06-23 Thread Juha Kallioinen

On 23.06.2014 16:38, Chris Walker wrote:

What was the reason for 'improving' the Emulator? By improvement, I
mean that there is now only one option and that is to shut it down
rather than saving the state? I consider that to be a right PITA.



The reason was to prevent accidental state savings.

You can still save its state by opening the VirtualBox manager window 
and selecting the menu option (Close/Save state) for the running 
Emulator. It's a bit more difficult to choose and that should make it a 
more deliberate action.


Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Recent update improvements?

2014-06-23 Thread Chris Walker
What was the reason for 'improving' the Emulator? By improvement, I
mean that there is now only one option and that is to shut it down
rather than saving the state? I consider that to be a right PITA.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Next meeting on SailfishOS, open source, collaboration: 24-June @ 10:00 UTC

2014-06-23 Thread Carol Chen

Hi!

Thanks to everyone who've responded on 
http://piratepad.net/SailfishOSSMeetings


Here's the invitation/reminder for tomorrow's meeting:

Date: 24 June 2014
Time: 10:00 UTC, for your local time: http://bit.ly/1m4dbXS (note 
different time from last meeting)

Duration 90 minutes
Chair: Carol Chen (unless someone else volunteers before then)
Location: #mer-meeting on Freenode IRC

Those without an IRC client can access it here:
http://webchat.freenode.net?channels=mer-meeting

Current proposed topics:
* Intro (5 min)
* Nemo/Mer merge and bugzilla situation, faenil (30 min)
* Betatesting program, faenil (20 min)
* The following updates: (5-10 min each)
 - ambiances/icon packs in Harbour?
 - Silica documentation improvements?
 - autodoc situation?
 - beta channel in Harbour / API versioning stuff?
* Wrap up and next meeting (5 min)

Please familiarize yourself with the topics before the meeting, as well 
as the common Meetbot commands https://wiki.debian.org/MeetBot (it's 
used for meeting management and logging)


Thanks and see you at the meeting!

Br,
 Carol.


--
Carol "cybette" Chen
Community Chief @ Jolla http://jolla.com
 +358403502527  @ SMS,PSTN,WeChat
cybette @ FreenodeIRC,Twitter,Weibo,LinkedIn,Skype
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org