Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Equivalent of setInsertInOrder in Qt5.5

    General and Desktop
    2
    2
    588
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ratzz
      Ratzz last edited by

      I am using Qt5.5 on windows. When i was using Qt4.8.1 *setInsertInOrder * was working fine on following lines.

      QMap<int,  QVariant> roleDataMap;
      roleDataMap.setInsertInOrder(true);
      

      I could not find any equivalent in Qt5.5 for setInsertInOrder .
      What is the alternative for setInsertInOrder ?? is it depreciated? if so does anyone knows its equivalent?

      --Alles ist gut.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        setInsertInOrder was an internal function so never part of the public API and it has been removed from Qt 5.

        What is your use case ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post