mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
7f5e80a8d3
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
81 lines
2.2 KiB
C++
81 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
|