libkonq
konq_historyprovider.cpp
Go to the documentation of this file.
128 dbus.connect(QString(), dbusPath, dbusInterface, "notifyHistoryEntry", this, SLOT(slotNotifyHistoryEntry(QByteArray)));
129 dbus.connect(QString(), dbusPath, dbusInterface, "notifyMaxAge", this, SLOT(slotNotifyMaxAge(int)));
130 dbus.connect(QString(), dbusPath, dbusInterface, "notifyMaxCount", this, SLOT(slotNotifyMaxCount(int)));
131 dbus.connect(QString(), dbusPath, dbusInterface, "notifyRemove", this, SLOT(slotNotifyRemove(QString)));
132 dbus.connect(QString(), dbusPath, dbusInterface, "notifyRemoveList", this, SLOT(slotNotifyRemoveList(QStringList)));
189 (m_maxAgeDays > 0 && entry.lastVisited.isValid() && entry.lastVisited < expirationDate)) // i.e. entry is expired
390 const QString filename = KStandardDirs::locateLocal("data", QLatin1String("konqueror/konq_history"));
void emitSetMaxCount(int count)
Sets a new maximum size of history and truncates the current history if necessary.
Definition: konq_historyprovider.cpp:231
static const KCatalogLoader loader("libkonq")
KonqHistoryList::iterator findEntry(const KUrl &url)
a little optimization for KonqHistoryList::findEntry(), checking the dict of KParts::HistoryProvider ...
Definition: konq_historyprovider.cpp:418
virtual void removeEntry(KonqHistoryList::iterator it)
Definition: konq_historyprovider.cpp:367
quint32 numberOfTimesVisited
Definition: konq_historyentry.h:38
static bool isSenderOfSignal(const QDBusMessage &msg)
Returns whether the D-Bus call we are handling was a call from us self.
Definition: konq_historyprovider.cpp:244
const KonqHistoryList & entries() const
Definition: konq_historyloader.cpp:138
virtual ~KonqHistoryProvider()
Definition: konq_historyprovider.cpp:142
const KonqHistoryList & entries() const
Definition: konq_historyprovider.cpp:147
This class maintains and manages a history of all URLs visited by Konqueror.
Definition: konq_historyprovider.h:40
KonqHistoryList::const_iterator constFindEntry(const KUrl &url) const
Definition: konq_historyprovider.cpp:426
void save(QDataStream &s, Flags flags) const
Definition: konq_historyentry.cpp:59
void entryRemoved(const KonqHistoryEntry &entry)
Emitted after an entry was removed from the history Note, that this entry will be deleted immediately...
void emitAddToHistory(const KonqHistoryEntry &entry)
Notifies all running instances about a new HistoryEntry via D-Bus.
Definition: konq_historyprovider.cpp:204
KonqHistoryProvider(QObject *parent=0)
Definition: konq_historyprovider.cpp:137
Definition: konq_historyentry.h:47
Definition: konq_historyentry.h:62
void emitSetMaxAge(int days)
Sets a new maximum age of history entries and removes all entries that are older than days...
Definition: konq_historyprovider.cpp:236
void emitRemoveFromHistory(const KUrl &url)
Removes the history entry for url, if existent.
Definition: konq_historyprovider.cpp:216
Definition: konq_historyloader.h:35
virtual void finishAddingEntry(const KonqHistoryEntry &entry, bool isSender)
Definition: konq_historyprovider.cpp:434
void emitRemoveListFromHistory(const KUrl::List &urls)
Removes the history entries for the given list of urls.
Definition: konq_historyprovider.cpp:221
void emitClear()
Clears the history and tells all other Konqueror instances via D-Bus to do the same.
Definition: konq_historyprovider.cpp:226
Definition: konq_historyentry.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31: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:31:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.