/***************************************************************************
 *   Copyright (C) 2006 by Oscar Ljunggren   *
 *   oscar.ljunggren@gmail.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 of the License, 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.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/


#ifndef _KPOLAR_H_
#define _KPOLAR_H_

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <kapplication.h>
#include <kmainwindow.h>
#include <kpersonaltrainer_handler.h>

class KPrinter;
class KToggleAction;
class KURL;

/**
 * This class serves as the main window for kpersonaltrainer.  It handles the
 * menus, toolbars, and status bars.
 *
 * @short Main window class
 * @author Oscar Ljunggren <oscar.ljunggren@gmail.com>
 * @version 0.1
 */
class kpersonaltrainer : public KMainWindow
{
    Q_OBJECT
public:
    /**
     * Default Constructor
     */
    kpersonaltrainer();

    /**
     * Default Destructor
     */
    virtual ~kpersonaltrainer();

private slots:


private:
    void setupAccel();
    void setupActions();

private:
    kpersonaltrainer_handler *m_view;
    KPrinter   *m_printer;
    KToggleAction *m_toolbarAction;
    KToggleAction *m_statusbarAction;
};

#endif // _KPOLAR_H_

