Results 1 to 19 of 19

Thread: Type conversion on container templates

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2011
    Posts
    69
    Thanks
    13
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Question Type conversion on container templates

    Actually i did alot changing on code and googling, if it's make you feel better, i suffering myself to don't ask a question!
    But i have to do :|


    I have c++ class with a this function
    Qt Code:
    1. std::string addUri(std::vector<std::string> uris, std::map<std::string, std::string> options);
    To copy to clipboard, switch view to plain text mode 
    All i want to do is make a qt wrap function for it
    Like:
    Qt Code:
    1. QString addUri(QVector<QString> uris, QMap<QString, QString> options);
    To copy to clipboard, switch view to plain text mode 

    The wrap one isn't right
    I will apperciate to help me in this conversion
    tahnks
    Last edited by Alir3z4; 27th January 2012 at 23:45. Reason: updated contents
    ...یه مرد هیچوقت زمین نمیخوره

Similar Threads

  1. Replies: 4
    Last Post: 3rd January 2011, 22:00
  2. conversion between string to hex and vice versa
    By mohanakrishnan in forum Newbie
    Replies: 2
    Last Post: 5th December 2009, 11:25
  3. int to String Conversion
    By aj2903 in forum Qt Programming
    Replies: 4
    Last Post: 4th December 2009, 22:43
  4. Conversion Char Array to string
    By anafor2004 in forum Newbie
    Replies: 6
    Last Post: 6th May 2008, 14:35
  5. template parameter and conversion operator
    By bitChanger in forum General Programming
    Replies: 7
    Last Post: 21st April 2006, 15:36

Tags for this Thread

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.