12345678910111213141516171819 |
- #ifndef COMPLETERMODELS_H
- #define COMPLETERMODELS_H
- #include <QString>
- #include <QCoreApplication>
- #include <QCompleter>
- #include <QStringListModel>
- class QObject;
- /** Completers for the "subscribe to podcast" dialog. */
- namespace Completers {
- QStringListModel* nameModel(QObject* parent = qApp);
- QStringListModel* urlModel(QObject* parent = qApp);
- QMap<QString, QVariant> map();
- void add(QString name, QString url);
- };
- #endif // COMPLETERMODELS_H
|