Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User kokilakr's Avatar
    Join Date
    Dec 2009
    Posts
    45
    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
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    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 anshuman2008's Avatar
    Join Date
    May 2010
    Posts
    12
    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
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    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
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    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. cannot create .sis file....
    By jebindaniel in forum Themes/Carbide.ui
    Replies: 6
    Last Post: 2010-04-28, 03:22
  2. Build Problem
    By mdzahidul_haque in forum Symbian C++
    Replies: 4
    Last Post: 2009-08-06, 08:50
  3. ERROR IN CREATING THEME
    By ssmantri in forum Themes/Carbide.ui
    Replies: 5
    Last Post: 2008-05-29, 20:58
  4. directory creation
    By susha in forum Mobile Java General
    Replies: 24
    Last Post: 2007-09-10, 19:08
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved