dolphin/keditbookmarks/actionsimpl.h
David Faure 7f5e80a8d3 Unbreak favicon checking; in many error cases it wouldn't proceed to the next item.
Also when the cached favicon was recent enough, then the kded module wouldn't emit anything;
fixed by adding a "forceDownloadHostIcon" and an error signal in the favicons kded module.
CCBUG: 23102
 (and probably others)

svn path=/trunk/KDE/kdebase/apps/; revision=1116050
2010-04-18 14:24:11 +00:00

82 lines
2.2 KiB
C++

// vim: set ts=4 sts=4 sw=4 et:
/* This file is part of the KDE project
Copyright (C) 2003 Alexander Kellett <lypanov@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License version 2 or at your option version 3 as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef __actionsimpl_h
#define __actionsimpl_h
#include <QtCore/QObject>
class FavIconsItrHolder;
class TestLinkItrHolder;
class CommandHistory;
class KBookmarkModel;
class ActionsImpl : public QObject
{
Q_OBJECT
public:
ActionsImpl(QObject* parent, KBookmarkModel* model);
~ActionsImpl();
bool save();
TestLinkItrHolder* testLinkHolder() { return m_testLinkHolder; }
FavIconsItrHolder* favIconHolder() { return m_favIconHolder; }
public Q_SLOTS:
void slotLoad();
void slotSaveAs();
void slotCut();
void slotCopy();
void slotPaste();
void slotRename();
void slotChangeURL();
void slotChangeComment();
void slotChangeIcon();
void slotDelete();
void slotNewFolder();
void slotNewBookmark();
void slotInsertSeparator();
void slotSort();
void slotSetAsToolbar();
void slotOpenLink();
void slotTestSelection();
void slotTestAll();
void slotCancelAllTests();
void slotUpdateFavIcon();
void slotRecursiveSort();
void slotUpdateAllFavIcons();
void slotCancelFavIconUpdates();
void slotExpandAll();
void slotCollapseAll();
void slotImport();
void slotExportOpera();
void slotExportHTML();
void slotExportIE();
void slotExportNS();
void slotExportMoz();
private:
CommandHistory* commandHistory();
KBookmarkModel* m_model;
TestLinkItrHolder* m_testLinkHolder;
FavIconsItrHolder* m_favIconHolder;
};
#endif