From 9191120c28d3c125897b01680f57925c431c7104 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 02 Feb 2004 16:22:20 +0000 Subject: Use @slash to avoid problems with warning due /* in a comment --- (limited to 'libopie') diff --git a/libopie/ofiledialog.h b/libopie/ofiledialog.h index 91e0586..3b905c0 100644 --- a/libopie/ofiledialog.h +++ b/libopie/ofiledialog.h @@ -44,9 +44,9 @@ *
  * QMap 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 @@ -638,10 +638,10 @@ void OFileViewFileSystem::activate( const QString& str) { *
  *  QMap 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
  * 
-- cgit v0.9.0.2