kget
transferhistorystore.cpp
Go to the documentation of this file.
170 XmlStore::SaveThread::SaveThread(QObject *parent, const QString &url, const QList<TransferHistoryItem> &list) : QThread(parent),
177 XmlStore::SaveThread::SaveThread(QObject *parent, const QString &url, const TransferHistoryItem &item) : QThread(parent),
222 XmlStore::DeleteThread::DeleteThread(QObject *parent, const QString &url, const TransferHistoryItem &item) : QThread(parent),
476 QSqlQuery query = sql().exec("insert into transfer_history_item(source, dest, size, time, state)"
554 Nepomuk2::Query::QueryServiceClient * queryService = new Nepomuk2::Query::QueryServiceClient(this);
555 Nepomuk2::Query::ResourceTypeTerm historyTypeTerm((Nepomuk2::Types::Class(Nepomuk2::HistoryItem::resourceTypeUri())));
558 connect(queryService, SIGNAL(newEntries(const QList<Nepomuk2::Query::Result>&)), this, SLOT(loadResult(const QList<Nepomuk2::Query::Result>&)));
Definition: transferhistorystore_nepomuk_p.h:26
void clear()
QList< TransferHistoryItem > m_items
Definition: transferhistorystore.h:96
void deleteItem(const TransferHistoryItem &item)
~NepomukStore()
void saveItem(const TransferHistoryItem &item)
QList< TransferHistoryItem > items() const
Definition: transferhistorystore_xml_p.h:92
void deleteFinished()
Definition: transferhistorystore.h:23
LoadThread(QObject *parent, const QString &url)
Definition: transferhistorystore.cpp:276
NepomukStore(const QString &database)
void setDest(const QString &dest)
Definition: transferhistorystore.cpp:70
~TransferHistoryStore()
Definition: transferhistorystore.cpp:141
Definition: transferhistorystore.h:53
Definition: transferhistorystore_xml_p.h:20
void saveFinished()
bool operator==(const TransferHistoryItem &) const
Definition: transferhistorystore.cpp:131
void clear()
~SQLiteStore()
void load()
void loadResult(const QList< Nepomuk2::Query::Result > &entries)
void setSource(const QString &source)
Definition: transferhistorystore.cpp:75
DeleteThread(QObject *parent, const QString &url, const TransferHistoryItem &item)
Definition: transferhistorystore.cpp:222
void loadFinished()
Definition: transferhistorystore_sqlite_p.h:20
QList< TransferHistoryItem > items() const
Definition: transferhistorystore.cpp:145
void deleteItem(const TransferHistoryItem &item)
TransferHistoryItem()
Definition: transferhistorystore.cpp:48
SaveThread(QObject *parent, const QString &url, const QList< TransferHistoryItem > &list)
Definition: transferhistorystore.cpp:170
void saveItem(const TransferHistoryItem &item)
Definition: transferhistorystore.cpp:369
void saveItems(const QList< TransferHistoryItem > &items)
TransferHistoryStore()
Definition: transferhistorystore.cpp:136
SQLiteStore(const QString &database)
void setDateTime(const QDateTime &time)
Definition: transferhistorystore.cpp:90
void saveItem(const TransferHistoryItem &item)
static TransferHistoryStore * getStore()
Definition: transferhistorystore.cpp:150
void elementLoaded(int number, int total, const TransferHistoryItem &item)
TransferHistoryItem & operator=(const TransferHistoryItem &)
Definition: transferhistorystore.cpp:120
void load()
void slotLoadElement(int number, int total, const TransferHistoryItem &item)
Definition: transferhistorystore.cpp:390
void deleteItem(const TransferHistoryItem &item)
Definition: transferhistorystore.cpp:379
Definition: transfer.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.