/******************************************************************/
/* KPresenter - (c) by Reginald Stadlbauer 1997-1998              */
/* Version: 0.1.0                                                 */
/* Author: Reginald Stadlbauer                                    */
/* E-Mail: reggie@kde.org                                         */
/* Homepage: http://boch35.kfunigraz.ac.at/~rs                    */
/* needs c++ library Qt (http://www.troll.no)                     */
/* needs mico (http://diamant.vsb.cs.uni-frankfurt.de/~mico/)     */
/* needs OpenParts and Kom (weis@kde.org)                         */
/* written for KDE (http://www.kde.org)                           */
/* License: GNU GPL                                               */
/******************************************************************/
/* Module: Insert Command (header)                                */
/******************************************************************/

#ifndef insertcmd_h
#define insertcmd_h

#include <kpoint.h>
#include <krect.h>
#include <ksize.h>

#include "command.h"
#include "kpobject.h"

class KPresenterDoc;

/******************************************************************/
/* Class: InsertCmd                                               */
/******************************************************************/

class InsertCmd : public Command
{
  Q_OBJECT

public:
  InsertCmd(QString _name,KPObject *_object,KPresenterDoc *_doc);
  ~InsertCmd();
  
  virtual void execute();
  virtual void unexecute();

protected:
  InsertCmd()
    {;}

  KPObject *object;
  KPresenterDoc *doc;

};

#endif
