greghaynes / kdelicious

A Konqueror del.icio.us plugin

This URL has Read+Write access

laurent Montel (author)
Thu Apr 09 00:12:54 -0700 2009
greghaynes (committer)
Thu Apr 09 00:12:54 -0700 2009
kdelicious / bookmark.h
100644 46 lines (35 sloc) 0.762 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef QTLICIOUS_BOOKMARK_H
#define QTLICIOUS_BOOKMARK_H
 
#include <QString>
#include <QUrl>
#include <QList>
#include <QDateTime>
 
namespace QtLicious
{
 
/**
* @brief Stores bookmark information
*/
class Bookmark
{
 
public:
Bookmark();
~Bookmark();
 
const QUrl &url() const;
const QString &description() const;
const QDateTime &date() const;
const QString &hash() const;
const QList<QString> &tags() const;
void setUrl( const QUrl &url );
void setDescription( const QString &desc );
void setDate( const QDateTime &date );
void setHash( const QString &hash );
void setTags( const QList<QString> &tags );
 
private:
QUrl m_link;
QString m_description;
QDateTime m_time;
QString m_hash;
QList<QString> m_tags;
 
};
 
}
 
#endif