×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    45

    To set hidden attribute to directory

    Hello,

    I am creating a directory using QDir mkdir().

    How to set hidden attributes to the directory using QT?

    I know how to set attributes in Symbian c++.

    Thanks,

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: To set hidden attribute to directory

    I believe there is no API in Qt to change hidden attribute using Qt API, you should use native platform API to do that.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    12

    Re: To set hidden attribute to directory

    Quote Originally Posted by divanov View Post
    I believe there is no API in Qt to change hidden attribute using Qt API, you should use native platform API to do that.
    please tell me how can i use native api means please tell me in brif. So that we can implement that things.

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: To set hidden attribute to directory

    I **think** this would work -- haven't tried it yet:
    Code:
    #include <f32file.h> // Needs efsrv.lib
    ...
    RFs fSession;
    fSession.Connect();
    fSession.SetAtt(filePathAndName, KEntryAttHidden, 0);
    fSession.Close();

  5. #5
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: To set hidden attribute to directory

    Quote Originally Posted by anshuman2008 View Post
    please tell me how can i use native api means please tell me in brif.
    Only if you name your platform.

Similar Threads

  1. Build Problem
    By mdzahidul_haque in forum Symbian
    Replies: 4
    Last Post: 2009-08-06, 08:50
  2. directory creation
    By susha in forum Mobile Java General
    Replies: 24
    Last Post: 2007-09-10, 19:08
  3. Replies: 1
    Last Post: 2007-05-23, 02:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×