2003-10-06 18:31:25 +00:00
|
|
|
// -*- mode:cperl; cperl-indent-level:4; cperl-continued-statement-offset:4; indent-tabs-mode:nil -*-
|
|
|
|
// vim: set ts=4 sts=4 sw=4 et:
|
2003-01-22 17:58:59 +00:00
|
|
|
/* 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 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
|
2005-07-04 19:02:09 +00:00
|
|
|
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA.
|
2003-01-22 17:58:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __actionsimpl_h
|
|
|
|
#define __actionsimpl_h
|
|
|
|
|
|
|
|
#include <qobject.h>
|
|
|
|
|
|
|
|
class ActionsImpl : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2003-09-14 20:17:45 +00:00
|
|
|
public:
|
|
|
|
bool save();
|
|
|
|
|
2003-01-22 17:58:59 +00:00
|
|
|
public slots:
|
2003-09-14 20:17:45 +00:00
|
|
|
void slotLoad();
|
|
|
|
void slotSaveAs();
|
2003-01-22 17:58:59 +00:00
|
|
|
void slotCut();
|
|
|
|
void slotCopy();
|
|
|
|
void slotPaste();
|
|
|
|
void slotRename();
|
2003-08-28 18:27:21 +00:00
|
|
|
void slotPrint();
|
2003-01-22 17:58:59 +00:00
|
|
|
void slotChangeURL();
|
2003-02-21 20:44:23 +00:00
|
|
|
void slotChangeComment();
|
2003-01-22 17:58:59 +00:00
|
|
|
void slotChangeIcon();
|
|
|
|
void slotDelete();
|
|
|
|
void slotNewFolder();
|
|
|
|
void slotNewBookmark();
|
|
|
|
void slotInsertSeparator();
|
|
|
|
void slotSort();
|
|
|
|
void slotSetAsToolbar();
|
2003-06-16 00:31:05 +00:00
|
|
|
void slotShowInToolbar();
|
2003-01-22 17:58:59 +00:00
|
|
|
void slotOpenLink();
|
|
|
|
void slotShowNS();
|
|
|
|
void slotTestSelection();
|
|
|
|
void slotTestAll();
|
|
|
|
void slotCancelAllTests();
|
|
|
|
void slotUpdateFavIcon();
|
2003-05-20 20:39:06 +00:00
|
|
|
void slotRecursiveSort();
|
2003-01-22 17:58:59 +00:00
|
|
|
void slotUpdateAllFavIcons();
|
|
|
|
void slotCancelFavIconUpdates();
|
|
|
|
void slotExpandAll();
|
|
|
|
void slotCollapseAll();
|
2003-02-05 20:47:35 +00:00
|
|
|
void slotImport();
|
2003-06-06 19:10:43 +00:00
|
|
|
void slotExportOpera();
|
2003-06-06 19:50:36 +00:00
|
|
|
void slotExportHTML();
|
2003-06-01 18:36:58 +00:00
|
|
|
void slotExportIE();
|
2003-01-22 17:58:59 +00:00
|
|
|
void slotExportNS();
|
|
|
|
void slotExportMoz();
|
|
|
|
|
2003-09-14 20:17:45 +00:00
|
|
|
// ugly hack really...
|
2003-08-28 19:09:57 +00:00
|
|
|
void slotDelayedPrint();
|
|
|
|
|
2003-01-22 17:58:59 +00:00
|
|
|
static ActionsImpl* self() { if (!s_self) { s_self = new ActionsImpl(); }; return s_self; }
|
2004-05-06 02:32:12 +00:00
|
|
|
|
|
|
|
public:
|
2003-10-19 17:59:04 +00:00
|
|
|
~ActionsImpl();
|
|
|
|
|
2003-01-22 17:58:59 +00:00
|
|
|
private:
|
2004-05-06 02:32:12 +00:00
|
|
|
ActionsImpl() { }
|
2003-01-22 17:58:59 +00:00
|
|
|
static ActionsImpl *s_self;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|