~ubuntu-branches/ubuntu/trusty/umbrello/trusty-updates

« back to all changes in this revision

Viewing changes to umbrello/cmds/widget/cmd_createWidget.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-03-19 12:12:50 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20140319121250-a7nvktn0cp3k9iny
Tags: 4:4.12.90-0ubuntu1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#ifndef CMD_CREATE_WIDGET_H
12
12
#define CMD_CREATE_WIDGET_H
13
13
 
14
 
#include <QUndoCommand>
 
14
#include "cmd_baseWidgetCommand.h"
 
15
 
 
16
#include <QDomElement>
15
17
 
16
18
class UMLWidget;
17
19
 
18
20
namespace Uml
19
21
{
20
 
    class CmdCreateWidget : public QUndoCommand
 
22
    class CmdCreateWidget : public CmdBaseWidgetCommand
21
23
    {
22
 
        public:
23
 
            CmdCreateWidget(UMLWidget* widget);
24
 
            ~CmdCreateWidget();
25
 
 
26
 
            void redo();
27
 
            void undo();
28
 
 
29
 
        private:
30
 
            UMLWidget*  m_widget;
 
24
    public:
 
25
        explicit CmdCreateWidget(UMLWidget* widget);
 
26
        ~CmdCreateWidget();
 
27
 
 
28
        void redo();
 
29
        void undo();
 
30
 
 
31
    private:
 
32
        QDomElement  m_element;
31
33
    };
32
34
}
33
35