ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlernewmedia.cpp
changeset 29 2c833fc9e98f
parent 26 c499df2dbb33
child 45 863223ea6961
equal deleted inserted replaced
26:c499df2dbb33 29:2c833fc9e98f
    59     {
    59     {
    60     OstTraceFunctionEntry0( GLXCOMMANDHANDLERNEWMEDIA_CREATECOMMANDL_ENTRY );
    60     OstTraceFunctionEntry0( GLXCOMMANDHANDLERNEWMEDIA_CREATECOMMANDL_ENTRY );
    61     CMPXCollectionPath* path = aMediaList.PathLC(NGlxListDefs::EPathParent);
    61     CMPXCollectionPath* path = aMediaList.PathLC(NGlxListDefs::EPathParent);
    62     CMPXCommand* command = NULL;
    62     CMPXCommand* command = NULL;
    63    
    63    
    64 
       
    65     _LIT(KName, "TEST");
       
    66     HBufC* newMediaItemTitle = HBufC::NewL(40);
       
    67     TPtr newMediaItemTitleDes = newMediaItemTitle->Des();
       
    68     newMediaItemTitleDes.Append(KName);
       
    69 
       
    70 
       
    71     delete iNewMediaItemTitle;
       
    72     iNewMediaItemTitle = NULL;
       
    73     iNewMediaItemTitle = newMediaItemTitle;
       
    74 
       
    75     QString title("NEW MEDIA");
    64     QString title("NEW MEDIA");
    76     QString mainPane = GenerateNewMediaItemTitleL("Album",aMediaList);
    65     QString mainPane = GenerateNewMediaItemTitleL("Album",aMediaList);
    77     bool ok = false;
    66     bool ok = false;
    78 	QString mediaTitle = NULL;
    67 	QString mediaTitle = NULL;
    79     GlxTextInputDialog* dlg = new GlxTextInputDialog();
    68     GlxTextInputDialog* dlg = new GlxTextInputDialog();