~ubuntu-branches/ubuntu/trusty/umbrello/trusty-proposed

« back to all changes in this revision

Viewing changes to umbrello/cmds/widget/cmd_setName.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_SETNAME_H
12
12
#define CMD_SETNAME_H
13
13
 
14
 
#include <QUndoCommand>
15
 
 
16
 
class UMLObject;
 
14
#include "cmd_baseObjectCommand.h"
17
15
 
18
16
namespace Uml
19
17
{
20
 
    class CmdSetName : public QUndoCommand
 
18
    class CmdSetName : public CmdBaseObjectCommand
21
19
    {
22
20
        public:
23
21
            CmdSetName(UMLObject* obj, const QString& name);
28
26
 
29
27
        private:
30
28
            QString m_oldname;
31
 
            UMLObject* m_umlObject;
32
29
            QString m_name;
33
30
    };
34
31
}