Newer
Older
#ifndef S60DEVICES_H
#define S60DEVICES_H
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtCore/QList>
namespace Qt4ProjectManager {
namespace Internal {
class S60Devices : public QObject
{
Q_OBJECT
public:
struct Device {
QString id;
QString name;
bool isDefault;
QString epocRoot;
QString toolsRoot;
QString qt;
};
S60Devices(QObject *parent = 0);
bool read();
QString errorString() const;
QList<Device> devices() const;
bool detectQtForDevices();
Device deviceForRoot(const QString &epocRoot) const;
signals:
void qtVersionsChanged();