UBAbstractUndoCommand now in .pri

preferencesAboutTextFull
Ivan Ilin 13 years ago
parent 26e1f11a61
commit e4c2afe65f
  1. 6
      src/domain/UBAbstractUndoCommand.h
  2. 6
      src/domain/domain.pri

@ -25,17 +25,17 @@ class UBAbstractUndoCommand : public QUndoCommand
UBAbstractUndoCommand(); UBAbstractUndoCommand();
~UBAbstractUndoCommand(); ~UBAbstractUndoCommand();
enum UndoType : int enum UndoType
{ {
undotype_UNKNOWN = 0, undotype_UNKNOWN = 0,
undotype_DOCUMENT = 1, undotype_DOCUMENT = 1,
undotype_GRAPHICITEMTRANSFORM = 2, undotype_GRAPHICITEMTRANSFORM = 2,
undotype_GRAPHICITEM = 3, undotype_GRAPHICITEM = 3,
undotype_GRAPHICTEXTITEM = 4, undotype_GRAPHICTEXTITEM = 4,
undotype_PAGESIZE = 5, undotype_PAGESIZE = 5
}; };
virtual UndoType getType() { return undotype_UNKNOWN; }; virtual UndoType getType() { return undotype_UNKNOWN; }
protected: protected:
virtual void undo(); virtual void undo();

@ -21,7 +21,8 @@ HEADERS += src/domain/UBGraphicsScene.h \
src/domain/UBGraphicsStroke.h \ src/domain/UBGraphicsStroke.h \
src/domain/UBGraphicsMediaItem.h \ src/domain/UBGraphicsMediaItem.h \
src/domain/UBGraphicsAudioItem.h \ src/domain/UBGraphicsAudioItem.h \
src/domain/UBGraphicsAudioItemDelegate.h src/domain/UBGraphicsAudioItemDelegate.h \
src/domain/UBAbstractUndoCommand.h
HEADERS += src/domain/UBGraphicsItemDelegate.h \ HEADERS += src/domain/UBGraphicsItemDelegate.h \
src/domain/UBGraphicsVideoItemDelegate.h \ src/domain/UBGraphicsVideoItemDelegate.h \
@ -52,7 +53,8 @@ SOURCES += src/domain/UBGraphicsScene.cpp \
src/domain/UBGraphicsStroke.cpp \ src/domain/UBGraphicsStroke.cpp \
src/domain/UBGraphicsMediaItem.cpp \ src/domain/UBGraphicsMediaItem.cpp \
src/domain/UBGraphicsAudioItem.cpp \ src/domain/UBGraphicsAudioItem.cpp \
src/domain/UBGraphicsAudioItemDelegate.cpp src/domain/UBGraphicsAudioItemDelegate.cpp \
src/domain/UBAbstractUndoCommand.cpp
SOURCES += src/domain/UBGraphicsItemDelegate.cpp \ SOURCES += src/domain/UBGraphicsItemDelegate.cpp \
src/domain/UBGraphicsVideoItemDelegate.cpp \ src/domain/UBGraphicsVideoItemDelegate.cpp \

Loading…
Cancel
Save