示例#1
0
HistoryModel::HistoryModel(QupZilla* mainClass)
    : QObject()
    , m_isSaving(true)
    , p_QupZilla(mainClass)
{
    loadSettings();

    connect(this, SIGNAL(signalAddHistoryEntry(QUrl, QString)), this, SLOT(slotAddHistoryEntry(QUrl, QString)));
    connect(this, SIGNAL(signalDeleteHistoryEntry(QList<int>)), this, SLOT(slotDeleteHistoryEntry(QList<int>)));
}
示例#2
0
void HistoryModel::deleteHistoryEntry(const QList<int> &list)
{
    emit signalDeleteHistoryEntry(list);
}
示例#3
0
// DeleteHistoryEntry
void HistoryModel::deleteHistoryEntry(int index)
{
    emit signalDeleteHistoryEntry(index);
}