Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Equivalent of setInsertInOrder in Qt5.5
Forum Updated to NodeBB v4.3 + New Features

Equivalent of setInsertInOrder in Qt5.5

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 749 Views 2 Watching
  • 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.
  • RatzzR Offline
    RatzzR Offline
    Ratzz
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved