Results 1 to 2 of 2

Thread: how to find the implementation of all classes and their member functions

  1. #1
    Join Date
    Mar 2011
    Posts
    21
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default how to find the implementation of all classes and their member functions

    i was just looking a screenshot application but i directly came across a grabwindow function
    which captures your desktop ....but i realised that this way if i will directly used the function and don't
    know about its implementation it..will be unfair.....and i can't customise my programs in my own way

    please guide how to find the source code of all classes and their implementations.....
    please help

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how to find the implementation of all classes and their member functions

    You can find implementation of each class in "src" folder of your Qt installation, it's separated into modules - for example grabWindow is in "src/gui/image/qpixmap_win.cpp".
    If you are using an IDE like QtCreator or Eclipse, "Ctrl+left click" on class or method name should open the corresponding source file ( if they are parsed by indexer ).

Similar Threads

  1. Implementation for QtCore classes
    By suikodian in forum Newbie
    Replies: 5
    Last Post: 31st August 2009, 07:48
  2. Correct Member Sheet Extension Implementation
    By PeeAeMKAy in forum Qt Programming
    Replies: 8
    Last Post: 17th July 2009, 15:47
  3. Question about functions in classes
    By cwnelatury in forum Newbie
    Replies: 1
    Last Post: 13th May 2009, 06:05
  4. Pointers to Member Functions
    By Doug Broadwell in forum General Programming
    Replies: 8
    Last Post: 15th May 2007, 23:08
  5. emiting signals from const member functions !?
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 25th March 2006, 11:29

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.