Results 1 to 3 of 3

Thread: Qsettings get all Organisations

  1. #1
    Join Date
    May 2011
    Posts
    18
    Thanks
    2

    Default Qsettings get all Organisations

    Greatings,

    I'm programming an application that uses QSettings. I was wondering if it is possible to get all the Organisations that exist in the current computer.
    I found no subject about it on any forum.
    It would help a lot.
    Thanks.

  2. #2
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qsettings get all Organisations

    There are certainly ways to do this.

    As a user, though, I generally object to programs pawing through my files; there's no reason for applications to know what other companies I have purchased software from, or to gather any information other than what is strictly required to run properly, such as checking that there is enough memory, or disk space, or that network connectivity or printing capabilities exist.

  3. #3
    Join Date
    May 2011
    Posts
    18
    Thanks
    2

    Default Re: Qsettings get all Organisations

    Thank you for your answer,
    After some more thought, It dosen't matter if i can't get the list of all the origanisations and i admit it could be wrong if any app could do it. In fact, I need at least all the applicationName of the current Organization.

    For instance, if two programs have declarered 2 Qsetting : QSettings ( "MyCompany","myAppv1") and QSettings ( "MyCompany","myAppv2") I would like to recover "myAppv1" "myAppv2" in one of them to be abble to compare the config.

    After studiing the QSettings Class i can't find a way to do it. If you do it would be quite usefull.
    Thanks.

Similar Threads

  1. QSettings - how to use?
    By almalino in forum Qt Programming
    Replies: 10
    Last Post: 22nd September 2017, 04:17
  2. Replies: 1
    Last Post: 14th January 2011, 11:57
  3. how to use Qsettings
    By elDua in forum Newbie
    Replies: 1
    Last Post: 5th August 2010, 21:22
  4. QSettings.
    By afflictedd2 in forum Qt Programming
    Replies: 1
    Last Post: 5th April 2009, 19:14
  5. Migrate Qt3 QSettings to Qt4 QSettings
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2008, 03:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.