-rw-r--r-- | libopie/ofiledialog.h | 4 | ||||
-rw-r--r-- | libopie/ofileselector.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libopie/ofiledialog.h b/libopie/ofiledialog.h index 91e0586..3b905c0 100644 --- a/libopie/ofiledialog.h +++ b/libopie/ofiledialog.h @@ -45,7 +45,7 @@ * QMap<QString, QStringList> mimeTypes; * QStringList types; - * types << "text[slash]* "; + * types << "text@slash* "; * mimeTypes.insert( tr("Text"), types ); - * mimeTypes.insert( tr("All"), " * / * " ); // remove the spaces in the 2nd comment + * mimeTypes.insert( tr("All"), " *@slash* " ); // remove the spaces in the 2nd comment * QString fileName= OFileDialog::getOpenFileName( OFileSelector::EXTENDED_ALL, * "foo","bar", mimeTypes); diff --git a/libopie/ofileselector.cpp b/libopie/ofileselector.cpp index 9afe9c7..9ac2981 100644 --- a/libopie/ofileselector.cpp +++ b/libopie/ofileselector.cpp @@ -639,8 +639,8 @@ void OFileViewFileSystem::activate( const QString& str) { * QMap<QString, QStringList> mimeTypes; * QStringList types; - * types << "text[slash]* "; - * types << "audio[slash]*"; + * types << "text@slash* "; + * types << "audio@slash*"; * mimeTypes.insert( tr("Audio and Text"), types ); - * mimeTypes.insert( tr("All"), "*[slash]*); + * mimeTypes.insert( tr("All"), "*@slash*); * * now you could create your fileselector |