Falkon Develop
Cross-platform Qt-based web browser
History Class Reference

#include <history.h>

Inheritance diagram for History:

Classes

struct  HistoryEntry
 

Signals

void historyEntryAdded (const HistoryEntry &entry)
 
void historyEntryDeleted (const HistoryEntry &entry)
 
void historyEntryEdited (const HistoryEntry &before, const HistoryEntry &after)
 
void resetHistory ()
 

Public Member Functions

 History (QObject *parent)
 
HistoryModelmodel ()
 
void addHistoryEntry (WebView *view)
 
void addHistoryEntry (const QUrl &url, QString title)
 
void deleteHistoryEntry (int index)
 
void deleteHistoryEntry (const QList< int > &list)
 
void deleteHistoryEntry (const QString &url)
 
void deleteHistoryEntry (const QString &url, const QString &title)
 
QList< int > indexesFromTimeRange (qint64 start, qint64 end)
 
QVector< HistoryEntrymostVisited (int count)
 
void clearHistory ()
 
bool isSaving ()
 
void setSaving (bool state)
 
void loadSettings ()
 
QList< HistoryEntrysearchHistoryEntry (const QString &text)
 
HistoryEntry getHistoryEntry (const QString &text)
 

Static Public Member Functions

static QString titleCaseLocalizedMonth (int month)
 

Detailed Description

Definition at line 33 of file history.h.

Constructor & Destructor Documentation

◆ History()

History::History ( QObject *  parent)

Definition at line 30 of file history.cpp.

Member Function Documentation

◆ addHistoryEntry() [1/2]

void History::addHistoryEntry ( const QUrl &  url,
QString  title 
)

Definition at line 68 of file history.cpp.

◆ addHistoryEntry() [2/2]

void History::addHistoryEntry ( WebView view)

Definition at line 56 of file history.cpp.

◆ clearHistory()

void History::clearHistory ( )

Definition at line 248 of file history.cpp.

◆ deleteHistoryEntry() [1/4]

void History::deleteHistoryEntry ( const QList< int > &  list)

Definition at line 147 of file history.cpp.

◆ deleteHistoryEntry() [2/4]

void History::deleteHistoryEntry ( const QString &  url)

Definition at line 184 of file history.cpp.

◆ deleteHistoryEntry() [3/4]

void History::deleteHistoryEntry ( const QString &  url,
const QString &  title 
)

Definition at line 196 of file history.cpp.

◆ deleteHistoryEntry() [4/4]

void History::deleteHistoryEntry ( int  index)

Definition at line 139 of file history.cpp.

◆ getHistoryEntry()

HistoryEntry History::getHistoryEntry ( const QString &  text)

Definition at line 322 of file history.cpp.

◆ historyEntryAdded

void History::historyEntryAdded ( const HistoryEntry entry)
signal

◆ historyEntryDeleted

void History::historyEntryDeleted ( const HistoryEntry entry)
signal

◆ historyEntryEdited

void History::historyEntryEdited ( const HistoryEntry before,
const HistoryEntry after 
)
signal

◆ indexesFromTimeRange()

QList< int > History::indexesFromTimeRange ( qint64  start,
qint64  end 
)

Definition at line 209 of file history.cpp.

◆ isSaving()

bool History::isSaving ( )

Definition at line 264 of file history.cpp.

◆ loadSettings()

void History::loadSettings ( )

Definition at line 47 of file history.cpp.

◆ model()

HistoryModel * History::model ( )

Definition at line 38 of file history.cpp.

◆ mostVisited()

QVector< HistoryEntry > History::mostVisited ( int  count)

Definition at line 230 of file history.cpp.

◆ resetHistory

void History::resetHistory ( )
signal

◆ searchHistoryEntry()

QList< HistoryEntry > History::searchHistoryEntry ( const QString &  text)

Definition at line 302 of file history.cpp.

◆ setSaving()

void History::setSaving ( bool  state)

Definition at line 259 of file history.cpp.

◆ titleCaseLocalizedMonth()

QString History::titleCaseLocalizedMonth ( int  month)
static

Definition at line 269 of file history.cpp.


The documentation for this class was generated from the following files: