hello ,
i have to change from wxwidget to qt ,the problem is that i cant find a remplacement of wxfilesysteme in qt.
that's my code:
{
lstFolderFiles->clear();
fileSystem->ChangePathTo( txtFolderSource->GetValue(), true );
for( int i = 1, j = 0; i < formatsCount; i ++ )
{
wildCard += wxT( "*." ) + formats[ i ][ 1 ];
fileName = fileSystem->FindFirst( wildCard, wxFILE );
if( fileName != wxEmptyString )
{
do
{
lstFolderFiles->AppendAndEnsureVisible( fileName );
if( radAllFolderSourceFiles->GetValue() )
{
lstFolderFiles->Check( j ++ );
}
}
while( ( fileName = fileSystem->FindNext() ) != wxEmptyString );
}
wildCard = "";
}
}
{
QString wildCard = "";
QString fileName = "";
lstFolderFiles->clear();
fileSystem->ChangePathTo( txtFolderSource->GetValue(), true );
for( int i = 1, j = 0; i < formatsCount; i ++ )
{
wildCard += wxT( "*." ) + formats[ i ][ 1 ];
fileName = fileSystem->FindFirst( wildCard, wxFILE );
if( fileName != wxEmptyString )
{
do
{
lstFolderFiles->AppendAndEnsureVisible( fileName );
if( radAllFolderSourceFiles->GetValue() )
{
lstFolderFiles->Check( j ++ );
}
}
while( ( fileName = fileSystem->FindNext() ) != wxEmptyString );
}
wildCard = "";
}
}
To copy to clipboard, switch view to plain text mode
thanks
Bookmarks