diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-04 00:00:38 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-04 00:00:38 +0200 |
commit | 5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a (patch) | |
tree | 56d1aa55260d0081cfd99b52c53f5ddc78cba200 /favoritesmodel.h | |
parent | a6d8b23fd03993c0b94d21806ac3a36e251c8b9c (diff) | |
download | tapasboard-5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a.tar.gz tapasboard-5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a.zip |
pass Board objects instead of boardUrls around QML
Diffstat (limited to 'favoritesmodel.h')
-rw-r--r-- | favoritesmodel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/favoritesmodel.h b/favoritesmodel.h index 59959d4..a18b1dc 100644 --- a/favoritesmodel.h +++ b/favoritesmodel.h @@ -2,6 +2,7 @@ #define FAVORITESMODEL_H #include <QtCore/QAbstractListModel> +#include <QtCore/QUrl> class FavoritesModel : public QAbstractListModel { @@ -22,7 +23,9 @@ public: protected: struct FavoriteBoard { QString name; - QString url; + QUrl url; + QString username; + QString password; }; private: |