summaryrefslogtreecommitdiff
path: root/favoritesmodel.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-04 00:00:38 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-04 00:00:38 +0200
commit5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a (patch)
tree56d1aa55260d0081cfd99b52c53f5ddc78cba200 /favoritesmodel.h
parenta6d8b23fd03993c0b94d21806ac3a36e251c8b9c (diff)
downloadtapasboard-5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a.tar.gz
tapasboard-5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a.zip
pass Board objects instead of boardUrls around QML
Diffstat (limited to 'favoritesmodel.h')
-rw-r--r--favoritesmodel.h5
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: