-rw-r--r-- | libopie/ofiledialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie/ofiledialog.h b/libopie/ofiledialog.h index 309086b..91e0586 100644 --- a/libopie/ofiledialog.h +++ b/libopie/ofiledialog.h @@ -43,9 +43,9 @@ * * <pre> * QMap<QString, QStringList> mimeTypes; * QStringList types; - * types << "text/* "; + * types << "text[slash]* "; * mimeTypes.insert( tr("Text"), types ); * mimeTypes.insert( tr("All"), " * / * " ); // remove the spaces in the 2nd comment * QString fileName= OFileDialog::getOpenFileName( OFileSelector::EXTENDED_ALL, * "foo","bar", mimeTypes); @@ -95,6 +95,7 @@ class OFileDialog : public QDialog { private slots: void slotFileSelected( const QString & ); void slotDirSelected(const QString & ); + void slotSelectorOk(); }; #endif |