/* ============================================================
 *
 * This file is a part of digiKam project
 * http://www.digikam.org
 *
 * Date        : 2009-04-20
 * Description : a view to available tools in tab view.
 *
 * Copyright (C) 2009 Gilles Caulier <caulier dot gilles at gmail dot com>
 *
 * This program is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General
 * Public License as published by the Free Software Foundation;
 * either version 2, or (at your option)
 * any later version.
 *
 * 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.
 *
 * ============================================================ */

#ifndef TOOLS_VIEW_H
#define TOOLS_VIEW_H

// KDE includes

#include <ktabwidget.h>

namespace Digikam
{

class BatchTool;
class ToolsViewPriv;

class ToolsView : public KTabWidget
{
    Q_OBJECT

public:

    ToolsView(QWidget *parent=0);
    ~ToolsView();

    void addTool(BatchTool* tool);
    bool removeTool(BatchTool* tool);

Q_SIGNALS:

    void signalAssignTools(const QMap<int, QString>&);

private:

    ToolsViewPriv* const d;
};

}  // namespace Digikam

#endif /* QUEUE_SETTINGS_VIEW_H */
