Results 1 to 2 of 2

Thread: qt's private headers and classes

  1. #1
    Join Date
    Mar 2010
    Posts
    107
    Thanks
    22
    Qt products
    Qt4
    Platforms
    Windows

    Default qt's private headers and classes

    Hello
    I am implementing a class to output the contents of a QTextDocument in a custom format.
    I started to look at the code that outputs in odf format and this code makes use of the QTextDocumentPrivate class defined in Qt\4.7.4\src\gui\text\qtextdocument_p.h

    My question is – can I follow this lead and use these ‘private’ classes?

    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: qt's private headers and classes

    No, you can't use private headers. At least not in any easy way.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    GrahamLabdon (12th October 2011)

Similar Threads

  1. construction of classes within classes
    By mobucl in forum Newbie
    Replies: 8
    Last Post: 10th January 2011, 13:51
  2. [RESOLVED] Help in using private classes
    By kuzulis in forum Qt Programming
    Replies: 8
    Last Post: 27th August 2009, 14:03
  3. private classes in QT
    By talk2amulya in forum Qt Programming
    Replies: 3
    Last Post: 19th February 2009, 17:26
  4. Why does Qt use Private classes?
    By hyling in forum Qt Programming
    Replies: 2
    Last Post: 12th December 2006, 22:11
  5. [custom widget] What about private headers ?
    By lauranger in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2006, 23:14

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.