Results 1 to 5 of 5

Thread: QtUndo => QUndo

  1. #1
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QtUndo => QUndo

    Does anyone have a pointer to how to convert from using the old qtundo-commercial to the current undo framework with QtCore?

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtUndo => QUndo

    I think their APIs are compatible, aren't they?

  3. #3
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtUndo => QUndo

    Not really--the original looks kind of ugly compared to the new. I was hoping for some kind of checklist. Some things are easy:

    QtCommand => QUndoCommand

    but the member functions are simpler in the new framework so there are some translation difficulties.

    I guess I'll just have to get my shovel.

    Thanks.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtUndo => QUndo

    If you ask for specific differences I'm sure we'll be able to resolve them here.

  5. #5
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtUndo => QUndo

    Thanks, I'll do that.

    Our license has expired for assistance from Qt for the moment, but I'm surprised that I haven't found any documentation from them about transitioning from the commercial add-on to the enhanced QtCore.

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.