1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
|
project( textPlugin)
add_subdirectory( pics )
add_subdirectory( tests )
include_directories(
${KOTEXT_INCLUDES}
${FLAKE_INCLUDES}
${KOMAIN_INCLUDES}
${CMAKE_SOURCE_DIR}/libs/widgets/colorwidgets/
${KDE4_INCLUDE_DIR}/threadweaver/)
########### Flake Plugin library ###############
SET ( textshape_SRCS
TextPlugin.cpp
TextShape.cpp
TextShapeFactory.cpp
TextTool.cpp
TextEditingPluginContainer.cpp
TextToolFactory.cpp
Layout.cpp
ListItemsHelper.cpp
ChangeTracker.cpp
ChangeTrackingTool.cpp
ChangeTrackingToolFactory.cpp
TextChanges.cpp
TextChange.cpp
TableLayout.cpp
TableLayoutData.cpp
dialogs/StylesWidget.cpp
dialogs/SimpleStyleWidget.cpp
dialogs/ParagraphLayout.cpp
dialogs/ParagraphIndentSpacing.cpp
dialogs/ParagraphDecorations.cpp
dialogs/ParagraphBulletsNumbers.cpp
dialogs/ParagraphSettingsDialog.cpp
dialogs/ListsSpinBox.cpp
dialogs/StylesModel.cpp
dialogs/StyleManager.cpp
dialogs/StyleManagerDialog.cpp
dialogs/ParagraphGeneral.cpp
dialogs/NewStyleWidget.cpp
dialogs/CharacterGeneral.cpp
dialogs/CharacterHighlighting.cpp
dialogs/InsertCharacter.cpp
dialogs/FontDia.cpp
dialogs/FontLayoutTab.cpp
dialogs/FontDecorations.cpp
dialogs/FontTab.cpp
dialogs/LanguageTab.cpp
dialogs/FormattingPreview.cpp
dialogs/StyleManagerWelcome.cpp
dialogs/TableDialog.cpp
dialogs/ChangeConfigureDialog.cpp
dialogs/TrackedChangeModel.cpp
dialogs/TrackedChangeManager.cpp
commands/ChangeListCommand.cpp
commands/ChangeListLevelCommand.cpp
commands/ListItemNumberingCommand.cpp
commands/TextCommandBase.cpp
commands/TextPasteCommand.cpp
commands/TextCutCommand.cpp
commands/ShowChangesCommand.cpp
commands/ChangeTrackedDeleteCommand.cpp
commands/DeleteCommand.cpp
commands/AcceptChangeCommand.cpp
commands/RejectChangeCommand.cpp
)
kde4_add_ui_files(textshape_SRCS
dialogs/SimpleStyleWidget.ui
dialogs/StylesWidget.ui
dialogs/ParagraphLayout.ui
dialogs/ParagraphIndentSpacing.ui
dialogs/ParagraphDecorations.ui
dialogs/ParagraphBulletsNumbers.ui
dialogs/StyleManager.ui
dialogs/ParagraphGeneral.ui
dialogs/NewStyleWidget.ui
dialogs/CharacterGeneral.ui
dialogs/CharacterHighlighting.ui
dialogs/StyleManagerWelcome.ui
dialogs/TableDialog.ui
dialogs/FontDecorations.ui
dialogs/FontLayoutTab.ui
dialogs/LanguageTab.ui
dialogs/ChangeConfigureDialog.ui
dialogs/TrackedChangeManager.ui
)
kde4_add_plugin(textshape ${textshape_SRCS})
target_link_libraries(textshape kotext komain ${EXTRA_LIBS})
if( Soprano_FOUND )
target_link_libraries(textshape ${SOPRANO_LIBRARIES})
endif( Soprano_FOUND )
install(TARGETS textshape DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES textshape.desktop DESTINATION ${SERVICES_INSTALL_DIR})
#kde4_install_icons( ${DATA_INSTALL_DIR}/koffice/icons )
|