diff --git a/chalk/Makefile.am b/chalk/Makefile.am index 0940e393d..3a8f35134 100644 --- a/chalk/Makefile.am +++ b/chalk/Makefile.am @@ -2,13 +2,13 @@ INCLUDES = $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) $(all_includes) ## The common lib, shared between the part, the plugins, and the filters lib_LTLIBRARIES = libchalkcommon.la -libchalkcommon_la_SOURCES = dummy.cc +libchalkcommon_la_SOURCES = dummy.cpp libchalkcommon_la_LDFLAGS = $(all_libraries) $(LIB_TQT) -version-info 1:0 -no-undefined libchalkcommon_la_LIBADD = sdk/libchalksdk.la core/libchalkimage.la ui/libchalkui.la chalkcolor/libchalkcolor.la $(LCMS_LIBS) $(LIB_KOFFICEUI) $(LIB_KOPAINTER) $(LIB_KOPALETTE) $(LIB_XINPUTEXT) ## The part kde_module_LTLIBRARIES = libchalkpart.la -libchalkpart_la_SOURCES = chalk_part_init.cc +libchalkpart_la_SOURCES = chalk_part_init.cpp libchalkpart_la_LDFLAGS = $(all_libraries) $(LIB_TQT) -module $(KDE_PLUGIN) libchalkpart_la_LIBADD = $(KOFFICE_LIBS) libchalkcommon.la ../chalk/ui/libchalkui.la @@ -17,7 +17,7 @@ METASOURCES = AUTO ## The tdeinit loadable module and executable tdeinit_LTLIBRARIES = chalk.la bin_PROGRAMS = -chalk_la_SOURCES = main.cc +chalk_la_SOURCES = main.cpp chalk_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) chalk_la_LIBADD = $(LIB_KOFFICECORE) @@ -30,14 +30,14 @@ rc_DATA = chalk.rc chalk_readonly.rc SUBDIRS = sdk chalkcolor core ui . dtd colorspaces plugins data pics # Needed to compile libchalkcommon.la, which has no source files to itself # but everything in static libs. -dummy.cc: - echo > dummy.cc +dummy.cpp: + echo > dummy.cpp messages: rc.cpp $(EXTRACTRC) `find . -name \*.ui` >> rc.cpp $(EXTRACTRC) `find . -name \*.rc` >> rc.cpp perl extracti18n.pl > i18ndata - $(XGETTEXT) i18ndata rc.cpp `find . -name \*.cc -o -name \*.h -o -name \*.cpp` ui/kis_aboutdata.h -o $(podir)/chalk.pot + $(XGETTEXT) i18ndata rc.cpp `find . -name \*.cpp -o -name \*.h -o -name \*.cpp` ui/kis_aboutdata.h -o $(podir)/chalk.pot rm -f i18ndata DOXYGEN_EXCLUDE = CImg.h colorspaces plugins chalkcolor/colorspaces core/tiles diff --git a/chalk/chalk_part_init.cc b/chalk/chalk_part_init.cpp similarity index 95% rename from chalk/chalk_part_init.cc rename to chalk/chalk_part_init.cpp index b56919749..1915112e4 100644 --- a/chalk/chalk_part_init.cc +++ b/chalk/chalk_part_init.cpp @@ -1,5 +1,5 @@ /* - * kis_part_init.cc - part of Krayon + * kis_part_init.cpp - part of Krayon * * Copyright (c) 1999 Matthias Elter * diff --git a/chalk/chalkcolor/Makefile.am b/chalk/chalkcolor/Makefile.am index 1fee38366..d31ea1c52 100644 --- a/chalk/chalkcolor/Makefile.am +++ b/chalk/chalkcolor/Makefile.am @@ -11,14 +11,14 @@ CXXFLAGS += $(OPENEXR_CXXFLAGS) lib_LTLIBRARIES = libchalkcolor.la if have_openexr -OPENEXR_SOURCES=kis_f16half_base_colorspace.cc +OPENEXR_SOURCES=kis_f16half_base_colorspace.cpp endif -libchalkcolor_la_SOURCES = kis_color.cc kis_colorspace.cc \ - kis_colorspace_iface.cc kis_colorspace_iface.skel kis_composite_op.cc kis_profile.cc \ - kis_histogram_producer.cc kis_basic_histogram_producers.cc kis_abstract_colorspace.cc \ - kis_colorspace_factory_registry.cc kis_color_conversions.cc kis_u8_base_colorspace.cc \ - kis_u16_base_colorspace.cc kis_f32_base_colorspace.cc $(OPENEXR_SOURCES) +libchalkcolor_la_SOURCES = kis_color.cpp kis_colorspace.cpp \ + kis_colorspace_iface.cpp kis_colorspace_iface.skel kis_composite_op.cpp kis_profile.cpp \ + kis_histogram_producer.cpp kis_basic_histogram_producers.cpp kis_abstract_colorspace.cpp \ + kis_colorspace_factory_registry.cpp kis_color_conversions.cpp kis_u8_base_colorspace.cpp \ + kis_u16_base_colorspace.cpp kis_f32_base_colorspace.cpp $(OPENEXR_SOURCES) libchalkcolor_la_LDFLAGS = -version-info 1:0:0 -no-undefined $(all_libraries) libchalkcolor_la_LIBADD = colorspaces/libchalkcolorspaces.la $(LCMS_LIBS) $(LIB_TDEPARTS) $(LIB_TDECORE) $(LIB_TQT) $(OPENEXR_LIBS) diff --git a/chalk/chalkcolor/colorspaces/Makefile.am b/chalk/chalkcolor/colorspaces/Makefile.am index 90f75d290..18bd587b1 100644 --- a/chalk/chalkcolor/colorspaces/Makefile.am +++ b/chalk/chalkcolor/colorspaces/Makefile.am @@ -6,8 +6,8 @@ INCLUDES = -I$(srcdir)/.. \ noinst_LTLIBRARIES = libchalkcolorspaces.la libchalkcolorspaces_la_SOURCES = \ - kis_alpha_colorspace.cc \ - kis_lab_colorspace.cc + kis_alpha_colorspace.cpp \ + kis_lab_colorspace.cpp noinst_HEADERS = \ kis_alpha_colorspace.h \ diff --git a/chalk/chalkcolor/colorspaces/kis_alpha_colorspace.cc b/chalk/chalkcolor/colorspaces/kis_alpha_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/colorspaces/kis_alpha_colorspace.cc rename to chalk/chalkcolor/colorspaces/kis_alpha_colorspace.cpp diff --git a/chalk/chalkcolor/colorspaces/kis_lab_colorspace.cc b/chalk/chalkcolor/colorspaces/kis_lab_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/colorspaces/kis_lab_colorspace.cc rename to chalk/chalkcolor/colorspaces/kis_lab_colorspace.cpp diff --git a/chalk/chalkcolor/colorspaces/kis_xyz_colorspace.cc b/chalk/chalkcolor/colorspaces/kis_xyz_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/colorspaces/kis_xyz_colorspace.cc rename to chalk/chalkcolor/colorspaces/kis_xyz_colorspace.cpp diff --git a/chalk/chalkcolor/kis_abstract_colorspace.cc b/chalk/chalkcolor/kis_abstract_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/kis_abstract_colorspace.cc rename to chalk/chalkcolor/kis_abstract_colorspace.cpp diff --git a/chalk/chalkcolor/kis_basic_histogram_producers.cc b/chalk/chalkcolor/kis_basic_histogram_producers.cpp similarity index 100% rename from chalk/chalkcolor/kis_basic_histogram_producers.cc rename to chalk/chalkcolor/kis_basic_histogram_producers.cpp diff --git a/chalk/chalkcolor/kis_color.cc b/chalk/chalkcolor/kis_color.cpp similarity index 100% rename from chalk/chalkcolor/kis_color.cc rename to chalk/chalkcolor/kis_color.cpp diff --git a/chalk/chalkcolor/kis_color_conversions.cc b/chalk/chalkcolor/kis_color_conversions.cpp similarity index 100% rename from chalk/chalkcolor/kis_color_conversions.cc rename to chalk/chalkcolor/kis_color_conversions.cpp diff --git a/chalk/chalkcolor/kis_colorspace.cc b/chalk/chalkcolor/kis_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/kis_colorspace.cc rename to chalk/chalkcolor/kis_colorspace.cpp diff --git a/chalk/chalkcolor/kis_colorspace_factory_registry.cc b/chalk/chalkcolor/kis_colorspace_factory_registry.cpp similarity index 100% rename from chalk/chalkcolor/kis_colorspace_factory_registry.cc rename to chalk/chalkcolor/kis_colorspace_factory_registry.cpp diff --git a/chalk/chalkcolor/kis_colorspace_iface.cc b/chalk/chalkcolor/kis_colorspace_iface.cpp similarity index 100% rename from chalk/chalkcolor/kis_colorspace_iface.cc rename to chalk/chalkcolor/kis_colorspace_iface.cpp diff --git a/chalk/chalkcolor/kis_composite_op.cc b/chalk/chalkcolor/kis_composite_op.cpp similarity index 100% rename from chalk/chalkcolor/kis_composite_op.cc rename to chalk/chalkcolor/kis_composite_op.cpp diff --git a/chalk/chalkcolor/kis_f16half_base_colorspace.cc b/chalk/chalkcolor/kis_f16half_base_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/kis_f16half_base_colorspace.cc rename to chalk/chalkcolor/kis_f16half_base_colorspace.cpp diff --git a/chalk/chalkcolor/kis_f32_base_colorspace.cc b/chalk/chalkcolor/kis_f32_base_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/kis_f32_base_colorspace.cc rename to chalk/chalkcolor/kis_f32_base_colorspace.cpp diff --git a/chalk/chalkcolor/kis_histogram_producer.cc b/chalk/chalkcolor/kis_histogram_producer.cpp similarity index 100% rename from chalk/chalkcolor/kis_histogram_producer.cc rename to chalk/chalkcolor/kis_histogram_producer.cpp diff --git a/chalk/chalkcolor/kis_profile.cc b/chalk/chalkcolor/kis_profile.cpp similarity index 99% rename from chalk/chalkcolor/kis_profile.cc rename to chalk/chalkcolor/kis_profile.cpp index 61b2ad327..df98a7506 100644 --- a/chalk/chalkcolor/kis_profile.cc +++ b/chalk/chalkcolor/kis_profile.cpp @@ -1,5 +1,5 @@ /* - * kis_profile.cc - part of Krayon + * kis_profile.cpp - part of Krayon * * Copyright (c) 2000 Matthias Elter * 2001 John Califf diff --git a/chalk/chalkcolor/kis_u16_base_colorspace.cc b/chalk/chalkcolor/kis_u16_base_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/kis_u16_base_colorspace.cc rename to chalk/chalkcolor/kis_u16_base_colorspace.cpp diff --git a/chalk/chalkcolor/kis_u8_base_colorspace.cc b/chalk/chalkcolor/kis_u8_base_colorspace.cpp similarity index 100% rename from chalk/chalkcolor/kis_u8_base_colorspace.cc rename to chalk/chalkcolor/kis_u8_base_colorspace.cpp diff --git a/chalk/colorspaces/cmyk_u16/Makefile.am b/chalk/colorspaces/cmyk_u16/Makefile.am index 00cdd32d1..7f5ec9ca6 100644 --- a/chalk/colorspaces/cmyk_u16/Makefile.am +++ b/chalk/colorspaces/cmyk_u16/Makefile.am @@ -7,7 +7,7 @@ INCLUDES = -I$(srcdir)/../../sdk \ $(all_includes) lib_LTLIBRARIES = libchalk_cmyk_u16.la -libchalk_cmyk_u16_la_SOURCES = kis_cmyk_u16_colorspace.cc +libchalk_cmyk_u16_la_SOURCES = kis_cmyk_u16_colorspace.cpp libchalk_cmyk_u16_la_LDFLAGS = $(all_libraries) libchalk_cmyk_u16_la_LIBADD = ../../chalkcolor/libchalkcolor.la @@ -15,7 +15,7 @@ libchalk_cmyk_u16_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_cmyk_u16_plugin.la # Srcs for the plugin -chalk_cmyk_u16_plugin_la_SOURCES = cmyk_u16_plugin.cc +chalk_cmyk_u16_plugin_la_SOURCES = cmyk_u16_plugin.cpp noinst_HEADERS = cmyk_u16_plugin.h kis_cmyk_u16_colorspace.h chalk_cmyk_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc b/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cpp similarity index 98% rename from chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc rename to chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cpp index 4b3afa299..4195ff225 100644 --- a/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc +++ b/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cpp @@ -1,5 +1,5 @@ /* -* cmyk_u16_plugin.cc -- Part of Chalk +* cmyk_u16_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * Copyright (c) 2005 Adrian Page diff --git a/chalk/colorspaces/cmyk_u16/kis_cmyk_u16_colorspace.cc b/chalk/colorspaces/cmyk_u16/kis_cmyk_u16_colorspace.cpp similarity index 100% rename from chalk/colorspaces/cmyk_u16/kis_cmyk_u16_colorspace.cc rename to chalk/colorspaces/cmyk_u16/kis_cmyk_u16_colorspace.cpp diff --git a/chalk/colorspaces/cmyk_u8/Makefile.am b/chalk/colorspaces/cmyk_u8/Makefile.am index 90ab3869f..97554d249 100644 --- a/chalk/colorspaces/cmyk_u8/Makefile.am +++ b/chalk/colorspaces/cmyk_u8/Makefile.am @@ -8,7 +8,7 @@ INCLUDES = -I$(srcdir)/../../sdk \ kde_module_LTLIBRARIES = chalkcmykplugin.la -chalkcmykplugin_la_SOURCES = cmyk_plugin.cc kis_cmyk_colorspace.cc +chalkcmykplugin_la_SOURCES = cmyk_plugin.cpp kis_cmyk_colorspace.cpp noinst_HEADERS = cmyk_plugin.h kis_cmyk_colorspace.h chalkcmykplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/cmyk_u8/cmyk_plugin.cc b/chalk/colorspaces/cmyk_u8/cmyk_plugin.cpp similarity index 98% rename from chalk/colorspaces/cmyk_u8/cmyk_plugin.cc rename to chalk/colorspaces/cmyk_u8/cmyk_plugin.cpp index 7b09ecca9..588e286cd 100644 --- a/chalk/colorspaces/cmyk_u8/cmyk_plugin.cc +++ b/chalk/colorspaces/cmyk_u8/cmyk_plugin.cpp @@ -1,5 +1,5 @@ /* - * cmyk_plugin.cc -- Part of Chalk + * cmyk_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/colorspaces/cmyk_u8/kis_cmyk_colorspace.cc b/chalk/colorspaces/cmyk_u8/kis_cmyk_colorspace.cpp similarity index 100% rename from chalk/colorspaces/cmyk_u8/kis_cmyk_colorspace.cc rename to chalk/colorspaces/cmyk_u8/kis_cmyk_colorspace.cpp diff --git a/chalk/colorspaces/gray_u16/Makefile.am b/chalk/colorspaces/gray_u16/Makefile.am index 8ee4314cd..d77d32d2a 100644 --- a/chalk/colorspaces/gray_u16/Makefile.am +++ b/chalk/colorspaces/gray_u16/Makefile.am @@ -8,7 +8,7 @@ INCLUDES = -I$(srcdir)/../../sdk \ $(all_includes) lib_LTLIBRARIES = libchalk_gray_u16.la -libchalk_gray_u16_la_SOURCES = kis_gray_u16_colorspace.cc +libchalk_gray_u16_la_SOURCES = kis_gray_u16_colorspace.cpp libchalk_gray_u16_la_LDFLAGS = $(all_libraries) libchalk_gray_u16_la_LIBADD = ../../chalkcolor/libchalkcolor.la @@ -16,7 +16,7 @@ libchalk_gray_u16_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_gray_u16_plugin.la # Srcs for the plugin -chalk_gray_u16_plugin_la_SOURCES = gray_u16_plugin.cc +chalk_gray_u16_plugin_la_SOURCES = gray_u16_plugin.cpp noinst_HEADERS = gray_u16_plugin.h kis_gray_u16_colorspace.h chalk_gray_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/gray_u16/gray_u16_plugin.cc b/chalk/colorspaces/gray_u16/gray_u16_plugin.cpp similarity index 98% rename from chalk/colorspaces/gray_u16/gray_u16_plugin.cc rename to chalk/colorspaces/gray_u16/gray_u16_plugin.cpp index 5e9e17f93..7c1896f94 100644 --- a/chalk/colorspaces/gray_u16/gray_u16_plugin.cc +++ b/chalk/colorspaces/gray_u16/gray_u16_plugin.cpp @@ -1,5 +1,5 @@ /* -* gray_u16_plugin.cc -- Part of Chalk +* gray_u16_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * Copyright (c) 2005 Adrian Page diff --git a/chalk/colorspaces/gray_u16/kis_gray_u16_colorspace.cc b/chalk/colorspaces/gray_u16/kis_gray_u16_colorspace.cpp similarity index 100% rename from chalk/colorspaces/gray_u16/kis_gray_u16_colorspace.cc rename to chalk/colorspaces/gray_u16/kis_gray_u16_colorspace.cpp diff --git a/chalk/colorspaces/gray_u8/Makefile.am b/chalk/colorspaces/gray_u8/Makefile.am index fda7f56a3..1282ef00f 100644 --- a/chalk/colorspaces/gray_u8/Makefile.am +++ b/chalk/colorspaces/gray_u8/Makefile.am @@ -9,13 +9,13 @@ INCLUDES = -I$(srcdir)/../../sdk \ lib_LTLIBRARIES = libchalkgrayscale.la -libchalkgrayscale_la_SOURCES = kis_gray_colorspace.cc +libchalkgrayscale_la_SOURCES = kis_gray_colorspace.cpp libchalkgrayscale_la_LDFLAGS = $(all_libraries) libchalkgrayscale_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalkgrayplugin.la -chalkgrayplugin_la_SOURCES = gray_plugin.cc +chalkgrayplugin_la_SOURCES = gray_plugin.cpp noinst_HEADERS = gray_plugin.h kis_gray_colorspace.h chalkgrayplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/gray_u8/gray_plugin.cc b/chalk/colorspaces/gray_u8/gray_plugin.cpp similarity index 98% rename from chalk/colorspaces/gray_u8/gray_plugin.cc rename to chalk/colorspaces/gray_u8/gray_plugin.cpp index 7d03d5f63..7f177eea1 100644 --- a/chalk/colorspaces/gray_u8/gray_plugin.cc +++ b/chalk/colorspaces/gray_u8/gray_plugin.cpp @@ -1,5 +1,5 @@ /* - * gray_plugin.cc -- Part of Chalk + * gray_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/colorspaces/gray_u8/kis_gray_colorspace.cc b/chalk/colorspaces/gray_u8/kis_gray_colorspace.cpp similarity index 100% rename from chalk/colorspaces/gray_u8/kis_gray_colorspace.cc rename to chalk/colorspaces/gray_u8/kis_gray_colorspace.cpp diff --git a/chalk/colorspaces/lms_f32/Makefile.am b/chalk/colorspaces/lms_f32/Makefile.am index bf8c65ecc..b7eedf99a 100644 --- a/chalk/colorspaces/lms_f32/Makefile.am +++ b/chalk/colorspaces/lms_f32/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = \ lib_LTLIBRARIES = libchalk_lms_f32.la -libchalk_lms_f32_la_SOURCES = kis_lms_f32_colorspace.cc +libchalk_lms_f32_la_SOURCES = kis_lms_f32_colorspace.cpp libchalk_lms_f32_la_LDFLAGS = $(all_libraries) libchalk_lms_f32_la_LIBADD = ../../chalkcolor/libchalkcolor.la @@ -18,7 +18,7 @@ libchalk_lms_f32_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_lms_f32_plugin.la # Srcs for the plugin -chalk_lms_f32_plugin_la_SOURCES = lms_f32_plugin.cc +chalk_lms_f32_plugin_la_SOURCES = lms_f32_plugin.cpp noinst_HEADERS = lms_f32_plugin.h kis_lms_f32_colorspace.h chalk_lms_f32_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/lms_f32/kis_lms_f32_colorspace.cc b/chalk/colorspaces/lms_f32/kis_lms_f32_colorspace.cpp similarity index 100% rename from chalk/colorspaces/lms_f32/kis_lms_f32_colorspace.cc rename to chalk/colorspaces/lms_f32/kis_lms_f32_colorspace.cpp diff --git a/chalk/colorspaces/lms_f32/lms_f32_plugin.cc b/chalk/colorspaces/lms_f32/lms_f32_plugin.cpp similarity index 98% rename from chalk/colorspaces/lms_f32/lms_f32_plugin.cc rename to chalk/colorspaces/lms_f32/lms_f32_plugin.cpp index f7e581ace..2c83ccd6c 100644 --- a/chalk/colorspaces/lms_f32/lms_f32_plugin.cc +++ b/chalk/colorspaces/lms_f32/lms_f32_plugin.cpp @@ -1,5 +1,5 @@ /* -* lms_f32_plugin.cc -- Part of Chalk +* lms_f32_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * Copyright (c) 2005 Adrian Page diff --git a/chalk/colorspaces/rgb_f16half/Makefile.am b/chalk/colorspaces/rgb_f16half/Makefile.am index 52f0c5836..cea86b4ca 100644 --- a/chalk/colorspaces/rgb_f16half/Makefile.am +++ b/chalk/colorspaces/rgb_f16half/Makefile.am @@ -13,7 +13,7 @@ CXXFLAGS += $(OPENEXR_CXXFLAGS) lib_LTLIBRARIES = libchalk_rgb_f16half.la -libchalk_rgb_f16half_la_SOURCES = kis_rgb_f16half_colorspace.cc +libchalk_rgb_f16half_la_SOURCES = kis_rgb_f16half_colorspace.cpp libchalk_rgb_f16half_la_LDFLAGS = $(all_libraries) libchalk_rgb_f16half_la_LIBADD = ../../chalkcolor/libchalkcolor.la @@ -21,7 +21,7 @@ libchalk_rgb_f16half_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_rgb_f16half_plugin.la # Srcs for the plugin -chalk_rgb_f16half_plugin_la_SOURCES = rgb_f16half_plugin.cc +chalk_rgb_f16half_plugin_la_SOURCES = rgb_f16half_plugin.cpp noinst_HEADERS = rgb_f16half_plugin.h kis_rgb_f16half_colorspace.h chalk_rgb_f16half_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.cc b/chalk/colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.cpp similarity index 100% rename from chalk/colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.cc rename to chalk/colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.cpp diff --git a/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc b/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cpp similarity index 98% rename from chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc rename to chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cpp index 911da6a0b..32505bc88 100644 --- a/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc +++ b/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cpp @@ -1,5 +1,5 @@ /* -* rgb_f32_plugin.cc -- Part of Chalk +* rgb_f32_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * Copyright (c) 2005 Adrian Page diff --git a/chalk/colorspaces/rgb_f16half/tests/Makefile.am b/chalk/colorspaces/rgb_f16half/tests/Makefile.am index cdb3f06c5..ae1cfc827 100644 --- a/chalk/colorspaces/rgb_f16half/tests/Makefile.am +++ b/chalk/colorspaces/rgb_f16half/tests/Makefile.am @@ -10,7 +10,7 @@ AM_CPPFLAGS = -I$(srcdir)/.. \ # $(KDE_CHECK_PLUGIN) assures a shared library is created. check_LTLIBRARIES = tdeunittest_kis_rgb_f16half_colorspace_tester.la -tdeunittest_kis_rgb_f16half_colorspace_tester_la_SOURCES = kis_rgb_f16half_colorspace_tester.cc +tdeunittest_kis_rgb_f16half_colorspace_tester_la_SOURCES = kis_rgb_f16half_colorspace_tester.cpp tdeunittest_kis_rgb_f16half_colorspace_tester_la_LIBADD = -ltdeunittest ../libchalk_rgb_f16half.la tdeunittest_kis_rgb_f16half_colorspace_tester_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries) diff --git a/chalk/colorspaces/rgb_f16half/tests/kis_rgb_f16half_colorspace_tester.cc b/chalk/colorspaces/rgb_f16half/tests/kis_rgb_f16half_colorspace_tester.cpp similarity index 100% rename from chalk/colorspaces/rgb_f16half/tests/kis_rgb_f16half_colorspace_tester.cc rename to chalk/colorspaces/rgb_f16half/tests/kis_rgb_f16half_colorspace_tester.cpp diff --git a/chalk/colorspaces/rgb_f32/Makefile.am b/chalk/colorspaces/rgb_f32/Makefile.am index 0d206a3e4..0fd090c97 100644 --- a/chalk/colorspaces/rgb_f32/Makefile.am +++ b/chalk/colorspaces/rgb_f32/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = \ lib_LTLIBRARIES = libchalk_rgb_f32.la -libchalk_rgb_f32_la_SOURCES = kis_rgb_f32_colorspace.cc +libchalk_rgb_f32_la_SOURCES = kis_rgb_f32_colorspace.cpp libchalk_rgb_f32_la_LDFLAGS = $(all_libraries) libchalk_rgb_f32_la_LIBADD = ../../chalkcolor/libchalkcolor.la @@ -18,7 +18,7 @@ libchalk_rgb_f32_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_rgb_f32_plugin.la # Srcs for the plugin -chalk_rgb_f32_plugin_la_SOURCES = rgb_f32_plugin.cc +chalk_rgb_f32_plugin_la_SOURCES = rgb_f32_plugin.cpp noinst_HEADERS = rgb_f32_plugin.h kis_rgb_f32_colorspace.h chalk_rgb_f32_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.cc b/chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.cpp similarity index 100% rename from chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.cc rename to chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.cpp diff --git a/chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.h b/chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.h index c6551a4ce..785009e06 100644 --- a/chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.h +++ b/chalk/colorspaces/rgb_f32/kis_rgb_f32_colorspace.h @@ -132,7 +132,7 @@ private: }; struct F32OpacityTest { inline bool operator()(const float& opacity) const { - return opacity > F32_OPACITY_TRANSPARENT + 1e-6; // #define EPSILON in the .cc + return opacity > F32_OPACITY_TRANSPARENT + 1e-6; // #define EPSILON in the .cpp } }; }; diff --git a/chalk/colorspaces/rgb_f32/rgb_f32_plugin.cc b/chalk/colorspaces/rgb_f32/rgb_f32_plugin.cpp similarity index 98% rename from chalk/colorspaces/rgb_f32/rgb_f32_plugin.cc rename to chalk/colorspaces/rgb_f32/rgb_f32_plugin.cpp index 7c1149711..adc540ac0 100644 --- a/chalk/colorspaces/rgb_f32/rgb_f32_plugin.cc +++ b/chalk/colorspaces/rgb_f32/rgb_f32_plugin.cpp @@ -1,5 +1,5 @@ /* -* rgb_f32_plugin.cc -- Part of Chalk +* rgb_f32_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * Copyright (c) 2005 Adrian Page diff --git a/chalk/colorspaces/rgb_f32/tests/Makefile.am b/chalk/colorspaces/rgb_f32/tests/Makefile.am index 9ad10271b..073c5da74 100644 --- a/chalk/colorspaces/rgb_f32/tests/Makefile.am +++ b/chalk/colorspaces/rgb_f32/tests/Makefile.am @@ -8,7 +8,7 @@ AM_CPPFLAGS = -I$(srcdir)/.. \ # $(KDE_CHECK_PLUGIN) assures a shared library is created. check_LTLIBRARIES = tdeunittest_kis_strategy_colorspace_rgb_f32_tester.la -tdeunittest_kis_strategy_colorspace_rgb_f32_tester_la_SOURCES = kis_strategy_colorspace_rgb_f32_tester.cc +tdeunittest_kis_strategy_colorspace_rgb_f32_tester_la_SOURCES = kis_strategy_colorspace_rgb_f32_tester.cpp tdeunittest_kis_strategy_colorspace_rgb_f32_tester_la_LIBADD = -ltdeunittest ../libchalk_rgb_f32.la tdeunittest_kis_strategy_colorspace_rgb_f32_tester_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries) diff --git a/chalk/colorspaces/rgb_f32/tests/kis_strategy_colorspace_rgb_f32_tester.cc b/chalk/colorspaces/rgb_f32/tests/kis_strategy_colorspace_rgb_f32_tester.cpp similarity index 100% rename from chalk/colorspaces/rgb_f32/tests/kis_strategy_colorspace_rgb_f32_tester.cc rename to chalk/colorspaces/rgb_f32/tests/kis_strategy_colorspace_rgb_f32_tester.cpp diff --git a/chalk/colorspaces/rgb_u16/Makefile.am b/chalk/colorspaces/rgb_u16/Makefile.am index 41711c558..283c54e0e 100644 --- a/chalk/colorspaces/rgb_u16/Makefile.am +++ b/chalk/colorspaces/rgb_u16/Makefile.am @@ -8,7 +8,7 @@ INCLUDES = -I$(srcdir)/../../sdk \ $(all_includes) lib_LTLIBRARIES = libchalk_rgb_u16.la -libchalk_rgb_u16_la_SOURCES = kis_rgb_u16_colorspace.cc +libchalk_rgb_u16_la_SOURCES = kis_rgb_u16_colorspace.cpp libchalk_rgb_u16_la_LDFLAGS = $(all_libraries) libchalk_rgb_u16_la_LIBADD = ../../chalkcolor/libchalkcolor.la @@ -16,7 +16,7 @@ libchalk_rgb_u16_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_rgb_u16_plugin.la # Srcs for the plugin -chalk_rgb_u16_plugin_la_SOURCES = rgb_u16_plugin.cc +chalk_rgb_u16_plugin_la_SOURCES = rgb_u16_plugin.cpp noinst_HEADERS = rgb_u16_plugin.h kis_rgb_u16_colorspace.h chalk_rgb_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/rgb_u16/kis_rgb_u16_colorspace.cc b/chalk/colorspaces/rgb_u16/kis_rgb_u16_colorspace.cpp similarity index 100% rename from chalk/colorspaces/rgb_u16/kis_rgb_u16_colorspace.cc rename to chalk/colorspaces/rgb_u16/kis_rgb_u16_colorspace.cpp diff --git a/chalk/colorspaces/rgb_u16/rgb_u16_plugin.cc b/chalk/colorspaces/rgb_u16/rgb_u16_plugin.cpp similarity index 98% rename from chalk/colorspaces/rgb_u16/rgb_u16_plugin.cc rename to chalk/colorspaces/rgb_u16/rgb_u16_plugin.cpp index bc362a83e..da6e6e427 100644 --- a/chalk/colorspaces/rgb_u16/rgb_u16_plugin.cc +++ b/chalk/colorspaces/rgb_u16/rgb_u16_plugin.cpp @@ -1,5 +1,5 @@ /* -* rgb_u16_plugin.cc -- Part of Chalk +* rgb_u16_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * Copyright (c) 2005 Adrian Page diff --git a/chalk/colorspaces/rgb_u16/tests/Makefile.am b/chalk/colorspaces/rgb_u16/tests/Makefile.am index 76c4d175b..5bed7dfa6 100644 --- a/chalk/colorspaces/rgb_u16/tests/Makefile.am +++ b/chalk/colorspaces/rgb_u16/tests/Makefile.am @@ -8,7 +8,7 @@ AM_CPPFLAGS = -I$(srcdir)/.. \ # $(KDE_CHECK_PLUGIN) assures a shared library is created. check_LTLIBRARIES = tdeunittest_kis_strategy_colorspace_rgb_u16_tester.la -tdeunittest_kis_strategy_colorspace_rgb_u16_tester_la_SOURCES = kis_strategy_colorspace_rgb_u16_tester.cc +tdeunittest_kis_strategy_colorspace_rgb_u16_tester_la_SOURCES = kis_strategy_colorspace_rgb_u16_tester.cpp tdeunittest_kis_strategy_colorspace_rgb_u16_tester_la_LIBADD = -ltdeunittest ../libchalk_rgb_u16.la tdeunittest_kis_strategy_colorspace_rgb_u16_tester_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries) diff --git a/chalk/colorspaces/rgb_u16/tests/kis_strategy_colorspace_rgb_u16_tester.cc b/chalk/colorspaces/rgb_u16/tests/kis_strategy_colorspace_rgb_u16_tester.cpp similarity index 100% rename from chalk/colorspaces/rgb_u16/tests/kis_strategy_colorspace_rgb_u16_tester.cc rename to chalk/colorspaces/rgb_u16/tests/kis_strategy_colorspace_rgb_u16_tester.cpp diff --git a/chalk/colorspaces/rgb_u8/Makefile.am b/chalk/colorspaces/rgb_u8/Makefile.am index c82abaa10..9b27665f0 100644 --- a/chalk/colorspaces/rgb_u8/Makefile.am +++ b/chalk/colorspaces/rgb_u8/Makefile.am @@ -8,7 +8,7 @@ INCLUDES = -I$(srcdir)/../../sdk \ $(all_includes) lib_LTLIBRARIES = libchalkrgb.la -libchalkrgb_la_SOURCES = kis_rgb_colorspace.cc +libchalkrgb_la_SOURCES = kis_rgb_colorspace.cpp libchalkrgb_la_LDFLAGS = $(all_libraries) $(LIB_TQT) libchalkrgb_la_LIBADD = ../../chalkcolor/libchalkcolor.la @@ -16,7 +16,7 @@ libchalkrgb_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalkrgbplugin.la # Srcs for the plugin -chalkrgbplugin_la_SOURCES = rgb_plugin.cc +chalkrgbplugin_la_SOURCES = rgb_plugin.cpp noinst_HEADERS = rgb_plugin.h kis_rgb_colorspace.h chalkrgbplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms diff --git a/chalk/colorspaces/rgb_u8/kis_rgb_colorspace.cc b/chalk/colorspaces/rgb_u8/kis_rgb_colorspace.cpp similarity index 100% rename from chalk/colorspaces/rgb_u8/kis_rgb_colorspace.cc rename to chalk/colorspaces/rgb_u8/kis_rgb_colorspace.cpp diff --git a/chalk/colorspaces/rgb_u8/rgb_plugin.cc b/chalk/colorspaces/rgb_u8/rgb_plugin.cpp similarity index 98% rename from chalk/colorspaces/rgb_u8/rgb_plugin.cc rename to chalk/colorspaces/rgb_u8/rgb_plugin.cpp index 263101259..33f18b17f 100644 --- a/chalk/colorspaces/rgb_u8/rgb_plugin.cc +++ b/chalk/colorspaces/rgb_u8/rgb_plugin.cpp @@ -1,5 +1,5 @@ /* -* rgb_plugin.cc -- Part of Chalk +* rgb_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/colorspaces/wet/Makefile.am b/chalk/colorspaces/wet/Makefile.am index 6d4bacab4..bd7c307f6 100644 --- a/chalk/colorspaces/wet/Makefile.am +++ b/chalk/colorspaces/wet/Makefile.am @@ -17,8 +17,8 @@ INCLUDES = -I$(srcdir)/../../sdk \ kde_module_LTLIBRARIES = chalkwetplugin.la -chalkwetplugin_la_SOURCES = kis_wet_colorspace.cc wet_plugin.cc kis_wetop.cc kis_wet_palette_widget.cc kis_wetness_visualisation_filter.cc kis_texture_painter.cc kis_texture_filter.cc wetphysicsfilter.cc wdgpressure.ui -noinst_HEADERS = kis_wet_colorspace.h wet_plugin.h wetphysicsfilter.h kis_wetop.cc kis_wet_palette_widget.h kis_texture_painter.h kis_wetness_visualisation_filter.h kis_texture_filter.h wetphysicsfilter.h +chalkwetplugin_la_SOURCES = kis_wet_colorspace.cpp wet_plugin.cpp kis_wetop.cpp kis_wet_palette_widget.cpp kis_wetness_visualisation_filter.cpp kis_texture_painter.cpp kis_texture_filter.cpp wetphysicsfilter.cpp wdgpressure.ui +noinst_HEADERS = kis_wet_colorspace.h wet_plugin.h wetphysicsfilter.h kis_wetop.cpp kis_wet_palette_widget.h kis_texture_painter.h kis_wetness_visualisation_filter.h kis_texture_filter.h wetphysicsfilter.h chalkwetplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms chalkwetplugin_la_LIBADD = ../../libchalkcommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE) \ diff --git a/chalk/colorspaces/wet/kis_texture_filter.cc b/chalk/colorspaces/wet/kis_texture_filter.cpp similarity index 97% rename from chalk/colorspaces/wet/kis_texture_filter.cc rename to chalk/colorspaces/wet/kis_texture_filter.cpp index 6f58cd14a..f70272dbf 100644 --- a/chalk/colorspaces/wet/kis_texture_filter.cc +++ b/chalk/colorspaces/wet/kis_texture_filter.cpp @@ -1,5 +1,5 @@ /* - * kis_texture_filter.cc -- Part of Chalk + * kis_texture_filter.cpp -- Part of Chalk * * Copyright (c) 2005 Bart Coppens * diff --git a/chalk/colorspaces/wet/kis_texture_painter.cc b/chalk/colorspaces/wet/kis_texture_painter.cpp similarity index 100% rename from chalk/colorspaces/wet/kis_texture_painter.cc rename to chalk/colorspaces/wet/kis_texture_painter.cpp diff --git a/chalk/colorspaces/wet/kis_wet_colorspace.cc b/chalk/colorspaces/wet/kis_wet_colorspace.cpp similarity index 100% rename from chalk/colorspaces/wet/kis_wet_colorspace.cc rename to chalk/colorspaces/wet/kis_wet_colorspace.cpp diff --git a/chalk/colorspaces/wet/kis_wet_palette_widget.cc b/chalk/colorspaces/wet/kis_wet_palette_widget.cpp similarity index 100% rename from chalk/colorspaces/wet/kis_wet_palette_widget.cc rename to chalk/colorspaces/wet/kis_wet_palette_widget.cpp diff --git a/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc b/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cpp similarity index 97% rename from chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc rename to chalk/colorspaces/wet/kis_wetness_visualisation_filter.cpp index f17f4e1c4..634424469 100644 --- a/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cc +++ b/chalk/colorspaces/wet/kis_wetness_visualisation_filter.cpp @@ -1,5 +1,5 @@ /* - * kis_wetness_visualisation_filter.cc -- Part of Chalk + * kis_wetness_visualisation_filter.cpp -- Part of Chalk * * Copyright (c) 2005 Bart Coppens * diff --git a/chalk/colorspaces/wet/kis_wetop.cc b/chalk/colorspaces/wet/kis_wetop.cpp similarity index 100% rename from chalk/colorspaces/wet/kis_wetop.cc rename to chalk/colorspaces/wet/kis_wetop.cpp diff --git a/chalk/colorspaces/wet/wet_plugin.cc b/chalk/colorspaces/wet/wet_plugin.cpp similarity index 99% rename from chalk/colorspaces/wet/wet_plugin.cc rename to chalk/colorspaces/wet/wet_plugin.cpp index b919a2897..259fe5d1c 100644 --- a/chalk/colorspaces/wet/wet_plugin.cc +++ b/chalk/colorspaces/wet/wet_plugin.cpp @@ -1,5 +1,5 @@ /* - * wet_plugin.cc -- Part of Chalk + * wet_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/colorspaces/wet/wetphysicsfilter.cc b/chalk/colorspaces/wet/wetphysicsfilter.cpp similarity index 100% rename from chalk/colorspaces/wet/wetphysicsfilter.cc rename to chalk/colorspaces/wet/wetphysicsfilter.cpp diff --git a/chalk/colorspaces/wetsticky/Makefile.am b/chalk/colorspaces/wetsticky/Makefile.am index 4ade368a8..5d4e02894 100644 --- a/chalk/colorspaces/wetsticky/Makefile.am +++ b/chalk/colorspaces/wetsticky/Makefile.am @@ -12,7 +12,7 @@ INCLUDES = -I$(srcdir)/../../sdk \ kde_module_LTLIBRARIES = chalkwsplugin.la -chalkwsplugin_la_SOURCES = wet_sticky_plugin.cc kis_wet_sticky_colorspace.cc kis_ws_engine_filter.cc +chalkwsplugin_la_SOURCES = wet_sticky_plugin.cpp kis_wet_sticky_colorspace.cpp kis_ws_engine_filter.cpp noinst_HEADERS = wet_sticky_plugin.h kis_wet_sticky_colorspace.h kis_ws_engine_filter.h chalkwsplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) diff --git a/chalk/colorspaces/wetsticky/brushop/Makefile.am b/chalk/colorspaces/wetsticky/brushop/Makefile.am index 8df4d61e3..eae064f8e 100644 --- a/chalk/colorspaces/wetsticky/brushop/Makefile.am +++ b/chalk/colorspaces/wetsticky/brushop/Makefile.am @@ -13,8 +13,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ chalkwsbrushpaintop_la_SOURCES = \ - wsbrushpaintop_plugin.cc \ - kis_wsbrushop.cc + wsbrushpaintop_plugin.cpp \ + kis_wsbrushop.cpp noinst_HEADERS= \ wsbrushpaintop_plugin.h \ diff --git a/chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cc b/chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cpp similarity index 100% rename from chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cc rename to chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cpp diff --git a/chalk/colorspaces/wetsticky/brushop/wsbrushpaintop_plugin.cc b/chalk/colorspaces/wetsticky/brushop/wsbrushpaintop_plugin.cpp similarity index 97% rename from chalk/colorspaces/wetsticky/brushop/wsbrushpaintop_plugin.cc rename to chalk/colorspaces/wetsticky/brushop/wsbrushpaintop_plugin.cpp index 1f141bb4f..97c892b2b 100644 --- a/chalk/colorspaces/wetsticky/brushop/wsbrushpaintop_plugin.cc +++ b/chalk/colorspaces/wetsticky/brushop/wsbrushpaintop_plugin.cpp @@ -1,5 +1,5 @@ /* - * wsbrushpaintop_plugin.cc -- Part of Chalk + * wsbrushpaintop_plugin.cpp -- Part of Chalk * * Copyright (c) 2005 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc b/chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cpp similarity index 100% rename from chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc rename to chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cpp diff --git a/chalk/colorspaces/wetsticky/kis_ws_engine_filter.cc b/chalk/colorspaces/wetsticky/kis_ws_engine_filter.cpp similarity index 100% rename from chalk/colorspaces/wetsticky/kis_ws_engine_filter.cc rename to chalk/colorspaces/wetsticky/kis_ws_engine_filter.cpp diff --git a/chalk/colorspaces/wetsticky/wet_sticky_plugin.cc b/chalk/colorspaces/wetsticky/wet_sticky_plugin.cpp similarity index 97% rename from chalk/colorspaces/wetsticky/wet_sticky_plugin.cc rename to chalk/colorspaces/wetsticky/wet_sticky_plugin.cpp index 76dee20e6..e56e4cc88 100644 --- a/chalk/colorspaces/wetsticky/wet_sticky_plugin.cc +++ b/chalk/colorspaces/wetsticky/wet_sticky_plugin.cpp @@ -1,5 +1,5 @@ /* - * wet_sticky_plugin.cc -- Part of Chalk + * wet_sticky_plugin.cpp -- Part of Chalk * * Copyright (c) 2005 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/colorspaces/ycbcr_u16/Makefile.am b/chalk/colorspaces/ycbcr_u16/Makefile.am index ab8200201..e9c273b79 100644 --- a/chalk/colorspaces/ycbcr_u16/Makefile.am +++ b/chalk/colorspaces/ycbcr_u16/Makefile.am @@ -16,7 +16,7 @@ libchalk_ycbcr_u16_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_ycbcr_u16_plugin.la # Srcs for the plugin -chalk_ycbcr_u16_plugin_la_SOURCES = ycbcr_u16_plugin.cc +chalk_ycbcr_u16_plugin_la_SOURCES = ycbcr_u16_plugin.cpp noinst_HEADERS = ycbcr_u16_plugin.h kis_ycbcr_u16_colorspace.h chalk_ycbcr_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms @@ -24,6 +24,6 @@ chalk_ycbcr_u16_plugin_la_LIBADD = libchalk_ycbcr_u16.la ../../chalkcolor/libch METASOURCES = AUTO -libchalk_ycbcr_u16_la_SOURCES = kis_ycbcr_u16_colorspace.cc +libchalk_ycbcr_u16_la_SOURCES = kis_ycbcr_u16_colorspace.cpp .NOTPARALLEL: diff --git a/chalk/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.cc b/chalk/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.cpp similarity index 100% rename from chalk/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.cc rename to chalk/colorspaces/ycbcr_u16/kis_ycbcr_u16_colorspace.cpp diff --git a/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc b/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cpp similarity index 98% rename from chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc rename to chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cpp index fdfb23106..4371a20a4 100644 --- a/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc +++ b/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cpp @@ -1,5 +1,5 @@ /* - * ycbcr_u16_plugin.cc -- Part of Chalk + * ycbcr_u16_plugin.cpp -- Part of Chalk * * Copyright (c) 2006 Cyrille Berger * diff --git a/chalk/colorspaces/ycbcr_u8/Makefile.am b/chalk/colorspaces/ycbcr_u8/Makefile.am index 82f2942df..77c8c432e 100644 --- a/chalk/colorspaces/ycbcr_u8/Makefile.am +++ b/chalk/colorspaces/ycbcr_u8/Makefile.am @@ -16,7 +16,7 @@ libchalk_ycbcr_u8_la_LIBADD = ../../chalkcolor/libchalkcolor.la kde_module_LTLIBRARIES = chalk_ycbcr_u8_plugin.la # Srcs for the plugin -chalk_ycbcr_u8_plugin_la_SOURCES = ycbcr_u8_plugin.cc +chalk_ycbcr_u8_plugin_la_SOURCES = ycbcr_u8_plugin.cpp noinst_HEADERS = ycbcr_u8_plugin.h kis_ycbcr_u8_colorspace.h chalk_ycbcr_u8_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -llcms @@ -25,7 +25,7 @@ chalk_ycbcr_u8_plugin_la_LIBADD = libchalk_ycbcr_u8.la ../../chalkcolor/libchal METASOURCES = AUTO -libchalk_ycbcr_u8_la_SOURCES = kis_ycbcr_u8_colorspace.cc +libchalk_ycbcr_u8_la_SOURCES = kis_ycbcr_u8_colorspace.cpp kde_services_DATA = chalk_ycbcr_u8_plugin.desktop .NOTPARALLEL: diff --git a/chalk/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.cc b/chalk/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.cpp similarity index 100% rename from chalk/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.cc rename to chalk/colorspaces/ycbcr_u8/kis_ycbcr_u8_colorspace.cpp diff --git a/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc b/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cpp similarity index 98% rename from chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc rename to chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cpp index 342074329..6c3ac2437 100644 --- a/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc +++ b/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cpp @@ -1,5 +1,5 @@ /* - * ycbcr_u8_plugin.cc -- Part of Chalk + * ycbcr_u8_plugin.cpp -- Part of Chalk * * Copyright (c) 2006 Cyrille Berger * diff --git a/chalk/core/Makefile.am b/chalk/core/Makefile.am index 9370161af..ae67f2c08 100644 --- a/chalk/core/Makefile.am +++ b/chalk/core/Makefile.am @@ -13,21 +13,21 @@ CXXFLAGS += $(OPENEXR_CXXFLAGS) lib_LTLIBRARIES = libchalkimage.la -libchalkimage_la_SOURCES = kis_adjustment_layer.cc kis_alpha_mask.cc \ - kis_autobrush_resource.cc kis_autogradient_resource.cc kis_background.cc kis_boundary.cc \ - kis_brush.cc kis_command.cc kis_convolution_painter.cc kis_fill_painter.cc \ - kis_filter.cc kis_filter_registry.cc kis_filter_strategy.cc \ - kis_filter_configuration.cc kis_filter_config_widget.cc kis_gradient.cc kis_gradient_painter.cc \ - kis_histogram.cc kis_image.cc kis_imagepipe_brush.cc kis_iterator.cc \ - kis_iterators_pixel.cc kis_layer.cc kis_group_layer.cc kis_paint_layer.cc kis_meta_registry.cc \ - kis_nameserver.cc kis_painter.cc kis_paintop.cc kis_paintop_registry.cc kis_palette.cc \ - kis_pattern.cc kis_rect.cc kis_resource.cc kis_rotate_visitor.cc \ - kis_selected_transaction.cc kis_selection.cc kis_strategy_move.cc kis_transaction.cc \ - kis_transform_worker.cc kis_vec.cc kis_paint_device.cc kis_paint_device_iface.cc \ - kis_paint_device_iface.skel kis_image_iface.cc kis_image_iface.skel kis_basic_math_toolbox.cpp \ - kis_math_toolbox.cpp kis_exif_info.cc kis_thread_pool.cc kis_exif_value.cc \ +libchalkimage_la_SOURCES = kis_adjustment_layer.cpp kis_alpha_mask.cpp \ + kis_autobrush_resource.cpp kis_autogradient_resource.cpp kis_background.cpp kis_boundary.cpp \ + kis_brush.cpp kis_command.cpp kis_convolution_painter.cpp kis_fill_painter.cpp \ + kis_filter.cpp kis_filter_registry.cpp kis_filter_strategy.cpp \ + kis_filter_configuration.cpp kis_filter_config_widget.cpp kis_gradient.cpp kis_gradient_painter.cpp \ + kis_histogram.cpp kis_image.cpp kis_imagepipe_brush.cpp kis_iterator.cpp \ + kis_iterators_pixel.cpp kis_layer.cpp kis_group_layer.cpp kis_paint_layer.cpp kis_meta_registry.cpp \ + kis_nameserver.cpp kis_painter.cpp kis_paintop.cpp kis_paintop_registry.cpp kis_palette.cpp \ + kis_pattern.cpp kis_rect.cpp kis_resource.cpp kis_rotate_visitor.cpp \ + kis_selected_transaction.cpp kis_selection.cpp kis_strategy_move.cpp kis_transaction.cpp \ + kis_transform_worker.cpp kis_vec.cpp kis_paint_device.cpp kis_paint_device_iface.cpp \ + kis_paint_device_iface.skel kis_image_iface.cpp kis_image_iface.skel kis_basic_math_toolbox.cpp \ + kis_math_toolbox.cpp kis_exif_info.cpp kis_thread_pool.cpp kis_exif_value.cpp \ kis_filter_strategy.h kis_random_accessor.cpp kis_random_sub_accessor.cpp \ - kis_perspective_grid.cpp kis_perspectivetransform_worker.cpp kis_perspective_math.cpp kis_scale_visitor.cc + kis_perspective_grid.cpp kis_perspectivetransform_worker.cpp kis_perspective_math.cpp kis_scale_visitor.cpp noinst_HEADERS = kis_rotate_visitor.h kis_selected_transaction.h \ kis_strategy_move.h kis_transform_worker.h kis_datamanager.h kis_iteratorpixeltrait.h \ diff --git a/chalk/core/createdcop.py b/chalk/core/createdcop.py index ef7acc5ef..337d90761 100755 --- a/chalk/core/createdcop.py +++ b/chalk/core/createdcop.py @@ -149,7 +149,7 @@ def createDCOP(header): classname = classname + part.capitalize() classname_upper = classname_upper + part.upper() + "_" ifaceheader = header[:-2] + "_iface.h" - ifaceimplementation = header[:-2] + "_iface.cc" + ifaceimplementation = header[:-2] + "_iface.cpp" ifaceclass = classname + "Iface" #print "with: ", implementation, classname, classname_upper, ifaceheader, ifaceimplementation, ifaceclass diff --git a/chalk/core/kis_adjustment_layer.cc b/chalk/core/kis_adjustment_layer.cpp similarity index 100% rename from chalk/core/kis_adjustment_layer.cc rename to chalk/core/kis_adjustment_layer.cpp diff --git a/chalk/core/kis_alpha_mask.cc b/chalk/core/kis_alpha_mask.cpp similarity index 100% rename from chalk/core/kis_alpha_mask.cc rename to chalk/core/kis_alpha_mask.cpp diff --git a/chalk/core/kis_autobrush_resource.cc b/chalk/core/kis_autobrush_resource.cpp similarity index 100% rename from chalk/core/kis_autobrush_resource.cc rename to chalk/core/kis_autobrush_resource.cpp diff --git a/chalk/core/kis_autogradient_resource.cc b/chalk/core/kis_autogradient_resource.cpp similarity index 99% rename from chalk/core/kis_autogradient_resource.cc rename to chalk/core/kis_autogradient_resource.cpp index 671e8fc2f..aaac54efd 100644 --- a/chalk/core/kis_autogradient_resource.cc +++ b/chalk/core/kis_autogradient_resource.cpp @@ -20,7 +20,7 @@ #include "kis_gradient.h" #include "kis_autogradient_resource.h" -// FIXME: use the same #define as in kis_gradient.cc, probably best customizable? +// FIXME: use the same #define as in kis_gradient.cpp, probably best customizable? #define PREVIEW_WIDTH 64 #define PREVIEW_HEIGHT 64 diff --git a/chalk/core/kis_background.cc b/chalk/core/kis_background.cpp similarity index 100% rename from chalk/core/kis_background.cc rename to chalk/core/kis_background.cpp diff --git a/chalk/core/kis_boundary.cc b/chalk/core/kis_boundary.cpp similarity index 100% rename from chalk/core/kis_boundary.cc rename to chalk/core/kis_boundary.cpp diff --git a/chalk/core/kis_brush.cc b/chalk/core/kis_brush.cpp similarity index 100% rename from chalk/core/kis_brush.cc rename to chalk/core/kis_brush.cpp diff --git a/chalk/core/kis_command.cc b/chalk/core/kis_command.cpp similarity index 100% rename from chalk/core/kis_command.cc rename to chalk/core/kis_command.cpp diff --git a/chalk/core/kis_convolution_painter.cc b/chalk/core/kis_convolution_painter.cpp similarity index 100% rename from chalk/core/kis_convolution_painter.cc rename to chalk/core/kis_convolution_painter.cpp diff --git a/chalk/core/kis_exif_info.cc b/chalk/core/kis_exif_info.cpp similarity index 100% rename from chalk/core/kis_exif_info.cc rename to chalk/core/kis_exif_info.cpp diff --git a/chalk/core/kis_exif_value.cc b/chalk/core/kis_exif_value.cpp similarity index 100% rename from chalk/core/kis_exif_value.cc rename to chalk/core/kis_exif_value.cpp diff --git a/chalk/core/kis_fill_painter.cc b/chalk/core/kis_fill_painter.cpp similarity index 100% rename from chalk/core/kis_fill_painter.cc rename to chalk/core/kis_fill_painter.cpp diff --git a/chalk/core/kis_filter.cc b/chalk/core/kis_filter.cpp similarity index 100% rename from chalk/core/kis_filter.cc rename to chalk/core/kis_filter.cpp diff --git a/chalk/core/kis_filter_config_widget.cc b/chalk/core/kis_filter_config_widget.cpp similarity index 100% rename from chalk/core/kis_filter_config_widget.cc rename to chalk/core/kis_filter_config_widget.cpp diff --git a/chalk/core/kis_filter_configuration.cc b/chalk/core/kis_filter_configuration.cpp similarity index 100% rename from chalk/core/kis_filter_configuration.cc rename to chalk/core/kis_filter_configuration.cpp diff --git a/chalk/core/kis_filter_registry.cc b/chalk/core/kis_filter_registry.cpp similarity index 100% rename from chalk/core/kis_filter_registry.cc rename to chalk/core/kis_filter_registry.cpp diff --git a/chalk/core/kis_filter_strategy.cc b/chalk/core/kis_filter_strategy.cpp similarity index 100% rename from chalk/core/kis_filter_strategy.cc rename to chalk/core/kis_filter_strategy.cpp diff --git a/chalk/core/kis_gradient.cc b/chalk/core/kis_gradient.cpp similarity index 99% rename from chalk/core/kis_gradient.cc rename to chalk/core/kis_gradient.cpp index 41541e80e..9b240cb06 100644 --- a/chalk/core/kis_gradient.cc +++ b/chalk/core/kis_gradient.cpp @@ -1,5 +1,5 @@ /* - * kis_gradient.cc - part of Krayon + * kis_gradient.cpp - part of Krayon * * Copyright (c) 2000 Matthias Elter * 2001 John Califf diff --git a/chalk/core/kis_gradient_painter.cc b/chalk/core/kis_gradient_painter.cpp similarity index 100% rename from chalk/core/kis_gradient_painter.cc rename to chalk/core/kis_gradient_painter.cpp diff --git a/chalk/core/kis_group_layer.cc b/chalk/core/kis_group_layer.cpp similarity index 100% rename from chalk/core/kis_group_layer.cc rename to chalk/core/kis_group_layer.cpp diff --git a/chalk/core/kis_histogram.cc b/chalk/core/kis_histogram.cpp similarity index 100% rename from chalk/core/kis_histogram.cc rename to chalk/core/kis_histogram.cpp diff --git a/chalk/core/kis_image.cc b/chalk/core/kis_image.cpp similarity index 100% rename from chalk/core/kis_image.cc rename to chalk/core/kis_image.cpp diff --git a/chalk/core/kis_image_iface.cc b/chalk/core/kis_image_iface.cpp similarity index 100% rename from chalk/core/kis_image_iface.cc rename to chalk/core/kis_image_iface.cpp diff --git a/chalk/core/kis_imagepipe_brush.cc b/chalk/core/kis_imagepipe_brush.cpp similarity index 100% rename from chalk/core/kis_imagepipe_brush.cc rename to chalk/core/kis_imagepipe_brush.cpp diff --git a/chalk/core/kis_iterator.cc b/chalk/core/kis_iterator.cpp similarity index 100% rename from chalk/core/kis_iterator.cc rename to chalk/core/kis_iterator.cpp diff --git a/chalk/core/kis_iterators_pixel.cc b/chalk/core/kis_iterators_pixel.cpp similarity index 100% rename from chalk/core/kis_iterators_pixel.cc rename to chalk/core/kis_iterators_pixel.cpp diff --git a/chalk/core/kis_layer.cc b/chalk/core/kis_layer.cpp similarity index 100% rename from chalk/core/kis_layer.cc rename to chalk/core/kis_layer.cpp diff --git a/chalk/core/kis_meta_registry.cc b/chalk/core/kis_meta_registry.cpp similarity index 100% rename from chalk/core/kis_meta_registry.cc rename to chalk/core/kis_meta_registry.cpp diff --git a/chalk/core/kis_nameserver.cc b/chalk/core/kis_nameserver.cpp similarity index 100% rename from chalk/core/kis_nameserver.cc rename to chalk/core/kis_nameserver.cpp diff --git a/chalk/core/kis_paint_device.cc b/chalk/core/kis_paint_device.cpp similarity index 100% rename from chalk/core/kis_paint_device.cc rename to chalk/core/kis_paint_device.cpp diff --git a/chalk/core/kis_paint_device_iface.cc b/chalk/core/kis_paint_device_iface.cpp similarity index 100% rename from chalk/core/kis_paint_device_iface.cc rename to chalk/core/kis_paint_device_iface.cpp diff --git a/chalk/core/kis_paint_layer.cc b/chalk/core/kis_paint_layer.cpp similarity index 100% rename from chalk/core/kis_paint_layer.cc rename to chalk/core/kis_paint_layer.cpp diff --git a/chalk/core/kis_painter.cc b/chalk/core/kis_painter.cpp similarity index 100% rename from chalk/core/kis_painter.cc rename to chalk/core/kis_painter.cpp diff --git a/chalk/core/kis_paintop.cc b/chalk/core/kis_paintop.cpp similarity index 100% rename from chalk/core/kis_paintop.cc rename to chalk/core/kis_paintop.cpp diff --git a/chalk/core/kis_paintop_registry.cc b/chalk/core/kis_paintop_registry.cpp similarity index 100% rename from chalk/core/kis_paintop_registry.cc rename to chalk/core/kis_paintop_registry.cpp diff --git a/chalk/core/kis_palette.cc b/chalk/core/kis_palette.cpp similarity index 100% rename from chalk/core/kis_palette.cc rename to chalk/core/kis_palette.cpp diff --git a/chalk/core/kis_pattern.cc b/chalk/core/kis_pattern.cpp similarity index 99% rename from chalk/core/kis_pattern.cc rename to chalk/core/kis_pattern.cpp index 654449b80..b2a529958 100644 --- a/chalk/core/kis_pattern.cc +++ b/chalk/core/kis_pattern.cpp @@ -1,5 +1,5 @@ /* - * kis_pattern.cc - part of Krayon + * kis_pattern.cpp - part of Krayon * * Copyright (c) 2000 Matthias Elter * 2001 John Califf diff --git a/chalk/core/kis_rect.cc b/chalk/core/kis_rect.cpp similarity index 100% rename from chalk/core/kis_rect.cc rename to chalk/core/kis_rect.cpp diff --git a/chalk/core/kis_resource.cc b/chalk/core/kis_resource.cpp similarity index 100% rename from chalk/core/kis_resource.cc rename to chalk/core/kis_resource.cpp diff --git a/chalk/core/kis_rotate_visitor.cc b/chalk/core/kis_rotate_visitor.cpp similarity index 100% rename from chalk/core/kis_rotate_visitor.cc rename to chalk/core/kis_rotate_visitor.cpp diff --git a/chalk/core/kis_scale_visitor.cc b/chalk/core/kis_scale_visitor.cpp similarity index 100% rename from chalk/core/kis_scale_visitor.cc rename to chalk/core/kis_scale_visitor.cpp diff --git a/chalk/core/kis_selected_transaction.cc b/chalk/core/kis_selected_transaction.cpp similarity index 100% rename from chalk/core/kis_selected_transaction.cc rename to chalk/core/kis_selected_transaction.cpp diff --git a/chalk/core/kis_selection.cc b/chalk/core/kis_selection.cpp similarity index 100% rename from chalk/core/kis_selection.cc rename to chalk/core/kis_selection.cpp diff --git a/chalk/core/kis_strategy_move.cc b/chalk/core/kis_strategy_move.cpp similarity index 100% rename from chalk/core/kis_strategy_move.cc rename to chalk/core/kis_strategy_move.cpp diff --git a/chalk/core/kis_thread_pool.cc b/chalk/core/kis_thread_pool.cpp similarity index 100% rename from chalk/core/kis_thread_pool.cc rename to chalk/core/kis_thread_pool.cpp diff --git a/chalk/core/kis_transaction.cc b/chalk/core/kis_transaction.cpp similarity index 100% rename from chalk/core/kis_transaction.cc rename to chalk/core/kis_transaction.cpp diff --git a/chalk/core/kis_transform_worker.cc b/chalk/core/kis_transform_worker.cpp similarity index 100% rename from chalk/core/kis_transform_worker.cc rename to chalk/core/kis_transform_worker.cpp diff --git a/chalk/core/kis_vec.cc b/chalk/core/kis_vec.cpp similarity index 97% rename from chalk/core/kis_vec.cc rename to chalk/core/kis_vec.cpp index fa54e1f90..9bd6ada9f 100644 --- a/chalk/core/kis_vec.cc +++ b/chalk/core/kis_vec.cpp @@ -1,5 +1,5 @@ /* - * kis_vec.cc - part of KImageShop + * kis_vec.cpp - part of KImageShop * * Copyright (c) 1999 Matthias Elter * diff --git a/chalk/core/tests/Makefile.am b/chalk/core/tests/Makefile.am index 973166855..9b78866a8 100644 --- a/chalk/core/tests/Makefile.am +++ b/chalk/core/tests/Makefile.am @@ -21,7 +21,7 @@ tdeunittest_kis_image_tester_la_LIBADD = -ltdeunittest ../../libchalkcommon.la tdeunittest_kis_image_tester_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries) -tdeunittest_kis_filter_configuration_tester_la_SOURCES = kis_filter_configuration_tester.cc +tdeunittest_kis_filter_configuration_tester_la_SOURCES = kis_filter_configuration_tester.cpp tdeunittest_kis_filter_configuration_tester_la_LIBADD = -ltdeunittest ../../libchalkcommon.la tdeunittest_kis_filter_configuration_tester_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries) diff --git a/chalk/core/tests/kis_filter_configuration_tester.cc b/chalk/core/tests/kis_filter_configuration_tester.cpp similarity index 100% rename from chalk/core/tests/kis_filter_configuration_tester.cc rename to chalk/core/tests/kis_filter_configuration_tester.cpp diff --git a/chalk/core/tiles/Makefile.am b/chalk/core/tiles/Makefile.am index 7fad1ab90..9ebe93ec2 100644 --- a/chalk/core/tiles/Makefile.am +++ b/chalk/core/tiles/Makefile.am @@ -12,9 +12,9 @@ INCLUDES = -I$(srcdir)/../ \ noinst_LTLIBRARIES = libchalktile.la -libchalktile_la_SOURCES = kis_tiledvlineiterator.cc kis_tiledhlineiterator.cc \ - kis_tileddatamanager.cc kis_tile.cc kis_tilediterator.cc kis_tiledrectiterator.cc \ - kis_memento.cc kis_tilemanager.cc kis_tiled_random_accessor.cc +libchalktile_la_SOURCES = kis_tiledvlineiterator.cpp kis_tiledhlineiterator.cpp \ + kis_tileddatamanager.cpp kis_tile.cpp kis_tilediterator.cpp kis_tiledrectiterator.cpp \ + kis_memento.cpp kis_tilemanager.cpp kis_tiled_random_accessor.cpp libchalktile_la_METASOURCES = AUTO diff --git a/chalk/core/tiles/kis_memento.cc b/chalk/core/tiles/kis_memento.cpp similarity index 100% rename from chalk/core/tiles/kis_memento.cc rename to chalk/core/tiles/kis_memento.cpp diff --git a/chalk/core/tiles/kis_tile.cc b/chalk/core/tiles/kis_tile.cpp similarity index 100% rename from chalk/core/tiles/kis_tile.cc rename to chalk/core/tiles/kis_tile.cpp diff --git a/chalk/core/tiles/kis_tiled_random_accessor.cc b/chalk/core/tiles/kis_tiled_random_accessor.cpp similarity index 100% rename from chalk/core/tiles/kis_tiled_random_accessor.cc rename to chalk/core/tiles/kis_tiled_random_accessor.cpp diff --git a/chalk/core/tiles/kis_tileddatamanager.cc b/chalk/core/tiles/kis_tileddatamanager.cpp similarity index 100% rename from chalk/core/tiles/kis_tileddatamanager.cc rename to chalk/core/tiles/kis_tileddatamanager.cpp diff --git a/chalk/core/tiles/kis_tiledhlineiterator.cc b/chalk/core/tiles/kis_tiledhlineiterator.cpp similarity index 100% rename from chalk/core/tiles/kis_tiledhlineiterator.cc rename to chalk/core/tiles/kis_tiledhlineiterator.cpp diff --git a/chalk/core/tiles/kis_tilediterator.cc b/chalk/core/tiles/kis_tilediterator.cpp similarity index 100% rename from chalk/core/tiles/kis_tilediterator.cc rename to chalk/core/tiles/kis_tilediterator.cpp diff --git a/chalk/core/tiles/kis_tiledrectiterator.cc b/chalk/core/tiles/kis_tiledrectiterator.cpp similarity index 100% rename from chalk/core/tiles/kis_tiledrectiterator.cc rename to chalk/core/tiles/kis_tiledrectiterator.cpp diff --git a/chalk/core/tiles/kis_tiledvlineiterator.cc b/chalk/core/tiles/kis_tiledvlineiterator.cpp similarity index 100% rename from chalk/core/tiles/kis_tiledvlineiterator.cc rename to chalk/core/tiles/kis_tiledvlineiterator.cpp diff --git a/chalk/core/tiles/kis_tilemanager.cc b/chalk/core/tiles/kis_tilemanager.cpp similarity index 100% rename from chalk/core/tiles/kis_tilemanager.cc rename to chalk/core/tiles/kis_tilemanager.cpp diff --git a/chalk/doc/DESIGN.obsolete b/chalk/doc/DESIGN.obsolete index a1b8e58d4..2f0d25ca6 100644 --- a/chalk/doc/DESIGN.obsolete +++ b/chalk/doc/DESIGN.obsolete @@ -169,7 +169,7 @@ Random head-scratchings - I take it that the two tests that are present in chalk/test are obsolete? - - what with the dummmmmy.cc? + - what with the dummmmmy.cpp? - which bits of the chalk/ui files are still relevant? diff --git a/chalk/doc/brush.txt b/chalk/doc/brush.txt index e2373258f..afadadc5b 100644 --- a/chalk/doc/brush.txt +++ b/chalk/doc/brush.txt @@ -4,7 +4,7 @@ Painting with brushes when I started working on Chalk, I felt I needed examples. I used the following sources: -* The old Chalk brush code (http://webcvs.kde.org/cgi-bin/cvsweb.cgi/koffice/chalk/tools/kis_tool_brush.cc?rev=1.58&content-type=text/x-cvsweb-markup) +* The old Chalk brush code (http://webcvs.kde.org/cgi-bin/cvsweb.cgi/koffice/chalk/tools/kis_tool_brush.cpp?rev=1.58&content-type=text/x-cvsweb-markup) * Peter Jodda's Perico (http://software.jodda.de/perico.html) * The source of the Gimp (both current and 0.99.11 -- the oldest version I could find) (http://www.gimp.org) * David Hodson's article on Gimp brushes (http://members.ozemail.com.au/~hodsond/gimpbrush.html) diff --git a/chalk/main.cc b/chalk/main.cpp similarity index 97% rename from chalk/main.cc rename to chalk/main.cpp index 592c1368f..6d6b1781f 100644 --- a/chalk/main.cc +++ b/chalk/main.cpp @@ -1,5 +1,5 @@ /* - * main.cc - part of KImageShop + * main.cpp - part of KImageShop * * Copyright (c) 1999 Matthias Elter * Copyright (c) 2002 Patrick Julien diff --git a/chalk/plugins/filters/blur/Makefile.am b/chalk/plugins/filters/blur/Makefile.am index d4de75452..53f86c330 100644 --- a/chalk/plugins/filters/blur/Makefile.am +++ b/chalk/plugins/filters/blur/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkblurfilter_la_SOURCES = wdgblur.ui blur.cc kis_blur_filter.cc kis_wdg_blur.cc +chalkblurfilter_la_SOURCES = wdgblur.ui blur.cpp kis_blur_filter.cpp kis_wdg_blur.cpp kde_module_LTLIBRARIES = chalkblurfilter.la noinst_HEADERS = blur.h kis_blur_filter.h diff --git a/chalk/plugins/filters/blur/blur.cc b/chalk/plugins/filters/blur/blur.cpp similarity index 100% rename from chalk/plugins/filters/blur/blur.cc rename to chalk/plugins/filters/blur/blur.cpp diff --git a/chalk/plugins/filters/blur/kis_blur_filter.cc b/chalk/plugins/filters/blur/kis_blur_filter.cpp similarity index 100% rename from chalk/plugins/filters/blur/kis_blur_filter.cc rename to chalk/plugins/filters/blur/kis_blur_filter.cpp diff --git a/chalk/plugins/filters/blur/kis_wdg_blur.cc b/chalk/plugins/filters/blur/kis_wdg_blur.cpp similarity index 100% rename from chalk/plugins/filters/blur/kis_wdg_blur.cc rename to chalk/plugins/filters/blur/kis_wdg_blur.cpp diff --git a/chalk/plugins/filters/bumpmap/Makefile.am b/chalk/plugins/filters/bumpmap/Makefile.am index 2b208b33e..9f003aa3e 100644 --- a/chalk/plugins/filters/bumpmap/Makefile.am +++ b/chalk/plugins/filters/bumpmap/Makefile.am @@ -7,7 +7,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ -I$(srcdir)/../../../../lib/kofficecore \ $(all_includes) -chalkbumpmap_la_SOURCES = bumpmap.cc wdgbumpmap.ui +chalkbumpmap_la_SOURCES = bumpmap.cpp wdgbumpmap.ui kde_module_LTLIBRARIES = chalkbumpmap.la noinst_HEADERS = bumpmap.h diff --git a/chalk/plugins/filters/bumpmap/bumpmap.cc b/chalk/plugins/filters/bumpmap/bumpmap.cpp similarity index 100% rename from chalk/plugins/filters/bumpmap/bumpmap.cc rename to chalk/plugins/filters/bumpmap/bumpmap.cpp diff --git a/chalk/plugins/filters/cimg/Makefile.am b/chalk/plugins/filters/cimg/Makefile.am index 4a180a28d..d82def816 100644 --- a/chalk/plugins/filters/cimg/Makefile.am +++ b/chalk/plugins/filters/cimg/Makefile.am @@ -12,9 +12,9 @@ INCLUDES = -I$(srcdir)/../../../sdk \ chalkcimg_la_SOURCES = \ wdg_cimg.ui\ - kis_cimg_filter.cc\ - kis_cimg_plugin.cc\ - kis_cimgconfig_widget.cc + kis_cimg_filter.cpp\ + kis_cimg_plugin.cpp\ + kis_cimgconfig_widget.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalkcimg.la diff --git a/chalk/plugins/filters/cimg/kis_cimg_filter.cc b/chalk/plugins/filters/cimg/kis_cimg_filter.cpp similarity index 100% rename from chalk/plugins/filters/cimg/kis_cimg_filter.cc rename to chalk/plugins/filters/cimg/kis_cimg_filter.cpp diff --git a/chalk/plugins/filters/cimg/kis_cimg_plugin.cc b/chalk/plugins/filters/cimg/kis_cimg_plugin.cpp similarity index 100% rename from chalk/plugins/filters/cimg/kis_cimg_plugin.cc rename to chalk/plugins/filters/cimg/kis_cimg_plugin.cpp diff --git a/chalk/plugins/filters/cimg/kis_cimgconfig_widget.cc b/chalk/plugins/filters/cimg/kis_cimgconfig_widget.cpp similarity index 100% rename from chalk/plugins/filters/cimg/kis_cimgconfig_widget.cc rename to chalk/plugins/filters/cimg/kis_cimgconfig_widget.cpp diff --git a/chalk/plugins/filters/colors/Makefile.am b/chalk/plugins/filters/colors/Makefile.am index 293806496..8f54c2ed7 100644 --- a/chalk/plugins/filters/colors/Makefile.am +++ b/chalk/plugins/filters/colors/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkextensioncolorsfilters_la_SOURCES = colors.cc kis_minmax_filters.cc kis_color_to_alpha.cc wdgcolortoalphabase.ui kis_wdg_color_to_alpha.cc +chalkextensioncolorsfilters_la_SOURCES = colors.cpp kis_minmax_filters.cpp kis_color_to_alpha.cpp wdgcolortoalphabase.ui kis_wdg_color_to_alpha.cpp kde_module_LTLIBRARIES = chalkextensioncolorsfilters.la noinst_HEADERS = colors.h diff --git a/chalk/plugins/filters/colors/colors.cc b/chalk/plugins/filters/colors/colors.cpp similarity index 100% rename from chalk/plugins/filters/colors/colors.cc rename to chalk/plugins/filters/colors/colors.cpp diff --git a/chalk/plugins/filters/colors/kis_color_to_alpha.cc b/chalk/plugins/filters/colors/kis_color_to_alpha.cpp similarity index 100% rename from chalk/plugins/filters/colors/kis_color_to_alpha.cc rename to chalk/plugins/filters/colors/kis_color_to_alpha.cpp diff --git a/chalk/plugins/filters/colors/kis_minmax_filters.cc b/chalk/plugins/filters/colors/kis_minmax_filters.cpp similarity index 100% rename from chalk/plugins/filters/colors/kis_minmax_filters.cc rename to chalk/plugins/filters/colors/kis_minmax_filters.cpp diff --git a/chalk/plugins/filters/colors/kis_wdg_color_to_alpha.cc b/chalk/plugins/filters/colors/kis_wdg_color_to_alpha.cpp similarity index 100% rename from chalk/plugins/filters/colors/kis_wdg_color_to_alpha.cc rename to chalk/plugins/filters/colors/kis_wdg_color_to_alpha.cpp diff --git a/chalk/plugins/filters/colorsfilters/Makefile.am b/chalk/plugins/filters/colorsfilters/Makefile.am index 8e0be13e1..e7459d7d1 100644 --- a/chalk/plugins/filters/colorsfilters/Makefile.am +++ b/chalk/plugins/filters/colorsfilters/Makefile.am @@ -7,11 +7,11 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkcolorsfilters_la_SOURCES = colorsfilters.cc \ - kis_perchannel_filter.cc \ +chalkcolorsfilters_la_SOURCES = colorsfilters.cpp \ + kis_perchannel_filter.cpp \ wdg_perchannel.ui \ wdg_brightness_contrast.ui \ - kis_brightness_contrast_filter.cc + kis_brightness_contrast_filter.cpp noinst_HEADERS = colorsfilters.h \ kis_perchannel_filter.h \ diff --git a/chalk/plugins/filters/colorsfilters/colorsfilters.cc b/chalk/plugins/filters/colorsfilters/colorsfilters.cpp similarity index 100% rename from chalk/plugins/filters/colorsfilters/colorsfilters.cc rename to chalk/plugins/filters/colorsfilters/colorsfilters.cpp diff --git a/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc b/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cpp similarity index 100% rename from chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc rename to chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cpp diff --git a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp similarity index 100% rename from chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc rename to chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp diff --git a/chalk/plugins/filters/convolutionfilters/Makefile.am b/chalk/plugins/filters/convolutionfilters/Makefile.am index 6e4242f26..cd4582e94 100644 --- a/chalk/plugins/filters/convolutionfilters/Makefile.am +++ b/chalk/plugins/filters/convolutionfilters/Makefile.am @@ -12,10 +12,10 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalkconvolutionfilters.la chalkconvolutionfilters_la_SOURCES = kis_custom_convolution_filter_configuration_base_widget.ui \ - kis_custom_convolution_filter_configuration_widget.cc \ - kis_custom_convolution_filter.cc \ - convolutionfilters.cc \ - kis_convolution_filter.cc + kis_custom_convolution_filter_configuration_widget.cpp \ + kis_custom_convolution_filter.cpp \ + convolutionfilters.cpp \ + kis_convolution_filter.cpp noinst_HEADERS = convolutionfilters.h \ kis_custom_convolution_filter_configuration_widget.h \ diff --git a/chalk/plugins/filters/convolutionfilters/convolutionfilters.cc b/chalk/plugins/filters/convolutionfilters/convolutionfilters.cpp similarity index 100% rename from chalk/plugins/filters/convolutionfilters/convolutionfilters.cc rename to chalk/plugins/filters/convolutionfilters/convolutionfilters.cpp diff --git a/chalk/plugins/filters/convolutionfilters/kis_convolution_filter.cc b/chalk/plugins/filters/convolutionfilters/kis_convolution_filter.cpp similarity index 100% rename from chalk/plugins/filters/convolutionfilters/kis_convolution_filter.cc rename to chalk/plugins/filters/convolutionfilters/kis_convolution_filter.cpp diff --git a/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cc b/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cpp similarity index 100% rename from chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cc rename to chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cpp diff --git a/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cc b/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cpp similarity index 100% rename from chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cc rename to chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cpp diff --git a/chalk/plugins/filters/cubismfilter/Makefile.am b/chalk/plugins/filters/cubismfilter/Makefile.am index e281360ed..a26a8e806 100644 --- a/chalk/plugins/filters/cubismfilter/Makefile.am +++ b/chalk/plugins/filters/cubismfilter/Makefile.am @@ -10,9 +10,9 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalkcubismfilter.la -chalkcubismfilter_la_SOURCES = kis_cubism_filter_plugin.cc \ - kis_cubism_filter.cc \ - kis_polygon.cc +chalkcubismfilter_la_SOURCES = kis_cubism_filter_plugin.cpp \ + kis_cubism_filter.cpp \ + kis_polygon.cpp noinst_HEADERS = kis_cubism_filter_plugin.h \ kis_cubism_filter.h \ diff --git a/chalk/plugins/filters/cubismfilter/kis_cubism_filter.cc b/chalk/plugins/filters/cubismfilter/kis_cubism_filter.cpp similarity index 100% rename from chalk/plugins/filters/cubismfilter/kis_cubism_filter.cc rename to chalk/plugins/filters/cubismfilter/kis_cubism_filter.cpp diff --git a/chalk/plugins/filters/cubismfilter/kis_cubism_filter_plugin.cc b/chalk/plugins/filters/cubismfilter/kis_cubism_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/cubismfilter/kis_cubism_filter_plugin.cc rename to chalk/plugins/filters/cubismfilter/kis_cubism_filter_plugin.cpp diff --git a/chalk/plugins/filters/cubismfilter/kis_polygon.cc b/chalk/plugins/filters/cubismfilter/kis_polygon.cpp similarity index 100% rename from chalk/plugins/filters/cubismfilter/kis_polygon.cc rename to chalk/plugins/filters/cubismfilter/kis_polygon.cpp diff --git a/chalk/plugins/filters/embossfilter/Makefile.am b/chalk/plugins/filters/embossfilter/Makefile.am index 8bb9cdeb1..69b5cb613 100644 --- a/chalk/plugins/filters/embossfilter/Makefile.am +++ b/chalk/plugins/filters/embossfilter/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalkembossfilter.la -chalkembossfilter_la_SOURCES = kis_emboss_filter_plugin.cc \ - kis_emboss_filter.cc +chalkembossfilter_la_SOURCES = kis_emboss_filter_plugin.cpp \ + kis_emboss_filter.cpp noinst_HEADERS = kis_emboss_filter_plugin.h \ kis_emboss_filter.h diff --git a/chalk/plugins/filters/embossfilter/kis_emboss_filter.cc b/chalk/plugins/filters/embossfilter/kis_emboss_filter.cpp similarity index 100% rename from chalk/plugins/filters/embossfilter/kis_emboss_filter.cc rename to chalk/plugins/filters/embossfilter/kis_emboss_filter.cpp diff --git a/chalk/plugins/filters/embossfilter/kis_emboss_filter_plugin.cc b/chalk/plugins/filters/embossfilter/kis_emboss_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/embossfilter/kis_emboss_filter_plugin.cc rename to chalk/plugins/filters/embossfilter/kis_emboss_filter_plugin.cpp diff --git a/chalk/plugins/filters/example/Makefile.am b/chalk/plugins/filters/example/Makefile.am index fcb56751d..c39558f79 100644 --- a/chalk/plugins/filters/example/Makefile.am +++ b/chalk/plugins/filters/example/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkexample_la_SOURCES = example.cc +chalkexample_la_SOURCES = example.cpp kde_module_LTLIBRARIES = chalkexample.la noinst_HEADERS = example.h diff --git a/chalk/plugins/filters/example/example.cc b/chalk/plugins/filters/example/example.cpp similarity index 100% rename from chalk/plugins/filters/example/example.cc rename to chalk/plugins/filters/example/example.cpp diff --git a/chalk/plugins/filters/fastcolortransfer/Makefile.am b/chalk/plugins/filters/fastcolortransfer/Makefile.am index e923ce229..e9a171840 100644 --- a/chalk/plugins/filters/fastcolortransfer/Makefile.am +++ b/chalk/plugins/filters/fastcolortransfer/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkfastcolortransfer_la_SOURCES = wdgfastcolortransfer.ui fastcolortransfer.cc \ +chalkfastcolortransfer_la_SOURCES = wdgfastcolortransfer.ui fastcolortransfer.cpp \ kis_wdg_fastcolortransfer.cpp kde_module_LTLIBRARIES = chalkfastcolortransfer.la diff --git a/chalk/plugins/filters/fastcolortransfer/fastcolortransfer.cc b/chalk/plugins/filters/fastcolortransfer/fastcolortransfer.cpp similarity index 100% rename from chalk/plugins/filters/fastcolortransfer/fastcolortransfer.cc rename to chalk/plugins/filters/fastcolortransfer/fastcolortransfer.cpp diff --git a/chalk/plugins/filters/lenscorrectionfilter/Makefile.am b/chalk/plugins/filters/lenscorrectionfilter/Makefile.am index a0e2e5b48..e36e7d001 100644 --- a/chalk/plugins/filters/lenscorrectionfilter/Makefile.am +++ b/chalk/plugins/filters/lenscorrectionfilter/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalklenscorrectionfilter_la_SOURCES = lenscorrectionfilter.cc \ +chalklenscorrectionfilter_la_SOURCES = lenscorrectionfilter.cpp \ wdglenscorrectionoptions.ui kis_wdg_lens_correction.cpp kde_module_LTLIBRARIES = chalklenscorrectionfilter.la diff --git a/chalk/plugins/filters/lenscorrectionfilter/lenscorrectionfilter.cc b/chalk/plugins/filters/lenscorrectionfilter/lenscorrectionfilter.cpp similarity index 100% rename from chalk/plugins/filters/lenscorrectionfilter/lenscorrectionfilter.cc rename to chalk/plugins/filters/lenscorrectionfilter/lenscorrectionfilter.cpp diff --git a/chalk/plugins/filters/levelfilter/Makefile.am b/chalk/plugins/filters/levelfilter/Makefile.am index 7dc49964c..897779e1b 100644 --- a/chalk/plugins/filters/levelfilter/Makefile.am +++ b/chalk/plugins/filters/levelfilter/Makefile.am @@ -7,10 +7,10 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalklevelfilter_la_SOURCES = levelfilter.cc \ +chalklevelfilter_la_SOURCES = levelfilter.cpp \ wdg_level.ui \ - kis_level_filter.cc \ - kgradientslider.cc + kis_level_filter.cpp \ + kgradientslider.cpp noinst_HEADERS = levelfilter.h \ kis_level_filter.h \ diff --git a/chalk/plugins/filters/levelfilter/kgradientslider.cc b/chalk/plugins/filters/levelfilter/kgradientslider.cpp similarity index 100% rename from chalk/plugins/filters/levelfilter/kgradientslider.cc rename to chalk/plugins/filters/levelfilter/kgradientslider.cpp diff --git a/chalk/plugins/filters/levelfilter/kis_level_filter.cc b/chalk/plugins/filters/levelfilter/kis_level_filter.cpp similarity index 100% rename from chalk/plugins/filters/levelfilter/kis_level_filter.cc rename to chalk/plugins/filters/levelfilter/kis_level_filter.cpp diff --git a/chalk/plugins/filters/levelfilter/levelfilter.cc b/chalk/plugins/filters/levelfilter/levelfilter.cpp similarity index 100% rename from chalk/plugins/filters/levelfilter/levelfilter.cc rename to chalk/plugins/filters/levelfilter/levelfilter.cpp diff --git a/chalk/plugins/filters/noisefilter/Makefile.am b/chalk/plugins/filters/noisefilter/Makefile.am index 8c06406f7..119039f0b 100644 --- a/chalk/plugins/filters/noisefilter/Makefile.am +++ b/chalk/plugins/filters/noisefilter/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalknoisefilter_la_SOURCES = noisefilter.cc wdgnoiseoptions.ui \ +chalknoisefilter_la_SOURCES = noisefilter.cpp wdgnoiseoptions.ui \ kis_wdg_noise.cpp kde_module_LTLIBRARIES = chalknoisefilter.la diff --git a/chalk/plugins/filters/noisefilter/noisefilter.cc b/chalk/plugins/filters/noisefilter/noisefilter.cpp similarity index 100% rename from chalk/plugins/filters/noisefilter/noisefilter.cc rename to chalk/plugins/filters/noisefilter/noisefilter.cpp diff --git a/chalk/plugins/filters/oilpaintfilter/Makefile.am b/chalk/plugins/filters/oilpaintfilter/Makefile.am index 032fc2f3d..6332d7baa 100644 --- a/chalk/plugins/filters/oilpaintfilter/Makefile.am +++ b/chalk/plugins/filters/oilpaintfilter/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalkoilpaintfilter.la -chalkoilpaintfilter_la_SOURCES = kis_oilpaint_filter_plugin.cc \ - kis_oilpaint_filter.cc +chalkoilpaintfilter_la_SOURCES = kis_oilpaint_filter_plugin.cpp \ + kis_oilpaint_filter.cpp noinst_HEADERS = kis_oilpaint_filter_plugin.h \ kis_oilpaint_filter.h diff --git a/chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter.cc b/chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter.cpp similarity index 100% rename from chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter.cc rename to chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter.cpp diff --git a/chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter_plugin.cc b/chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter_plugin.cc rename to chalk/plugins/filters/oilpaintfilter/kis_oilpaint_filter_plugin.cpp diff --git a/chalk/plugins/filters/pixelizefilter/Makefile.am b/chalk/plugins/filters/pixelizefilter/Makefile.am index 750941e1f..20f7bc4ae 100644 --- a/chalk/plugins/filters/pixelizefilter/Makefile.am +++ b/chalk/plugins/filters/pixelizefilter/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalkpixelizefilter.la -chalkpixelizefilter_la_SOURCES = kis_pixelize_filter_plugin.cc \ - kis_pixelize_filter.cc +chalkpixelizefilter_la_SOURCES = kis_pixelize_filter_plugin.cpp \ + kis_pixelize_filter.cpp noinst_HEADERS = kis_pixelize_filter_plugin.h \ kis_pixelize_filter.h diff --git a/chalk/plugins/filters/pixelizefilter/kis_pixelize_filter.cc b/chalk/plugins/filters/pixelizefilter/kis_pixelize_filter.cpp similarity index 100% rename from chalk/plugins/filters/pixelizefilter/kis_pixelize_filter.cc rename to chalk/plugins/filters/pixelizefilter/kis_pixelize_filter.cpp diff --git a/chalk/plugins/filters/pixelizefilter/kis_pixelize_filter_plugin.cc b/chalk/plugins/filters/pixelizefilter/kis_pixelize_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/pixelizefilter/kis_pixelize_filter_plugin.cc rename to chalk/plugins/filters/pixelizefilter/kis_pixelize_filter_plugin.cpp diff --git a/chalk/plugins/filters/raindropsfilter/Makefile.am b/chalk/plugins/filters/raindropsfilter/Makefile.am index 10f44c436..e6a1d4683 100644 --- a/chalk/plugins/filters/raindropsfilter/Makefile.am +++ b/chalk/plugins/filters/raindropsfilter/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalkraindropsfilter.la -chalkraindropsfilter_la_SOURCES = kis_raindrops_filter_plugin.cc \ - kis_raindrops_filter.cc +chalkraindropsfilter_la_SOURCES = kis_raindrops_filter_plugin.cpp \ + kis_raindrops_filter.cpp noinst_HEADERS = kis_raindrops_filter_plugin.h \ kis_raindrops_filter.h diff --git a/chalk/plugins/filters/raindropsfilter/kis_raindrops_filter.cc b/chalk/plugins/filters/raindropsfilter/kis_raindrops_filter.cpp similarity index 100% rename from chalk/plugins/filters/raindropsfilter/kis_raindrops_filter.cc rename to chalk/plugins/filters/raindropsfilter/kis_raindrops_filter.cpp diff --git a/chalk/plugins/filters/raindropsfilter/kis_raindrops_filter_plugin.cc b/chalk/plugins/filters/raindropsfilter/kis_raindrops_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/raindropsfilter/kis_raindrops_filter_plugin.cc rename to chalk/plugins/filters/raindropsfilter/kis_raindrops_filter_plugin.cpp diff --git a/chalk/plugins/filters/randompickfilter/Makefile.am b/chalk/plugins/filters/randompickfilter/Makefile.am index 65e910ff9..3be553f2a 100644 --- a/chalk/plugins/filters/randompickfilter/Makefile.am +++ b/chalk/plugins/filters/randompickfilter/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkrandompickfilter_la_SOURCES = randompickfilter.cc wdgrandompickoptions.ui \ +chalkrandompickfilter_la_SOURCES = randompickfilter.cpp wdgrandompickoptions.ui \ kis_wdg_random_pick.cpp kde_module_LTLIBRARIES = chalkrandompickfilter.la diff --git a/chalk/plugins/filters/randompickfilter/randompickfilter.cc b/chalk/plugins/filters/randompickfilter/randompickfilter.cpp similarity index 100% rename from chalk/plugins/filters/randompickfilter/randompickfilter.cc rename to chalk/plugins/filters/randompickfilter/randompickfilter.cpp diff --git a/chalk/plugins/filters/roundcorners/Makefile.am b/chalk/plugins/filters/roundcorners/Makefile.am index 05f2e0554..59655c047 100644 --- a/chalk/plugins/filters/roundcorners/Makefile.am +++ b/chalk/plugins/filters/roundcorners/Makefile.am @@ -10,8 +10,8 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalkroundcornersfilter.la -chalkroundcornersfilter_la_SOURCES = kis_round_corners_filter_plugin.cc \ - kis_round_corners_filter.cc +chalkroundcornersfilter_la_SOURCES = kis_round_corners_filter_plugin.cpp \ + kis_round_corners_filter.cpp noinst_HEADERS = kis_round_corners_filter_plugin.h \ kis_round_corners_filter.h diff --git a/chalk/plugins/filters/roundcorners/kis_round_corners_filter.cc b/chalk/plugins/filters/roundcorners/kis_round_corners_filter.cpp similarity index 100% rename from chalk/plugins/filters/roundcorners/kis_round_corners_filter.cc rename to chalk/plugins/filters/roundcorners/kis_round_corners_filter.cpp diff --git a/chalk/plugins/filters/roundcorners/kis_round_corners_filter_plugin.cc b/chalk/plugins/filters/roundcorners/kis_round_corners_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/roundcorners/kis_round_corners_filter_plugin.cc rename to chalk/plugins/filters/roundcorners/kis_round_corners_filter_plugin.cpp diff --git a/chalk/plugins/filters/smalltilesfilter/Makefile.am b/chalk/plugins/filters/smalltilesfilter/Makefile.am index 5705eae94..da7181494 100644 --- a/chalk/plugins/filters/smalltilesfilter/Makefile.am +++ b/chalk/plugins/filters/smalltilesfilter/Makefile.am @@ -10,8 +10,8 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalksmalltilesfilter.la -chalksmalltilesfilter_la_SOURCES = kis_small_tiles_filter_plugin.cc \ - kis_small_tiles_filter.cc +chalksmalltilesfilter_la_SOURCES = kis_small_tiles_filter_plugin.cpp \ + kis_small_tiles_filter.cpp noinst_HEADERS = kis_small_tiles_filter_plugin.h \ kis_small_tiles_filter.h diff --git a/chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter.cc b/chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter.cpp similarity index 100% rename from chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter.cc rename to chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter.cpp diff --git a/chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter_plugin.cc b/chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter_plugin.cc rename to chalk/plugins/filters/smalltilesfilter/kis_small_tiles_filter_plugin.cpp diff --git a/chalk/plugins/filters/sobelfilter/Makefile.am b/chalk/plugins/filters/sobelfilter/Makefile.am index 38893ad43..4a8e4151d 100644 --- a/chalk/plugins/filters/sobelfilter/Makefile.am +++ b/chalk/plugins/filters/sobelfilter/Makefile.am @@ -10,8 +10,8 @@ INCLUDES = \ kde_module_LTLIBRARIES = chalksobelfilter.la -chalksobelfilter_la_SOURCES = kis_sobel_filter_plugin.cc \ - kis_sobel_filter.cc +chalksobelfilter_la_SOURCES = kis_sobel_filter_plugin.cpp \ + kis_sobel_filter.cpp noinst_HEADERS = kis_sobel_filter_plugin.h \ kis_sobel_filter.h diff --git a/chalk/plugins/filters/sobelfilter/kis_sobel_filter.cc b/chalk/plugins/filters/sobelfilter/kis_sobel_filter.cpp similarity index 100% rename from chalk/plugins/filters/sobelfilter/kis_sobel_filter.cc rename to chalk/plugins/filters/sobelfilter/kis_sobel_filter.cpp diff --git a/chalk/plugins/filters/sobelfilter/kis_sobel_filter_plugin.cc b/chalk/plugins/filters/sobelfilter/kis_sobel_filter_plugin.cpp similarity index 100% rename from chalk/plugins/filters/sobelfilter/kis_sobel_filter_plugin.cc rename to chalk/plugins/filters/sobelfilter/kis_sobel_filter_plugin.cpp diff --git a/chalk/plugins/filters/threadtest/Makefile.am b/chalk/plugins/filters/threadtest/Makefile.am index 7846c3c0e..e1a7c2675 100644 --- a/chalk/plugins/filters/threadtest/Makefile.am +++ b/chalk/plugins/filters/threadtest/Makefile.am @@ -7,7 +7,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ -I$(srcdir)/../../../../lib/kofficecore \ $(all_includes) -chalkthreadtest_la_SOURCES = threadtest.cc +chalkthreadtest_la_SOURCES = threadtest.cpp kde_module_LTLIBRARIES = chalkthreadtest.la noinst_HEADERS = threadtest.h diff --git a/chalk/plugins/filters/threadtest/threadtest.cc b/chalk/plugins/filters/threadtest/threadtest.cpp similarity index 100% rename from chalk/plugins/filters/threadtest/threadtest.cc rename to chalk/plugins/filters/threadtest/threadtest.cpp diff --git a/chalk/plugins/filters/unsharp/Makefile.am b/chalk/plugins/filters/unsharp/Makefile.am index e955e3bcb..a831dbbdb 100644 --- a/chalk/plugins/filters/unsharp/Makefile.am +++ b/chalk/plugins/filters/unsharp/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkunsharpfilter_la_SOURCES = wdgunsharp.ui kis_wdg_unsharp.cc unsharp.cc kis_unsharp_filter.cc +chalkunsharpfilter_la_SOURCES = wdgunsharp.ui kis_wdg_unsharp.cpp unsharp.cpp kis_unsharp_filter.cpp kde_module_LTLIBRARIES = chalkunsharpfilter.la diff --git a/chalk/plugins/filters/unsharp/kis_unsharp_filter.cc b/chalk/plugins/filters/unsharp/kis_unsharp_filter.cpp similarity index 100% rename from chalk/plugins/filters/unsharp/kis_unsharp_filter.cc rename to chalk/plugins/filters/unsharp/kis_unsharp_filter.cpp diff --git a/chalk/plugins/filters/unsharp/kis_wdg_unsharp.cc b/chalk/plugins/filters/unsharp/kis_wdg_unsharp.cpp similarity index 100% rename from chalk/plugins/filters/unsharp/kis_wdg_unsharp.cc rename to chalk/plugins/filters/unsharp/kis_wdg_unsharp.cpp diff --git a/chalk/plugins/filters/unsharp/unsharp.cc b/chalk/plugins/filters/unsharp/unsharp.cpp similarity index 100% rename from chalk/plugins/filters/unsharp/unsharp.cc rename to chalk/plugins/filters/unsharp/unsharp.cpp diff --git a/chalk/plugins/filters/wavefilter/Makefile.am b/chalk/plugins/filters/wavefilter/Makefile.am index 3425e7698..a6b300518 100644 --- a/chalk/plugins/filters/wavefilter/Makefile.am +++ b/chalk/plugins/filters/wavefilter/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkwavefilter_la_SOURCES = wavefilter.cc wdgwaveoptions.ui \ +chalkwavefilter_la_SOURCES = wavefilter.cpp wdgwaveoptions.ui \ kis_wdg_wave.cpp kde_module_LTLIBRARIES = chalkwavefilter.la diff --git a/chalk/plugins/filters/wavefilter/wavefilter.cc b/chalk/plugins/filters/wavefilter/wavefilter.cpp similarity index 100% rename from chalk/plugins/filters/wavefilter/wavefilter.cc rename to chalk/plugins/filters/wavefilter/wavefilter.cpp diff --git a/chalk/plugins/paintops/defaultpaintops/Makefile.am b/chalk/plugins/paintops/defaultpaintops/Makefile.am index 31acf6e0e..84e2a4088 100644 --- a/chalk/plugins/paintops/defaultpaintops/Makefile.am +++ b/chalk/plugins/paintops/defaultpaintops/Makefile.am @@ -18,14 +18,14 @@ INCLUDES = -I$(srcdir)/../../../sdk \ chalkdefaultpaintops_la_SOURCES = \ - defaultpaintops_plugin.cc \ - kis_airbrushop.cc \ - kis_brushop.cc \ - kis_duplicateop.cc \ - kis_eraseop.cc \ - kis_penop.cc \ + defaultpaintops_plugin.cpp \ + kis_airbrushop.cpp \ + kis_brushop.cpp \ + kis_duplicateop.cpp \ + kis_eraseop.cpp \ + kis_penop.cpp \ kis_dlgbrushcurvecontrol.ui \ - kis_smudgeop.cc + kis_smudgeop.cpp noinst_HEADERS = defaultpaintops_plugin.h kis_airbrushop.h kis_brushop.h \ kis_duplicateop.h kis_eraseop.h kis_penop.h kis_smudgeop.h diff --git a/chalk/plugins/paintops/defaultpaintops/defaultpaintops_plugin.cc b/chalk/plugins/paintops/defaultpaintops/defaultpaintops_plugin.cpp similarity index 98% rename from chalk/plugins/paintops/defaultpaintops/defaultpaintops_plugin.cc rename to chalk/plugins/paintops/defaultpaintops/defaultpaintops_plugin.cpp index 25f12b87b..6e1d3f754 100644 --- a/chalk/plugins/paintops/defaultpaintops/defaultpaintops_plugin.cc +++ b/chalk/plugins/paintops/defaultpaintops/defaultpaintops_plugin.cpp @@ -1,5 +1,5 @@ /* - * defaultpaintops_plugin.cc -- Part of Chalk + * defaultpaintops_plugin.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cc b/chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cpp similarity index 100% rename from chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cc rename to chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cpp diff --git a/chalk/plugins/paintops/defaultpaintops/kis_brushop.cc b/chalk/plugins/paintops/defaultpaintops/kis_brushop.cpp similarity index 100% rename from chalk/plugins/paintops/defaultpaintops/kis_brushop.cc rename to chalk/plugins/paintops/defaultpaintops/kis_brushop.cpp diff --git a/chalk/plugins/paintops/defaultpaintops/kis_convolveop.cc b/chalk/plugins/paintops/defaultpaintops/kis_convolveop.cpp similarity index 100% rename from chalk/plugins/paintops/defaultpaintops/kis_convolveop.cc rename to chalk/plugins/paintops/defaultpaintops/kis_convolveop.cpp diff --git a/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc b/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cpp similarity index 100% rename from chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc rename to chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cpp diff --git a/chalk/plugins/paintops/defaultpaintops/kis_eraseop.cc b/chalk/plugins/paintops/defaultpaintops/kis_eraseop.cpp similarity index 100% rename from chalk/plugins/paintops/defaultpaintops/kis_eraseop.cc rename to chalk/plugins/paintops/defaultpaintops/kis_eraseop.cpp diff --git a/chalk/plugins/paintops/defaultpaintops/kis_penop.cc b/chalk/plugins/paintops/defaultpaintops/kis_penop.cpp similarity index 100% rename from chalk/plugins/paintops/defaultpaintops/kis_penop.cc rename to chalk/plugins/paintops/defaultpaintops/kis_penop.cpp diff --git a/chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cc b/chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cpp similarity index 100% rename from chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cc rename to chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cpp diff --git a/chalk/plugins/tools/defaulttools/Makefile.am b/chalk/plugins/tools/defaulttools/Makefile.am index c4d790cb5..ad9e96a5b 100644 --- a/chalk/plugins/tools/defaulttools/Makefile.am +++ b/chalk/plugins/tools/defaulttools/Makefile.am @@ -10,19 +10,19 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalkdefaulttools_la_SOURCES = \ - default_tools.cc \ - kis_tool_colorpicker.cc \ - kis_tool_move.cc \ - kis_tool_zoom.cc \ - kis_tool_brush.cc \ - kis_tool_line.cc \ - kis_tool_duplicate.cc \ - kis_tool_fill.cc \ - kis_tool_rectangle.cc \ - kis_tool_ellipse.cc \ - kis_tool_pan.cc \ - kis_tool_text.cc \ - kis_tool_gradient.cc \ + default_tools.cpp \ + kis_tool_colorpicker.cpp \ + kis_tool_move.cpp \ + kis_tool_zoom.cpp \ + kis_tool_brush.cpp \ + kis_tool_line.cpp \ + kis_tool_duplicate.cpp \ + kis_tool_fill.cpp \ + kis_tool_rectangle.cpp \ + kis_tool_ellipse.cpp \ + kis_tool_pan.cpp \ + kis_tool_text.cpp \ + kis_tool_gradient.cpp \ wdgcolorpicker.ui # Install this plugin in the KDE modules directory diff --git a/chalk/plugins/tools/defaulttools/default_tools.cc b/chalk/plugins/tools/defaulttools/default_tools.cpp similarity index 98% rename from chalk/plugins/tools/defaulttools/default_tools.cc rename to chalk/plugins/tools/defaulttools/default_tools.cpp index 17e0feff0..6f1bedbbf 100644 --- a/chalk/plugins/tools/defaulttools/default_tools.cc +++ b/chalk/plugins/tools/defaulttools/default_tools.cpp @@ -1,5 +1,5 @@ /* - * default_tools.cc -- Part of Chalk + * default_tools.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc b/chalk/plugins/tools/defaulttools/kis_tool_brush.cpp similarity index 99% rename from chalk/plugins/tools/defaulttools/kis_tool_brush.cc rename to chalk/plugins/tools/defaulttools/kis_tool_brush.cpp index 7c83a36b0..96e262022 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_brush.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_brush.cc - part of Chalk + * kis_tool_brush.cpp - part of Chalk * * Copyright (c) 2003-2004 Boudewijn Rempt * diff --git a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cc b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cpp similarity index 100% rename from chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cc rename to chalk/plugins/tools/defaulttools/kis_tool_colorpicker.cpp diff --git a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cc b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp similarity index 99% rename from chalk/plugins/tools/defaulttools/kis_tool_duplicate.cc rename to chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp index 7bb4c54fd..0f917e7f7 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_duplicate.cc - part of Chalk + * kis_tool_duplicate.cpp - part of Chalk * * Copyright (c) 2004 Cyrille Berger * diff --git a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cc b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp similarity index 99% rename from chalk/plugins/tools/defaulttools/kis_tool_ellipse.cc rename to chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp index 919454b26..0488dcb05 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_ellipse.cc - part of Krayon + * kis_tool_ellipse.cpp - part of Krayon * * Copyright (c) 2000 John Califf * Copyright (c) 2002 Patrick Julien diff --git a/chalk/plugins/tools/defaulttools/kis_tool_fill.cc b/chalk/plugins/tools/defaulttools/kis_tool_fill.cpp similarity index 99% rename from chalk/plugins/tools/defaulttools/kis_tool_fill.cc rename to chalk/plugins/tools/defaulttools/kis_tool_fill.cpp index df8e4f7c5..ceb78f06b 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_fill.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_fill.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_fill.cc - part of Krayon + * kis_tool_fill.cpp - part of Krayon * * Copyright (c) 2000 John Califf * Copyright (c) 2004 Boudewijn Rempt diff --git a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp similarity index 99% rename from chalk/plugins/tools/defaulttools/kis_tool_gradient.cc rename to chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp index a46fee808..b8f72a3bb 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_gradient.cc - part of Chalk + * kis_tool_gradient.cpp - part of Chalk * * Copyright (c) 2000 John Califf * Copyright (c) 2002 Patrick Julien diff --git a/chalk/plugins/tools/defaulttools/kis_tool_line.cc b/chalk/plugins/tools/defaulttools/kis_tool_line.cpp similarity index 99% rename from chalk/plugins/tools/defaulttools/kis_tool_line.cc rename to chalk/plugins/tools/defaulttools/kis_tool_line.cpp index 4e118cccb..87cb93907 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_line.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_line.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_line.cc - part of Krayon + * kis_tool_line.cpp - part of Krayon * * Copyright (c) 2000 John Califf * Copyright (c) 2002 Patrick Julien diff --git a/chalk/plugins/tools/defaulttools/kis_tool_move.cc b/chalk/plugins/tools/defaulttools/kis_tool_move.cpp similarity index 100% rename from chalk/plugins/tools/defaulttools/kis_tool_move.cc rename to chalk/plugins/tools/defaulttools/kis_tool_move.cpp diff --git a/chalk/plugins/tools/defaulttools/kis_tool_pan.cc b/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp similarity index 100% rename from chalk/plugins/tools/defaulttools/kis_tool_pan.cc rename to chalk/plugins/tools/defaulttools/kis_tool_pan.cpp diff --git a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cc b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp similarity index 99% rename from chalk/plugins/tools/defaulttools/kis_tool_rectangle.cc rename to chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp index 852d2c0e0..69e306ecf 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_rectangle.cc - part of Chalk + * kis_tool_rectangle.cpp - part of Chalk * * Copyright (c) 2000 John Califf * Copyright (c) 2002 Patrick Julien diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.cc b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp similarity index 100% rename from chalk/plugins/tools/defaulttools/kis_tool_text.cc rename to chalk/plugins/tools/defaulttools/kis_tool_text.cpp diff --git a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cc b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp similarity index 100% rename from chalk/plugins/tools/defaulttools/kis_tool_zoom.cc rename to chalk/plugins/tools/defaulttools/kis_tool_zoom.cpp diff --git a/chalk/plugins/tools/selectiontools/Makefile.am b/chalk/plugins/tools/selectiontools/Makefile.am index febfd514c..0f1b8474d 100644 --- a/chalk/plugins/tools/selectiontools/Makefile.am +++ b/chalk/plugins/tools/selectiontools/Makefile.am @@ -9,10 +9,10 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkselectiontools_la_SOURCES = kis_tool_move_selection.cc \ - kis_tool_select_brush.cc kis_tool_select_contiguous.cc kis_tool_select_elliptical.cc \ - kis_tool_select_eraser.cc kis_tool_select_outline.cc kis_tool_select_polygonal.cc \ - kis_tool_select_rectangular.cc selection_tools.cc +chalkselectiontools_la_SOURCES = kis_tool_move_selection.cpp \ + kis_tool_select_brush.cpp kis_tool_select_contiguous.cpp kis_tool_select_elliptical.cpp \ + kis_tool_select_eraser.cpp kis_tool_select_outline.cpp kis_tool_select_polygonal.cpp \ + kis_tool_select_rectangular.cpp selection_tools.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalkselectiontools.la diff --git a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cc b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp similarity index 100% rename from chalk/plugins/tools/selectiontools/kis_tool_move_selection.cc rename to chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp similarity index 99% rename from chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc rename to chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp index acc903620..ba80434f3 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_select_brush.cc - part of Chalk + * kis_tool_select_brush.cpp - part of Chalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cpp similarity index 100% rename from chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc rename to chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cpp diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp similarity index 99% rename from chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc rename to chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp index def162ef4..f85da3327 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_select_elliptical.cc -- part of Chalk + * kis_tool_select_elliptical.cpp -- part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp similarity index 99% rename from chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc rename to chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp index af7f8d84a..9cfef0a80 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_select_brush.cc - part of Chalk + * kis_tool_select_brush.cpp - part of Chalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cpp similarity index 100% rename from chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc rename to chalk/plugins/tools/selectiontools/kis_tool_select_outline.cpp diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cpp similarity index 100% rename from chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc rename to chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cpp diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp similarity index 99% rename from chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc rename to chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp index 09d338663..5a6772bac 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp @@ -1,6 +1,6 @@ /* - * kis_tool_select_rectangular.cc -- part of Chalk + * kis_tool_select_rectangular.cpp -- part of Chalk * * Copyright (c) 1999 Michael Koch * 2001 John Califf diff --git a/chalk/plugins/tools/selectiontools/selection_tools.cc b/chalk/plugins/tools/selectiontools/selection_tools.cpp similarity index 98% rename from chalk/plugins/tools/selectiontools/selection_tools.cc rename to chalk/plugins/tools/selectiontools/selection_tools.cpp index 8407a076e..f34a3b34c 100644 --- a/chalk/plugins/tools/selectiontools/selection_tools.cc +++ b/chalk/plugins/tools/selectiontools/selection_tools.cpp @@ -1,5 +1,5 @@ /* - * selection_tools.cc -- Part of Chalk + * selection_tools.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/tools/tool_crop/Makefile.am b/chalk/plugins/tools/tool_crop/Makefile.am index fe320b849..5bf3c1f6d 100644 --- a/chalk/plugins/tools/tool_crop/Makefile.am +++ b/chalk/plugins/tools/tool_crop/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ chalktoolcrop_la_SOURCES = \ wdg_tool_crop.ui \ - tool_crop.cc \ - kis_tool_crop.cc + tool_crop.cpp \ + kis_tool_crop.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolcrop.la diff --git a/chalk/plugins/tools/tool_crop/kis_tool_crop.cc b/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp similarity index 99% rename from chalk/plugins/tools/tool_crop/kis_tool_crop.cc rename to chalk/plugins/tools/tool_crop/kis_tool_crop.cpp index 11a47590c..58454b4f5 100644 --- a/chalk/plugins/tools/tool_crop/kis_tool_crop.cc +++ b/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_crop.cc -- part of Chalk + * kis_tool_crop.cpp -- part of Chalk * * Copyright (c) 2004 Boudewijn Rempt * Copyright (c) 2005 Michael Thaler diff --git a/chalk/plugins/tools/tool_crop/tool_crop.cc b/chalk/plugins/tools/tool_crop/tool_crop.cpp similarity index 98% rename from chalk/plugins/tools/tool_crop/tool_crop.cc rename to chalk/plugins/tools/tool_crop/tool_crop.cpp index 97f6e0e85..30df11ec3 100644 --- a/chalk/plugins/tools/tool_crop/tool_crop.cc +++ b/chalk/plugins/tools/tool_crop/tool_crop.cpp @@ -1,5 +1,5 @@ /* - * tool_crop.cc -- Part of Chalk + * tool_crop.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/tools/tool_curves/Makefile.am b/chalk/plugins/tools/tool_curves/Makefile.am index 92366e55c..75a515f29 100644 --- a/chalk/plugins/tools/tool_curves/Makefile.am +++ b/chalk/plugins/tools/tool_curves/Makefile.am @@ -10,15 +10,15 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalktoolcurves_la_SOURCES = \ - kis_curve_framework.cc \ - kis_tool_curve.cc \ - tool_curves.cc \ + kis_curve_framework.cpp \ + kis_tool_curve.cpp \ + tool_curves.cpp \ wdg_tool_example.ui \ - kis_tool_example.cc \ - kis_tool_bezier.cc \ - kis_tool_bezier_paint.cc \ - kis_tool_bezier_select.cc \ - kis_tool_moutline.cc + kis_tool_example.cpp \ + kis_tool_bezier.cpp \ + kis_tool_bezier_paint.cpp \ + kis_tool_bezier_select.cpp \ + kis_tool_moutline.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolcurves.la diff --git a/chalk/plugins/tools/tool_curves/kis_curve_framework.cc b/chalk/plugins/tools/tool_curves/kis_curve_framework.cpp similarity index 100% rename from chalk/plugins/tools/tool_curves/kis_curve_framework.cc rename to chalk/plugins/tools/tool_curves/kis_curve_framework.cpp diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier.cc b/chalk/plugins/tools/tool_curves/kis_tool_bezier.cpp similarity index 99% rename from chalk/plugins/tools/tool_curves/kis_tool_bezier.cc rename to chalk/plugins/tools/tool_curves/kis_tool_bezier.cpp index e4c1d05d0..9195dfbd7 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_bezier.cc -- part of Chalk + * kis_tool_bezier.cpp -- part of Chalk * * Copyright (c) 2006 Emanuele Tamponi * diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cc b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp similarity index 98% rename from chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cc rename to chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp index 06f34f8cc..a8d1514be 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_curve.cc -- part of Chalk + * kis_tool_curve.cpp -- part of Chalk * * Copyright (c) 2006 Emanuele Tamponi * diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cc b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp similarity index 98% rename from chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cc rename to chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp index 724189208..657358609 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_curve.cc -- part of Chalk + * kis_tool_curve.cpp -- part of Chalk * * Copyright (c) 2006 Emanuele Tamponi * diff --git a/chalk/plugins/tools/tool_curves/kis_tool_curve.cc b/chalk/plugins/tools/tool_curves/kis_tool_curve.cpp similarity index 99% rename from chalk/plugins/tools/tool_curves/kis_tool_curve.cc rename to chalk/plugins/tools/tool_curves/kis_tool_curve.cpp index 7449e5817..ea1f9a773 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_curve.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_curve.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_curve.cc -- part of Chalk + * kis_tool_curve.cpp -- part of Chalk * * Copyright (c) 2006 Emanuele Tamponi * diff --git a/chalk/plugins/tools/tool_curves/kis_tool_example.cc b/chalk/plugins/tools/tool_curves/kis_tool_example.cpp similarity index 98% rename from chalk/plugins/tools/tool_curves/kis_tool_example.cc rename to chalk/plugins/tools/tool_curves/kis_tool_example.cpp index 75e3da2be..a21bb8089 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_example.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_example.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_example.cc -- part of Chalk + * kis_tool_example.cpp -- part of Chalk * * Copyright (c) 2006 Emanuele Tamponi * diff --git a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp similarity index 99% rename from chalk/plugins/tools/tool_curves/kis_tool_moutline.cc rename to chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp index 178ff278f..ebf82634f 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_moutline.cc -- part of Chalk + * kis_tool_moutline.cpp -- part of Chalk * * Copyright (c) 2006 Emanuele Tamponi * diff --git a/chalk/plugins/tools/tool_curves/tool_curves.cc b/chalk/plugins/tools/tool_curves/tool_curves.cpp similarity index 98% rename from chalk/plugins/tools/tool_curves/tool_curves.cc rename to chalk/plugins/tools/tool_curves/tool_curves.cpp index b21f5aae3..28f65604a 100644 --- a/chalk/plugins/tools/tool_curves/tool_curves.cc +++ b/chalk/plugins/tools/tool_curves/tool_curves.cpp @@ -1,5 +1,5 @@ /* - * tool_bezier.cc -- part of Chalk + * tool_bezier.cpp -- part of Chalk * * Copyright (c) 2006 Emanuele Tamponi * diff --git a/chalk/plugins/tools/tool_filter/Makefile.am b/chalk/plugins/tools/tool_filter/Makefile.am index d99a39249..b12ab69b5 100644 --- a/chalk/plugins/tools/tool_filter/Makefile.am +++ b/chalk/plugins/tools/tool_filter/Makefile.am @@ -10,9 +10,9 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalktoolfilter_la_SOURCES = \ - kis_filterop.cc \ - kis_tool_filter.cc \ - tool_filter.cc + kis_filterop.cpp \ + kis_tool_filter.cpp \ + tool_filter.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolfilter.la diff --git a/chalk/plugins/tools/tool_filter/kis_filterop.cc b/chalk/plugins/tools/tool_filter/kis_filterop.cpp similarity index 100% rename from chalk/plugins/tools/tool_filter/kis_filterop.cc rename to chalk/plugins/tools/tool_filter/kis_filterop.cpp diff --git a/chalk/plugins/tools/tool_filter/kis_tool_filter.cc b/chalk/plugins/tools/tool_filter/kis_tool_filter.cpp similarity index 99% rename from chalk/plugins/tools/tool_filter/kis_tool_filter.cc rename to chalk/plugins/tools/tool_filter/kis_tool_filter.cpp index 07133d3bb..14e2d6168 100644 --- a/chalk/plugins/tools/tool_filter/kis_tool_filter.cc +++ b/chalk/plugins/tools/tool_filter/kis_tool_filter.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_filter.cc - part of Chalk + * kis_tool_filter.cpp - part of Chalk * * Copyright (c) 2004 Cyrille Berger * diff --git a/chalk/plugins/tools/tool_filter/tool_filter.cc b/chalk/plugins/tools/tool_filter/tool_filter.cpp similarity index 98% rename from chalk/plugins/tools/tool_filter/tool_filter.cc rename to chalk/plugins/tools/tool_filter/tool_filter.cpp index bda2357e3..484a7d9f3 100644 --- a/chalk/plugins/tools/tool_filter/tool_filter.cc +++ b/chalk/plugins/tools/tool_filter/tool_filter.cpp @@ -1,5 +1,5 @@ /* - * tool_filter.cc -- Part of Chalk + * tool_filter.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/tools/tool_perspectivegrid/Makefile.am b/chalk/plugins/tools/tool_perspectivegrid/Makefile.am index 8544c078a..c15df2687 100644 --- a/chalk/plugins/tools/tool_perspectivegrid/Makefile.am +++ b/chalk/plugins/tools/tool_perspectivegrid/Makefile.am @@ -10,8 +10,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalktoolperspectivegrid_la_SOURCES = \ - tool_perspectivegrid.cc \ - kis_tool_perspectivegrid.cc + tool_perspectivegrid.cpp \ + kis_tool_perspectivegrid.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolperspectivegrid.la diff --git a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp similarity index 99% rename from chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc rename to chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp index 2dbe56d3d..7d5df0f2b 100644 --- a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc +++ b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_perspectivegrid.cc - part of Chalk + * kis_tool_perspectivegrid.cpp - part of Chalk * * Copyright (c) 2006 Cyrille Berger * diff --git a/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc b/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cpp similarity index 97% rename from chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc rename to chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cpp index f2800a594..2f326965b 100644 --- a/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc +++ b/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cpp @@ -1,5 +1,5 @@ /* - * tool_perspectivegrid.cc -- Part of Chalk + * tool_perspectivegrid.cpp -- Part of Chalk * * Copyright (c) 2006 Cyrille Berger * diff --git a/chalk/plugins/tools/tool_perspectivetransform/Makefile.am b/chalk/plugins/tools/tool_perspectivetransform/Makefile.am index 08c8d7079..275f6413d 100644 --- a/chalk/plugins/tools/tool_perspectivetransform/Makefile.am +++ b/chalk/plugins/tools/tool_perspectivetransform/Makefile.am @@ -10,8 +10,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalktoolperspectivetransform_la_SOURCES = \ - tool_perspectivetransform.cc \ - kis_tool_perspectivetransform.cc + tool_perspectivetransform.cpp \ + kis_tool_perspectivetransform.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolperspectivetransform.la diff --git a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp similarity index 99% rename from chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc rename to chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp index ae334e627..e73f5da3c 100644 --- a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc +++ b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_transform.cc -- part of Chalk + * kis_tool_transform.cpp -- part of Chalk * * Copyright (c) 2006 Cyrille Berger * diff --git a/chalk/plugins/tools/tool_perspectivetransform/tool_perspectivetransform.cc b/chalk/plugins/tools/tool_perspectivetransform/tool_perspectivetransform.cpp similarity index 97% rename from chalk/plugins/tools/tool_perspectivetransform/tool_perspectivetransform.cc rename to chalk/plugins/tools/tool_perspectivetransform/tool_perspectivetransform.cpp index 0c4023cce..73705264b 100644 --- a/chalk/plugins/tools/tool_perspectivetransform/tool_perspectivetransform.cc +++ b/chalk/plugins/tools/tool_perspectivetransform/tool_perspectivetransform.cpp @@ -1,5 +1,5 @@ /* - * tool_perspectivetransform.cc -- Part of Chalk + * tool_perspectivetransform.cpp -- Part of Chalk * * Copyright (c) 2006 Cyrille Berger * diff --git a/chalk/plugins/tools/tool_polygon/Makefile.am b/chalk/plugins/tools/tool_polygon/Makefile.am index 555f59a0e..4ad417da0 100644 --- a/chalk/plugins/tools/tool_polygon/Makefile.am +++ b/chalk/plugins/tools/tool_polygon/Makefile.am @@ -10,8 +10,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalktoolpolygon_la_SOURCES = \ - tool_polygon.cc \ - kis_tool_polygon.cc + tool_polygon.cpp \ + kis_tool_polygon.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolpolygon.la diff --git a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp similarity index 99% rename from chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc rename to chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp index a7371e49f..601fc6907 100644 --- a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc +++ b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_polygon.cc -- part of Chalk + * kis_tool_polygon.cpp -- part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/tools/tool_polygon/tool_polygon.cc b/chalk/plugins/tools/tool_polygon/tool_polygon.cpp similarity index 97% rename from chalk/plugins/tools/tool_polygon/tool_polygon.cc rename to chalk/plugins/tools/tool_polygon/tool_polygon.cpp index 626a773d3..f903551fb 100644 --- a/chalk/plugins/tools/tool_polygon/tool_polygon.cc +++ b/chalk/plugins/tools/tool_polygon/tool_polygon.cpp @@ -1,5 +1,5 @@ /* - * tool_polygon.cc -- Part of Chalk + * tool_polygon.cpp -- Part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/tools/tool_polyline/Makefile.am b/chalk/plugins/tools/tool_polyline/Makefile.am index 1812b13bc..87fa1ce27 100644 --- a/chalk/plugins/tools/tool_polyline/Makefile.am +++ b/chalk/plugins/tools/tool_polyline/Makefile.am @@ -10,8 +10,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalktoolpolyline_la_SOURCES = \ - tool_polyline.cc \ - kis_tool_polyline.cc + tool_polyline.cpp \ + kis_tool_polyline.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolpolyline.la diff --git a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp similarity index 99% rename from chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc rename to chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp index c99513f47..ab89cf3f4 100644 --- a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc +++ b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_polyline.cc -- part of Chalk + * kis_tool_polyline.cpp -- part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/tools/tool_polyline/tool_polyline.cc b/chalk/plugins/tools/tool_polyline/tool_polyline.cpp similarity index 97% rename from chalk/plugins/tools/tool_polyline/tool_polyline.cc rename to chalk/plugins/tools/tool_polyline/tool_polyline.cpp index a5bfa27f2..d6abff71a 100644 --- a/chalk/plugins/tools/tool_polyline/tool_polyline.cc +++ b/chalk/plugins/tools/tool_polyline/tool_polyline.cpp @@ -1,5 +1,5 @@ /* - * tool_polyline.cc -- Part of Chalk + * tool_polyline.cpp -- Part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/tools/tool_selectsimilar/Makefile.am b/chalk/plugins/tools/tool_selectsimilar/Makefile.am index 5c1897f40..224f67ba4 100644 --- a/chalk/plugins/tools/tool_selectsimilar/Makefile.am +++ b/chalk/plugins/tools/tool_selectsimilar/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) -chalktoolselectsimilar_la_SOURCES = selectsimilar.cc kis_tool_selectsimilar.cc +chalktoolselectsimilar_la_SOURCES = selectsimilar.cpp kis_tool_selectsimilar.cpp noinst_HEADERS = selectsimilar.h kis_tool_selectsimilar.h kde_module_LTLIBRARIES = chalktoolselectsimilar.la diff --git a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp similarity index 100% rename from chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc rename to chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp diff --git a/chalk/plugins/tools/tool_selectsimilar/selectsimilar.cc b/chalk/plugins/tools/tool_selectsimilar/selectsimilar.cpp similarity index 100% rename from chalk/plugins/tools/tool_selectsimilar/selectsimilar.cc rename to chalk/plugins/tools/tool_selectsimilar/selectsimilar.cpp diff --git a/chalk/plugins/tools/tool_star/Makefile.am b/chalk/plugins/tools/tool_star/Makefile.am index ed88d27ed..1f4627dd6 100644 --- a/chalk/plugins/tools/tool_star/Makefile.am +++ b/chalk/plugins/tools/tool_star/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ chalktoolstar_la_SOURCES = \ wdg_tool_star.ui \ - tool_star.cc \ - kis_tool_star.cc + tool_star.cpp \ + kis_tool_star.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktoolstar.la diff --git a/chalk/plugins/tools/tool_star/kis_tool_star.cc b/chalk/plugins/tools/tool_star/kis_tool_star.cpp similarity index 99% rename from chalk/plugins/tools/tool_star/kis_tool_star.cc rename to chalk/plugins/tools/tool_star/kis_tool_star.cpp index cd4bb0b2e..3a260545b 100644 --- a/chalk/plugins/tools/tool_star/kis_tool_star.cc +++ b/chalk/plugins/tools/tool_star/kis_tool_star.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_star.cc -- part of Chalk + * kis_tool_star.cpp -- part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/tools/tool_star/tool_star.cc b/chalk/plugins/tools/tool_star/tool_star.cpp similarity index 98% rename from chalk/plugins/tools/tool_star/tool_star.cc rename to chalk/plugins/tools/tool_star/tool_star.cpp index 9ac1b62f8..7309e8a1a 100644 --- a/chalk/plugins/tools/tool_star/tool_star.cc +++ b/chalk/plugins/tools/tool_star/tool_star.cpp @@ -1,5 +1,5 @@ /* - * tool_star.cc -- Part of Chalk + * tool_star.cpp -- Part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/tools/tool_transform/Makefile.am b/chalk/plugins/tools/tool_transform/Makefile.am index 12a32774c..a5adea177 100644 --- a/chalk/plugins/tools/tool_transform/Makefile.am +++ b/chalk/plugins/tools/tool_transform/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ chalktooltransform_la_SOURCES = \ wdg_tool_transform.ui \ - tool_transform.cc \ - kis_tool_transform.cc + tool_transform.cpp \ + kis_tool_transform.cpp # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = chalktooltransform.la diff --git a/chalk/plugins/tools/tool_transform/kis_tool_transform.cc b/chalk/plugins/tools/tool_transform/kis_tool_transform.cpp similarity index 99% rename from chalk/plugins/tools/tool_transform/kis_tool_transform.cc rename to chalk/plugins/tools/tool_transform/kis_tool_transform.cpp index de20ce7f6..88a675663 100644 --- a/chalk/plugins/tools/tool_transform/kis_tool_transform.cc +++ b/chalk/plugins/tools/tool_transform/kis_tool_transform.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_transform.cc -- part of Chalk + * kis_tool_transform.cpp -- part of Chalk * * Copyright (c) 2004 Boudewijn Rempt * Copyright (c) 2005 Casper Boemann diff --git a/chalk/plugins/tools/tool_transform/tool_transform.cc b/chalk/plugins/tools/tool_transform/tool_transform.cpp similarity index 97% rename from chalk/plugins/tools/tool_transform/tool_transform.cc rename to chalk/plugins/tools/tool_transform/tool_transform.cpp index 82941e92c..0f0dde27d 100644 --- a/chalk/plugins/tools/tool_transform/tool_transform.cc +++ b/chalk/plugins/tools/tool_transform/tool_transform.cpp @@ -1,5 +1,5 @@ /* - * tool_transform.cc -- Part of Chalk + * tool_transform.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/viewplugins/colorrange/Makefile.am b/chalk/plugins/viewplugins/colorrange/Makefile.am index 1c8547e29..c072f78cb 100644 --- a/chalk/plugins/viewplugins/colorrange/Makefile.am +++ b/chalk/plugins/viewplugins/colorrange/Makefile.am @@ -7,7 +7,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkcolorrange.la -chalkcolorrange_la_SOURCES = colorrange.cc dlg_colorrange.cc wdg_colorrange.ui +chalkcolorrange_la_SOURCES = colorrange.cpp dlg_colorrange.cpp wdg_colorrange.ui noinst_HEADERS = wdg_colorrange.h dlg_colorrange.h colorrange.h chalkcolorrange_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ diff --git a/chalk/plugins/viewplugins/colorrange/colorrange.cc b/chalk/plugins/viewplugins/colorrange/colorrange.cpp similarity index 100% rename from chalk/plugins/viewplugins/colorrange/colorrange.cc rename to chalk/plugins/viewplugins/colorrange/colorrange.cpp diff --git a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp similarity index 99% rename from chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc rename to chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp index 453bbec27..82748f4c8 100644 --- a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc +++ b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp @@ -1,5 +1,5 @@ /* - * dlg_colorrange.cc - part of KimageShop^WKrayon^WChalk + * dlg_colorrange.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am b/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am index 7439813c2..06b2ab88f 100644 --- a/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am +++ b/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am @@ -14,7 +14,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkcolorspaceconversion.la -chalkcolorspaceconversion_la_SOURCES = wdgconvertcolorspace.ui colorspaceconversion.cc dlg_colorspaceconversion.cc +chalkcolorspaceconversion_la_SOURCES = wdgconvertcolorspace.ui colorspaceconversion.cpp dlg_colorspaceconversion.cpp noinst_HEADERS = wdgconvertcolorspace.h dlg_colorspaceconversion.h colorspaceconversion.h chalkcolorspaceconversion_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts diff --git a/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc b/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cpp similarity index 99% rename from chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc rename to chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cpp index d956ee460..377f0569d 100644 --- a/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc +++ b/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cpp @@ -1,5 +1,5 @@ /* - * colorspaceconversion.cc -- Part of Chalk + * colorspaceconversion.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc b/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cpp similarity index 97% rename from chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc rename to chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cpp index 8159ad73f..259c6f470 100644 --- a/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc +++ b/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cpp @@ -1,5 +1,5 @@ /* - * dlg_colorspaceconversion.cc - part of KimageShop^WKrayon^WChalk + * dlg_colorspaceconversion.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/dropshadow/Makefile.am b/chalk/plugins/viewplugins/dropshadow/Makefile.am index fb6c48ce4..3c9728e00 100644 --- a/chalk/plugins/viewplugins/dropshadow/Makefile.am +++ b/chalk/plugins/viewplugins/dropshadow/Makefile.am @@ -14,8 +14,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkdropshadow.la chalkdropshadow_la_SOURCES = wdg_dropshadow.ui \ - kis_dropshadow.cc dlg_dropshadow.cc \ - kis_dropshadow_plugin.cc + kis_dropshadow.cpp dlg_dropshadow.cpp \ + kis_dropshadow_plugin.cpp noinst_HEADERS = wdg_dropshadow.h kis_dropshadow_plugin.h \ kis_dropshadow.h dlg_dropshadow.h diff --git a/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc b/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cpp similarity index 98% rename from chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc rename to chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cpp index 59019489c..c82bbbad6 100644 --- a/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc +++ b/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cpp @@ -1,5 +1,5 @@ /* - * dlg_dropshadow.cc - part of KimageShop^WKrayon^WChalk + * dlg_dropshadow.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2005 Michael Thaler * Copyright (c) 2006 Cyrille Berger diff --git a/chalk/plugins/viewplugins/dropshadow/kis_dropshadow.cc b/chalk/plugins/viewplugins/dropshadow/kis_dropshadow.cpp similarity index 100% rename from chalk/plugins/viewplugins/dropshadow/kis_dropshadow.cc rename to chalk/plugins/viewplugins/dropshadow/kis_dropshadow.cpp diff --git a/chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cc b/chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cpp similarity index 100% rename from chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cc rename to chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cpp diff --git a/chalk/plugins/viewplugins/filtersgallery/Makefile.am b/chalk/plugins/viewplugins/filtersgallery/Makefile.am index 6c3ca3e87..bd80954f6 100644 --- a/chalk/plugins/viewplugins/filtersgallery/Makefile.am +++ b/chalk/plugins/viewplugins/filtersgallery/Makefile.am @@ -11,8 +11,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkfiltersgallery_la_SOURCES = filters_gallery.cc \ - kis_dlg_filtersgallery.cc kis_wdg_filtersgallery.ui +chalkfiltersgallery_la_SOURCES = filters_gallery.cpp \ + kis_dlg_filtersgallery.cpp kis_wdg_filtersgallery.ui kde_module_LTLIBRARIES = chalkfiltersgallery.la noinst_HEADERS = filters_gallery.h kis_dlg_filtersgallery.h diff --git a/chalk/plugins/viewplugins/filtersgallery/filters_gallery.cc b/chalk/plugins/viewplugins/filtersgallery/filters_gallery.cpp similarity index 100% rename from chalk/plugins/viewplugins/filtersgallery/filters_gallery.cc rename to chalk/plugins/viewplugins/filtersgallery/filters_gallery.cpp diff --git a/chalk/plugins/viewplugins/filtersgallery/kis_dlg_filtersgallery.cc b/chalk/plugins/viewplugins/filtersgallery/kis_dlg_filtersgallery.cpp similarity index 100% rename from chalk/plugins/viewplugins/filtersgallery/kis_dlg_filtersgallery.cc rename to chalk/plugins/viewplugins/filtersgallery/kis_dlg_filtersgallery.cpp diff --git a/chalk/plugins/viewplugins/histogram/Makefile.am b/chalk/plugins/viewplugins/histogram/Makefile.am index f5f8db376..9afb9726c 100644 --- a/chalk/plugins/viewplugins/histogram/Makefile.am +++ b/chalk/plugins/viewplugins/histogram/Makefile.am @@ -13,7 +13,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkhistogram.la -chalkhistogram_la_SOURCES = histogram.cc dlg_histogram.cc wdghistogram.ui kis_histogram_widget.cc +chalkhistogram_la_SOURCES = histogram.cpp dlg_histogram.cpp wdghistogram.ui kis_histogram_widget.cpp noinst_HEADERS = dlg_histogram.h histogram.h wdghistogram.h kis_histogram_widget.h kde_services_DATA = chalkhistogram.desktop diff --git a/chalk/plugins/viewplugins/histogram/dlg_histogram.cc b/chalk/plugins/viewplugins/histogram/dlg_histogram.cpp similarity index 96% rename from chalk/plugins/viewplugins/histogram/dlg_histogram.cc rename to chalk/plugins/viewplugins/histogram/dlg_histogram.cpp index 448a58cfc..77ad06686 100644 --- a/chalk/plugins/viewplugins/histogram/dlg_histogram.cc +++ b/chalk/plugins/viewplugins/histogram/dlg_histogram.cpp @@ -1,5 +1,5 @@ /* - * dlg_histogram.cc - part of KimageShop^WKrayon^WChalk + * dlg_histogram.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/histogram/histogram.cc b/chalk/plugins/viewplugins/histogram/histogram.cpp similarity index 100% rename from chalk/plugins/viewplugins/histogram/histogram.cc rename to chalk/plugins/viewplugins/histogram/histogram.cpp diff --git a/chalk/plugins/viewplugins/histogram/kis_histogram_widget.cc b/chalk/plugins/viewplugins/histogram/kis_histogram_widget.cpp similarity index 100% rename from chalk/plugins/viewplugins/histogram/kis_histogram_widget.cc rename to chalk/plugins/viewplugins/histogram/kis_histogram_widget.cpp diff --git a/chalk/plugins/viewplugins/histogram_docker/Makefile.am b/chalk/plugins/viewplugins/histogram_docker/Makefile.am index 6d2b905db..299920871 100644 --- a/chalk/plugins/viewplugins/histogram_docker/Makefile.am +++ b/chalk/plugins/viewplugins/histogram_docker/Makefile.am @@ -10,7 +10,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkhistogramdocker_la_SOURCES = histogramdocker.cc kis_imagerasteredcache.cc kis_cachedhistogram.cc kis_accumulating_producer.cc +chalkhistogramdocker_la_SOURCES = histogramdocker.cpp kis_imagerasteredcache.cpp kis_cachedhistogram.cpp kis_accumulating_producer.cpp kde_module_LTLIBRARIES = chalkhistogramdocker.la noinst_HEADERS = histogramdocker.h kis_imagerasteredcache.h kis_cachedhistogram.h kis_accumulating_producer.h diff --git a/chalk/plugins/viewplugins/histogram_docker/histogramdocker.cc b/chalk/plugins/viewplugins/histogram_docker/histogramdocker.cpp similarity index 100% rename from chalk/plugins/viewplugins/histogram_docker/histogramdocker.cc rename to chalk/plugins/viewplugins/histogram_docker/histogramdocker.cpp diff --git a/chalk/plugins/viewplugins/histogram_docker/kis_accumulating_producer.cc b/chalk/plugins/viewplugins/histogram_docker/kis_accumulating_producer.cpp similarity index 100% rename from chalk/plugins/viewplugins/histogram_docker/kis_accumulating_producer.cc rename to chalk/plugins/viewplugins/histogram_docker/kis_accumulating_producer.cpp diff --git a/chalk/plugins/viewplugins/histogram_docker/kis_cachedhistogram.cc b/chalk/plugins/viewplugins/histogram_docker/kis_cachedhistogram.cpp similarity index 100% rename from chalk/plugins/viewplugins/histogram_docker/kis_cachedhistogram.cc rename to chalk/plugins/viewplugins/histogram_docker/kis_cachedhistogram.cpp diff --git a/chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cc b/chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cpp similarity index 100% rename from chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cc rename to chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cpp diff --git a/chalk/plugins/viewplugins/history_docker/Makefile.am b/chalk/plugins/viewplugins/history_docker/Makefile.am index 53511b3d9..c77357f23 100644 --- a/chalk/plugins/viewplugins/history_docker/Makefile.am +++ b/chalk/plugins/viewplugins/history_docker/Makefile.am @@ -7,7 +7,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkhistorydocker_la_SOURCES = historydocker.cc +chalkhistorydocker_la_SOURCES = historydocker.cpp kde_module_LTLIBRARIES = chalkhistorydocker.la noinst_HEADERS = historydocker.h diff --git a/chalk/plugins/viewplugins/history_docker/historydocker.cc b/chalk/plugins/viewplugins/history_docker/historydocker.cpp similarity index 100% rename from chalk/plugins/viewplugins/history_docker/historydocker.cc rename to chalk/plugins/viewplugins/history_docker/historydocker.cpp diff --git a/chalk/plugins/viewplugins/imagesize/Makefile.am b/chalk/plugins/viewplugins/imagesize/Makefile.am index 00d58340c..5fe1756ab 100644 --- a/chalk/plugins/viewplugins/imagesize/Makefile.am +++ b/chalk/plugins/viewplugins/imagesize/Makefile.am @@ -12,7 +12,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkimagesize_la_SOURCES = wdg_imagesize.ui wdg_layersize.ui imagesize.cc dlg_imagesize.cc dlg_layersize.cc wdg_resolution.ui +chalkimagesize_la_SOURCES = wdg_imagesize.ui wdg_layersize.ui imagesize.cpp dlg_imagesize.cpp dlg_layersize.cpp wdg_resolution.ui noinst_HEADERS = wdg_imagesize.h dlg_imagesize.h imagesize.h dlg_layersize.h diff --git a/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc b/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cpp similarity index 99% rename from chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc rename to chalk/plugins/viewplugins/imagesize/dlg_imagesize.cpp index 8a9a8c098..c455af8cc 100644 --- a/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc +++ b/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cpp @@ -1,5 +1,5 @@ /* - * dlg_imagesize.cc - part of KimageShop^WKrayon^WChalk + * dlg_imagesize.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc b/chalk/plugins/viewplugins/imagesize/dlg_layersize.cpp similarity index 99% rename from chalk/plugins/viewplugins/imagesize/dlg_layersize.cc rename to chalk/plugins/viewplugins/imagesize/dlg_layersize.cpp index 1d30db6a0..779798056 100644 --- a/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc +++ b/chalk/plugins/viewplugins/imagesize/dlg_layersize.cpp @@ -1,5 +1,5 @@ /* - * dlg_layersize.cc - part of Chalk + * dlg_layersize.cpp - part of Chalk * * Copyright (c) 2004 Boudewijn Rempt * Copyright (c) 2005 Sven Langkamp diff --git a/chalk/plugins/viewplugins/imagesize/imagesize.cc b/chalk/plugins/viewplugins/imagesize/imagesize.cpp similarity index 99% rename from chalk/plugins/viewplugins/imagesize/imagesize.cc rename to chalk/plugins/viewplugins/imagesize/imagesize.cpp index c795924e1..af9c2570f 100644 --- a/chalk/plugins/viewplugins/imagesize/imagesize.cc +++ b/chalk/plugins/viewplugins/imagesize/imagesize.cpp @@ -1,5 +1,5 @@ /* - * imagesize.cc -- Part of Chalk + * imagesize.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/plugins/viewplugins/modify_selection/Makefile.am b/chalk/plugins/viewplugins/modify_selection/Makefile.am index ea0f48429..a1eb18cb3 100644 --- a/chalk/plugins/viewplugins/modify_selection/Makefile.am +++ b/chalk/plugins/viewplugins/modify_selection/Makefile.am @@ -13,7 +13,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ $(all_includes) chalkmodifyselection_la_SOURCES = wdg_grow_selection.ui wdg_shrink_selection.ui wdg_border_selection.ui \ -dlg_grow_selection.cc dlg_shrink_selection.cc dlg_border_selection.cc modify_selection.cc +dlg_grow_selection.cpp dlg_shrink_selection.cpp dlg_border_selection.cpp modify_selection.cpp noinst_HEADERS = wdg_grow_selection.h wdg_shrink_selection.h wdg_border_selection.h dlg_grow_selection.h \ dlg_shrink_selection.h dlg_border_selection.h modify_selection.h diff --git a/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc b/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cpp similarity index 97% rename from chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc rename to chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cpp index 7cd1c335d..8e2bc4de8 100644 --- a/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cpp @@ -1,5 +1,5 @@ /* - * dlg_border_selection.cc - part of Chalk + * dlg_border_selection.cpp - part of Chalk * * Copyright (c) 2006 Michael Thaler * diff --git a/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc b/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cpp similarity index 97% rename from chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc rename to chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cpp index 38c445b01..ae590eba9 100644 --- a/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cpp @@ -1,5 +1,5 @@ /* - * dlg_grow_selection.cc - part of Chalk + * dlg_grow_selection.cpp - part of Chalk * * Copyright (c) 2006 Michael Thaler * diff --git a/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc b/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cpp similarity index 97% rename from chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc rename to chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cpp index f0129e742..ce4ce9d3b 100644 --- a/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cpp @@ -1,5 +1,5 @@ /* - * dlg_shrink_selection.cc - part of Chalk + * dlg_shrink_selection.cpp - part of Chalk * * Copyright (c) 2006 Michael Thaler * diff --git a/chalk/plugins/viewplugins/modify_selection/modify_selection.cc b/chalk/plugins/viewplugins/modify_selection/modify_selection.cpp similarity index 99% rename from chalk/plugins/viewplugins/modify_selection/modify_selection.cc rename to chalk/plugins/viewplugins/modify_selection/modify_selection.cpp index 92d50ef7a..823899958 100644 --- a/chalk/plugins/viewplugins/modify_selection/modify_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/modify_selection.cpp @@ -1,5 +1,5 @@ /* - * modify_selection.cc -- Part of Chalk + * modify_selection.cpp -- Part of Chalk * * Copyright (c) 2006 Michael Thaler (michael.thaler@physik.tu-muenchen.de) * diff --git a/chalk/plugins/viewplugins/performancetest/Makefile.am b/chalk/plugins/viewplugins/performancetest/Makefile.am index 47906073b..eebf1f4d6 100644 --- a/chalk/plugins/viewplugins/performancetest/Makefile.am +++ b/chalk/plugins/viewplugins/performancetest/Makefile.am @@ -13,7 +13,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkperftest.la -chalkperftest_la_SOURCES = wdg_perftest.ui perftest.cc dlg_perftest.cc +chalkperftest_la_SOURCES = wdg_perftest.ui perftest.cpp dlg_perftest.cpp noinst_HEADERS = wdg_perftest.h dlg_perftest.h perftest.h chalkperftest_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts diff --git a/chalk/plugins/viewplugins/performancetest/dlg_perftest.cc b/chalk/plugins/viewplugins/performancetest/dlg_perftest.cpp similarity index 98% rename from chalk/plugins/viewplugins/performancetest/dlg_perftest.cc rename to chalk/plugins/viewplugins/performancetest/dlg_perftest.cpp index b2a723069..326d97272 100644 --- a/chalk/plugins/viewplugins/performancetest/dlg_perftest.cc +++ b/chalk/plugins/viewplugins/performancetest/dlg_perftest.cpp @@ -1,5 +1,5 @@ /* - * dlg_perftest.cc - part of KimageShop^WKrayon^WChalk + * dlg_perftest.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/viewplugins/performancetest/perftest.cc b/chalk/plugins/viewplugins/performancetest/perftest.cpp similarity index 99% rename from chalk/plugins/viewplugins/performancetest/perftest.cc rename to chalk/plugins/viewplugins/performancetest/perftest.cpp index f728043cd..fa5445516 100644 --- a/chalk/plugins/viewplugins/performancetest/perftest.cc +++ b/chalk/plugins/viewplugins/performancetest/perftest.cpp @@ -1,5 +1,5 @@ /* - * perftest.cc -- Part of Chalk + * perftest.cpp -- Part of Chalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/rotateimage/Makefile.am b/chalk/plugins/viewplugins/rotateimage/Makefile.am index 757682e4d..bccf04096 100644 --- a/chalk/plugins/viewplugins/rotateimage/Makefile.am +++ b/chalk/plugins/viewplugins/rotateimage/Makefile.am @@ -13,7 +13,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkrotateimage.la -chalkrotateimage_la_SOURCES = wdg_rotateimage.ui rotateimage.cc dlg_rotateimage.cc +chalkrotateimage_la_SOURCES = wdg_rotateimage.ui rotateimage.cpp dlg_rotateimage.cpp noinst_HEADERS = wdg_rotateimage.h dlg_rotateimage.h rotateimage.h chalkrotateimage_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts diff --git a/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc b/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cpp similarity index 98% rename from chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc rename to chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cpp index 84c11ffb5..e7c3a8ce9 100644 --- a/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc +++ b/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cpp @@ -1,5 +1,5 @@ /* - * dlg_rotateimage.cc - part of KimageShop^WKrayon^WChalk + * dlg_rotateimage.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/viewplugins/rotateimage/rotateimage.cc b/chalk/plugins/viewplugins/rotateimage/rotateimage.cpp similarity index 99% rename from chalk/plugins/viewplugins/rotateimage/rotateimage.cc rename to chalk/plugins/viewplugins/rotateimage/rotateimage.cpp index 8a0985cc3..f58f78168 100644 --- a/chalk/plugins/viewplugins/rotateimage/rotateimage.cc +++ b/chalk/plugins/viewplugins/rotateimage/rotateimage.cpp @@ -1,5 +1,5 @@ /* - * rotateimage.cc -- Part of Chalk + * rotateimage.cpp -- Part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/viewplugins/scripting/Makefile.am b/chalk/plugins/viewplugins/scripting/Makefile.am index 1f0c431d4..2b4270197 100644 --- a/chalk/plugins/viewplugins/scripting/Makefile.am +++ b/chalk/plugins/viewplugins/scripting/Makefile.am @@ -15,7 +15,7 @@ INCLUDES = -I$(top_srcdir)/chalk/sdk \ $(KOFFICE_INCLUDES) \ $(all_includes) -chalkscripting_la_SOURCES = scripting.cc +chalkscripting_la_SOURCES = scripting.cpp kde_module_LTLIBRARIES = chalkscripting.la noinst_HEADERS = scripting.h diff --git a/chalk/plugins/viewplugins/scripting/scripting.cc b/chalk/plugins/viewplugins/scripting/scripting.cpp similarity index 100% rename from chalk/plugins/viewplugins/scripting/scripting.cc rename to chalk/plugins/viewplugins/scripting/scripting.cpp diff --git a/chalk/plugins/viewplugins/selectopaque/Makefile.am b/chalk/plugins/viewplugins/selectopaque/Makefile.am index 7814c7afd..dab67d5ec 100644 --- a/chalk/plugins/viewplugins/selectopaque/Makefile.am +++ b/chalk/plugins/viewplugins/selectopaque/Makefile.am @@ -7,7 +7,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkselectopaque.la -chalkselectopaque_la_SOURCES = selectopaque.cc +chalkselectopaque_la_SOURCES = selectopaque.cpp noinst_HEADERS = selectopaque.h chalkselectopaque_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ diff --git a/chalk/plugins/viewplugins/selectopaque/selectopaque.cc b/chalk/plugins/viewplugins/selectopaque/selectopaque.cpp similarity index 100% rename from chalk/plugins/viewplugins/selectopaque/selectopaque.cc rename to chalk/plugins/viewplugins/selectopaque/selectopaque.cpp diff --git a/chalk/plugins/viewplugins/separate_channels/Makefile.am b/chalk/plugins/viewplugins/separate_channels/Makefile.am index d6a2fa77e..03117232e 100644 --- a/chalk/plugins/viewplugins/separate_channels/Makefile.am +++ b/chalk/plugins/viewplugins/separate_channels/Makefile.am @@ -12,8 +12,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkseparatechannels.la chalkseparatechannels_la_SOURCES = wdg_separations.ui \ - kis_channel_separator.cc dlg_separate.cc \ - kis_separate_channels_plugin.cc + kis_channel_separator.cpp dlg_separate.cpp \ + kis_separate_channels_plugin.cpp noinst_HEADERS = wdg_separations.h kis_separate_channels_plugin.h \ kis_channel_separator.h dlg_separate.h diff --git a/chalk/plugins/viewplugins/separate_channels/dlg_separate.cc b/chalk/plugins/viewplugins/separate_channels/dlg_separate.cpp similarity index 98% rename from chalk/plugins/viewplugins/separate_channels/dlg_separate.cc rename to chalk/plugins/viewplugins/separate_channels/dlg_separate.cpp index 6d2a59c32..d650a045a 100644 --- a/chalk/plugins/viewplugins/separate_channels/dlg_separate.cc +++ b/chalk/plugins/viewplugins/separate_channels/dlg_separate.cpp @@ -1,5 +1,5 @@ /* - * dlg_separate.cc - part of KimageShop^WKrayon^WChalk + * dlg_separate.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/separate_channels/kis_channel_separator.cc b/chalk/plugins/viewplugins/separate_channels/kis_channel_separator.cpp similarity index 100% rename from chalk/plugins/viewplugins/separate_channels/kis_channel_separator.cc rename to chalk/plugins/viewplugins/separate_channels/kis_channel_separator.cpp diff --git a/chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cc b/chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cpp similarity index 100% rename from chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cc rename to chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cpp diff --git a/chalk/plugins/viewplugins/shearimage/Makefile.am b/chalk/plugins/viewplugins/shearimage/Makefile.am index 7134779c3..b96067895 100644 --- a/chalk/plugins/viewplugins/shearimage/Makefile.am +++ b/chalk/plugins/viewplugins/shearimage/Makefile.am @@ -15,7 +15,7 @@ kde_module_LTLIBRARIES = chalkshearimage.la kde_services_DATA = chalkshearimage.desktop -chalkshearimage_la_SOURCES = wdg_shearimage.ui shearimage.cc dlg_shearimage.cc +chalkshearimage_la_SOURCES = wdg_shearimage.ui shearimage.cpp dlg_shearimage.cpp noinst_HEADERS = wdg_shearimage.h dlg_shearimage.h shearimage.h chalkshearimage_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts diff --git a/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc b/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cpp similarity index 97% rename from chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc rename to chalk/plugins/viewplugins/shearimage/dlg_shearimage.cpp index e7a63180b..d295493d0 100644 --- a/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc +++ b/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cpp @@ -1,5 +1,5 @@ /* - * dlg_shearimage.cc - part of KimageShop^WKrayon^WChalk + * dlg_shearimage.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/viewplugins/shearimage/shearimage.cc b/chalk/plugins/viewplugins/shearimage/shearimage.cpp similarity index 98% rename from chalk/plugins/viewplugins/shearimage/shearimage.cc rename to chalk/plugins/viewplugins/shearimage/shearimage.cpp index 8e20b58d6..2596e62ee 100644 --- a/chalk/plugins/viewplugins/shearimage/shearimage.cc +++ b/chalk/plugins/viewplugins/shearimage/shearimage.cpp @@ -1,5 +1,5 @@ /* - * shearimage.cc -- Part of Chalk + * shearimage.cpp -- Part of Chalk * * Copyright (c) 2004 Michael Thaler * diff --git a/chalk/plugins/viewplugins/substrate/Makefile.am b/chalk/plugins/viewplugins/substrate/Makefile.am index 8c0e6ef6e..c868d28b0 100644 --- a/chalk/plugins/viewplugins/substrate/Makefile.am +++ b/chalk/plugins/viewplugins/substrate/Makefile.am @@ -14,7 +14,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalksubstrate.la -chalksubstrate_la_SOURCES = substrate.cc dlg_substrate.cc wdgsubstrate.ui kis_repeating_substrate.cc +chalksubstrate_la_SOURCES = substrate.cpp dlg_substrate.cpp wdgsubstrate.ui kis_repeating_substrate.cpp noinst_HEADERS = wdgsubstrate.h dlg_substrate.h kis_repeating_substrate.h substrate.h chalksubstrate_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts diff --git a/chalk/plugins/viewplugins/substrate/dlg_substrate.cc b/chalk/plugins/viewplugins/substrate/dlg_substrate.cpp similarity index 96% rename from chalk/plugins/viewplugins/substrate/dlg_substrate.cc rename to chalk/plugins/viewplugins/substrate/dlg_substrate.cpp index a0dbc5aa2..78847f056 100644 --- a/chalk/plugins/viewplugins/substrate/dlg_substrate.cc +++ b/chalk/plugins/viewplugins/substrate/dlg_substrate.cpp @@ -1,5 +1,5 @@ /* - * dlg_substrate.cc - part of KimageShop^WKrayon^WChalk + * dlg_substrate.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/substrate/kis_repeating_substrate.cc b/chalk/plugins/viewplugins/substrate/kis_repeating_substrate.cpp similarity index 100% rename from chalk/plugins/viewplugins/substrate/kis_repeating_substrate.cc rename to chalk/plugins/viewplugins/substrate/kis_repeating_substrate.cpp diff --git a/chalk/plugins/viewplugins/substrate/substrate.cc b/chalk/plugins/viewplugins/substrate/substrate.cpp similarity index 100% rename from chalk/plugins/viewplugins/substrate/substrate.cc rename to chalk/plugins/viewplugins/substrate/substrate.cpp diff --git a/chalk/plugins/viewplugins/variations/Makefile.am b/chalk/plugins/viewplugins/variations/Makefile.am index 21d4e63f6..cd75fc9cf 100644 --- a/chalk/plugins/viewplugins/variations/Makefile.am +++ b/chalk/plugins/viewplugins/variations/Makefile.am @@ -14,7 +14,7 @@ INCLUDES = -I$(srcdir)/../../../sdk \ kde_module_LTLIBRARIES = chalkvariations.la -chalkvariations_la_SOURCES = variations.cc dlg_variations.cc wdg_variations.ui +chalkvariations_la_SOURCES = variations.cpp dlg_variations.cpp wdg_variations.ui noinst_HEADERS = wdg_variations.h chalkvariations_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts diff --git a/chalk/plugins/viewplugins/variations/dlg_variations.cc b/chalk/plugins/viewplugins/variations/dlg_variations.cpp similarity index 96% rename from chalk/plugins/viewplugins/variations/dlg_variations.cc rename to chalk/plugins/viewplugins/variations/dlg_variations.cpp index afa6a3d74..4decbbd41 100644 --- a/chalk/plugins/viewplugins/variations/dlg_variations.cc +++ b/chalk/plugins/viewplugins/variations/dlg_variations.cpp @@ -1,5 +1,5 @@ /* - * dlg_variations.cc - part of KimageShop^WKrayon^WChalk + * dlg_variations.cpp - part of KimageShop^WKrayon^WChalk * * Copyright (c) 2004 Boudewijn Rempt * diff --git a/chalk/plugins/viewplugins/variations/variations.cc b/chalk/plugins/viewplugins/variations/variations.cpp similarity index 100% rename from chalk/plugins/viewplugins/variations/variations.cc rename to chalk/plugins/viewplugins/variations/variations.cpp diff --git a/chalk/sdk/Makefile.am b/chalk/sdk/Makefile.am index 0c7f4c186..869b2c362 100644 --- a/chalk/sdk/Makefile.am +++ b/chalk/sdk/Makefile.am @@ -4,7 +4,7 @@ INCLUDES = $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) \ $(all_includes) noinst_LTLIBRARIES = libchalksdk.la -libchalksdk_la_SOURCES = kis_progress_subject.cc +libchalksdk_la_SOURCES = kis_progress_subject.cpp libchalksdk_la_METASOURCES = AUTO include_HEADERS = \ diff --git a/chalk/sdk/kis_progress_subject.cc b/chalk/sdk/kis_progress_subject.cpp similarity index 100% rename from chalk/sdk/kis_progress_subject.cc rename to chalk/sdk/kis_progress_subject.cpp diff --git a/chalk/ui/Makefile.am b/chalk/ui/Makefile.am index 34f67c916..3a2bff125 100644 --- a/chalk/ui/Makefile.am +++ b/chalk/ui/Makefile.am @@ -13,34 +13,34 @@ libchalkui_la_LDFLAGS = -version-info 1:0:0 -no-undefined $(all_libraries) libchalkui_la_LIBADD = ../sdk/libchalksdk.la ../core/libchalkimage.la ../chalkcolor/libchalkcolor.la \ $(LCMS_LIBS) $(LIB_KOFFICEUI) $(LIB_KOPAINTER) $(LIB_KOPALETTE) $(LIB_XINPUTEXT) $(GLLIB) -libchalkui_la_SOURCES = kis_import_catcher.cc kis_histogram_view.cc imageviewer.cc kcurve.cc \ - kis_autobrush.cc kis_autogradient.cc kis_boundary_painter.cc kis_brush_chooser.cc \ - kis_canvas.cc kis_canvas_painter.cc kis_clipboard.cc kis_cmb_composite.cc \ - kis_cmb_idlist.cc kis_color_cup.cc kis_config.cc kis_controlframe.cc kis_cursor.cc \ - kis_dlg_apply_profile.cc kis_dlg_image_properties.cc kis_dlg_layer_properties.cc \ - kis_dlg_new_layer.cc kis_dlg_preferences.cc kis_doc.cc kis_doc_iface.cc kis_doc_iface.skel \ - kis_double_widget.cc kis_factory.cc kis_filter_manager.cc kis_gradient_chooser.cc \ - kis_gradient_slider_widget.cc kis_icon_item.cc kis_iconwidget.cc kis_int_spinbox.cc \ - kis_itemchooser.cc kis_label_cursor_pos.cc kis_label_progress.cc kis_label_zoom.cc \ - kis_layerbox.cc kis_layerlist.cc kis_multi_bool_filter_widget.cc \ - kis_multi_double_filter_widget.cc kis_multi_integer_filter_widget.cc kis_opengl_canvas.cc \ - kis_opengl_canvas_painter.cc kis_opengl_image_context.cc kis_paintop_box.cc kis_palette_view.cc \ - kis_palette_widget.cc kis_part_layer.cc kis_pattern_chooser.cc kis_previewdialog.cc \ - kis_previewwidget.cc kis_qpaintdevice_canvas.cc kis_qpaintdevice_canvas_painter.cc \ - kis_resource_mediator.cc kis_resourceserver.cc kis_ruler.cc kis_selection_manager.cc \ - kis_selection_options.cc kis_text_brush.cc kis_tool.cc kis_tool_dummy.cc kis_tool_freehand.cc \ - kis_tool_manager.cc kis_tool_non_paint.cc kis_tool_paint.cc kis_tool_registry.cc \ - kis_tool_shape.cc kis_birdeye_box.cc kis_view.cc kis_view_iface.cc kis_custom_brush.cc \ - kis_custom_palette.cc kis_custom_pattern.cc kis_custom_image_widget.cc kis_view_iface.skel \ +libchalkui_la_SOURCES = kis_import_catcher.cpp kis_histogram_view.cpp imageviewer.cpp kcurve.cpp \ + kis_autobrush.cpp kis_autogradient.cpp kis_boundary_painter.cpp kis_brush_chooser.cpp \ + kis_canvas.cpp kis_canvas_painter.cpp kis_clipboard.cpp kis_cmb_composite.cpp \ + kis_cmb_idlist.cpp kis_color_cup.cpp kis_config.cpp kis_controlframe.cpp kis_cursor.cpp \ + kis_dlg_apply_profile.cpp kis_dlg_image_properties.cpp kis_dlg_layer_properties.cpp \ + kis_dlg_new_layer.cpp kis_dlg_preferences.cpp kis_doc.cpp kis_doc_iface.cpp kis_doc_iface.skel \ + kis_double_widget.cpp kis_factory.cpp kis_filter_manager.cpp kis_gradient_chooser.cpp \ + kis_gradient_slider_widget.cpp kis_icon_item.cpp kis_iconwidget.cpp kis_int_spinbox.cpp \ + kis_itemchooser.cpp kis_label_cursor_pos.cpp kis_label_progress.cpp kis_label_zoom.cpp \ + kis_layerbox.cpp kis_layerlist.cpp kis_multi_bool_filter_widget.cpp \ + kis_multi_double_filter_widget.cpp kis_multi_integer_filter_widget.cpp kis_opengl_canvas.cpp \ + kis_opengl_canvas_painter.cpp kis_opengl_image_context.cpp kis_paintop_box.cpp kis_palette_view.cpp \ + kis_palette_widget.cpp kis_part_layer.cpp kis_pattern_chooser.cpp kis_previewdialog.cpp \ + kis_previewwidget.cpp kis_qpaintdevice_canvas.cpp kis_qpaintdevice_canvas_painter.cpp \ + kis_resource_mediator.cpp kis_resourceserver.cpp kis_ruler.cpp kis_selection_manager.cpp \ + kis_selection_options.cpp kis_text_brush.cpp kis_tool.cpp kis_tool_dummy.cpp kis_tool_freehand.cpp \ + kis_tool_manager.cpp kis_tool_non_paint.cpp kis_tool_paint.cpp kis_tool_registry.cpp \ + kis_tool_shape.cpp kis_birdeye_box.cpp kis_view.cpp kis_view_iface.cpp kis_custom_brush.cpp \ + kis_custom_palette.cpp kis_custom_pattern.cpp kis_custom_image_widget.cpp kis_view_iface.skel \ kobirdeyepanel.cpp kis_matrix_widget.ui kis_previewwidgetbase.ui layerlist.cpp \ wdgapplyprofile.ui wdgautobrush.ui wdgautogradient.ui wdgbirdeye.ui wdgcolorsettings.ui \ wdgdisplaysettings.ui wdggeneralsettings.ui wdglayerproperties.ui wdglayerbox.ui \ wdgnewimage.ui wdgperformancesettings.ui wdgselectionoptions.ui wdgshapeoptions.ui \ wdgpressuresettings.ui wdgcustombrush.ui wdgcustompalette.ui wdgcustompattern.ui \ - wdgtextbrush.ui kis_dlg_adjustment_layer.cc kis_filters_listview.cc \ + wdgtextbrush.ui kis_dlg_adjustment_layer.cpp kis_filters_listview.cpp \ wdgpalettechooser.ui wdggridsettings.ui kis_grid_manager.cpp wdgtabletdevicesettings.ui \ - wdgtabletsettings.ui kis_input_device.cc kis_part_layer_handler.cc \ - kis_dlg_adj_layer_props.cc squeezedcombobox.cpp kis_perspective_grid_manager.cpp \ + wdgtabletsettings.ui kis_input_device.cpp kis_part_layer_handler.cpp \ + kis_dlg_adj_layer_props.cpp squeezedcombobox.cpp kis_perspective_grid_manager.cpp \ kis_grid_drawer.cpp noinst_HEADERS = kis_aboutdata.h imageviewer.h layerlist.h kcurve.h \ diff --git a/chalk/ui/imageviewer.cc b/chalk/ui/imageviewer.cpp similarity index 100% rename from chalk/ui/imageviewer.cc rename to chalk/ui/imageviewer.cpp diff --git a/chalk/ui/kcurve.cc b/chalk/ui/kcurve.cpp similarity index 100% rename from chalk/ui/kcurve.cc rename to chalk/ui/kcurve.cpp diff --git a/chalk/ui/kis_autobrush.cc b/chalk/ui/kis_autobrush.cpp similarity index 100% rename from chalk/ui/kis_autobrush.cc rename to chalk/ui/kis_autobrush.cpp diff --git a/chalk/ui/kis_autogradient.cc b/chalk/ui/kis_autogradient.cpp similarity index 100% rename from chalk/ui/kis_autogradient.cc rename to chalk/ui/kis_autogradient.cpp diff --git a/chalk/ui/kis_birdeye_box.cc b/chalk/ui/kis_birdeye_box.cpp similarity index 100% rename from chalk/ui/kis_birdeye_box.cc rename to chalk/ui/kis_birdeye_box.cpp diff --git a/chalk/ui/kis_boundary_painter.cc b/chalk/ui/kis_boundary_painter.cpp similarity index 100% rename from chalk/ui/kis_boundary_painter.cc rename to chalk/ui/kis_boundary_painter.cpp diff --git a/chalk/ui/kis_brush_chooser.cc b/chalk/ui/kis_brush_chooser.cpp similarity index 100% rename from chalk/ui/kis_brush_chooser.cc rename to chalk/ui/kis_brush_chooser.cpp diff --git a/chalk/ui/kis_canvas.cc b/chalk/ui/kis_canvas.cpp similarity index 100% rename from chalk/ui/kis_canvas.cc rename to chalk/ui/kis_canvas.cpp diff --git a/chalk/ui/kis_canvas_painter.cc b/chalk/ui/kis_canvas_painter.cpp similarity index 100% rename from chalk/ui/kis_canvas_painter.cc rename to chalk/ui/kis_canvas_painter.cpp diff --git a/chalk/ui/kis_clipboard.cc b/chalk/ui/kis_clipboard.cpp similarity index 100% rename from chalk/ui/kis_clipboard.cc rename to chalk/ui/kis_clipboard.cpp diff --git a/chalk/ui/kis_cmb_composite.cc b/chalk/ui/kis_cmb_composite.cpp similarity index 97% rename from chalk/ui/kis_cmb_composite.cc rename to chalk/ui/kis_cmb_composite.cpp index 66e3a6b39..631f602e9 100644 --- a/chalk/ui/kis_cmb_composite.cc +++ b/chalk/ui/kis_cmb_composite.cpp @@ -1,5 +1,5 @@ /* - * kis_cmb_composite.cc - part of KImageShop/Krayon/Chalk + * kis_cmb_composite.cpp - part of KImageShop/Krayon/Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/ui/kis_cmb_idlist.cc b/chalk/ui/kis_cmb_idlist.cpp similarity index 97% rename from chalk/ui/kis_cmb_idlist.cc rename to chalk/ui/kis_cmb_idlist.cpp index 92dc608f6..39937752a 100644 --- a/chalk/ui/kis_cmb_idlist.cc +++ b/chalk/ui/kis_cmb_idlist.cpp @@ -1,5 +1,5 @@ /* - * kis_cmb_idlist.cc - part of KImageShop/Krayon/Chalk + * kis_cmb_idlist.cpp - part of KImageShop/Krayon/Chalk * * Copyright (c) 2005 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/ui/kis_color_cup.cc b/chalk/ui/kis_color_cup.cpp similarity index 100% rename from chalk/ui/kis_color_cup.cc rename to chalk/ui/kis_color_cup.cpp diff --git a/chalk/ui/kis_config.cc b/chalk/ui/kis_config.cpp similarity index 100% rename from chalk/ui/kis_config.cc rename to chalk/ui/kis_config.cpp diff --git a/chalk/ui/kis_controlframe.cc b/chalk/ui/kis_controlframe.cpp similarity index 99% rename from chalk/ui/kis_controlframe.cc rename to chalk/ui/kis_controlframe.cpp index 6c57a7e6a..e5a8ce1bb 100644 --- a/chalk/ui/kis_controlframe.cc +++ b/chalk/ui/kis_controlframe.cpp @@ -1,5 +1,5 @@ /* - * kis_controlframe.cc - part of Chalk + * kis_controlframe.cpp - part of Chalk * * Copyright (c) 1999 Matthias Elter * Copyright (c) 2003 Patrick Julien diff --git a/chalk/ui/kis_cursor.cc b/chalk/ui/kis_cursor.cpp similarity index 99% rename from chalk/ui/kis_cursor.cc rename to chalk/ui/kis_cursor.cpp index c4281eac9..146dc2863 100644 --- a/chalk/ui/kis_cursor.cc +++ b/chalk/ui/kis_cursor.cpp @@ -1,5 +1,5 @@ /* - * kis_cursor.cc - part of KImageShop + * kis_cursor.cpp - part of KImageShop * * Copyright (c) 1999 Matthias Elter * Copyright (c) 2004 Adrian Page diff --git a/chalk/ui/kis_custom_brush.cc b/chalk/ui/kis_custom_brush.cpp similarity index 100% rename from chalk/ui/kis_custom_brush.cc rename to chalk/ui/kis_custom_brush.cpp diff --git a/chalk/ui/kis_custom_image_widget.cc b/chalk/ui/kis_custom_image_widget.cpp similarity index 100% rename from chalk/ui/kis_custom_image_widget.cc rename to chalk/ui/kis_custom_image_widget.cpp diff --git a/chalk/ui/kis_custom_palette.cc b/chalk/ui/kis_custom_palette.cpp similarity index 100% rename from chalk/ui/kis_custom_palette.cc rename to chalk/ui/kis_custom_palette.cpp diff --git a/chalk/ui/kis_custom_pattern.cc b/chalk/ui/kis_custom_pattern.cpp similarity index 100% rename from chalk/ui/kis_custom_pattern.cc rename to chalk/ui/kis_custom_pattern.cpp diff --git a/chalk/ui/kis_dlg_adj_layer_props.cc b/chalk/ui/kis_dlg_adj_layer_props.cpp similarity index 100% rename from chalk/ui/kis_dlg_adj_layer_props.cc rename to chalk/ui/kis_dlg_adj_layer_props.cpp diff --git a/chalk/ui/kis_dlg_adjustment_layer.cc b/chalk/ui/kis_dlg_adjustment_layer.cpp similarity index 100% rename from chalk/ui/kis_dlg_adjustment_layer.cc rename to chalk/ui/kis_dlg_adjustment_layer.cpp diff --git a/chalk/ui/kis_dlg_apply_profile.cc b/chalk/ui/kis_dlg_apply_profile.cpp similarity index 100% rename from chalk/ui/kis_dlg_apply_profile.cc rename to chalk/ui/kis_dlg_apply_profile.cpp diff --git a/chalk/ui/kis_dlg_image_properties.cc b/chalk/ui/kis_dlg_image_properties.cpp similarity index 100% rename from chalk/ui/kis_dlg_image_properties.cc rename to chalk/ui/kis_dlg_image_properties.cpp diff --git a/chalk/ui/kis_dlg_layer_properties.cc b/chalk/ui/kis_dlg_layer_properties.cpp similarity index 100% rename from chalk/ui/kis_dlg_layer_properties.cc rename to chalk/ui/kis_dlg_layer_properties.cpp diff --git a/chalk/ui/kis_dlg_new_layer.cc b/chalk/ui/kis_dlg_new_layer.cpp similarity index 100% rename from chalk/ui/kis_dlg_new_layer.cc rename to chalk/ui/kis_dlg_new_layer.cpp diff --git a/chalk/ui/kis_dlg_preferences.cc b/chalk/ui/kis_dlg_preferences.cpp similarity index 99% rename from chalk/ui/kis_dlg_preferences.cc rename to chalk/ui/kis_dlg_preferences.cpp index 61811d31f..e35477dc5 100644 --- a/chalk/ui/kis_dlg_preferences.cc +++ b/chalk/ui/kis_dlg_preferences.cpp @@ -1,5 +1,5 @@ /* - * preferencesdlg.cc - part of KImageShop + * preferencesdlg.cpp - part of KImageShop * * Copyright (c) 1999 Michael Koch * diff --git a/chalk/ui/kis_doc.cc b/chalk/ui/kis_doc.cpp similarity index 100% rename from chalk/ui/kis_doc.cc rename to chalk/ui/kis_doc.cpp diff --git a/chalk/ui/kis_doc_iface.cc b/chalk/ui/kis_doc_iface.cpp similarity index 100% rename from chalk/ui/kis_doc_iface.cc rename to chalk/ui/kis_doc_iface.cpp diff --git a/chalk/ui/kis_double_widget.cc b/chalk/ui/kis_double_widget.cpp similarity index 98% rename from chalk/ui/kis_double_widget.cc rename to chalk/ui/kis_double_widget.cpp index a966691dd..3325f07bb 100644 --- a/chalk/ui/kis_double_widget.cc +++ b/chalk/ui/kis_double_widget.cpp @@ -1,5 +1,5 @@ /* - * kis_double_widget.cc - part of Chalk + * kis_double_widget.cpp - part of Chalk * * Copyright (c) 1999 Carsten Pfeiffer * Copyright (c) 2004 Adrian Page diff --git a/chalk/ui/kis_factory.cc b/chalk/ui/kis_factory.cpp similarity index 99% rename from chalk/ui/kis_factory.cc rename to chalk/ui/kis_factory.cpp index 154213b49..e9e51e487 100644 --- a/chalk/ui/kis_factory.cc +++ b/chalk/ui/kis_factory.cpp @@ -1,5 +1,5 @@ /* - * kis_factory.cc - part of Krayon + * kis_factory.cpp - part of Krayon * * Copyright (c) 1999 Matthias Elter * diff --git a/chalk/ui/kis_filter_manager.cc b/chalk/ui/kis_filter_manager.cpp similarity index 100% rename from chalk/ui/kis_filter_manager.cc rename to chalk/ui/kis_filter_manager.cpp diff --git a/chalk/ui/kis_filters_listview.cc b/chalk/ui/kis_filters_listview.cpp similarity index 100% rename from chalk/ui/kis_filters_listview.cc rename to chalk/ui/kis_filters_listview.cpp diff --git a/chalk/ui/kis_gradient_chooser.cc b/chalk/ui/kis_gradient_chooser.cpp similarity index 100% rename from chalk/ui/kis_gradient_chooser.cc rename to chalk/ui/kis_gradient_chooser.cpp diff --git a/chalk/ui/kis_gradient_slider_widget.cc b/chalk/ui/kis_gradient_slider_widget.cpp similarity index 100% rename from chalk/ui/kis_gradient_slider_widget.cc rename to chalk/ui/kis_gradient_slider_widget.cpp diff --git a/chalk/ui/kis_histogram_view.cc b/chalk/ui/kis_histogram_view.cpp similarity index 100% rename from chalk/ui/kis_histogram_view.cc rename to chalk/ui/kis_histogram_view.cpp diff --git a/chalk/ui/kis_icon_item.cc b/chalk/ui/kis_icon_item.cpp similarity index 100% rename from chalk/ui/kis_icon_item.cc rename to chalk/ui/kis_icon_item.cpp diff --git a/chalk/ui/kis_iconwidget.cc b/chalk/ui/kis_iconwidget.cpp similarity index 100% rename from chalk/ui/kis_iconwidget.cc rename to chalk/ui/kis_iconwidget.cpp diff --git a/chalk/ui/kis_import_catcher.cc b/chalk/ui/kis_import_catcher.cpp similarity index 100% rename from chalk/ui/kis_import_catcher.cc rename to chalk/ui/kis_import_catcher.cpp diff --git a/chalk/ui/kis_input_device.cc b/chalk/ui/kis_input_device.cpp similarity index 100% rename from chalk/ui/kis_input_device.cc rename to chalk/ui/kis_input_device.cpp diff --git a/chalk/ui/kis_int_spinbox.cc b/chalk/ui/kis_int_spinbox.cpp similarity index 100% rename from chalk/ui/kis_int_spinbox.cc rename to chalk/ui/kis_int_spinbox.cpp diff --git a/chalk/ui/kis_itemchooser.cc b/chalk/ui/kis_itemchooser.cpp similarity index 100% rename from chalk/ui/kis_itemchooser.cc rename to chalk/ui/kis_itemchooser.cpp diff --git a/chalk/ui/kis_label_cursor_pos.cc b/chalk/ui/kis_label_cursor_pos.cpp similarity index 100% rename from chalk/ui/kis_label_cursor_pos.cc rename to chalk/ui/kis_label_cursor_pos.cpp diff --git a/chalk/ui/kis_label_progress.cc b/chalk/ui/kis_label_progress.cpp similarity index 100% rename from chalk/ui/kis_label_progress.cc rename to chalk/ui/kis_label_progress.cpp diff --git a/chalk/ui/kis_label_zoom.cc b/chalk/ui/kis_label_zoom.cpp similarity index 100% rename from chalk/ui/kis_label_zoom.cc rename to chalk/ui/kis_label_zoom.cpp diff --git a/chalk/ui/kis_layerbox.cc b/chalk/ui/kis_layerbox.cpp similarity index 99% rename from chalk/ui/kis_layerbox.cc rename to chalk/ui/kis_layerbox.cpp index 058eb2f96..1d769fb42 100644 --- a/chalk/ui/kis_layerbox.cc +++ b/chalk/ui/kis_layerbox.cpp @@ -1,5 +1,5 @@ /* - * kis_layerbox.cc - part of Chalk aka Krayon aka KimageShop + * kis_layerbox.cpp - part of Chalk aka Krayon aka KimageShop * * Copyright (c) 2002 Patrick Julien * Copyright (C) 2006 Gábor Lehel diff --git a/chalk/ui/kis_layerlist.cc b/chalk/ui/kis_layerlist.cpp similarity index 100% rename from chalk/ui/kis_layerlist.cc rename to chalk/ui/kis_layerlist.cpp diff --git a/chalk/ui/kis_multi_bool_filter_widget.cc b/chalk/ui/kis_multi_bool_filter_widget.cpp similarity index 100% rename from chalk/ui/kis_multi_bool_filter_widget.cc rename to chalk/ui/kis_multi_bool_filter_widget.cpp diff --git a/chalk/ui/kis_multi_double_filter_widget.cc b/chalk/ui/kis_multi_double_filter_widget.cpp similarity index 100% rename from chalk/ui/kis_multi_double_filter_widget.cc rename to chalk/ui/kis_multi_double_filter_widget.cpp diff --git a/chalk/ui/kis_multi_integer_filter_widget.cc b/chalk/ui/kis_multi_integer_filter_widget.cpp similarity index 100% rename from chalk/ui/kis_multi_integer_filter_widget.cc rename to chalk/ui/kis_multi_integer_filter_widget.cpp diff --git a/chalk/ui/kis_opengl_canvas.cc b/chalk/ui/kis_opengl_canvas.cpp similarity index 100% rename from chalk/ui/kis_opengl_canvas.cc rename to chalk/ui/kis_opengl_canvas.cpp diff --git a/chalk/ui/kis_opengl_canvas_painter.cc b/chalk/ui/kis_opengl_canvas_painter.cpp similarity index 100% rename from chalk/ui/kis_opengl_canvas_painter.cc rename to chalk/ui/kis_opengl_canvas_painter.cpp diff --git a/chalk/ui/kis_opengl_image_context.cc b/chalk/ui/kis_opengl_image_context.cpp similarity index 100% rename from chalk/ui/kis_opengl_image_context.cc rename to chalk/ui/kis_opengl_image_context.cpp diff --git a/chalk/ui/kis_paintop_box.cc b/chalk/ui/kis_paintop_box.cpp similarity index 99% rename from chalk/ui/kis_paintop_box.cc rename to chalk/ui/kis_paintop_box.cpp index 6036ef74c..57ed7a736 100644 --- a/chalk/ui/kis_paintop_box.cc +++ b/chalk/ui/kis_paintop_box.cpp @@ -1,5 +1,5 @@ /* - * kis_paintop_box.cc - part of KImageShop/Krayon/Chalk + * kis_paintop_box.cpp - part of KImageShop/Krayon/Chalk * * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org) * diff --git a/chalk/ui/kis_palette_view.cc b/chalk/ui/kis_palette_view.cpp similarity index 100% rename from chalk/ui/kis_palette_view.cc rename to chalk/ui/kis_palette_view.cpp diff --git a/chalk/ui/kis_palette_widget.cc b/chalk/ui/kis_palette_widget.cpp similarity index 100% rename from chalk/ui/kis_palette_widget.cc rename to chalk/ui/kis_palette_widget.cpp diff --git a/chalk/ui/kis_part_layer.cc b/chalk/ui/kis_part_layer.cpp similarity index 100% rename from chalk/ui/kis_part_layer.cc rename to chalk/ui/kis_part_layer.cpp diff --git a/chalk/ui/kis_part_layer_handler.cc b/chalk/ui/kis_part_layer_handler.cpp similarity index 100% rename from chalk/ui/kis_part_layer_handler.cc rename to chalk/ui/kis_part_layer_handler.cpp diff --git a/chalk/ui/kis_pattern_chooser.cc b/chalk/ui/kis_pattern_chooser.cpp similarity index 100% rename from chalk/ui/kis_pattern_chooser.cc rename to chalk/ui/kis_pattern_chooser.cpp diff --git a/chalk/ui/kis_previewdialog.cc b/chalk/ui/kis_previewdialog.cpp similarity index 97% rename from chalk/ui/kis_previewdialog.cc rename to chalk/ui/kis_previewdialog.cpp index d67d5e58b..cfbe05b23 100644 --- a/chalk/ui/kis_previewdialog.cc +++ b/chalk/ui/kis_previewdialog.cpp @@ -1,5 +1,5 @@ /* - * kis_previewdialog.cc - part of Chalk + * kis_previewdialog.cpp - part of Chalk * * Copyright (c) 2005 Sven Langkamp * diff --git a/chalk/ui/kis_previewwidget.cc b/chalk/ui/kis_previewwidget.cpp similarity index 99% rename from chalk/ui/kis_previewwidget.cc rename to chalk/ui/kis_previewwidget.cpp index 29a91fbdb..f60755a14 100644 --- a/chalk/ui/kis_previewwidget.cc +++ b/chalk/ui/kis_previewwidget.cpp @@ -1,5 +1,5 @@ /* - * kis_previewwidget.cc - part of Chalk + * kis_previewwidget.cpp - part of Chalk * * Copyright (c) 2001 John Califf * Copyright (c) 2004 Bart Coppens diff --git a/chalk/ui/kis_qpaintdevice_canvas.cc b/chalk/ui/kis_qpaintdevice_canvas.cpp similarity index 100% rename from chalk/ui/kis_qpaintdevice_canvas.cc rename to chalk/ui/kis_qpaintdevice_canvas.cpp diff --git a/chalk/ui/kis_qpaintdevice_canvas_painter.cc b/chalk/ui/kis_qpaintdevice_canvas_painter.cpp similarity index 100% rename from chalk/ui/kis_qpaintdevice_canvas_painter.cc rename to chalk/ui/kis_qpaintdevice_canvas_painter.cpp diff --git a/chalk/ui/kis_resource_mediator.cc b/chalk/ui/kis_resource_mediator.cpp similarity index 100% rename from chalk/ui/kis_resource_mediator.cc rename to chalk/ui/kis_resource_mediator.cpp diff --git a/chalk/ui/kis_resourceserver.cc b/chalk/ui/kis_resourceserver.cpp similarity index 99% rename from chalk/ui/kis_resourceserver.cc rename to chalk/ui/kis_resourceserver.cpp index 3076bc00d..333bccd1d 100644 --- a/chalk/ui/kis_resourceserver.cc +++ b/chalk/ui/kis_resourceserver.cpp @@ -1,5 +1,5 @@ /* - * kis_resourceserver.cc - part of KImageShop + * kis_resourceserver.cpp - part of KImageShop * * Copyright (c) 1999 Matthias Elter * Copyright (c) 2003 Patrick Julien diff --git a/chalk/ui/kis_ruler.cc b/chalk/ui/kis_ruler.cpp similarity index 100% rename from chalk/ui/kis_ruler.cc rename to chalk/ui/kis_ruler.cpp diff --git a/chalk/ui/kis_selection_manager.cc b/chalk/ui/kis_selection_manager.cpp similarity index 100% rename from chalk/ui/kis_selection_manager.cc rename to chalk/ui/kis_selection_manager.cpp diff --git a/chalk/ui/kis_selection_options.cc b/chalk/ui/kis_selection_options.cpp similarity index 100% rename from chalk/ui/kis_selection_options.cc rename to chalk/ui/kis_selection_options.cpp diff --git a/chalk/ui/kis_text_brush.cc b/chalk/ui/kis_text_brush.cpp similarity index 100% rename from chalk/ui/kis_text_brush.cc rename to chalk/ui/kis_text_brush.cpp diff --git a/chalk/ui/kis_tool.cc b/chalk/ui/kis_tool.cpp similarity index 100% rename from chalk/ui/kis_tool.cc rename to chalk/ui/kis_tool.cpp diff --git a/chalk/ui/kis_tool_dummy.cc b/chalk/ui/kis_tool_dummy.cpp similarity index 100% rename from chalk/ui/kis_tool_dummy.cc rename to chalk/ui/kis_tool_dummy.cpp diff --git a/chalk/ui/kis_tool_freehand.cc b/chalk/ui/kis_tool_freehand.cpp similarity index 99% rename from chalk/ui/kis_tool_freehand.cc rename to chalk/ui/kis_tool_freehand.cpp index 787afee47..74eec4066 100644 --- a/chalk/ui/kis_tool_freehand.cc +++ b/chalk/ui/kis_tool_freehand.cpp @@ -1,5 +1,5 @@ /* - * kis_tool_brush.cc - part of Chalk + * kis_tool_brush.cpp - part of Chalk * * Copyright (c) 2003-2004 Boudewijn Rempt * Copyright (c) 2004 Bart Coppens diff --git a/chalk/ui/kis_tool_manager.cc b/chalk/ui/kis_tool_manager.cpp similarity index 100% rename from chalk/ui/kis_tool_manager.cc rename to chalk/ui/kis_tool_manager.cpp diff --git a/chalk/ui/kis_tool_non_paint.cc b/chalk/ui/kis_tool_non_paint.cpp similarity index 100% rename from chalk/ui/kis_tool_non_paint.cc rename to chalk/ui/kis_tool_non_paint.cpp diff --git a/chalk/ui/kis_tool_paint.cc b/chalk/ui/kis_tool_paint.cpp similarity index 100% rename from chalk/ui/kis_tool_paint.cc rename to chalk/ui/kis_tool_paint.cpp diff --git a/chalk/ui/kis_tool_registry.cc b/chalk/ui/kis_tool_registry.cpp similarity index 100% rename from chalk/ui/kis_tool_registry.cc rename to chalk/ui/kis_tool_registry.cpp diff --git a/chalk/ui/kis_tool_shape.cc b/chalk/ui/kis_tool_shape.cpp similarity index 100% rename from chalk/ui/kis_tool_shape.cc rename to chalk/ui/kis_tool_shape.cpp diff --git a/chalk/ui/kis_view.cc b/chalk/ui/kis_view.cpp similarity index 100% rename from chalk/ui/kis_view.cc rename to chalk/ui/kis_view.cpp diff --git a/chalk/ui/kis_view_iface.cc b/chalk/ui/kis_view_iface.cpp similarity index 100% rename from chalk/ui/kis_view_iface.cc rename to chalk/ui/kis_view_iface.cpp diff --git a/doc/chalk/developers-plugins.docbook b/doc/chalk/developers-plugins.docbook index 029af8d7e..bf5fab62f 100644 --- a/doc/chalk/developers-plugins.docbook +++ b/doc/chalk/developers-plugins.docbook @@ -195,7 +195,7 @@ kde_services_DATA = chalkLIBRARYNAME.desktop INCLUDES = $(all_includes) -chalkLIBRARYNAME_la_SOURCES = sourcefile1.cc sourcefile2.cc +chalkLIBRARYNAME_la_SOURCES = sourcefile1.cpp sourcefile2.cpp kde_module_LTLIBRARIES = chalkLIBRARYNAME.la noinst_HEADERS = header1.h header2.h @@ -878,14 +878,14 @@ A good example of a tool is the star tool: -kis_tool_star.cc Makefile.am tool_star_cursor.png wdg_tool_star.ui +kis_tool_star.cpp Makefile.am tool_star_cursor.png wdg_tool_star.ui kis_tool_star.h Makefile.in tool_star.h -chalktoolstar.desktop tool_star.cc tool_star.png +chalktoolstar.desktop tool_star.cpp tool_star.png As you see, you need two images: one for the cursor and one for the toolbox. -tool_star.cc is just the plugin loader, similar to what +tool_star.cpp is just the plugin loader, similar to what we have seen above. The real meat is in the implementation: diff --git a/example/Makefile.am b/example/Makefile.am index 96799ae0a..0bcdf91bb 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -3,8 +3,8 @@ INCLUDES = $(KOFFICE_INCLUDES) $(all_includes) ## The part kde_module_LTLIBRARIES = libexamplepart.la -libexamplepart_la_SOURCES = example_part.cc \ - example_view.cc example_factory.cc +libexamplepart_la_SOURCES = example_part.cpp \ + example_view.cpp example_factory.cpp libexamplepart_la_LDFLAGS = $(KDE_PLUGIN) libexamplepart_la_LIBADD = $(LIB_KOFFICEUI) @@ -12,7 +12,7 @@ libexamplepart_la_LIBADD = $(LIB_KOFFICEUI) tdeinit_LTLIBRARIES = example.la lib_LTLIBRARIES = bin_PROGRAMS = -example_la_SOURCES = main.cc +example_la_SOURCES = main.cpp example_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) example_la_LIBADD = $(LIB_KOFFICEUI) @@ -32,7 +32,7 @@ rc_DATA = example.rc example_readonly.rc rcdir = $(kde_datadir)/example messages: rc.cpp - $(XGETTEXT) rc.cpp *.cc example_aboutdata.h -o $(podir)/example.pot + $(XGETTEXT) rc.cpp *.cpp example_aboutdata.h -o $(podir)/example.pot kde_services_DATA = examplepart.desktop include $(top_srcdir)/admin/Doxyfile.am diff --git a/example/example_factory.cc b/example/example_factory.cpp similarity index 100% rename from example/example_factory.cc rename to example/example_factory.cpp diff --git a/example/example_part.cc b/example/example_part.cpp similarity index 100% rename from example/example_part.cc rename to example/example_part.cpp diff --git a/example/example_view.cc b/example/example_view.cpp similarity index 100% rename from example/example_view.cc rename to example/example_view.cpp diff --git a/example/main.cc b/example/main.cpp similarity index 100% rename from example/main.cc rename to example/main.cpp diff --git a/filters/Makefile.am b/filters/Makefile.am index e8473741e..83ea4f863 100644 --- a/filters/Makefile.am +++ b/filters/Makefile.am @@ -43,6 +43,6 @@ SUBDIRS = generic_wrapper libdialogfilter liboofilter $(KSPREADDIR) $(KCHARTDIR) messages: $(EXTRACTRC) `find . -name \*.ui` > rc.cpp - $(XGETTEXT) `find . -name \*.cpp -o -name \*.cc` -o $(podir)/kofficefilters.pot + $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kofficefilters.pot include $(top_srcdir)/admin/Doxyfile.am diff --git a/filters/chalk/gmagick/Makefile.am b/filters/chalk/gmagick/Makefile.am index 410c95ea2..431704334 100644 --- a/filters/chalk/gmagick/Makefile.am +++ b/filters/chalk/gmagick/Makefile.am @@ -39,8 +39,8 @@ servicedir = $(kde_servicesdir) kdelnk_DATA = chalk_magick.desktop kdelnkdir = $(kde_appsdir)/.hidden -libchalkgmagickimport_la_SOURCES = magickimport.cpp kis_image_magick_converter.cc -libchalkgmagickexport_la_SOURCES = magickexport.cpp kis_image_magick_converter.cc +libchalkgmagickimport_la_SOURCES = magickimport.cpp kis_image_magick_converter.cpp +libchalkgmagickexport_la_SOURCES = magickexport.cpp kis_image_magick_converter.cpp METASOURCES = AUTO diff --git a/filters/chalk/gmagick/kis_image_magick_converter.cc b/filters/chalk/gmagick/kis_image_magick_converter.cpp similarity index 100% rename from filters/chalk/gmagick/kis_image_magick_converter.cc rename to filters/chalk/gmagick/kis_image_magick_converter.cpp diff --git a/filters/chalk/jpeg/Makefile.am b/filters/chalk/jpeg/Makefile.am index 9e84cfa15..d12b57ed5 100644 --- a/filters/chalk/jpeg/Makefile.am +++ b/filters/chalk/jpeg/Makefile.am @@ -3,7 +3,7 @@ kde_module_LTLIBRARIES = libchalkjpegimport.la libchalkjpegexport.la libchalkconverter_la_LDFLAGS = $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts \ -llcms -libchalkconverter_la_SOURCES = kis_jpeg_converter.cc iccjpeg.c +libchalkconverter_la_SOURCES = kis_jpeg_converter.cpp iccjpeg.c libchalkconverter_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/filters/chalk/libkisexif/libkisexif.la \ ../../../chalk/core/libchalkimage.la \ ../../../chalk/ui/libchalkui.la \ @@ -49,8 +49,8 @@ servicedir = $(kde_servicesdir) kdelnk_DATA = chalk_jpeg.desktop kdelnkdir = $(kde_appsdir)/.hidden -libchalkjpegimport_la_SOURCES = kis_jpeg_import.cc -libchalkjpegexport_la_SOURCES = kis_wdg_options_jpeg.ui kis_jpeg_export.cc +libchalkjpegimport_la_SOURCES = kis_jpeg_import.cpp +libchalkjpegexport_la_SOURCES = kis_wdg_options_jpeg.ui kis_jpeg_export.cpp METASOURCES = AUTO diff --git a/filters/chalk/jpeg/kis_jpeg_converter.cc b/filters/chalk/jpeg/kis_jpeg_converter.cpp similarity index 100% rename from filters/chalk/jpeg/kis_jpeg_converter.cc rename to filters/chalk/jpeg/kis_jpeg_converter.cpp diff --git a/filters/chalk/jpeg/kis_jpeg_export.cc b/filters/chalk/jpeg/kis_jpeg_export.cpp similarity index 100% rename from filters/chalk/jpeg/kis_jpeg_export.cc rename to filters/chalk/jpeg/kis_jpeg_export.cpp diff --git a/filters/chalk/jpeg/kis_jpeg_import.cc b/filters/chalk/jpeg/kis_jpeg_import.cpp similarity index 100% rename from filters/chalk/jpeg/kis_jpeg_import.cc rename to filters/chalk/jpeg/kis_jpeg_import.cpp diff --git a/filters/chalk/magick/Makefile.am b/filters/chalk/magick/Makefile.am index e6bfcf29a..b41d09585 100644 --- a/filters/chalk/magick/Makefile.am +++ b/filters/chalk/magick/Makefile.am @@ -39,8 +39,8 @@ servicedir = $(kde_servicesdir) kdelnk_DATA = chalk_magick.desktop kdelnkdir = $(kde_appsdir)/Office -libchalkmagickimport_la_SOURCES = magickimport.cpp kis_image_magick_converter.cc -libchalkmagickexport_la_SOURCES = magickexport.cpp kis_image_magick_converter.cc +libchalkmagickimport_la_SOURCES = magickimport.cpp kis_image_magick_converter.cpp +libchalkmagickexport_la_SOURCES = magickexport.cpp kis_image_magick_converter.cpp METASOURCES = AUTO diff --git a/filters/chalk/magick/kis_image_magick_converter.cc b/filters/chalk/magick/kis_image_magick_converter.cpp similarity index 100% rename from filters/chalk/magick/kis_image_magick_converter.cc rename to filters/chalk/magick/kis_image_magick_converter.cpp diff --git a/filters/chalk/png/Makefile.am b/filters/chalk/png/Makefile.am index d314e65a3..93822d1fc 100644 --- a/filters/chalk/png/Makefile.am +++ b/filters/chalk/png/Makefile.am @@ -39,8 +39,8 @@ servicedir = $(kde_servicesdir) kdelnk_DATA = chalk_png.desktop kdelnkdir = $(kde_appsdir)/.hidden -libchalkpngimport_la_SOURCES = kis_png_import.cc kis_png_converter.cc -libchalkpngexport_la_SOURCES = kis_wdg_options_png.ui kis_png_export.cc kis_png_converter.cc +libchalkpngimport_la_SOURCES = kis_png_import.cpp kis_png_converter.cpp +libchalkpngexport_la_SOURCES = kis_wdg_options_png.ui kis_png_export.cpp kis_png_converter.cpp METASOURCES = AUTO diff --git a/filters/chalk/png/kis_png_converter.cc b/filters/chalk/png/kis_png_converter.cpp similarity index 100% rename from filters/chalk/png/kis_png_converter.cc rename to filters/chalk/png/kis_png_converter.cpp diff --git a/filters/chalk/png/kis_png_export.cc b/filters/chalk/png/kis_png_export.cpp similarity index 100% rename from filters/chalk/png/kis_png_export.cc rename to filters/chalk/png/kis_png_export.cpp diff --git a/filters/chalk/png/kis_png_import.cc b/filters/chalk/png/kis_png_import.cpp similarity index 100% rename from filters/chalk/png/kis_png_import.cc rename to filters/chalk/png/kis_png_import.cpp diff --git a/filters/chalk/tiff/Makefile.am b/filters/chalk/tiff/Makefile.am index b07e3eee7..f53432aba 100644 --- a/filters/chalk/tiff/Makefile.am +++ b/filters/chalk/tiff/Makefile.am @@ -46,8 +46,8 @@ METASOURCES = AUTO KDE_CXXFLAGS = $(USE_EXCEPTIONS) -libchalktiffimport_la_SOURCES = kis_tiff_import.cc -libchalktiffexport_la_SOURCES = kis_tiff_export.cc kis_wdg_options_tiff.ui \ +libchalktiffimport_la_SOURCES = kis_tiff_import.cpp +libchalktiffexport_la_SOURCES = kis_tiff_export.cpp kis_wdg_options_tiff.ui \ kis_dlg_options_tiff.cpp service_DATA = chalk_tiff_export.desktop chalk_tiff_import.desktop kdelnk_DATA = chalk_tiff.desktop @@ -60,5 +60,5 @@ libchalktiffconverter_la_LIBADD = $(KOFFICE_LIBS) \ ../../../chalk/ui/libchalkui.la \ ../../../chalk/chalkcolor/libchalkcolor.la noinst_LTLIBRARIES = libchalktiffconverter.la -libchalktiffconverter_la_SOURCES = kis_tiff_converter.cc kis_tiff_stream.cc \ - kis_tiff_writer_visitor.cpp kis_tiff_reader.cc kis_tiff_ycbcr_reader.cc +libchalktiffconverter_la_SOURCES = kis_tiff_converter.cpp kis_tiff_stream.cpp \ + kis_tiff_writer_visitor.cpp kis_tiff_reader.cpp kis_tiff_ycbcr_reader.cpp diff --git a/filters/chalk/tiff/kis_tiff_converter.cc b/filters/chalk/tiff/kis_tiff_converter.cpp similarity index 100% rename from filters/chalk/tiff/kis_tiff_converter.cc rename to filters/chalk/tiff/kis_tiff_converter.cpp diff --git a/filters/chalk/tiff/kis_tiff_export.cc b/filters/chalk/tiff/kis_tiff_export.cpp similarity index 100% rename from filters/chalk/tiff/kis_tiff_export.cc rename to filters/chalk/tiff/kis_tiff_export.cpp diff --git a/filters/chalk/tiff/kis_tiff_import.cc b/filters/chalk/tiff/kis_tiff_import.cpp similarity index 100% rename from filters/chalk/tiff/kis_tiff_import.cc rename to filters/chalk/tiff/kis_tiff_import.cpp diff --git a/filters/chalk/tiff/kis_tiff_reader.cc b/filters/chalk/tiff/kis_tiff_reader.cpp similarity index 100% rename from filters/chalk/tiff/kis_tiff_reader.cc rename to filters/chalk/tiff/kis_tiff_reader.cpp diff --git a/filters/chalk/tiff/kis_tiff_stream.cc b/filters/chalk/tiff/kis_tiff_stream.cpp similarity index 100% rename from filters/chalk/tiff/kis_tiff_stream.cc rename to filters/chalk/tiff/kis_tiff_stream.cpp diff --git a/filters/chalk/tiff/kis_tiff_ycbcr_reader.cc b/filters/chalk/tiff/kis_tiff_ycbcr_reader.cpp similarity index 100% rename from filters/chalk/tiff/kis_tiff_ycbcr_reader.cc rename to filters/chalk/tiff/kis_tiff_ycbcr_reader.cpp diff --git a/filters/chalk/xcf/xcf/xcf-load.cc b/filters/chalk/xcf/xcf/xcf-load.cpp similarity index 100% rename from filters/chalk/xcf/xcf/xcf-load.cc rename to filters/chalk/xcf/xcf/xcf-load.cpp diff --git a/filters/chalk/xcf/xcf/xcf-read.cc b/filters/chalk/xcf/xcf/xcf-read.cpp similarity index 100% rename from filters/chalk/xcf/xcf/xcf-read.cc rename to filters/chalk/xcf/xcf/xcf-read.cpp diff --git a/filters/chalk/xcf/xcf/xcf-save.cc b/filters/chalk/xcf/xcf/xcf-save.cpp similarity index 100% rename from filters/chalk/xcf/xcf/xcf-save.cc rename to filters/chalk/xcf/xcf/xcf-save.cpp diff --git a/filters/chalk/xcf/xcf/xcf-seek.cc b/filters/chalk/xcf/xcf/xcf-seek.cpp similarity index 100% rename from filters/chalk/xcf/xcf/xcf-seek.cc rename to filters/chalk/xcf/xcf/xcf-seek.cpp diff --git a/filters/chalk/xcf/xcf/xcf-write.cc b/filters/chalk/xcf/xcf/xcf-write.cpp similarity index 100% rename from filters/chalk/xcf/xcf/xcf-write.cc rename to filters/chalk/xcf/xcf/xcf-write.cpp diff --git a/filters/generic_wrapper/Makefile.am b/filters/generic_wrapper/Makefile.am index 8d1cb7a05..66d95473f 100644 --- a/filters/generic_wrapper/Makefile.am +++ b/filters/generic_wrapper/Makefile.am @@ -6,7 +6,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = libgenerickofilter.la -libgenerickofilter_la_SOURCES = generic_filter.cc +libgenerickofilter_la_SOURCES = generic_filter.cpp libgenerickofilter_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libgenerickofilter_la_LIBADD = $(KOFFICE_LIBS) $(LIB_TDEIO) diff --git a/filters/generic_wrapper/generic_filter.cc b/filters/generic_wrapper/generic_filter.cpp similarity index 100% rename from filters/generic_wrapper/generic_filter.cc rename to filters/generic_wrapper/generic_filter.cpp diff --git a/filters/karbon/ai/Makefile.am b/filters/karbon/ai/Makefile.am index 761feaffd..2bbc124df 100644 --- a/filters/karbon/ai/Makefile.am +++ b/filters/karbon/ai/Makefile.am @@ -30,14 +30,14 @@ noinst_HEADERS = \ karbonaiparserbase.h libkarbonaiimport_la_SOURCES = \ - aicolor.cc \ - aielement.cc \ - aiimport.cc \ - ailexer.cc \ - aiparserbase.cc \ - ai88handler.cc \ - ai3handler.cc \ - karbonaiparserbase.cc + aicolor.cpp \ + aielement.cpp \ + aiimport.cpp \ + ailexer.cpp \ + aiparserbase.cpp \ + ai88handler.cpp \ + ai3handler.cpp \ + karbonaiparserbase.cpp libkarbonaiimport_la_METASOURCES = \ AUTO diff --git a/filters/karbon/ai/ai3handler.cc b/filters/karbon/ai/ai3handler.cpp similarity index 100% rename from filters/karbon/ai/ai3handler.cc rename to filters/karbon/ai/ai3handler.cpp diff --git a/filters/karbon/ai/ai88handler.cc b/filters/karbon/ai/ai88handler.cpp similarity index 100% rename from filters/karbon/ai/ai88handler.cc rename to filters/karbon/ai/ai88handler.cpp diff --git a/filters/karbon/ai/aicolor.cc b/filters/karbon/ai/aicolor.cpp similarity index 100% rename from filters/karbon/ai/aicolor.cc rename to filters/karbon/ai/aicolor.cpp diff --git a/filters/karbon/ai/aielement.cc b/filters/karbon/ai/aielement.cpp similarity index 100% rename from filters/karbon/ai/aielement.cc rename to filters/karbon/ai/aielement.cpp diff --git a/filters/karbon/ai/aiimport.cc b/filters/karbon/ai/aiimport.cpp similarity index 100% rename from filters/karbon/ai/aiimport.cc rename to filters/karbon/ai/aiimport.cpp diff --git a/filters/karbon/ai/ailexer.cc b/filters/karbon/ai/ailexer.cpp similarity index 100% rename from filters/karbon/ai/ailexer.cc rename to filters/karbon/ai/ailexer.cpp diff --git a/filters/karbon/ai/aiparserbase.cc b/filters/karbon/ai/aiparserbase.cpp similarity index 100% rename from filters/karbon/ai/aiparserbase.cc rename to filters/karbon/ai/aiparserbase.cpp diff --git a/filters/karbon/ai/karbonaiparserbase.cc b/filters/karbon/ai/karbonaiparserbase.cpp similarity index 100% rename from filters/karbon/ai/karbonaiparserbase.cc rename to filters/karbon/ai/karbonaiparserbase.cpp diff --git a/filters/karbon/applixgraphics/Makefile.am b/filters/karbon/applixgraphics/Makefile.am index b3c03f384..83fefb227 100644 --- a/filters/karbon/applixgraphics/Makefile.am +++ b/filters/karbon/applixgraphics/Makefile.am @@ -7,7 +7,7 @@ libapplixgraphicimport_la_LDFLAGS = -module -avoid-version -no-undefined $(all_l kde_module_LTLIBRARIES = libapplixgraphicimport.la -libapplixgraphicimport_la_SOURCES = applixgraphicimport.cc +libapplixgraphicimport_la_SOURCES = applixgraphicimport.cpp libapplixgraphicimport_la_LIBADD = $(KOFFICE_LIBS) noinst_HEADERS = applixgraphicimport.h @@ -17,4 +17,4 @@ service_DATA = kontour_applixgraphic_import.desktop servicedir = $(kde_servicesdir) messages: rc.cpp - $(XGETTEXT) *.cc *.cpp -o $(podir)/kontourapplixgraphicsfilter.pot + $(XGETTEXT) *.cpp -o $(podir)/kontourapplixgraphicsfilter.pot diff --git a/filters/karbon/applixgraphics/applixgraphicimport.cc b/filters/karbon/applixgraphics/applixgraphicimport.cpp similarity index 100% rename from filters/karbon/applixgraphics/applixgraphicimport.cc rename to filters/karbon/applixgraphics/applixgraphicimport.cpp diff --git a/filters/karbon/eps/Makefile.am b/filters/karbon/eps/Makefile.am index 035a188e0..ccf3503eb 100644 --- a/filters/karbon/eps/Makefile.am +++ b/filters/karbon/eps/Makefile.am @@ -3,13 +3,13 @@ kde_module_LTLIBRARIES = \ libkarbonepsimport.la libkarbonepsexport_la_SOURCES = \ - epsexport.cc \ - epsexportdlg.cc + epsexport.cpp \ + epsexportdlg.cpp libkarbonepsexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libkarbonepsexport_la_LIBADD = $(KOFFICE_LIBS) ../../../karbon/libkarboncommon.la -libkarbonepsimport_la_SOURCES = epsimport.cc pscommentlexer.cc +libkarbonepsimport_la_SOURCES = epsimport.cpp pscommentlexer.cpp libkarbonepsimport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libkarbonepsimport_la_LIBADD = $(KOFFICE_LIBS) diff --git a/filters/karbon/eps/epsexport.cc b/filters/karbon/eps/epsexport.cpp similarity index 100% rename from filters/karbon/eps/epsexport.cc rename to filters/karbon/eps/epsexport.cpp diff --git a/filters/karbon/eps/epsexportdlg.cc b/filters/karbon/eps/epsexportdlg.cpp similarity index 100% rename from filters/karbon/eps/epsexportdlg.cc rename to filters/karbon/eps/epsexportdlg.cpp diff --git a/filters/karbon/eps/epsimport.cc b/filters/karbon/eps/epsimport.cpp similarity index 100% rename from filters/karbon/eps/epsimport.cc rename to filters/karbon/eps/epsimport.cpp diff --git a/filters/karbon/eps/pscommentlexer.cc b/filters/karbon/eps/pscommentlexer.cpp similarity index 100% rename from filters/karbon/eps/pscommentlexer.cc rename to filters/karbon/eps/pscommentlexer.cpp diff --git a/filters/karbon/kontour/Makefile.am b/filters/karbon/kontour/Makefile.am index be0b835ff..d955dbef0 100644 --- a/filters/karbon/kontour/Makefile.am +++ b/filters/karbon/kontour/Makefile.am @@ -5,7 +5,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) -I$(top_srcdir)/ ####### Files # Obviously you have to change "foo" (and maybe "import") to # reflect the name of your filter. If you have more files -# than just fooimport.cc please add them to the _SOURCES line. +# than just fooimport.cpp please add them to the _SOURCES line. kde_module_LTLIBRARIES = libkarbonkontourimport.la diff --git a/filters/karbon/msod/Makefile.am b/filters/karbon/msod/Makefile.am index f7191cd11..a555234a4 100644 --- a/filters/karbon/msod/Makefile.am +++ b/filters/karbon/msod/Makefile.am @@ -8,7 +8,7 @@ libkarbonmsodimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBZ) kde_module_LTLIBRARIES = libkarbonmsodimport.la -libkarbonmsodimport_la_SOURCES = msodimport.cc msod.cc +libkarbonmsodimport_la_SOURCES = msodimport.cpp msod.cpp noinst_HEADERS = msodimport.h msod.h diff --git a/filters/karbon/msod/msod.cc b/filters/karbon/msod/msod.cpp similarity index 100% rename from filters/karbon/msod/msod.cc rename to filters/karbon/msod/msod.cpp diff --git a/filters/karbon/msod/msodimport.cc b/filters/karbon/msod/msodimport.cpp similarity index 100% rename from filters/karbon/msod/msodimport.cc rename to filters/karbon/msod/msodimport.cpp diff --git a/filters/karbon/oodraw/Makefile.am b/filters/karbon/oodraw/Makefile.am index 4cca1e325..3ace9839b 100644 --- a/filters/karbon/oodraw/Makefile.am +++ b/filters/karbon/oodraw/Makefile.am @@ -11,7 +11,7 @@ INCLUDES= -I$(srcdir)/../../liboofilter \ kde_module_LTLIBRARIES = liboodrawimport.la -liboodrawimport_la_SOURCES = oodrawimport.cc +liboodrawimport_la_SOURCES = oodrawimport.cpp liboodrawimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined liboodrawimport_la_LIBADD = ../../liboofilter/liboofilter.la \ ../../../karbon/libkarboncommon.la \ diff --git a/filters/karbon/oodraw/oodrawimport.cc b/filters/karbon/oodraw/oodrawimport.cpp similarity index 100% rename from filters/karbon/oodraw/oodrawimport.cc rename to filters/karbon/oodraw/oodrawimport.cpp diff --git a/filters/karbon/png/Makefile.am b/filters/karbon/png/Makefile.am index 86d7e4114..2a12d23b6 100644 --- a/filters/karbon/png/Makefile.am +++ b/filters/karbon/png/Makefile.am @@ -20,7 +20,7 @@ noinst_HEADERS = \ pngexport.h libkarbonpngexport_la_SOURCES = \ - pngexport.cc + pngexport.cpp libkarbonpngexport_la_METASOURCES = \ AUTO diff --git a/filters/karbon/png/pngexport.cc b/filters/karbon/png/pngexport.cpp similarity index 100% rename from filters/karbon/png/pngexport.cc rename to filters/karbon/png/pngexport.cpp diff --git a/filters/karbon/svg/Makefile.am b/filters/karbon/svg/Makefile.am index b8e08060f..289f689a7 100644 --- a/filters/karbon/svg/Makefile.am +++ b/filters/karbon/svg/Makefile.am @@ -25,10 +25,10 @@ noinst_HEADERS = \ svgexport.h libkarbonsvgexport_la_SOURCES = \ - svgexport.cc + svgexport.cpp METASOURCES = AUTO libkarbonsvgimport_la_SOURCES = \ - svgimport.cc + svgimport.cpp diff --git a/filters/karbon/svg/svgexport.cc b/filters/karbon/svg/svgexport.cpp similarity index 100% rename from filters/karbon/svg/svgexport.cc rename to filters/karbon/svg/svgexport.cpp diff --git a/filters/karbon/svg/svgimport.cc b/filters/karbon/svg/svgimport.cpp similarity index 100% rename from filters/karbon/svg/svgimport.cc rename to filters/karbon/svg/svgimport.cpp diff --git a/filters/karbon/wmf/Makefile.am b/filters/karbon/wmf/Makefile.am index 54bae415f..976888ac1 100644 --- a/filters/karbon/wmf/Makefile.am +++ b/filters/karbon/wmf/Makefile.am @@ -13,11 +13,11 @@ kde_module_LTLIBRARIES = libwmfimport.la libwmfexport.la libwmfimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libwmfimport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOWMF) ../../../karbon/libkarboncommon.la -libwmfimport_la_SOURCES = wmfimport.cc wmfimportparser.cc +libwmfimport_la_SOURCES = wmfimport.cpp wmfimportparser.cpp libwmfexport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libwmfexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOWMF) ../../../karbon/libkarboncommon.la -libwmfexport_la_SOURCES = wmfexport.cc +libwmfexport_la_SOURCES = wmfexport.cpp noinst_HEADERS = wmfimport.h wmfimportparser.h wmfexport.h diff --git a/filters/karbon/wmf/wmfexport.cc b/filters/karbon/wmf/wmfexport.cpp similarity index 100% rename from filters/karbon/wmf/wmfexport.cc rename to filters/karbon/wmf/wmfexport.cpp diff --git a/filters/karbon/wmf/wmfimport.cc b/filters/karbon/wmf/wmfimport.cpp similarity index 100% rename from filters/karbon/wmf/wmfimport.cc rename to filters/karbon/wmf/wmfimport.cpp diff --git a/filters/karbon/wmf/wmfimportparser.cc b/filters/karbon/wmf/wmfimportparser.cpp similarity index 100% rename from filters/karbon/wmf/wmfimportparser.cc rename to filters/karbon/wmf/wmfimportparser.cpp diff --git a/filters/karbon/xaml/Makefile.am b/filters/karbon/xaml/Makefile.am index f7036adac..9bf1e0686 100644 --- a/filters/karbon/xaml/Makefile.am +++ b/filters/karbon/xaml/Makefile.am @@ -26,10 +26,10 @@ noinst_HEADERS = \ xamlimport.h libkarbonxamlexport_la_SOURCES = \ - xamlexport.cc + xamlexport.cpp libkarbonxamlimport_la_SOURCES = \ - xamlimport.cc + xamlimport.cpp METASOURCES = AUTO diff --git a/filters/karbon/xaml/xamlexport.cc b/filters/karbon/xaml/xamlexport.cpp similarity index 100% rename from filters/karbon/xaml/xamlexport.cc rename to filters/karbon/xaml/xamlexport.cpp diff --git a/filters/karbon/xaml/xamlimport.cc b/filters/karbon/xaml/xamlimport.cpp similarity index 100% rename from filters/karbon/xaml/xamlimport.cc rename to filters/karbon/xaml/xamlimport.cpp diff --git a/filters/karbon/xcf/Makefile.am b/filters/karbon/xcf/Makefile.am index f3a1b3ac2..bc16ca76d 100644 --- a/filters/karbon/xcf/Makefile.am +++ b/filters/karbon/xcf/Makefile.am @@ -20,7 +20,7 @@ noinst_HEADERS = \ xcfexport.h libkarbonxcfexport_la_SOURCES = \ - xcfexport.cc + xcfexport.cpp libkarbonxcfexport_la_METASOURCES = \ AUTO diff --git a/filters/karbon/xcf/xcfexport.cc b/filters/karbon/xcf/xcfexport.cpp similarity index 100% rename from filters/karbon/xcf/xcfexport.cc rename to filters/karbon/xcf/xcfexport.cpp diff --git a/filters/karbon/xfig/xfigimport.cc b/filters/karbon/xfig/xfigimport.cpp similarity index 100% rename from filters/karbon/xfig/xfigimport.cc rename to filters/karbon/xfig/xfigimport.cpp diff --git a/filters/karbon/xfig/xfigimport_factory.cc b/filters/karbon/xfig/xfigimport_factory.cpp similarity index 100% rename from filters/karbon/xfig/xfigimport_factory.cc rename to filters/karbon/xfig/xfigimport_factory.cpp diff --git a/filters/kchart/svg/Makefile.am b/filters/kchart/svg/Makefile.am index 6c440ed1b..864653e33 100644 --- a/filters/kchart/svg/Makefile.am +++ b/filters/kchart/svg/Makefile.am @@ -9,7 +9,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ ####### Files kde_module_LTLIBRARIES = libkchartsvgexport.la -libkchartsvgexport_la_SOURCES = svgexport.cc +libkchartsvgexport_la_SOURCES = svgexport.cpp libkchartsvgexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libkchartsvgexport_la_LIBADD = ../../../kchart/libkchartcommon.la $(KOFFICE_LIBS) noinst_HEADERS = \ diff --git a/filters/kchart/svg/svgexport.cc b/filters/kchart/svg/svgexport.cpp similarity index 100% rename from filters/kchart/svg/svgexport.cc rename to filters/kchart/svg/svgexport.cpp diff --git a/filters/kformula/latex/Makefile.am b/filters/kformula/latex/Makefile.am index 95bee7d58..25bf902f8 100644 --- a/filters/kformula/latex/Makefile.am +++ b/filters/kformula/latex/Makefile.am @@ -8,13 +8,13 @@ libkfolatexexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) kde_module_LTLIBRARIES = libkfolatexexport.la -libkfolatexexport_la_SOURCES = latexexport.cc +libkfolatexexport_la_SOURCES = latexexport.cpp noinst_HEADERS = latexexport.h ######## Debug #check_PROGRAMS = texlauncher -#texlauncher_SOURCES = texlauncher.cc +#texlauncher_SOURCES = texlauncher.cpp #texlauncher_LDADD = liblatexexport.la #texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor diff --git a/filters/kformula/latex/latexexport.cc b/filters/kformula/latex/latexexport.cpp similarity index 100% rename from filters/kformula/latex/latexexport.cc rename to filters/kformula/latex/latexexport.cpp diff --git a/filters/kformula/mathml/Makefile.am b/filters/kformula/mathml/Makefile.am index cdd07955a..0d2a9c386 100644 --- a/filters/kformula/mathml/Makefile.am +++ b/filters/kformula/mathml/Makefile.am @@ -10,9 +10,9 @@ libkfomathmlimport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) kde_module_LTLIBRARIES = libkfomathmlexport.la libkfomathmlimport.la -libkfomathmlexport_la_SOURCES = mathmlexport.cc +libkfomathmlexport_la_SOURCES = mathmlexport.cpp -libkfomathmlimport_la_SOURCES = mathmlimport.cc +libkfomathmlimport_la_SOURCES = mathmlimport.cpp noinst_HEADERS = mathmlexport.h mathmlimport.h diff --git a/filters/kformula/mathml/mathmlexport.cc b/filters/kformula/mathml/mathmlexport.cpp similarity index 100% rename from filters/kformula/mathml/mathmlexport.cc rename to filters/kformula/mathml/mathmlexport.cpp diff --git a/filters/kformula/mathml/mathmlimport.cc b/filters/kformula/mathml/mathmlimport.cpp similarity index 100% rename from filters/kformula/mathml/mathmlimport.cc rename to filters/kformula/mathml/mathmlimport.cpp diff --git a/filters/kformula/png/Makefile.am b/filters/kformula/png/Makefile.am index 277f063d2..43b599bf2 100644 --- a/filters/kformula/png/Makefile.am +++ b/filters/kformula/png/Makefile.am @@ -8,13 +8,13 @@ libkfopngexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) kde_module_LTLIBRARIES = libkfopngexport.la -libkfopngexport_la_SOURCES = pngexport.cc pngexportdia.cc +libkfopngexport_la_SOURCES = pngexport.cpp pngexportdia.cpp noinst_HEADERS = pngexport.h pngexportdia.h ######## Debug #check_PROGRAMS = texlauncher -#texlauncher_SOURCES = texlauncher.cc +#texlauncher_SOURCES = texlauncher.cpp #texlauncher_LDADD = liblatexexport.la #texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor diff --git a/filters/kformula/png/pngexport.cc b/filters/kformula/png/pngexport.cpp similarity index 100% rename from filters/kformula/png/pngexport.cc rename to filters/kformula/png/pngexport.cpp diff --git a/filters/kformula/png/pngexportdia.cc b/filters/kformula/png/pngexportdia.cpp similarity index 100% rename from filters/kformula/png/pngexportdia.cc rename to filters/kformula/png/pngexportdia.cpp diff --git a/filters/kformula/svg/Makefile.am b/filters/kformula/svg/Makefile.am index 144cfbb2a..9ef58a21a 100644 --- a/filters/kformula/svg/Makefile.am +++ b/filters/kformula/svg/Makefile.am @@ -8,13 +8,13 @@ libkfosvgexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) kde_module_LTLIBRARIES = libkfosvgexport.la -libkfosvgexport_la_SOURCES = svgexport.cc +libkfosvgexport_la_SOURCES = svgexport.cpp noinst_HEADERS = svgexport.h ######## Debug #check_PROGRAMS = texlauncher -#texlauncher_SOURCES = texlauncher.cc +#texlauncher_SOURCES = texlauncher.cpp #texlauncher_LDADD = liblatexexport.la #texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor diff --git a/filters/kformula/svg/svgexport.cc b/filters/kformula/svg/svgexport.cpp similarity index 100% rename from filters/kformula/svg/svgexport.cc rename to filters/kformula/svg/svgexport.cpp diff --git a/filters/kpresenter/kword/Makefile.am b/filters/kpresenter/kword/Makefile.am index 0e579f5cb..829aa93c9 100644 --- a/filters/kpresenter/kword/Makefile.am +++ b/filters/kpresenter/kword/Makefile.am @@ -2,7 +2,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = libkprkword.la -libkprkword_la_SOURCES = kprkword.cc +libkprkword_la_SOURCES = kprkword.cpp libkprkword_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libkprkword_la_LIBADD = $(KOFFICE_LIBS) diff --git a/filters/kpresenter/kword/kprkword.cc b/filters/kpresenter/kword/kprkword.cpp similarity index 100% rename from filters/kpresenter/kword/kprkword.cc rename to filters/kpresenter/kword/kprkword.cpp diff --git a/filters/kpresenter/ooimpress/Makefile.am b/filters/kpresenter/ooimpress/Makefile.am index b69dc04cf..f17330405 100644 --- a/filters/kpresenter/ooimpress/Makefile.am +++ b/filters/kpresenter/ooimpress/Makefile.am @@ -6,11 +6,11 @@ INCLUDES= -I$(srcdir)/../../liboofilter $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = libooimpressimport.la libooimpressexport.la -libooimpressimport_la_SOURCES = ooimpressimport.cc +libooimpressimport_la_SOURCES = ooimpressimport.cpp libooimpressimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libooimpressimport_la_LIBADD = ../../liboofilter/liboofilter.la $(KOFFICE_LIBS) -libooimpressexport_la_SOURCES = ooimpressexport.cc stylefactory.cc +libooimpressexport_la_SOURCES = ooimpressexport.cpp stylefactory.cpp libooimpressexport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libooimpressexport_la_LIBADD = ../../liboofilter/liboofilter.la $(KOFFICE_LIBS) diff --git a/filters/kpresenter/ooimpress/ooimpressexport.cc b/filters/kpresenter/ooimpress/ooimpressexport.cpp similarity index 100% rename from filters/kpresenter/ooimpress/ooimpressexport.cc rename to filters/kpresenter/ooimpress/ooimpressexport.cpp diff --git a/filters/kpresenter/ooimpress/ooimpressimport.cc b/filters/kpresenter/ooimpress/ooimpressimport.cpp similarity index 100% rename from filters/kpresenter/ooimpress/ooimpressimport.cc rename to filters/kpresenter/ooimpress/ooimpressimport.cpp diff --git a/filters/kpresenter/ooimpress/stylefactory.cc b/filters/kpresenter/ooimpress/stylefactory.cpp similarity index 100% rename from filters/kpresenter/ooimpress/stylefactory.cc rename to filters/kpresenter/ooimpress/stylefactory.cpp diff --git a/filters/kpresenter/powerpoint/import/Makefile.am b/filters/kpresenter/powerpoint/import/Makefile.am index 91f27887b..0034dfbb5 100644 --- a/filters/kpresenter/powerpoint/import/Makefile.am +++ b/filters/kpresenter/powerpoint/import/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = -I$(srcdir) -I$(srcdir)/../libppt $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = libpowerpointimport.la -libpowerpointimport_la_SOURCES = powerpointimport.cc +libpowerpointimport_la_SOURCES = powerpointimport.cpp libpowerpointimport_la_LIBADD = $(KOFFICE_LIBS) ../libppt/libppt.la libpowerpointimport_la_LDFLAGS = -module $(KDE_PLUGIN) noinst_HEADERS = powerpointimport.h diff --git a/filters/kpresenter/powerpoint/import/powerpointimport.cc b/filters/kpresenter/powerpoint/import/powerpointimport.cpp similarity index 100% rename from filters/kpresenter/powerpoint/import/powerpointimport.cc rename to filters/kpresenter/powerpoint/import/powerpointimport.cpp diff --git a/filters/kpresenter/svg/Makefile.am b/filters/kpresenter/svg/Makefile.am index dcfa91f28..c1024e311 100644 --- a/filters/kpresenter/svg/Makefile.am +++ b/filters/kpresenter/svg/Makefile.am @@ -8,7 +8,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ ####### Files kde_module_LTLIBRARIES = libkpresentersvgexport.la -libkpresentersvgexport_la_SOURCES = svgexport.cc +libkpresentersvgexport_la_SOURCES = svgexport.cpp libkpresentersvgexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libkpresentersvgexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la $(KOFFICE_LIBS) noinst_HEADERS = \ diff --git a/filters/kpresenter/svg/svgexport.cc b/filters/kpresenter/svg/svgexport.cpp similarity index 97% rename from filters/kpresenter/svg/svgexport.cc rename to filters/kpresenter/svg/svgexport.cpp index 5b6ed8928..711864df4 100644 --- a/filters/kpresenter/svg/svgexport.cc +++ b/filters/kpresenter/svg/svgexport.cpp @@ -1,6 +1,6 @@ /* This file is part of the KDE project Copyright (C) 2005 Laurent Montel - code based on svgexport.cc from Inge Wallin + code based on svgexport.cpp from Inge Wallin This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public diff --git a/filters/kpresenter/svg/svgexport.h b/filters/kpresenter/svg/svgexport.h index d46ba5faa..e08171ec5 100644 --- a/filters/kpresenter/svg/svgexport.h +++ b/filters/kpresenter/svg/svgexport.h @@ -1,6 +1,6 @@ /* This file is part of the KDE project Copyright (C) 2005 Laurent Montel - code based on svgexport.cc from Inge Wallin + code based on svgexport.cpp from Inge Wallin This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public diff --git a/filters/kspread/applixspread/Makefile.am b/filters/kspread/applixspread/Makefile.am index 5d2d42e4e..667c76494 100644 --- a/filters/kspread/applixspread/Makefile.am +++ b/filters/kspread/applixspread/Makefile.am @@ -6,7 +6,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = libapplixspreadimport.la -libapplixspreadimport_la_SOURCES = applixspreadimport.cc +libapplixspreadimport_la_SOURCES = applixspreadimport.cpp libapplixspreadimport_la_LIBADD = $(KOFFICE_LIBS) libapplixspreadimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts noinst_HEADERS = applixspreadimport.h diff --git a/filters/kspread/applixspread/applixspreadimport.cc b/filters/kspread/applixspread/applixspreadimport.cpp similarity index 100% rename from filters/kspread/applixspread/applixspreadimport.cc rename to filters/kspread/applixspread/applixspreadimport.cpp diff --git a/filters/kspread/applixspread/status.html b/filters/kspread/applixspread/status.html index c944ef5c0..859f8b155 100644 --- a/filters/kspread/applixspread/status.html +++ b/filters/kspread/applixspread/status.html @@ -236,7 +236,7 @@ If the value of r, g or b if less then 0 you must set it to 0 .

For examples inside koffice look a this files too
- koffice/kimageshop/core/kis_color.cc and kis_color.h
+ koffice/kimageshop/core/kis_color.cpp and kis_color.h


2.3. Colormap end:
diff --git a/filters/kspread/csv/DESIGN b/filters/kspread/csv/DESIGN index 9c6c4c909..5f9a3ed13 100644 --- a/filters/kspread/csv/DESIGN +++ b/filters/kspread/csv/DESIGN @@ -32,6 +32,6 @@ EOL : End Of Line. Ugly isn't it ? :) One can't be good in drawings AND in hacking :) -That's all. For the rest, see csvfilter.cc +That's all. For the rest, see csvfilter.cpp David Faure , 1999 diff --git a/filters/kspread/csv/Makefile.am b/filters/kspread/csv/Makefile.am index 32c8408a5..c46b0302a 100644 --- a/filters/kspread/csv/Makefile.am +++ b/filters/kspread/csv/Makefile.am @@ -7,11 +7,11 @@ INCLUDES= -I$(srcdir) -I$(top_srcdir)/kspread $(KOFFICE_INCLUDES) \ kde_module_LTLIBRARIES = libcsvimport.la libcsvexport.la -libcsvimport_la_SOURCES = csvimport.cc xmltree.cc csvdialog.cpp dialogui.ui +libcsvimport_la_SOURCES = csvimport.cpp xmltree.cpp csvdialog.cpp dialogui.ui libcsvimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libcsvimport_la_LIBADD = $(KOFFICE_LIBS) ../../../kspread/libkspreadcommon.la -libcsvexport_la_SOURCES = csvexport.cc csvexportdialog.cpp exportdialogui.ui +libcsvexport_la_SOURCES = csvexport.cpp csvexportdialog.cpp exportdialogui.ui libcsvexport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libcsvexport_la_LIBADD = $(KOFFICE_LIBS) ../../../kspread/libkspreadcommon.la diff --git a/filters/kspread/csv/csvexport.cc b/filters/kspread/csv/csvexport.cpp similarity index 100% rename from filters/kspread/csv/csvexport.cc rename to filters/kspread/csv/csvexport.cpp diff --git a/filters/kspread/csv/csvimport.cc b/filters/kspread/csv/csvimport.cpp similarity index 100% rename from filters/kspread/csv/csvimport.cc rename to filters/kspread/csv/csvimport.cpp diff --git a/filters/kspread/csv/status.html b/filters/kspread/csv/status.html index c4379ade8..e31c27613 100644 --- a/filters/kspread/csv/status.html +++ b/filters/kspread/csv/status.html @@ -117,7 +117,7 @@ EOL : End Of Line. Ugly isn't it ? :) One can't be good in drawings AND in hacking :) -That's all. For the rest, see csvfilter.cc +That's all. For the rest, see csvfilter.cpp David Faure <faure@kde.org>, 1999 diff --git a/filters/kspread/csv/xmltree.cc b/filters/kspread/csv/xmltree.cpp similarity index 100% rename from filters/kspread/csv/xmltree.cc rename to filters/kspread/csv/xmltree.cpp diff --git a/filters/kspread/dbase/Makefile.am b/filters/kspread/dbase/Makefile.am index ea7713283..5802ff7ea 100644 --- a/filters/kspread/dbase/Makefile.am +++ b/filters/kspread/dbase/Makefile.am @@ -6,7 +6,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = libdbaseimport.la -libdbaseimport_la_SOURCES = dbaseimport.cc dbase.cpp +libdbaseimport_la_SOURCES = dbaseimport.cpp dbase.cpp libdbaseimport_la_LIBADD = $(KOFFICE_LIBS) libdbaseimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts noinst_HEADERS = dbaseimport.h dbase.h diff --git a/filters/kspread/dbase/dbaseimport.cc b/filters/kspread/dbase/dbaseimport.cpp similarity index 100% rename from filters/kspread/dbase/dbaseimport.cc rename to filters/kspread/dbase/dbaseimport.cpp diff --git a/filters/kspread/excel/Makefile.am b/filters/kspread/excel/Makefile.am index 73d5db56a..329f247c4 100644 --- a/filters/kspread/excel/Makefile.am +++ b/filters/kspread/excel/Makefile.am @@ -12,4 +12,4 @@ METASOURCES = AUTO servicedir = $(kde_servicesdir) messages: rc.cpp - $(XGETTEXT) *.cc *.cpp -o $(podir)/kspreadexcelfilter.pot + $(XGETTEXT) *.cpp *.cpp -o $(podir)/kspreadexcelfilter.pot diff --git a/filters/kspread/excel/excelexport.cc b/filters/kspread/excel/excelexport.cpp similarity index 100% rename from filters/kspread/excel/excelexport.cc rename to filters/kspread/excel/excelexport.cpp diff --git a/filters/kspread/excel/import/Makefile.am b/filters/kspread/excel/import/Makefile.am index 9f371d22d..1f966ef73 100644 --- a/filters/kspread/excel/import/Makefile.am +++ b/filters/kspread/excel/import/Makefile.am @@ -6,7 +6,7 @@ INCLUDES= -I$(srcdir) -I$(srcdir)/../sidewinder $(KOFFICE_INCLUDES) $(all_includ kde_module_LTLIBRARIES = libexcelimport.la -libexcelimport_la_SOURCES = excelimport.cc +libexcelimport_la_SOURCES = excelimport.cpp libexcelimport_la_LIBADD = $(KOFFICE_LIBS) ../sidewinder/libsidewinder.la libexcelimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts noinst_HEADERS = excelimport.h diff --git a/filters/kspread/excel/import/excelimport.cc b/filters/kspread/excel/import/excelimport.cpp similarity index 100% rename from filters/kspread/excel/import/excelimport.cc rename to filters/kspread/excel/import/excelimport.cpp diff --git a/filters/kspread/gnumeric/Makefile.am b/filters/kspread/gnumeric/Makefile.am index 6bb9608ed..a16f0024e 100644 --- a/filters/kspread/gnumeric/Makefile.am +++ b/filters/kspread/gnumeric/Makefile.am @@ -6,11 +6,11 @@ INCLUDES= -I$(srcdir) -I$(top_srcdir)/kspread $(KOFFICE_INCLUDES) \ ####### Files kde_module_LTLIBRARIES = libgnumericexport.la libgnumericimport.la -libgnumericexport_la_SOURCES = gnumericexport.cc +libgnumericexport_la_SOURCES = gnumericexport.cpp libgnumericexport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libgnumericexport_la_LIBADD = $(KOFFICE_LIBS) ../../../kspread/libkspreadcommon.la -libgnumericimport_la_SOURCES = gnumericimport.cc +libgnumericimport_la_SOURCES = gnumericimport.cpp libgnumericimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libgnumericimport_la_LIBADD = $(KOFFICE_LIBS) ../../../kspread/libkspreadcommon.la diff --git a/filters/kspread/gnumeric/gnumericexport.cc b/filters/kspread/gnumeric/gnumericexport.cpp similarity index 100% rename from filters/kspread/gnumeric/gnumericexport.cc rename to filters/kspread/gnumeric/gnumericexport.cpp diff --git a/filters/kspread/gnumeric/gnumericimport.cc b/filters/kspread/gnumeric/gnumericimport.cpp similarity index 100% rename from filters/kspread/gnumeric/gnumericimport.cc rename to filters/kspread/gnumeric/gnumericimport.cpp diff --git a/filters/kspread/html/Makefile.am b/filters/kspread/html/Makefile.am index 87018febd..b170396fd 100644 --- a/filters/kspread/html/Makefile.am +++ b/filters/kspread/html/Makefile.am @@ -7,7 +7,7 @@ INCLUDES= -I$(srcdir) -I$(top_srcdir)/kspread $(KOFFICE_INCLUDES) \ kde_module_LTLIBRARIES = libkspreadhtmlexport.la -libkspreadhtmlexport_la_SOURCES = htmlexport.cc exportdialog.cc exportwidget.ui +libkspreadhtmlexport_la_SOURCES = htmlexport.cpp exportdialog.cpp exportwidget.ui libkspreadhtmlexport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libkspreadhtmlexport_la_LIBADD = $(KOFFICE_LIBS) ../../../kspread/libkspreadcommon.la diff --git a/filters/kspread/html/exportdialog.cc b/filters/kspread/html/exportdialog.cpp similarity index 100% rename from filters/kspread/html/exportdialog.cc rename to filters/kspread/html/exportdialog.cpp diff --git a/filters/kspread/html/htmlexport.cc b/filters/kspread/html/htmlexport.cpp similarity index 100% rename from filters/kspread/html/htmlexport.cc rename to filters/kspread/html/htmlexport.cpp diff --git a/filters/kspread/kexi/Makefile.am b/filters/kspread/kexi/Makefile.am index 6f76a2969..acfedf973 100644 --- a/filters/kspread/kexi/Makefile.am +++ b/filters/kspread/kexi/Makefile.am @@ -7,9 +7,9 @@ INCLUDES= -I$(srcdir) -I$(top_srcdir)/kspread -I$(top_srcdir)/kexi $(KOFFICE_INC kde_module_LTLIBRARIES = libkspreadkexiimport.la -libkspreadkexiimport_la_SOURCES = kspread_kexiimport.cc \ +libkspreadkexiimport_la_SOURCES = kspread_kexiimport.cpp \ kspread_kexiimportdialogbase.ui \ - kspread_kexiimportdialog.cc + kspread_kexiimportdialog.cpp libkspreadkexiimport_la_LDFLAGS = -avoid-version -module -no-undefined \ $(all_libraries) libkspreadkexiimport_la_LIBADD = ../../../kexi/kexidb/libkexidb.la \ diff --git a/filters/kspread/kexi/kspread_kexiimport.cc b/filters/kspread/kexi/kspread_kexiimport.cpp similarity index 100% rename from filters/kspread/kexi/kspread_kexiimport.cc rename to filters/kspread/kexi/kspread_kexiimport.cpp diff --git a/filters/kspread/kexi/kspread_kexiimportdialog.cc b/filters/kspread/kexi/kspread_kexiimportdialog.cpp similarity index 100% rename from filters/kspread/kexi/kspread_kexiimportdialog.cc rename to filters/kspread/kexi/kspread_kexiimportdialog.cpp diff --git a/filters/kspread/latex/export/Makefile.am b/filters/kspread/latex/export/Makefile.am index 053dd4323..0460b4be6 100644 --- a/filters/kspread/latex/export/Makefile.am +++ b/filters/kspread/latex/export/Makefile.am @@ -8,11 +8,11 @@ libkspreadlatexexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) kde_module_LTLIBRARIES = libkspreadlatexexport.la -libkspreadlatexexport_la_SOURCES = cell.cc column.cc config.cc document.cc fileheader.cc \ - format.cc latexexportdia.ui kspreadlatexexportdiaImpl.cc \ - latexexport.cc latexexportIface.cc latexexportIface.skel \ - map.cc pen.cc row.cc spreadsheet.cc table.cc \ - xmlparser.cc +libkspreadlatexexport_la_SOURCES = cell.cpp column.cpp config.cpp document.cpp fileheader.cpp \ + format.cpp latexexportdia.ui kspreadlatexexportdiaImpl.cpp \ + latexexport.cpp latexexportIface.cpp latexexportIface.skel \ + map.cpp pen.cpp row.cpp spreadsheet.cpp table.cpp \ + xmlparser.cpp noinst_HEADERS = cell.h column.h config.h document.h fileheader.h format.h \ kspreadlatexexportdiaImpl.h latexexport.h latexexportIface.h \ @@ -20,7 +20,7 @@ noinst_HEADERS = cell.h column.h config.h document.h fileheader.h format.h \ ######## Debug #check_PROGRAMS = texlauncher -#texlauncher_SOURCES = texlauncher.cc +#texlauncher_SOURCES = texlauncher.cpp #texlauncher_LDADD = liblatexexport.la #texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor diff --git a/filters/kspread/latex/export/cell.cc b/filters/kspread/latex/export/cell.cpp similarity index 100% rename from filters/kspread/latex/export/cell.cc rename to filters/kspread/latex/export/cell.cpp diff --git a/filters/kspread/latex/export/column.cc b/filters/kspread/latex/export/column.cpp similarity index 100% rename from filters/kspread/latex/export/column.cc rename to filters/kspread/latex/export/column.cpp diff --git a/filters/kspread/latex/export/config.cc b/filters/kspread/latex/export/config.cpp similarity index 100% rename from filters/kspread/latex/export/config.cc rename to filters/kspread/latex/export/config.cpp diff --git a/filters/kspread/latex/export/document.cc b/filters/kspread/latex/export/document.cpp similarity index 100% rename from filters/kspread/latex/export/document.cc rename to filters/kspread/latex/export/document.cpp diff --git a/filters/kspread/latex/export/fileheader.cc b/filters/kspread/latex/export/fileheader.cpp similarity index 100% rename from filters/kspread/latex/export/fileheader.cc rename to filters/kspread/latex/export/fileheader.cpp diff --git a/filters/kspread/latex/export/format.cc b/filters/kspread/latex/export/format.cpp similarity index 100% rename from filters/kspread/latex/export/format.cc rename to filters/kspread/latex/export/format.cpp diff --git a/filters/kspread/latex/export/formula.cc b/filters/kspread/latex/export/formula.cpp similarity index 100% rename from filters/kspread/latex/export/formula.cc rename to filters/kspread/latex/export/formula.cpp diff --git a/filters/kspread/latex/export/kspreadlatexexportdiaImpl.cc b/filters/kspread/latex/export/kspreadlatexexportdiaImpl.cpp similarity index 100% rename from filters/kspread/latex/export/kspreadlatexexportdiaImpl.cc rename to filters/kspread/latex/export/kspreadlatexexportdiaImpl.cpp diff --git a/filters/kspread/latex/export/latexexport.cc b/filters/kspread/latex/export/latexexport.cpp similarity index 100% rename from filters/kspread/latex/export/latexexport.cc rename to filters/kspread/latex/export/latexexport.cpp diff --git a/filters/kspread/latex/export/latexexportIface.cc b/filters/kspread/latex/export/latexexportIface.cpp similarity index 100% rename from filters/kspread/latex/export/latexexportIface.cc rename to filters/kspread/latex/export/latexexportIface.cpp diff --git a/filters/kspread/latex/export/map.cc b/filters/kspread/latex/export/map.cpp similarity index 100% rename from filters/kspread/latex/export/map.cc rename to filters/kspread/latex/export/map.cpp diff --git a/filters/kspread/latex/export/pen.cc b/filters/kspread/latex/export/pen.cpp similarity index 100% rename from filters/kspread/latex/export/pen.cc rename to filters/kspread/latex/export/pen.cpp diff --git a/filters/kspread/latex/export/row.cc b/filters/kspread/latex/export/row.cpp similarity index 100% rename from filters/kspread/latex/export/row.cc rename to filters/kspread/latex/export/row.cpp diff --git a/filters/kspread/latex/export/spreadsheet.cc b/filters/kspread/latex/export/spreadsheet.cpp similarity index 100% rename from filters/kspread/latex/export/spreadsheet.cc rename to filters/kspread/latex/export/spreadsheet.cpp diff --git a/filters/kspread/latex/export/table.cc b/filters/kspread/latex/export/table.cpp similarity index 100% rename from filters/kspread/latex/export/table.cc rename to filters/kspread/latex/export/table.cpp diff --git a/filters/kspread/latex/export/xmlparser.cc b/filters/kspread/latex/export/xmlparser.cpp similarity index 100% rename from filters/kspread/latex/export/xmlparser.cc rename to filters/kspread/latex/export/xmlparser.cpp diff --git a/filters/kspread/libkspreadexport/KSpreadBaseWorker.cc b/filters/kspread/libkspreadexport/KSpreadBaseWorker.cpp similarity index 100% rename from filters/kspread/libkspreadexport/KSpreadBaseWorker.cc rename to filters/kspread/libkspreadexport/KSpreadBaseWorker.cpp diff --git a/filters/kspread/libkspreadexport/KSpreadLeader.cc b/filters/kspread/libkspreadexport/KSpreadLeader.cpp similarity index 100% rename from filters/kspread/libkspreadexport/KSpreadLeader.cc rename to filters/kspread/libkspreadexport/KSpreadLeader.cpp diff --git a/filters/kspread/libkspreadexport/Makefile.am b/filters/kspread/libkspreadexport/Makefile.am index a36b3ad92..4411804a5 100644 --- a/filters/kspread/libkspreadexport/Makefile.am +++ b/filters/kspread/libkspreadexport/Makefile.am @@ -11,7 +11,7 @@ libkspreadexport_la_LIBADD = $(KOFFICE_LIBS) ../../../kspread/libkspreadcommon.l lib_LTLIBRARIES = libkspreadexport.la -libkspreadexport_la_SOURCES = KSpreadLeader.cc KSpreadBaseWorker.cc +libkspreadexport_la_SOURCES = KSpreadLeader.cpp KSpreadBaseWorker.cpp noinst_HEADERS = KSpreadLeader.h KSpreadBaseWorker.h diff --git a/filters/kspread/opencalc/Makefile.am b/filters/kspread/opencalc/Makefile.am index 65741b1d7..1312119fa 100644 --- a/filters/kspread/opencalc/Makefile.am +++ b/filters/kspread/opencalc/Makefile.am @@ -6,11 +6,11 @@ INCLUDES= -I$(srcdir)/../../liboofilter -I$(srcdir) -I$(top_srcdir)/kspread $(KO ####### Files kde_module_LTLIBRARIES = libopencalcimport.la libopencalcexport.la -libopencalcexport_la_SOURCES = opencalcexport.cc opencalcstyleexport.cc +libopencalcexport_la_SOURCES = opencalcexport.cpp opencalcstyleexport.cpp libopencalcexport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libopencalcexport_la_LIBADD = ../../../kspread/libkspreadcommon.la ../../liboofilter/liboofilter.la $(KOFFICE_LIBS) -libopencalcimport_la_SOURCES = opencalcimport.cc +libopencalcimport_la_SOURCES = opencalcimport.cpp libopencalcimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libopencalcimport_la_LIBADD = ../../../kspread/libkspreadcommon.la ../../liboofilter/liboofilter.la $(KOFFICE_LIBS) diff --git a/filters/kspread/opencalc/opencalcexport.cc b/filters/kspread/opencalc/opencalcexport.cpp similarity index 100% rename from filters/kspread/opencalc/opencalcexport.cc rename to filters/kspread/opencalc/opencalcexport.cpp diff --git a/filters/kspread/opencalc/opencalcimport.cc b/filters/kspread/opencalc/opencalcimport.cpp similarity index 100% rename from filters/kspread/opencalc/opencalcimport.cc rename to filters/kspread/opencalc/opencalcimport.cpp diff --git a/filters/kspread/opencalc/opencalcstyleexport.cc b/filters/kspread/opencalc/opencalcstyleexport.cpp similarity index 100% rename from filters/kspread/opencalc/opencalcstyleexport.cc rename to filters/kspread/opencalc/opencalcstyleexport.cpp diff --git a/filters/kspread/qpro/Makefile.am b/filters/kspread/qpro/Makefile.am index 9f34af473..95ecdb8aa 100644 --- a/filters/kspread/qpro/Makefile.am +++ b/filters/kspread/qpro/Makefile.am @@ -10,7 +10,7 @@ SUBDIRS = libqpro kde_module_LTLIBRARIES = libqproimport.la -libqproimport_la_SOURCES = qproimport.cc qproformula.cc +libqproimport_la_SOURCES = qproimport.cpp qproformula.cpp libqproimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libqproimport_la_LIBADD = $(KOFFICE_LIBS) ../../../kspread/libkspreadcommon.la \ diff --git a/filters/kspread/qpro/libqpro/ChangeLog b/filters/kspread/qpro/libqpro/ChangeLog index 35dbf4c2f..18a733a2e 100644 --- a/filters/kspread/qpro/libqpro/ChangeLog +++ b/filters/kspread/qpro/libqpro/ChangeLog @@ -6,16 +6,16 @@ * /cvsroot/libqpro/libqpro/Makefile.in: Update version number to 0.2 - * /cvsroot/libqpro/libqpro/src/record.cc, /cvsroot/libqpro/libqpro/src/record_factory.cc, /cvsroot/libqpro/libqpro/src/stream.cc, /cvsroot/libqpro/libqpro/src/tablenames.cc: + * /cvsroot/libqpro/libqpro/src/record.cpp, /cvsroot/libqpro/libqpro/src/record_factory.cpp, /cvsroot/libqpro/libqpro/src/stream.cpp, /cvsroot/libqpro/libqpro/src/tablenames.cpp: libqpro library. C++ libray for reading & writing Quattro Pro spreadsheet files. - * /cvsroot/libqpro/libqpro/src/record.cc, /cvsroot/libqpro/libqpro/src/record_factory.cc, /cvsroot/libqpro/libqpro/src/stream.cc, /cvsroot/libqpro/libqpro/src/tablenames.cc: + * /cvsroot/libqpro/libqpro/src/record.cpp, /cvsroot/libqpro/libqpro/src/record_factory.cpp, /cvsroot/libqpro/libqpro/src/stream.cpp, /cvsroot/libqpro/libqpro/src/tablenames.cpp: New file. - * /cvsroot/libqpro/libqpro/src/formula.cc: + * /cvsroot/libqpro/libqpro/src/formula.cpp: libqpro library. C++ libray for reading & writing Quattro Pro spreadsheet files. - * /cvsroot/libqpro/libqpro/src/formula.cc: New file. + * /cvsroot/libqpro/libqpro/src/formula.cpp: New file. * /cvsroot/libqpro/libqpro/src/Makefile.am, /cvsroot/libqpro/libqpro/src/Makefile.in: libqpro library. C++ libray for reading & writing Quattro Pro spreadsheet files. diff --git a/filters/kspread/qpro/libqpro/src/Makefile.am b/filters/kspread/qpro/libqpro/src/Makefile.am index 9eac256cd..1a6393bbd 100644 --- a/filters/kspread/qpro/libqpro/src/Makefile.am +++ b/filters/kspread/qpro/libqpro/src/Makefile.am @@ -1,5 +1,5 @@ INCLUDES= -I$(srcdir) -I$(srcdir)/.. $(all_includes) noinst_LTLIBRARIES = libqpro.la -libqpro_la_SOURCES = formula.cc record.cc record_factory.cc stream.cc tablenames.cc +libqpro_la_SOURCES = formula.cpp record.cpp record_factory.cpp stream.cpp tablenames.cpp diff --git a/filters/kspread/qpro/libqpro/src/formula.cc b/filters/kspread/qpro/libqpro/src/formula.cpp similarity index 100% rename from filters/kspread/qpro/libqpro/src/formula.cc rename to filters/kspread/qpro/libqpro/src/formula.cpp diff --git a/filters/kspread/qpro/libqpro/src/record.cc b/filters/kspread/qpro/libqpro/src/record.cpp similarity index 100% rename from filters/kspread/qpro/libqpro/src/record.cc rename to filters/kspread/qpro/libqpro/src/record.cpp diff --git a/filters/kspread/qpro/libqpro/src/record_factory.cc b/filters/kspread/qpro/libqpro/src/record_factory.cpp similarity index 100% rename from filters/kspread/qpro/libqpro/src/record_factory.cc rename to filters/kspread/qpro/libqpro/src/record_factory.cpp diff --git a/filters/kspread/qpro/libqpro/src/stream.cc b/filters/kspread/qpro/libqpro/src/stream.cpp similarity index 100% rename from filters/kspread/qpro/libqpro/src/stream.cc rename to filters/kspread/qpro/libqpro/src/stream.cpp diff --git a/filters/kspread/qpro/libqpro/src/tablenames.cc b/filters/kspread/qpro/libqpro/src/tablenames.cpp similarity index 100% rename from filters/kspread/qpro/libqpro/src/tablenames.cc rename to filters/kspread/qpro/libqpro/src/tablenames.cpp diff --git a/filters/kspread/qpro/qproformula.cc b/filters/kspread/qpro/qproformula.cpp similarity index 100% rename from filters/kspread/qpro/qproformula.cc rename to filters/kspread/qpro/qproformula.cpp diff --git a/filters/kspread/qpro/qproimport.cc b/filters/kspread/qpro/qproimport.cpp similarity index 100% rename from filters/kspread/qpro/qproimport.cc rename to filters/kspread/qpro/qproimport.cpp diff --git a/filters/kword/abiword/ImportField.cc b/filters/kword/abiword/ImportField.cpp similarity index 100% rename from filters/kword/abiword/ImportField.cc rename to filters/kword/abiword/ImportField.cpp diff --git a/filters/kword/abiword/ImportFormatting.cc b/filters/kword/abiword/ImportFormatting.cpp similarity index 100% rename from filters/kword/abiword/ImportFormatting.cc rename to filters/kword/abiword/ImportFormatting.cpp diff --git a/filters/kword/abiword/ImportHelpers.cc b/filters/kword/abiword/ImportHelpers.cpp similarity index 100% rename from filters/kword/abiword/ImportHelpers.cc rename to filters/kword/abiword/ImportHelpers.cpp diff --git a/filters/kword/abiword/ImportStyle.cc b/filters/kword/abiword/ImportStyle.cpp similarity index 100% rename from filters/kword/abiword/ImportStyle.cc rename to filters/kword/abiword/ImportStyle.cpp diff --git a/filters/kword/abiword/Makefile.am b/filters/kword/abiword/Makefile.am index 0a0f1f824..098266e96 100644 --- a/filters/kword/abiword/Makefile.am +++ b/filters/kword/abiword/Makefile.am @@ -12,10 +12,10 @@ libabiwordexport_la_LIBADD = $(KOFFICE_LIBS) ../libexport/libkwordexportfilters. kde_module_LTLIBRARIES = libabiwordimport.la libabiwordexport.la -libabiwordimport_la_SOURCES = abiwordimport.cc ImportHelpers.cc\ -ImportFormatting.cc ImportStyle.cc ImportField.cc +libabiwordimport_la_SOURCES = abiwordimport.cpp ImportHelpers.cpp\ +ImportFormatting.cpp ImportStyle.cpp ImportField.cpp -libabiwordexport_la_SOURCES = abiwordexport.cc +libabiwordexport_la_SOURCES = abiwordexport.cpp noinst_HEADERS = abiwordimport.h ImportHelpers.h ImportFormatting.h\ ImportStyle.h ImportField.h abiwordexport.h diff --git a/filters/kword/abiword/abiwordexport.cc b/filters/kword/abiword/abiwordexport.cpp similarity index 99% rename from filters/kword/abiword/abiwordexport.cc rename to filters/kword/abiword/abiwordexport.cpp index 11f5d2dd7..d1b5a98a2 100644 --- a/filters/kword/abiword/abiwordexport.cc +++ b/filters/kword/abiword/abiwordexport.cpp @@ -19,7 +19,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/abiword/abiwordimport.cc b/filters/kword/abiword/abiwordimport.cpp similarity index 100% rename from filters/kword/abiword/abiwordimport.cc rename to filters/kword/abiword/abiwordimport.cpp diff --git a/filters/kword/amipro/Makefile.am b/filters/kword/amipro/Makefile.am index f872af037..845049868 100644 --- a/filters/kword/amipro/Makefile.am +++ b/filters/kword/amipro/Makefile.am @@ -11,8 +11,8 @@ libamiproexport_la_LIBADD = $(KOFFICE_LIBS) ../libexport/libkwordexportfilters.l kde_module_LTLIBRARIES = libamiproimport.la libamiproexport.la -libamiproimport_la_SOURCES = amiproimport.cc amiproparser.cpp -libamiproexport_la_SOURCES = amiproexport.cc +libamiproimport_la_SOURCES = amiproimport.cpp amiproparser.cpp +libamiproexport_la_SOURCES = amiproexport.cpp noinst_HEADERS = amiproparser.h diff --git a/filters/kword/amipro/amiproexport.cc b/filters/kword/amipro/amiproexport.cpp similarity index 100% rename from filters/kword/amipro/amiproexport.cc rename to filters/kword/amipro/amiproexport.cpp diff --git a/filters/kword/amipro/amiproimport.cc b/filters/kword/amipro/amiproimport.cpp similarity index 100% rename from filters/kword/amipro/amiproimport.cc rename to filters/kword/amipro/amiproimport.cpp diff --git a/filters/kword/applixword/Makefile.am b/filters/kword/applixword/Makefile.am index 14e899746..7bc406c7d 100644 --- a/filters/kword/applixword/Makefile.am +++ b/filters/kword/applixword/Makefile.am @@ -7,7 +7,7 @@ libapplixwordimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-und kde_module_LTLIBRARIES = libapplixwordimport.la -libapplixwordimport_la_SOURCES = applixwordimport.cc +libapplixwordimport_la_SOURCES = applixwordimport.cpp libapplixwordimport_la_LIBADD = $(KOFFICE_LIBS) noinst_HEADERS = applixwordimport.h diff --git a/filters/kword/applixword/applixwordimport.cc b/filters/kword/applixword/applixwordimport.cpp similarity index 100% rename from filters/kword/applixword/applixwordimport.cc rename to filters/kword/applixword/applixwordimport.cpp diff --git a/filters/kword/ascii/ExportDialog.cc b/filters/kword/ascii/ExportDialog.cpp similarity index 100% rename from filters/kword/ascii/ExportDialog.cc rename to filters/kword/ascii/ExportDialog.cpp diff --git a/filters/kword/ascii/ImportDialog.cc b/filters/kword/ascii/ImportDialog.cpp similarity index 100% rename from filters/kword/ascii/ImportDialog.cc rename to filters/kword/ascii/ImportDialog.cpp diff --git a/filters/kword/ascii/Makefile.am b/filters/kword/ascii/Makefile.am index 74b9dde20..22a5d5555 100644 --- a/filters/kword/ascii/Makefile.am +++ b/filters/kword/ascii/Makefile.am @@ -12,9 +12,9 @@ libasciiexport_la_LIBADD = $(KOFFICE_LIBS) ../libexport/libkwordexportfilters.la kde_module_LTLIBRARIES = libasciiimport.la libasciiexport.la -libasciiimport_la_SOURCES = asciiimport.cc ImportDialogUI.ui ImportDialog.cc +libasciiimport_la_SOURCES = asciiimport.cpp ImportDialogUI.ui ImportDialog.cpp -libasciiexport_la_SOURCES = asciiexport.cc ExportDialogUI.ui ExportDialog.cc +libasciiexport_la_SOURCES = asciiexport.cpp ExportDialogUI.ui ExportDialog.cpp noinst_HEADERS = asciiimport.h ImportDialog.h asciiexport.h ExportDialog.h diff --git a/filters/kword/ascii/asciiexport.cc b/filters/kword/ascii/asciiexport.cpp similarity index 100% rename from filters/kword/ascii/asciiexport.cc rename to filters/kword/ascii/asciiexport.cpp diff --git a/filters/kword/ascii/asciiimport.cc b/filters/kword/ascii/asciiimport.cpp similarity index 100% rename from filters/kword/ascii/asciiimport.cc rename to filters/kword/ascii/asciiimport.cpp diff --git a/filters/kword/docbook/Makefile.am b/filters/kword/docbook/Makefile.am index 9ce299cbb..93967bc11 100644 --- a/filters/kword/docbook/Makefile.am +++ b/filters/kword/docbook/Makefile.am @@ -8,7 +8,7 @@ libdocbookexport_la_LIBADD = $(KOFFICE_LIBS) ../libexport/libkwordexportfilters. kde_module_LTLIBRARIES = libdocbookexport.la -libdocbookexport_la_SOURCES = docbookexport.cc +libdocbookexport_la_SOURCES = docbookexport.cpp noinst_HEADERS = docbookexport.h diff --git a/filters/kword/docbook/docbookexport.cc b/filters/kword/docbook/docbookexport.cpp similarity index 100% rename from filters/kword/docbook/docbookexport.cc rename to filters/kword/docbook/docbookexport.cpp diff --git a/filters/kword/html/export/ExportBasic.cc b/filters/kword/html/export/ExportBasic.cpp similarity index 100% rename from filters/kword/html/export/ExportBasic.cc rename to filters/kword/html/export/ExportBasic.cpp diff --git a/filters/kword/html/export/ExportCss.cc b/filters/kword/html/export/ExportCss.cpp similarity index 100% rename from filters/kword/html/export/ExportCss.cc rename to filters/kword/html/export/ExportCss.cpp diff --git a/filters/kword/html/export/ExportDialog.cc b/filters/kword/html/export/ExportDialog.cpp similarity index 100% rename from filters/kword/html/export/ExportDialog.cc rename to filters/kword/html/export/ExportDialog.cpp diff --git a/filters/kword/html/export/ExportDocStruct.cc b/filters/kword/html/export/ExportDocStruct.cpp similarity index 100% rename from filters/kword/html/export/ExportDocStruct.cc rename to filters/kword/html/export/ExportDocStruct.cpp diff --git a/filters/kword/html/export/ExportFilter.cc b/filters/kword/html/export/ExportFilter.cpp similarity index 100% rename from filters/kword/html/export/ExportFilter.cc rename to filters/kword/html/export/ExportFilter.cpp diff --git a/filters/kword/html/export/Makefile.am b/filters/kword/html/export/Makefile.am index e35b70a5a..280dbb5e4 100644 --- a/filters/kword/html/export/Makefile.am +++ b/filters/kword/html/export/Makefile.am @@ -10,8 +10,8 @@ libhtmlexport_la_LIBADD = $(KOFFICE_LIBS) ../../libexport/libkwordexportfilters. kde_module_LTLIBRARIES = libhtmlexport.la -libhtmlexport_la_SOURCES = htmlexport.cc ExportDialog.cc ExportDialogUI.ui \ -ExportFilter.cc ExportCss.cc ExportDocStruct.cc ExportBasic.cc +libhtmlexport_la_SOURCES = htmlexport.cpp ExportDialog.cpp ExportDialogUI.ui \ +ExportFilter.cpp ExportCss.cpp ExportDocStruct.cpp ExportBasic.cpp noinst_HEADERS = htmlexport.h ExportDialog.h ExportDialogUI.h ExportFilter.h \ ExportCss.h ExportDocStruct.h ExportBasic.h diff --git a/filters/kword/html/export/htmlexport.cc b/filters/kword/html/export/htmlexport.cpp similarity index 98% rename from filters/kword/html/export/htmlexport.cc rename to filters/kword/html/export/htmlexport.cpp index 285735176..76d780527 100644 --- a/filters/kword/html/export/htmlexport.cc +++ b/filters/kword/html/export/htmlexport.cpp @@ -20,7 +20,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/latex/export/Makefile.am b/filters/kword/latex/export/Makefile.am index 75552b425..85488d7bd 100644 --- a/filters/kword/latex/export/Makefile.am +++ b/filters/kword/latex/export/Makefile.am @@ -8,17 +8,17 @@ libkwordlatexexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) $(LIBMAGICK_LIB kde_module_LTLIBRARIES = libkwordlatexexport.la -libkwordlatexexport_la_SOURCES = anchor.cc config.cc document.cc element.cc fileheader.cc \ - latexexportdia.ui footnote.cc format.cc formula.cc key.cc \ - kwordlatexexportdia.cc latexexport.cc latexexportIface.cc \ - latexexportIface.skel layout.cc listtable.cc para.cc \ - pixmapFrame.cc table.cc \ - textFrame.cc textformat.cc textzone.cc variableformat.cc \ - variablezone.cc xml2latexparser.cc xmlparser.cc +libkwordlatexexport_la_SOURCES = anchor.cpp config.cpp document.cpp element.cpp fileheader.cpp \ + latexexportdia.ui footnote.cpp format.cpp formula.cpp key.cpp \ + kwordlatexexportdia.cpp latexexport.cpp latexexportIface.cpp \ + latexexportIface.skel layout.cpp listtable.cpp para.cpp \ + pixmapFrame.cpp table.cpp \ + textFrame.cpp textformat.cpp textzone.cpp variableformat.cpp \ + variablezone.cpp xml2latexparser.cpp xmlparser.cpp ######## Debug #check_PROGRAMS = texlauncher -#texlauncher_SOURCES = texlauncher.cc +#texlauncher_SOURCES = texlauncher.cpp #texlauncher_LDADD = liblatexexport.la #texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor diff --git a/filters/kword/latex/export/anchor.cc b/filters/kword/latex/export/anchor.cpp similarity index 100% rename from filters/kword/latex/export/anchor.cc rename to filters/kword/latex/export/anchor.cpp diff --git a/filters/kword/latex/export/config.cc b/filters/kword/latex/export/config.cpp similarity index 100% rename from filters/kword/latex/export/config.cc rename to filters/kword/latex/export/config.cpp diff --git a/filters/kword/latex/export/document.cc b/filters/kword/latex/export/document.cpp similarity index 100% rename from filters/kword/latex/export/document.cc rename to filters/kword/latex/export/document.cpp diff --git a/filters/kword/latex/export/element.cc b/filters/kword/latex/export/element.cpp similarity index 100% rename from filters/kword/latex/export/element.cc rename to filters/kword/latex/export/element.cpp diff --git a/filters/kword/latex/export/fileheader.cc b/filters/kword/latex/export/fileheader.cpp similarity index 100% rename from filters/kword/latex/export/fileheader.cc rename to filters/kword/latex/export/fileheader.cpp diff --git a/filters/kword/latex/export/footnote.cc b/filters/kword/latex/export/footnote.cpp similarity index 100% rename from filters/kword/latex/export/footnote.cc rename to filters/kword/latex/export/footnote.cpp diff --git a/filters/kword/latex/export/format.cc b/filters/kword/latex/export/format.cpp similarity index 100% rename from filters/kword/latex/export/format.cc rename to filters/kword/latex/export/format.cpp diff --git a/filters/kword/latex/export/formula.cc b/filters/kword/latex/export/formula.cpp similarity index 100% rename from filters/kword/latex/export/formula.cc rename to filters/kword/latex/export/formula.cpp diff --git a/filters/kword/latex/export/key.cc b/filters/kword/latex/export/key.cpp similarity index 100% rename from filters/kword/latex/export/key.cc rename to filters/kword/latex/export/key.cpp diff --git a/filters/kword/latex/export/kwordlatexexportdia.cc b/filters/kword/latex/export/kwordlatexexportdia.cpp similarity index 100% rename from filters/kword/latex/export/kwordlatexexportdia.cc rename to filters/kword/latex/export/kwordlatexexportdia.cpp diff --git a/filters/kword/latex/export/latexexport.cc b/filters/kword/latex/export/latexexport.cpp similarity index 100% rename from filters/kword/latex/export/latexexport.cc rename to filters/kword/latex/export/latexexport.cpp diff --git a/filters/kword/latex/export/latexexportIface.cc b/filters/kword/latex/export/latexexportIface.cpp similarity index 100% rename from filters/kword/latex/export/latexexportIface.cc rename to filters/kword/latex/export/latexexportIface.cpp diff --git a/filters/kword/latex/export/layout.cc b/filters/kword/latex/export/layout.cpp similarity index 100% rename from filters/kword/latex/export/layout.cc rename to filters/kword/latex/export/layout.cpp diff --git a/filters/kword/latex/export/listeformat.cc b/filters/kword/latex/export/listeformat.cpp similarity index 100% rename from filters/kword/latex/export/listeformat.cc rename to filters/kword/latex/export/listeformat.cpp diff --git a/filters/kword/latex/export/listelement.cc b/filters/kword/latex/export/listelement.cpp similarity index 100% rename from filters/kword/latex/export/listelement.cc rename to filters/kword/latex/export/listelement.cpp diff --git a/filters/kword/latex/export/listepara.cc b/filters/kword/latex/export/listepara.cpp similarity index 100% rename from filters/kword/latex/export/listepara.cc rename to filters/kword/latex/export/listepara.cpp diff --git a/filters/kword/latex/export/listtable.cc b/filters/kword/latex/export/listtable.cpp similarity index 100% rename from filters/kword/latex/export/listtable.cc rename to filters/kword/latex/export/listtable.cpp diff --git a/filters/kword/latex/export/para.cc b/filters/kword/latex/export/para.cpp similarity index 100% rename from filters/kword/latex/export/para.cc rename to filters/kword/latex/export/para.cpp diff --git a/filters/kword/latex/export/pixmapFrame.cc b/filters/kword/latex/export/pixmapFrame.cpp similarity index 100% rename from filters/kword/latex/export/pixmapFrame.cc rename to filters/kword/latex/export/pixmapFrame.cpp diff --git a/filters/kword/latex/export/table.cc b/filters/kword/latex/export/table.cpp similarity index 100% rename from filters/kword/latex/export/table.cc rename to filters/kword/latex/export/table.cpp diff --git a/filters/kword/latex/export/texlauncher.cc b/filters/kword/latex/export/texlauncher.cpp similarity index 100% rename from filters/kword/latex/export/texlauncher.cc rename to filters/kword/latex/export/texlauncher.cpp diff --git a/filters/kword/latex/export/textFrame.cc b/filters/kword/latex/export/textFrame.cpp similarity index 100% rename from filters/kword/latex/export/textFrame.cc rename to filters/kword/latex/export/textFrame.cpp diff --git a/filters/kword/latex/export/textformat.cc b/filters/kword/latex/export/textformat.cpp similarity index 100% rename from filters/kword/latex/export/textformat.cc rename to filters/kword/latex/export/textformat.cpp diff --git a/filters/kword/latex/export/textzone.cc b/filters/kword/latex/export/textzone.cpp similarity index 100% rename from filters/kword/latex/export/textzone.cc rename to filters/kword/latex/export/textzone.cpp diff --git a/filters/kword/latex/export/variableformat.cc b/filters/kword/latex/export/variableformat.cpp similarity index 100% rename from filters/kword/latex/export/variableformat.cc rename to filters/kword/latex/export/variableformat.cpp diff --git a/filters/kword/latex/export/variablezone.cc b/filters/kword/latex/export/variablezone.cpp similarity index 100% rename from filters/kword/latex/export/variablezone.cc rename to filters/kword/latex/export/variablezone.cpp diff --git a/filters/kword/latex/export/xml2latexparser.cc b/filters/kword/latex/export/xml2latexparser.cpp similarity index 100% rename from filters/kword/latex/export/xml2latexparser.cc rename to filters/kword/latex/export/xml2latexparser.cpp diff --git a/filters/kword/latex/export/xmlparser.cc b/filters/kword/latex/export/xmlparser.cpp similarity index 100% rename from filters/kword/latex/export/xmlparser.cc rename to filters/kword/latex/export/xmlparser.cpp diff --git a/filters/kword/latex/import/Makefile.am b/filters/kword/latex/import/Makefile.am index e55af45a2..f766e72a8 100644 --- a/filters/kword/latex/import/Makefile.am +++ b/filters/kword/latex/import/Makefile.am @@ -10,14 +10,14 @@ libkwordlateximport_la_LIBADD = $(KOFFICE_LIBS) parser/liblatexparser.la generat kde_module_LTLIBRARIES = libkwordlateximport.la -libkwordlateximport_la_SOURCES = config.cc lateximport.cc \ - lateximportdia.cc lateximportdia.skel +libkwordlateximport_la_SOURCES = config.cpp lateximport.cpp \ + lateximportdia.cpp lateximportdia.skel noinst_HEADERS = config.h lateximport.h lateximportdia.h ######## Debug #check_PROGRAMS = texlauncher -#texlauncher_SOURCES = texlauncher.cc +#texlauncher_SOURCES = texlauncher.cpp #texlauncher_LDADD = liblatexexport.la #texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor diff --git a/filters/kword/latex/import/config.cc b/filters/kword/latex/import/config.cpp similarity index 100% rename from filters/kword/latex/import/config.cc rename to filters/kword/latex/import/config.cpp diff --git a/filters/kword/latex/import/generator/Makefile.am b/filters/kword/latex/import/generator/Makefile.am index 089014e34..308e11c69 100644 --- a/filters/kword/latex/import/generator/Makefile.am +++ b/filters/kword/latex/import/generator/Makefile.am @@ -8,7 +8,7 @@ liblatexgenerator_la_LIBADD = -lm $(KOFFICE_LIBS) kde_module_LTLIBRARIES = liblatexgenerator.la -liblatexgenerator_la_SOURCES = body.cc document.cc kwordgenerator.cc latex.cc paragraph.cc +liblatexgenerator_la_SOURCES = body.cpp document.cpp kwordgenerator.cpp latex.cpp paragraph.cpp noinst_HEADERS = body.h document.h kwordgenerator.h latex.h paragraph.h diff --git a/filters/kword/latex/import/generator/body.cc b/filters/kword/latex/import/generator/body.cpp similarity index 100% rename from filters/kword/latex/import/generator/body.cc rename to filters/kword/latex/import/generator/body.cpp diff --git a/filters/kword/latex/import/generator/document.cc b/filters/kword/latex/import/generator/document.cpp similarity index 100% rename from filters/kword/latex/import/generator/document.cc rename to filters/kword/latex/import/generator/document.cpp diff --git a/filters/kword/latex/import/generator/kwordgenerator.cc b/filters/kword/latex/import/generator/kwordgenerator.cpp similarity index 100% rename from filters/kword/latex/import/generator/kwordgenerator.cc rename to filters/kword/latex/import/generator/kwordgenerator.cpp diff --git a/filters/kword/latex/import/generator/latex.cc b/filters/kword/latex/import/generator/latex.cpp similarity index 100% rename from filters/kword/latex/import/generator/latex.cc rename to filters/kword/latex/import/generator/latex.cpp diff --git a/filters/kword/latex/import/generator/paragraph.cc b/filters/kword/latex/import/generator/paragraph.cpp similarity index 100% rename from filters/kword/latex/import/generator/paragraph.cc rename to filters/kword/latex/import/generator/paragraph.cpp diff --git a/filters/kword/latex/import/lateximport.cc b/filters/kword/latex/import/lateximport.cpp similarity index 100% rename from filters/kword/latex/import/lateximport.cc rename to filters/kword/latex/import/lateximport.cpp diff --git a/filters/kword/latex/import/lateximportdia.cc b/filters/kword/latex/import/lateximportdia.cpp similarity index 97% rename from filters/kword/latex/import/lateximportdia.cc rename to filters/kword/latex/import/lateximportdia.cpp index c69b7e901..f0dd908bd 100644 --- a/filters/kword/latex/import/lateximportdia.cc +++ b/filters/kword/latex/import/lateximportdia.cpp @@ -19,11 +19,11 @@ /* This file is based on the file : - koffice/filters/kword/html/htmlexportdia.cc + koffice/filters/kword/html/htmlexportdia.cpp Copyright (C) 2001 Nicolas Goutte which was based on the old file: - /home/kde/koffice/filters/kspread/csv/csvfilterdia.cc + /home/kde/koffice/filters/kspread/csv/csvfilterdia.cpp The old file was copyrighted by Copyright (C) 1999 David Faure diff --git a/filters/kword/latex/import/parser/Makefile.am b/filters/kword/latex/import/parser/Makefile.am index 7cb99e348..4a3b963cf 100644 --- a/filters/kword/latex/import/parser/Makefile.am +++ b/filters/kword/latex/import/parser/Makefile.am @@ -8,22 +8,22 @@ liblatexparser_la_LIBADD = -lm $(KOFFICE_LIBS) kde_module_LTLIBRARIES = liblatexparser.la -liblatexparser_la_SOURCES = command.cc comment.cc element.cc env.cc group.cc \ - latexparser.cc param.cc text.cc texparser.cc \ - texscaner.cc +liblatexparser_la_SOURCES = command.cpp comment.cpp element.cpp env.cpp group.cpp \ + latexparser.cpp param.cpp text.cpp texparser.cpp \ + texscaner.cpp noinst_HEADERS = command.h comment.h element.h env.h group.h \ latexparser.h param.h text.h -texparser.cc: $(srcdir)/texparser.l texscaner.cc - flex -B -8 -otexparser.cc $(srcdir)/texparser.l +texparser.cpp: $(srcdir)/texparser.l texscaner.cpp + flex -B -8 -otexparser.cpp $(srcdir)/texparser.l -texscaner.cc: $(srcdir)/texscaner.y - bison --debug --verbose -d -o texscaner.cc $(srcdir)/texscaner.y && mv -f texscaner.cc.h texscaner.hh +texscaner.cpp: $(srcdir)/texscaner.y + bison --debug --verbose -d -o texscaner.cpp $(srcdir)/texscaner.y && mv -f texscaner.cpp.h texscaner.hh # -p texparser ######## Debug check_PROGRAMS = texlauncher -texlauncher_SOURCES = texlauncher.cc +texlauncher_SOURCES = texlauncher.cpp texlauncher_LDADD = liblatexexport.la texlauncher_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor diff --git a/filters/kword/latex/import/parser/command.cc b/filters/kword/latex/import/parser/command.cpp similarity index 100% rename from filters/kword/latex/import/parser/command.cc rename to filters/kword/latex/import/parser/command.cpp diff --git a/filters/kword/latex/import/parser/comment.cc b/filters/kword/latex/import/parser/comment.cpp similarity index 100% rename from filters/kword/latex/import/parser/comment.cc rename to filters/kword/latex/import/parser/comment.cpp diff --git a/filters/kword/latex/import/parser/element.cc b/filters/kword/latex/import/parser/element.cpp similarity index 100% rename from filters/kword/latex/import/parser/element.cc rename to filters/kword/latex/import/parser/element.cpp diff --git a/filters/kword/latex/import/parser/env.cc b/filters/kword/latex/import/parser/env.cpp similarity index 100% rename from filters/kword/latex/import/parser/env.cc rename to filters/kword/latex/import/parser/env.cpp diff --git a/filters/kword/latex/import/parser/group.cc b/filters/kword/latex/import/parser/group.cpp similarity index 100% rename from filters/kword/latex/import/parser/group.cc rename to filters/kword/latex/import/parser/group.cpp diff --git a/filters/kword/latex/import/parser/latexparser.cc b/filters/kword/latex/import/parser/latexparser.cpp similarity index 100% rename from filters/kword/latex/import/parser/latexparser.cc rename to filters/kword/latex/import/parser/latexparser.cpp diff --git a/filters/kword/latex/import/parser/main.cc b/filters/kword/latex/import/parser/main.cpp similarity index 100% rename from filters/kword/latex/import/parser/main.cc rename to filters/kword/latex/import/parser/main.cpp diff --git a/filters/kword/latex/import/parser/param.cc b/filters/kword/latex/import/parser/param.cpp similarity index 100% rename from filters/kword/latex/import/parser/param.cc rename to filters/kword/latex/import/parser/param.cpp diff --git a/filters/kword/latex/import/parser/texparser.l b/filters/kword/latex/import/parser/texparser.l index c187f29d6..ea78619fe 100644 --- a/filters/kword/latex/import/parser/texparser.l +++ b/filters/kword/latex/import/parser/texparser.l @@ -2,8 +2,8 @@ * Ajouter une pile contenant tout les environnements. * * To compil : - * flex -+ -otexparser.cc texparser.lex - * g++ -o texparser texparser.cc -lfl -lm + * flex -+ -otexparser.cpp texparser.lex + * g++ -o texparser texparser.cpp -lfl -lm * */ diff --git a/filters/kword/latex/import/parser/texparser.lex b/filters/kword/latex/import/parser/texparser.lex index eb9b27aac..e945f48dd 100644 --- a/filters/kword/latex/import/parser/texparser.lex +++ b/filters/kword/latex/import/parser/texparser.lex @@ -2,8 +2,8 @@ * Ajouter une pile contenant tout les environnements. * * To compil : - * flex -+ -otexparser.cc texparser.lex - * g++ -o texparser texparser.cc -lfl -lm + * flex -+ -otexparser.cpp texparser.lex + * g++ -o texparser texparser.cpp -lfl -lm * */ diff --git a/filters/kword/latex/import/parser/text.cc b/filters/kword/latex/import/parser/text.cpp similarity index 100% rename from filters/kword/latex/import/parser/text.cc rename to filters/kword/latex/import/parser/text.cpp diff --git a/filters/kword/libexport/KWEFBaseWorker.cc b/filters/kword/libexport/KWEFBaseWorker.cpp similarity index 100% rename from filters/kword/libexport/KWEFBaseWorker.cc rename to filters/kword/libexport/KWEFBaseWorker.cpp diff --git a/filters/kword/libexport/KWEFKWordLeader.cc b/filters/kword/libexport/KWEFKWordLeader.cpp similarity index 99% rename from filters/kword/libexport/KWEFKWordLeader.cc rename to filters/kword/libexport/KWEFKWordLeader.cpp index b0a7913d8..05e4024a5 100644 --- a/filters/kword/libexport/KWEFKWordLeader.cc +++ b/filters/kword/libexport/KWEFKWordLeader.cpp @@ -22,7 +22,7 @@ /* Part of this code comes from the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/libexport/KWEFStructures.cc b/filters/kword/libexport/KWEFStructures.cpp similarity index 100% rename from filters/kword/libexport/KWEFStructures.cc rename to filters/kword/libexport/KWEFStructures.cpp diff --git a/filters/kword/libexport/KWEFStructures.h b/filters/kword/libexport/KWEFStructures.h index 682606feb..2f8ba74ab 100644 --- a/filters/kword/libexport/KWEFStructures.h +++ b/filters/kword/libexport/KWEFStructures.h @@ -22,8 +22,8 @@ /* The classes in this file are based on a class in the old files: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc - /home/kde/koffice/filters/kword/docbookexpert/docbookexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp + /home/kde/koffice/filters/kword/docbookexpert/docbookexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/libexport/KWEFUtil.cc b/filters/kword/libexport/KWEFUtil.cpp similarity index 100% rename from filters/kword/libexport/KWEFUtil.cc rename to filters/kword/libexport/KWEFUtil.cpp diff --git a/filters/kword/libexport/Makefile.am b/filters/kword/libexport/Makefile.am index 6e2581749..cef09322c 100644 --- a/filters/kword/libexport/Makefile.am +++ b/filters/kword/libexport/Makefile.am @@ -10,8 +10,8 @@ libkwordexportfilters_la_LIBADD = $(KOFFICE_LIBS) lib_LTLIBRARIES = libkwordexportfilters.la -libkwordexportfilters_la_SOURCES = TagProcessing.cc KWEFStructures.cc\ -ProcessDocument.cc KWEFUtil.cc KWEFKWordLeader.cc KWEFBaseWorker.cc +libkwordexportfilters_la_SOURCES = TagProcessing.cpp KWEFStructures.cpp\ +ProcessDocument.cpp KWEFUtil.cpp KWEFKWordLeader.cpp KWEFBaseWorker.cpp noinst_HEADERS = TagProcessing.h KWEFStructures.h\ ProcessDocument.h KWEFUtil.h KWEFKWordLeader.h KWEFBaseWorker.h diff --git a/filters/kword/libexport/ProcessDocument.cc b/filters/kword/libexport/ProcessDocument.cpp similarity index 99% rename from filters/kword/libexport/ProcessDocument.cc rename to filters/kword/libexport/ProcessDocument.cpp index 3a626f7f1..69b14857f 100644 --- a/filters/kword/libexport/ProcessDocument.cc +++ b/filters/kword/libexport/ProcessDocument.cpp @@ -22,7 +22,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/libexport/TagProcessing.cc b/filters/kword/libexport/TagProcessing.cpp similarity index 99% rename from filters/kword/libexport/TagProcessing.cc rename to filters/kword/libexport/TagProcessing.cpp index b70d58d9b..46a8fb353 100644 --- a/filters/kword/libexport/TagProcessing.cc +++ b/filters/kword/libexport/TagProcessing.cpp @@ -22,7 +22,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/libexport/TagProcessing.h b/filters/kword/libexport/TagProcessing.h index f2bf46652..62176fd36 100644 --- a/filters/kword/libexport/TagProcessing.h +++ b/filters/kword/libexport/TagProcessing.h @@ -20,7 +20,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/msword/document.cpp b/filters/kword/msword/document.cpp index 043c1bc24..2e20b999d 100644 --- a/filters/kword/msword/document.cpp +++ b/filters/kword/msword/document.cpp @@ -498,9 +498,9 @@ KoStoreDevice* Document::createPictureFrameSet( const KoSize& size ) // The position doesn't matter as long as the picture is inline // FIXME for non-inline pics #### - // To determine the size, look at OOo's filter (WW8PicDesc in ww8graf2.cxx, version 1.50, line 406) + // To determine the size, look at OOo's filter (WW8PicDesc in ww8graf2.cpp, version 1.50, line 406) // Hint: #i17200#, a bit of guesswork I'm afraid - // if (aPic.dxaGoal == 1000 && aPic.mx == 1) //100% hack ? (from ww8graf2.cxx) + // if (aPic.dxaGoal == 1000 && aPic.mx == 1) //100% hack ? (from ww8graf2.cpp) createInitialFrame( framesetElement, 0, size.width(), 0, size.height(), false, NoFollowup ); TQDomElement pictureElem = m_mainDocument.createElement("PICTURE"); diff --git a/filters/kword/msword/texthandler.cpp b/filters/kword/msword/texthandler.cpp index 775f8bce8..d25408693 100644 --- a/filters/kword/msword/texthandler.cpp +++ b/filters/kword/msword/texthandler.cpp @@ -659,7 +659,7 @@ void KWordTextHandler::writeLayout( TQDomElement& parentElement, const wvWare::P // which kword doesn't support. We map it to 0 with a clever '%4' :) tabElement.setAttribute( "type", td.tbd.jc % 4 ); int filling = 0; - double width = 0.5; // default kword value, see koparaglayout.cc + double width = 0.5; // default kword value, see koparaglayout.cpp switch ( td.tbd.tlc ) { case 1: // dots case 2: // hyphenated diff --git a/filters/kword/mswrite/ImportDialog.cc b/filters/kword/mswrite/ImportDialog.cpp similarity index 100% rename from filters/kword/mswrite/ImportDialog.cc rename to filters/kword/mswrite/ImportDialog.cpp diff --git a/filters/kword/mswrite/Makefile.am b/filters/kword/mswrite/Makefile.am index c94df3fd0..8bb2ea29d 100644 --- a/filters/kword/mswrite/Makefile.am +++ b/filters/kword/mswrite/Makefile.am @@ -6,13 +6,13 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) -I$(srcdir)/../libexport $(all_include kde_module_LTLIBRARIES = libmswriteimport.la libmswriteexport.la -libmswriteimport_la_SOURCES = mswriteimport.cc \ - libmswrite_defs.cpp structures_generated.cpp structures_private.cpp structures.cpp libmswrite.cpp ImportDialogUI.ui ImportDialog.cc +libmswriteimport_la_SOURCES = mswriteimport.cpp \ + libmswrite_defs.cpp structures_generated.cpp structures_private.cpp structures.cpp libmswrite.cpp ImportDialogUI.ui ImportDialog.cpp libmswriteimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libmswriteimport_la_LIBADD = $(KOFFICE_LIBS) -libmswriteexport_la_SOURCES = mswriteexport.cc \ +libmswriteexport_la_SOURCES = mswriteexport.cpp \ libmswrite_defs.cpp structures_generated.cpp structures_private.cpp structures.cpp libmswrite.cpp libmswriteexport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libmswriteexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOWMF) ../libexport/libkwordexportfilters.la diff --git a/filters/kword/mswrite/mswriteexport.cc b/filters/kword/mswrite/mswriteexport.cpp similarity index 100% rename from filters/kword/mswrite/mswriteexport.cc rename to filters/kword/mswrite/mswriteexport.cpp diff --git a/filters/kword/mswrite/mswriteimport.cc b/filters/kword/mswrite/mswriteimport.cpp similarity index 100% rename from filters/kword/mswrite/mswriteimport.cc rename to filters/kword/mswrite/mswriteimport.cpp diff --git a/filters/kword/mswrite/status.html b/filters/kword/mswrite/status.html index 5a8bddd15..9d70e7b21 100644 --- a/filters/kword/mswrite/status.html +++ b/filters/kword/mswrite/status.html @@ -99,7 +99,7 @@
Version 0.3-1: KOffice 1.2 Beta1
- - fixed mswritelib.cc crash on files with an unusual font table
+ - fixed mswritelib.cpp crash on files with an unusual font table
- emulates image position from left margin by using paragraph indents
- WMFs now render correctly in KWord (thanks to Lorthiois Thierry); note that only TQWMF code was changed
- gcc 2.95.3 internal error workaround
diff --git a/filters/kword/oowriter/ExportFilter.cc b/filters/kword/oowriter/ExportFilter.cpp similarity index 99% rename from filters/kword/oowriter/ExportFilter.cc rename to filters/kword/oowriter/ExportFilter.cpp index 216ace492..0894d0443 100644 --- a/filters/kword/oowriter/ExportFilter.cc +++ b/filters/kword/oowriter/ExportFilter.cpp @@ -19,7 +19,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/oowriter/ExportFilter.h b/filters/kword/oowriter/ExportFilter.h index c89e15acb..d4fa9db2e 100644 --- a/filters/kword/oowriter/ExportFilter.h +++ b/filters/kword/oowriter/ExportFilter.h @@ -19,7 +19,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/oowriter/Makefile.am b/filters/kword/oowriter/Makefile.am index 63b37bbfc..775b2beb6 100644 --- a/filters/kword/oowriter/Makefile.am +++ b/filters/kword/oowriter/Makefile.am @@ -7,13 +7,13 @@ $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = liboowriterimport.la liboowriterexport.la noinst_LTLIBRARIES = libcommon.la -libcommon_la_SOURCES = conversion.cc +libcommon_la_SOURCES = conversion.cpp -liboowriterimport_la_SOURCES = oowriterimport.cc +liboowriterimport_la_SOURCES = oowriterimport.cpp liboowriterimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined liboowriterimport_la_LIBADD = ../../liboofilter/liboofilter.la libcommon.la $(KOFFICE_LIBS) -liboowriterexport_la_SOURCES = oowriterexport.cc ExportFilter.cc +liboowriterexport_la_SOURCES = oowriterexport.cpp ExportFilter.cpp liboowriterexport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined liboowriterexport_la_LIBADD = $(KOFFICE_LIBS) ../libexport/libkwordexportfilters.la libcommon.la diff --git a/filters/kword/oowriter/conversion.cc b/filters/kword/oowriter/conversion.cpp similarity index 100% rename from filters/kword/oowriter/conversion.cc rename to filters/kword/oowriter/conversion.cpp diff --git a/filters/kword/oowriter/oowriterexport.cc b/filters/kword/oowriter/oowriterexport.cpp similarity index 97% rename from filters/kword/oowriter/oowriterexport.cc rename to filters/kword/oowriter/oowriterexport.cpp index aba0ee9fd..5c974084e 100644 --- a/filters/kword/oowriter/oowriterexport.cc +++ b/filters/kword/oowriter/oowriterexport.cpp @@ -19,7 +19,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/oowriter/oowriterimport.cc b/filters/kword/oowriter/oowriterimport.cpp similarity index 100% rename from filters/kword/oowriter/oowriterimport.cc rename to filters/kword/oowriter/oowriterimport.cpp diff --git a/filters/kword/palmdoc/Makefile.am b/filters/kword/palmdoc/Makefile.am index 1e0e7d9ec..6f1b64e47 100644 --- a/filters/kword/palmdoc/Makefile.am +++ b/filters/kword/palmdoc/Makefile.am @@ -10,8 +10,8 @@ libpalmdocexport_la_LIBADD = $(KOFFICE_LIBS) ../libexport/libkwordexportfilters. kde_module_LTLIBRARIES = libpalmdocimport.la libpalmdocexport.la -libpalmdocimport_la_SOURCES = palmdocimport.cc palmdb.cpp palmdoc.cpp -libpalmdocexport_la_SOURCES = palmdocexport.cc palmdb.cpp palmdoc.cpp +libpalmdocimport_la_SOURCES = palmdocimport.cpp palmdb.cpp palmdoc.cpp +libpalmdocexport_la_SOURCES = palmdocexport.cpp palmdb.cpp palmdoc.cpp noinst_HEADERS = palmdocimport.h palmdb.h palmdoc.h diff --git a/filters/kword/palmdoc/palmdocexport.cc b/filters/kword/palmdoc/palmdocexport.cpp similarity index 100% rename from filters/kword/palmdoc/palmdocexport.cc rename to filters/kword/palmdoc/palmdocexport.cpp diff --git a/filters/kword/palmdoc/palmdocimport.cc b/filters/kword/palmdoc/palmdocimport.cpp similarity index 100% rename from filters/kword/palmdoc/palmdocimport.cc rename to filters/kword/palmdoc/palmdocimport.cpp diff --git a/filters/kword/pdf/diffs/goo_enable-final.diff b/filters/kword/pdf/diffs/goo_enable-final.diff index b3d137ad7..7993ce58e 100644 --- a/filters/kword/pdf/diffs/goo_enable-final.diff +++ b/filters/kword/pdf/diffs/goo_enable-final.diff @@ -1,11 +1,11 @@ -Index: GHash.cc +Index: GHash.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GHash.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GHash.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 ---- GHash.cc 13 Jan 2003 14:51:16 -0000 1.2 -+++ GHash.cc 10 Oct 2004 21:37:09 -0000 1.3 +--- GHash.cpp 13 Jan 2003 14:51:16 -0000 1.2 ++++ GHash.cpp 10 Oct 2004 21:37:09 -0000 1.3 @@ -8,9 +8,6 @@ #include @@ -34,14 +34,14 @@ diff -u -p -r1.2 -r1.3 #include "gtypes.h" -Index: GList.cc +Index: GList.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GList.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GList.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 ---- GList.cc 23 Nov 2002 14:15:14 -0000 1.1 -+++ GList.cc 10 Oct 2004 21:37:09 -0000 1.2 +--- GList.cpp 23 Nov 2002 14:15:14 -0000 1.1 ++++ GList.cpp 10 Oct 2004 21:37:09 -0000 1.2 @@ -8,9 +8,6 @@ #include @@ -70,14 +70,14 @@ diff -u -p -r1.1 -r1.2 #include "gtypes.h" -Index: GString.cc +Index: GString.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GString.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GString.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 ---- GString.cc 23 Nov 2002 14:15:14 -0000 1.1 -+++ GString.cc 10 Oct 2004 21:37:09 -0000 1.2 +--- GString.cpp 23 Nov 2002 14:15:14 -0000 1.1 ++++ GString.cpp 10 Oct 2004 21:37:09 -0000 1.2 @@ -10,9 +10,6 @@ #include diff --git a/filters/kword/pdf/diffs/goo_gfile.diff b/filters/kword/pdf/diffs/goo_gfile.diff index 6aac2487c..2e9cdd537 100644 --- a/filters/kword/pdf/diffs/goo_gfile.diff +++ b/filters/kword/pdf/diffs/goo_gfile.diff @@ -1,6 +1,6 @@ -diff -u /home/azhyd/xpdf-2.00/goo/gfile.cc goo/gfile.cc ---- /home/azhyd/xpdf-2.00/goo/gfile.cc Sun Nov 3 23:15:36 2002 -+++ goo/gfile.cc Wed Nov 20 06:43:32 2002 +diff -u /home/azhyd/xpdf-2.00/goo/gfile.cpp goo/gfile.cpp +--- /home/azhyd/xpdf-2.00/goo/gfile.cpp Sun Nov 3 23:15:36 2002 ++++ goo/gfile.cpp Wed Nov 20 06:43:32 2002 @@ -443,7 +443,7 @@ #endif } diff --git a/filters/kword/pdf/diffs/xpdf_TextOutputDev.diff b/filters/kword/pdf/diffs/xpdf_TextOutputDev.diff index ec981364b..693ecb556 100644 --- a/filters/kword/pdf/diffs/xpdf_TextOutputDev.diff +++ b/filters/kword/pdf/diffs/xpdf_TextOutputDev.diff @@ -1,6 +1,6 @@ -diff -u /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cc xpdf/TextOutputDev.cc ---- /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cc Thu Nov 14 04:41:00 2002 -+++ xpdf/TextOutputDev.cc Sat Nov 23 21:01:14 2002 +diff -u /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cpp xpdf/TextOutputDev.cpp +--- /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cpp Thu Nov 14 04:41:00 2002 ++++ xpdf/TextOutputDev.cpp Sat Nov 23 21:01:14 2002 @@ -46,26 +46,6 @@ // TextBlock //------------------------------------------------------------------------ diff --git a/filters/kword/pdf/diffs/xpdf_includes.diff b/filters/kword/pdf/diffs/xpdf_includes.diff index 33fbea601..c9eeb465d 100644 --- a/filters/kword/pdf/diffs/xpdf_includes.diff +++ b/filters/kword/pdf/diffs/xpdf_includes.diff @@ -10,9 +10,9 @@ diff -u /home/azhyd/xpdf-2.00/xpdf/Error.h xpdf/Error.h extern void CDECL error(int pos, char *msg, ...); -diff -u /home/azhyd/xpdf-2.00/xpdf/PDFDoc.cc xpdf/PDFDoc.cc ---- /home/azhyd/xpdf-2.00/xpdf/PDFDoc.cc Sun Nov 3 23:15:36 2002 -+++ xpdf/PDFDoc.cc Wed Nov 20 07:30:55 2002 +diff -u /home/azhyd/xpdf-2.00/xpdf/PDFDoc.cpp xpdf/PDFDoc.cpp +--- /home/azhyd/xpdf-2.00/xpdf/PDFDoc.cpp Sun Nov 3 23:15:36 2002 ++++ xpdf/PDFDoc.cpp Wed Nov 20 07:30:55 2002 @@ -17,7 +17,7 @@ #include #include @@ -22,9 +22,9 @@ diff -u /home/azhyd/xpdf-2.00/xpdf/PDFDoc.cc xpdf/PDFDoc.cc #include "GlobalParams.h" #include "Page.h" #include "Catalog.h" -diff -u /home/azhyd/xpdf-2.00/xpdf/Stream.cc xpdf/Stream.cc ---- /home/azhyd/xpdf-2.00/xpdf/Stream.cc Sun Nov 3 23:15:37 2002 -+++ xpdf/Stream.cc Wed Nov 20 07:31:33 2002 +diff -u /home/azhyd/xpdf-2.00/xpdf/Stream.cpp xpdf/Stream.cpp +--- /home/azhyd/xpdf-2.00/xpdf/Stream.cpp Sun Nov 3 23:15:37 2002 ++++ xpdf/Stream.cpp Wed Nov 20 07:31:33 2002 @@ -22,7 +22,7 @@ #include #include "gmem.h" @@ -34,9 +34,9 @@ diff -u /home/azhyd/xpdf-2.00/xpdf/Stream.cc xpdf/Stream.cc #include "Error.h" #include "Object.h" #ifndef NO_DECRYPTION -diff -u /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cc xpdf/TextOutputDev.cc ---- /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cc Thu Nov 14 04:41:00 2002 -+++ xpdf/TextOutputDev.cc Wed Nov 20 07:31:41 2002 +diff -u /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cpp xpdf/TextOutputDev.cpp +--- /home/azhyd/xpdf-2.00/xpdf/TextOutputDev.cpp Thu Nov 14 04:41:00 2002 ++++ xpdf/TextOutputDev.cpp Wed Nov 20 07:31:41 2002 @@ -19,7 +19,7 @@ #include #include "GString.h" diff --git a/filters/kword/pdf/diffs/xpdf_security_integer_overflow.diff b/filters/kword/pdf/diffs/xpdf_security_integer_overflow.diff index 1b3872083..d5261ba68 100644 --- a/filters/kword/pdf/diffs/xpdf_security_integer_overflow.diff +++ b/filters/kword/pdf/diffs/xpdf_security_integer_overflow.diff @@ -1,10 +1,10 @@ -Index: Catalog.cc +Index: Catalog.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/Catalog.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/Catalog.cpp,v retrieving revision 1.1 -diff -u -p -r1.1 Catalog.cc ---- Catalog.cc 23 Nov 2002 14:15:14 -0000 1.1 -+++ Catalog.cc 30 Oct 2004 16:34:49 -0000 +diff -u -p -r1.1 Catalog.cpp +--- Catalog.cpp 23 Nov 2002 14:15:14 -0000 1.1 ++++ Catalog.cpp 30 Oct 2004 16:34:49 -0000 @@ -12,6 +12,7 @@ #pragma implementation #endif @@ -38,13 +38,13 @@ diff -u -p -r1.1 Catalog.cc pages = (Page **)grealloc(pages, pagesSize * sizeof(Page *)); pageRefs = (Ref *)grealloc(pageRefs, pagesSize * sizeof(Ref)); for (j = pagesSize - 32; j < pagesSize; ++j) { -Index: XRef.cc +Index: XRef.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/XRef.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/XRef.cpp,v retrieving revision 1.1 -diff -u -p -r1.1 XRef.cc ---- XRef.cc 23 Nov 2002 14:15:14 -0000 1.1 -+++ XRef.cc 30 Oct 2004 16:34:53 -0000 +diff -u -p -r1.1 XRef.cpp +--- XRef.cpp 23 Nov 2002 14:15:14 -0000 1.1 ++++ XRef.cpp 30 Oct 2004 16:34:53 -0000 @@ -12,6 +12,7 @@ #pragma implementation #endif diff --git a/filters/kword/pdf/diffs/xpdf_security_integer_overflow_2.diff b/filters/kword/pdf/diffs/xpdf_security_integer_overflow_2.diff index e64646128..38bb723ec 100644 --- a/filters/kword/pdf/diffs/xpdf_security_integer_overflow_2.diff +++ b/filters/kword/pdf/diffs/xpdf_security_integer_overflow_2.diff @@ -1,11 +1,11 @@ -Index: goo/GHash.cc +Index: goo/GHash.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GHash.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GHash.cpp,v retrieving revision 1.3 retrieving revision 1.2.2.1 diff -u -p -r1.3 -r1.2.2.1 ---- goo/GHash.cc 10 Oct 2004 21:37:09 -0000 1.3 -+++ goo/GHash.cc 21 Oct 2004 20:32:51 -0000 1.2.2.1 +--- goo/GHash.cpp 10 Oct 2004 21:37:09 -0000 1.3 ++++ goo/GHash.cpp 21 Oct 2004 20:32:51 -0000 1.2.2.1 @@ -8,7 +8,6 @@ #include @@ -30,14 +30,14 @@ diff -u -p -r1.3 -r1.2.2.1 #include "gtypes.h" class GString; -Index: goo/GList.cc +Index: goo/GList.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GList.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GList.cpp,v retrieving revision 1.2 retrieving revision 1.1.2.1 diff -u -p -r1.2 -r1.1.2.1 ---- goo/GList.cc 10 Oct 2004 21:37:09 -0000 1.2 -+++ goo/GList.cc 21 Oct 2004 20:32:51 -0000 1.1.2.1 +--- goo/GList.cpp 10 Oct 2004 21:37:09 -0000 1.2 ++++ goo/GList.cpp 21 Oct 2004 20:32:51 -0000 1.1.2.1 @@ -8,7 +8,6 @@ #include @@ -62,14 +62,14 @@ diff -u -p -r1.2 -r1.1.2.1 #include "gtypes.h" //------------------------------------------------------------------------ -Index: goo/GString.cc +Index: goo/GString.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GString.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/goo/GString.cpp,v retrieving revision 1.2 retrieving revision 1.1.2.1 diff -u -p -r1.2 -r1.1.2.1 ---- goo/GString.cc 10 Oct 2004 21:37:09 -0000 1.2 -+++ goo/GString.cc 21 Oct 2004 20:32:51 -0000 1.1.2.1 +--- goo/GString.cpp 10 Oct 2004 21:37:09 -0000 1.2 ++++ goo/GString.cpp 21 Oct 2004 20:32:51 -0000 1.1.2.1 @@ -10,7 +10,6 @@ #include @@ -94,14 +94,14 @@ diff -u -p -r1.3 -r1.2.2.1 #include class GString { -Index: xpdf/Gfx.cc +Index: xpdf/Gfx.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/Gfx.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/Gfx.cpp,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -u -p -r1.3 -r1.3.2.1 ---- xpdf/Gfx.cc 25 Jan 2003 23:17:44 -0000 1.3 -+++ xpdf/Gfx.cc 22 Dec 2004 12:07:12 -0000 1.3.2.1 +--- xpdf/Gfx.cpp 25 Jan 2003 23:17:44 -0000 1.3 ++++ xpdf/Gfx.cpp 22 Dec 2004 12:07:12 -0000 1.3.2.1 @@ -2379,7 +2379,9 @@ void Gfx::doImage(Object *ref, Stream *s haveMask = gFalse; dict->lookup("Mask", &maskObj); @@ -113,14 +113,14 @@ diff -u -p -r1.3 -r1.3.2.1 maskObj.arrayGet(i, &obj1); maskColors[i] = obj1.getInt(); obj1.free(); -Index: xpdf/GfxState.cc +Index: xpdf/GfxState.cpp =================================================================== -RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/GfxState.cc,v +RCS file: /home/kde/koffice/filters/kword/pdf/xpdf/xpdf/GfxState.cpp,v retrieving revision 1.3 retrieving revision 1.3.2.2 diff -u -p -r1.3 -r1.3.2.2 ---- xpdf/GfxState.cc 25 Jan 2003 23:17:44 -0000 1.3 -+++ xpdf/GfxState.cc 22 Dec 2004 13:50:53 -0000 1.3.2.2 +--- xpdf/GfxState.cpp 25 Jan 2003 23:17:44 -0000 1.3 ++++ xpdf/GfxState.cpp 22 Dec 2004 13:50:53 -0000 1.3.2.2 @@ -682,6 +682,11 @@ GfxColorSpace *GfxICCBasedColorSpace::pa } nCompsA = obj2.getInt(); diff --git a/filters/kword/pdf/xpdf/CHANGES b/filters/kword/pdf/xpdf/CHANGES index 7a09620d2..6cf5c8ef1 100644 --- a/filters/kword/pdf/xpdf/CHANGES +++ b/filters/kword/pdf/xpdf/CHANGES @@ -44,7 +44,7 @@ Changed several things to ease porting: - changed '__inline' to 'inline' (to adhere to the ANSI standard) - surrounded interface/implementation pragmas with #ifdef _GNUC__ - got rid of empty array initializer lists - - moved Operator type definition from Gfx.cc to Gfx.h + - moved Operator type definition from Gfx.cpp to Gfx.h - renamed String, uint, etc. - ability to uncompress to file (NO_POPEN and USE_GZIP flags) - added definitions of XK_Page_Up/Down and XPointer for old versions @@ -75,7 +75,7 @@ Fixed PostScript output: - if page is larger than paper size, scale it down. Set default MediaBox to 8.5" x 11" to deal with non-compliant PDF files which don't specify a MediaBox. -Added DEBUG_MEM stuff in gmem.c and gmempp.cc. +Added DEBUG_MEM stuff in gmem.c and gmempp.cpp. Fixed memory leaks: - LTKWindow didn't delete the LTKBox. - LinkAction needs a virtual destructor. @@ -149,7 +149,7 @@ Added file name to window title. Implemented RunLength filter. Implemented forms. Convert ObjType to an enum. -Changed isDict("Pages") to isDict() (in Catalog.cc) to deal with +Changed isDict("Pages") to isDict() (in Catalog.cpp) to deal with incorrect PDF files. Changed color selection so that very pale colors don't map to white. Fixed bug in CCITTFax filter (multiple make-up codes). @@ -292,10 +292,10 @@ ASCII85Stream, ASCIIHexStream, and DCTStream didn't check for EOF and could run past the end of the stream in damaged files. Handle hex escapes (#xx) in names. Still allow the name /# for backward-compatibility. -Check for NULL characters in encoding array in GfxFont.cc (was calling +Check for NULL characters in encoding array in GfxFont.cpp (was calling strcmp() with NULL which crashed under Solaris). PageAttrs::PageAttrs() didn't initialize crop box boundaries. -Changed uses of lookup() to lookupNF() in XRef.cc. +Changed uses of lookup() to lookupNF() in XRef.cpp. Fixed type checking of operators which take a variable number of args. Gfx::buildImageStream() doesn't need to check for parser (since I got @@ -311,7 +311,7 @@ Throw away zero-length strings in TextOutputDev -- they don't have valid xMin/xMax values. Swapped order of XLIBS and XPMLIB in xpdf/Makefile. Deleted 'LTKApp::' in function declaration in LTKApp.h. -Changed '(XKeyEvent *)&event' to '&event.xkey' in LTKApp.cc. +Changed '(XKeyEvent *)&event' to '&event.xkey' in LTKApp.cpp. Check that the link rectangle coordinates are in the correct order, and swap if necessary. TextOutputDev didn't set text to NULL, which caused pdftotext to @@ -346,7 +346,7 @@ Rewrote XRef::readXRef() to avoid using a parser to read the xref entries. Added NO_TEXT_SELECT option. Ignore APPn/COM/etc. markers in DCT streams. -Replaced select() with XMultiplexInput() in LTKApp.cc for VMS. +Replaced select() with XMultiplexInput() in LTKApp.cpp for VMS. Handle WM_DELETE_WINDOW protocol -- if you ask the window manager to delete the xpdf window, xpdf will exit cleanly; other windows/dialogs are simply closed. @@ -359,7 +359,7 @@ Added "normal" SETWIDTH parameter to all font descriptors in Added FOPEN_READ_BIN and FOPEN_WRITE_BIN to support Win32. Added a hack which allows better font substitution for some Type 3 fonts. Also allow character names of the form /nn and /nnn. -Added and to LTKApp.cc (needed by AIX and IRIX +Added and to LTKApp.cpp (needed by AIX and IRIX for bzero() declaration for FD_ZERO). 0.80 (98-nov-27) @@ -404,7 +404,7 @@ Changes to configure script and Makefiles: - Get rid of AC_C_INLINE -- this is meant for C, not C++. - Changed -USE_GZIP to -DUSE_GZIP. - Added ability to compile ouside of the source tree. - - Added .cc.o rule to {goo,ltk,xpdf}/Makefile.in. + - Added .cpp.o rule to {goo,ltk,xpdf}/Makefile.in. - Added @LIBS@ to XLIBS in xpdf/Makefile.in. - In top-level Makefile.in: added '-' to clean commands; added distclean rule. @@ -529,7 +529,7 @@ Do a better job with anti-aliased Type 1 fonts on non-white Handle Lab color spaces. Handle non-null user passwords. Avoid security hole with tmpnam()/fopen() -- added openTempFile() in - goo/gfile.cc. [Thanks to Joseph S. Myers for pointing this out.] + goo/gfile.cpp. [Thanks to Joseph S. Myers for pointing this out.] Filter out quote marks (' and ") in URLs before running urlCommand to avoid a potential security hole. [Thanks to Frank Doepper for pointing this out.] @@ -582,7 +582,7 @@ Fixed a memory (malloc size) bug in CCITTFaxStream. Fixed two bugs in FontEncoding::hash() -- handle zero-length character names (which were found in a (buggy?) PDF file), and handle character names with high-bit-set characters (use unsigned ints). -Added PDFDoc::isLinearized() and corresponding code in pdfinfo.cc. +Added PDFDoc::isLinearized() and corresponding code in pdfinfo.cpp. Handle files with an incorrect page count in the Pages dictionary (FOP, from the Apache project produces a page count of 0). Handle TrueType equivalents to the Base14 fonts (Arial, TimesNewRoman, @@ -602,7 +602,7 @@ Configure script switches to C++ for the strings.h/bstring.h test. Gfx::opRestore() calls clearPath() to handle (apparently) buggy PDF files produced by FreeHand. The /Type field in most dictionaries is optional (PDF 1.3 change). -Move printCommands variable definition into Gfx.cc. +Move printCommands variable definition into Gfx.cpp. If page is smaller than paper, center the PostScript output. Fix a minor bug in the SELECT_TAKES_INT detection in the configure script. @@ -661,7 +661,7 @@ Rearranged the GfxResources class. Clean up white space handling in Lexer. Make the dpi parameter to PDFDoc::displayPage etc. a double - this avoids margin gaps with fit-page and fit-width. -Fix a rounding problem in xpdf.cc that was causing the window to +Fix a rounding problem in xpdf.cpp that was causing the window to sometimes be one pixel too small. Fixed a minor bug in dealing with Base-14 TrueType font names. Fixed Lab -> RGB color space conversion. @@ -998,7 +998,7 @@ Added psASCIIHex parameter. Added the GBK Unicode map to the simplified Chinese language pack. Pdftotext now opens the text file in binary mode to avoid Microsoft's annoying automatic end-of-line translation stuff. -Added an executeCommand function in goo/gfile.cc. [Thanks to Mikhail +Added an executeCommand function in goo/gfile.cpp. [Thanks to Mikhail Kruk.] The %ALDImagePosition OPI comment was wrong if the page was scaled to a different paper size. diff --git a/filters/kword/pdf/xpdf/goo/GHash.cc b/filters/kword/pdf/xpdf/goo/GHash.cpp similarity index 99% rename from filters/kword/pdf/xpdf/goo/GHash.cc rename to filters/kword/pdf/xpdf/goo/GHash.cpp index d336f88e3..94b327766 100644 --- a/filters/kword/pdf/xpdf/goo/GHash.cc +++ b/filters/kword/pdf/xpdf/goo/GHash.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// GHash.cc +// GHash.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/goo/GList.cc b/filters/kword/pdf/xpdf/goo/GList.cpp similarity index 99% rename from filters/kword/pdf/xpdf/goo/GList.cc rename to filters/kword/pdf/xpdf/goo/GList.cpp index 3754cc713..5d2a76467 100644 --- a/filters/kword/pdf/xpdf/goo/GList.cc +++ b/filters/kword/pdf/xpdf/goo/GList.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// GList.cc +// GList.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/goo/GString.cc b/filters/kword/pdf/xpdf/goo/GString.cpp similarity index 99% rename from filters/kword/pdf/xpdf/goo/GString.cc rename to filters/kword/pdf/xpdf/goo/GString.cpp index 6a556fab8..ef792adba 100644 --- a/filters/kword/pdf/xpdf/goo/GString.cc +++ b/filters/kword/pdf/xpdf/goo/GString.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// GString.cc +// GString.cpp // // Simple variable-length string type. // diff --git a/filters/kword/pdf/xpdf/goo/Makefile.am b/filters/kword/pdf/xpdf/goo/Makefile.am index 186aa0db3..3a5700d7b 100644 --- a/filters/kword/pdf/xpdf/goo/Makefile.am +++ b/filters/kword/pdf/xpdf/goo/Makefile.am @@ -3,5 +3,5 @@ INCLUDES= -I$(srcdir) noinst_LTLIBRARIES = libgoo.la -libgoo_la_SOURCES = GHash.cc GList.cc GString.cc gmempp.cc gfile.cc \ +libgoo_la_SOURCES = GHash.cpp GList.cpp GString.cpp gmempp.cpp gfile.cpp \ gmem.c parseargs.c diff --git a/filters/kword/pdf/xpdf/goo/gfile.cc b/filters/kword/pdf/xpdf/goo/gfile.cpp similarity index 99% rename from filters/kword/pdf/xpdf/goo/gfile.cc rename to filters/kword/pdf/xpdf/goo/gfile.cpp index 55fb2f837..7fb7aaefb 100644 --- a/filters/kword/pdf/xpdf/goo/gfile.cc +++ b/filters/kword/pdf/xpdf/goo/gfile.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// gfile.cc +// gfile.cpp // // Miscellaneous file and directory name manipulation. // diff --git a/filters/kword/pdf/xpdf/goo/gmempp.cc b/filters/kword/pdf/xpdf/goo/gmempp.cpp similarity index 97% rename from filters/kword/pdf/xpdf/goo/gmempp.cc rename to filters/kword/pdf/xpdf/goo/gmempp.cpp index ed94f7a1d..6339f2e8f 100644 --- a/filters/kword/pdf/xpdf/goo/gmempp.cc +++ b/filters/kword/pdf/xpdf/goo/gmempp.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// gmempp.cc +// gmempp.cpp // // Use gmalloc/gfree for C++ new/delete operators. // diff --git a/filters/kword/pdf/xpdf/xpdf/Annot.cc b/filters/kword/pdf/xpdf/xpdf/Annot.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Annot.cc rename to filters/kword/pdf/xpdf/xpdf/Annot.cpp index 8ebf6a0c0..c3a161190 100644 --- a/filters/kword/pdf/xpdf/xpdf/Annot.cc +++ b/filters/kword/pdf/xpdf/xpdf/Annot.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Annot.cc +// Annot.cpp // // Copyright 2000-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Array.cc b/filters/kword/pdf/xpdf/xpdf/Array.cpp similarity index 98% rename from filters/kword/pdf/xpdf/xpdf/Array.cc rename to filters/kword/pdf/xpdf/xpdf/Array.cpp index 9c6cb3415..758dbfd0b 100644 --- a/filters/kword/pdf/xpdf/xpdf/Array.cc +++ b/filters/kword/pdf/xpdf/xpdf/Array.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Array.cc +// Array.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/BuiltinFont.cc b/filters/kword/pdf/xpdf/xpdf/BuiltinFont.cpp similarity index 98% rename from filters/kword/pdf/xpdf/xpdf/BuiltinFont.cc rename to filters/kword/pdf/xpdf/xpdf/BuiltinFont.cpp index 72b845792..3f1effb5e 100644 --- a/filters/kword/pdf/xpdf/xpdf/BuiltinFont.cc +++ b/filters/kword/pdf/xpdf/xpdf/BuiltinFont.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// BuiltinFont.cc +// BuiltinFont.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/BuiltinFontTables.cc b/filters/kword/pdf/xpdf/xpdf/BuiltinFontTables.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/BuiltinFontTables.cc rename to filters/kword/pdf/xpdf/xpdf/BuiltinFontTables.cpp index e2acfef8a..3120d0852 100644 --- a/filters/kword/pdf/xpdf/xpdf/BuiltinFontTables.cc +++ b/filters/kword/pdf/xpdf/xpdf/BuiltinFontTables.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// BuiltinFontTables.cc +// BuiltinFontTables.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/CMap.cc b/filters/kword/pdf/xpdf/xpdf/CMap.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/CMap.cc rename to filters/kword/pdf/xpdf/xpdf/CMap.cpp index b00021835..09a7bfe43 100644 --- a/filters/kword/pdf/xpdf/xpdf/CMap.cc +++ b/filters/kword/pdf/xpdf/xpdf/CMap.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// CMap.cc +// CMap.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Catalog.cc b/filters/kword/pdf/xpdf/xpdf/Catalog.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Catalog.cc rename to filters/kword/pdf/xpdf/xpdf/Catalog.cpp index 8f7e6b04e..583666b22 100644 --- a/filters/kword/pdf/xpdf/xpdf/Catalog.cc +++ b/filters/kword/pdf/xpdf/xpdf/Catalog.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Catalog.cc +// Catalog.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/CharCodeToUnicode.cc b/filters/kword/pdf/xpdf/xpdf/CharCodeToUnicode.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/CharCodeToUnicode.cc rename to filters/kword/pdf/xpdf/xpdf/CharCodeToUnicode.cpp index f61d4007d..1a01b37d6 100644 --- a/filters/kword/pdf/xpdf/xpdf/CharCodeToUnicode.cc +++ b/filters/kword/pdf/xpdf/xpdf/CharCodeToUnicode.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// CharCodeToUnicode.cc +// CharCodeToUnicode.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Decrypt.cc b/filters/kword/pdf/xpdf/xpdf/Decrypt.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Decrypt.cc rename to filters/kword/pdf/xpdf/xpdf/Decrypt.cpp index 920cd63f4..11767f752 100644 --- a/filters/kword/pdf/xpdf/xpdf/Decrypt.cc +++ b/filters/kword/pdf/xpdf/xpdf/Decrypt.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Decrypt.cc +// Decrypt.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Dict.cc b/filters/kword/pdf/xpdf/xpdf/Dict.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Dict.cc rename to filters/kword/pdf/xpdf/xpdf/Dict.cpp index 351c23a02..70592a61b 100644 --- a/filters/kword/pdf/xpdf/xpdf/Dict.cc +++ b/filters/kword/pdf/xpdf/xpdf/Dict.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Dict.cc +// Dict.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Error.cc b/filters/kword/pdf/xpdf/xpdf/Error.cpp similarity index 98% rename from filters/kword/pdf/xpdf/xpdf/Error.cc rename to filters/kword/pdf/xpdf/xpdf/Error.cpp index c1985ca85..e7312a006 100644 --- a/filters/kword/pdf/xpdf/xpdf/Error.cc +++ b/filters/kword/pdf/xpdf/xpdf/Error.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Error.cc +// Error.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/FTFont.cc b/filters/kword/pdf/xpdf/xpdf/FTFont.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/FTFont.cc rename to filters/kword/pdf/xpdf/xpdf/FTFont.cpp index 8de09e0e6..f993ca05e 100644 --- a/filters/kword/pdf/xpdf/xpdf/FTFont.cc +++ b/filters/kword/pdf/xpdf/xpdf/FTFont.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// FTFont.cc +// FTFont.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/FontEncodingTables.cc b/filters/kword/pdf/xpdf/xpdf/FontEncodingTables.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/FontEncodingTables.cc rename to filters/kword/pdf/xpdf/xpdf/FontEncodingTables.cpp index db4f9dd8b..83774bf87 100644 --- a/filters/kword/pdf/xpdf/xpdf/FontEncodingTables.cc +++ b/filters/kword/pdf/xpdf/xpdf/FontEncodingTables.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// FontEncodingTables.cc +// FontEncodingTables.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/FontFile.cc b/filters/kword/pdf/xpdf/xpdf/FontFile.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/FontFile.cc rename to filters/kword/pdf/xpdf/xpdf/FontFile.cpp index ccb880bfb..8a6597b08 100644 --- a/filters/kword/pdf/xpdf/xpdf/FontFile.cc +++ b/filters/kword/pdf/xpdf/xpdf/FontFile.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// FontFile.cc +// FontFile.cpp // // Copyright 1999-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Function.cc b/filters/kword/pdf/xpdf/xpdf/Function.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Function.cc rename to filters/kword/pdf/xpdf/xpdf/Function.cpp index e72d3d288..84e27d197 100644 --- a/filters/kword/pdf/xpdf/xpdf/Function.cc +++ b/filters/kword/pdf/xpdf/xpdf/Function.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Function.cc +// Function.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Gfx.cc b/filters/kword/pdf/xpdf/xpdf/Gfx.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Gfx.cc rename to filters/kword/pdf/xpdf/xpdf/Gfx.cpp index 7948d78ae..cb6b47831 100644 --- a/filters/kword/pdf/xpdf/xpdf/Gfx.cc +++ b/filters/kword/pdf/xpdf/xpdf/Gfx.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Gfx.cc +// Gfx.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/GfxFont.cc b/filters/kword/pdf/xpdf/xpdf/GfxFont.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/GfxFont.cc rename to filters/kword/pdf/xpdf/xpdf/GfxFont.cpp index 1ed211743..53708b492 100644 --- a/filters/kword/pdf/xpdf/xpdf/GfxFont.cc +++ b/filters/kword/pdf/xpdf/xpdf/GfxFont.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// GfxFont.cc +// GfxFont.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/GfxState.cc b/filters/kword/pdf/xpdf/xpdf/GfxState.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/GfxState.cc rename to filters/kword/pdf/xpdf/xpdf/GfxState.cpp index 5101f773d..866e692f1 100644 --- a/filters/kword/pdf/xpdf/xpdf/GfxState.cc +++ b/filters/kword/pdf/xpdf/xpdf/GfxState.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// GfxState.cc +// GfxState.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cc b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/GlobalParams.cc rename to filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp index 8a7b36de8..be2569d34 100644 --- a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cc +++ b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// GlobalParams.cc +// GlobalParams.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/ImageOutputDev.cc b/filters/kword/pdf/xpdf/xpdf/ImageOutputDev.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/ImageOutputDev.cc rename to filters/kword/pdf/xpdf/xpdf/ImageOutputDev.cpp index 1a6d87e1f..9c1628437 100644 --- a/filters/kword/pdf/xpdf/xpdf/ImageOutputDev.cc +++ b/filters/kword/pdf/xpdf/xpdf/ImageOutputDev.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// ImageOutputDev.cc +// ImageOutputDev.cpp // // Copyright 1998-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/JBIG2Stream.cc b/filters/kword/pdf/xpdf/xpdf/JBIG2Stream.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/JBIG2Stream.cc rename to filters/kword/pdf/xpdf/xpdf/JBIG2Stream.cpp index 6312cacae..fefab4a7e 100644 --- a/filters/kword/pdf/xpdf/xpdf/JBIG2Stream.cc +++ b/filters/kword/pdf/xpdf/xpdf/JBIG2Stream.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// JBIG2Stream.cc +// JBIG2Stream.cpp // // Copyright 2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Lexer.cc b/filters/kword/pdf/xpdf/xpdf/Lexer.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Lexer.cc rename to filters/kword/pdf/xpdf/xpdf/Lexer.cpp index 982295ee3..2d588814c 100644 --- a/filters/kword/pdf/xpdf/xpdf/Lexer.cc +++ b/filters/kword/pdf/xpdf/xpdf/Lexer.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Lexer.cc +// Lexer.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Link.cc b/filters/kword/pdf/xpdf/xpdf/Link.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Link.cc rename to filters/kword/pdf/xpdf/xpdf/Link.cpp index 345e7296a..45805d20d 100644 --- a/filters/kword/pdf/xpdf/xpdf/Link.cc +++ b/filters/kword/pdf/xpdf/xpdf/Link.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Link.cc +// Link.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Makefile.am b/filters/kword/pdf/xpdf/xpdf/Makefile.am index 2ad61b24f..001e9ea00 100644 --- a/filters/kword/pdf/xpdf/xpdf/Makefile.am +++ b/filters/kword/pdf/xpdf/xpdf/Makefile.am @@ -4,11 +4,11 @@ INCLUDES= -I$(srcdir) -I$(srcdir)/../goo $(all_includes) noinst_LTLIBRARIES = libxpdf.la -libxpdf_la_SOURCES = Array.cc BuiltinFont.cc BuiltinFontTables.cc Catalog.cc \ - CharCodeToUnicode.cc CMap.cc Decrypt.cc Dict.cc Error.cc \ - FontEncodingTables.cc FontFile.cc Function.cc Gfx.cc \ - GfxFont.cc GfxState.cc GlobalParams.cc Lexer.cc Link.cc \ - NameToCharCode.cc Object.cc OutputDev.cc Page.cc Parser.cc PDFDoc.cc \ - PSTokenizer.cc Stream.cc UnicodeMap.cc XRef.cc Annot.cc \ - Outline.cc JBIG2Stream.cc PDFDocEncoding.cc \ - TextOutputDev.cc +libxpdf_la_SOURCES = Array.cpp BuiltinFont.cpp BuiltinFontTables.cpp Catalog.cpp \ + CharCodeToUnicode.cpp CMap.cpp Decrypt.cpp Dict.cpp Error.cpp \ + FontEncodingTables.cpp FontFile.cpp Function.cpp Gfx.cpp \ + GfxFont.cpp GfxState.cpp GlobalParams.cpp Lexer.cpp Link.cpp \ + NameToCharCode.cpp Object.cpp OutputDev.cpp Page.cpp Parser.cpp PDFDoc.cpp \ + PSTokenizer.cpp Stream.cpp UnicodeMap.cpp XRef.cpp Annot.cpp \ + Outline.cpp JBIG2Stream.cpp PDFDocEncoding.cpp \ + TextOutputDev.cpp diff --git a/filters/kword/pdf/xpdf/xpdf/NameToCharCode.cc b/filters/kword/pdf/xpdf/xpdf/NameToCharCode.cpp similarity index 98% rename from filters/kword/pdf/xpdf/xpdf/NameToCharCode.cc rename to filters/kword/pdf/xpdf/xpdf/NameToCharCode.cpp index bc5165335..81739488a 100644 --- a/filters/kword/pdf/xpdf/xpdf/NameToCharCode.cc +++ b/filters/kword/pdf/xpdf/xpdf/NameToCharCode.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// NameToCharCode.cc +// NameToCharCode.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Object.cc b/filters/kword/pdf/xpdf/xpdf/Object.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Object.cc rename to filters/kword/pdf/xpdf/xpdf/Object.cpp index 296522ce4..2a251536f 100644 --- a/filters/kword/pdf/xpdf/xpdf/Object.cc +++ b/filters/kword/pdf/xpdf/xpdf/Object.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Object.cc +// Object.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Outline.cc b/filters/kword/pdf/xpdf/xpdf/Outline.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Outline.cc rename to filters/kword/pdf/xpdf/xpdf/Outline.cpp index 256d38d4b..b0753fda2 100644 --- a/filters/kword/pdf/xpdf/xpdf/Outline.cc +++ b/filters/kword/pdf/xpdf/xpdf/Outline.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Outline.cc +// Outline.cpp // // Copyright 2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/OutputDev.cc b/filters/kword/pdf/xpdf/xpdf/OutputDev.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/OutputDev.cc rename to filters/kword/pdf/xpdf/xpdf/OutputDev.cpp index 34ec56836..84f7a2ac9 100644 --- a/filters/kword/pdf/xpdf/xpdf/OutputDev.cc +++ b/filters/kword/pdf/xpdf/xpdf/OutputDev.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// OutputDev.cc +// OutputDev.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/PBMOutputDev.cc b/filters/kword/pdf/xpdf/xpdf/PBMOutputDev.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/PBMOutputDev.cc rename to filters/kword/pdf/xpdf/xpdf/PBMOutputDev.cpp index 34432991d..4a65ac041 100644 --- a/filters/kword/pdf/xpdf/xpdf/PBMOutputDev.cc +++ b/filters/kword/pdf/xpdf/xpdf/PBMOutputDev.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// PBMOutputDev.cc +// PBMOutputDev.cpp // // Copyright 1998-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/PDFDoc.cc b/filters/kword/pdf/xpdf/xpdf/PDFDoc.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/PDFDoc.cc rename to filters/kword/pdf/xpdf/xpdf/PDFDoc.cpp index 19efc1aa6..63f5d2da4 100644 --- a/filters/kword/pdf/xpdf/xpdf/PDFDoc.cc +++ b/filters/kword/pdf/xpdf/xpdf/PDFDoc.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// PDFDoc.cc +// PDFDoc.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/PDFDocEncoding.cc b/filters/kword/pdf/xpdf/xpdf/PDFDocEncoding.cpp similarity index 100% rename from filters/kword/pdf/xpdf/xpdf/PDFDocEncoding.cc rename to filters/kword/pdf/xpdf/xpdf/PDFDocEncoding.cpp diff --git a/filters/kword/pdf/xpdf/xpdf/PSOutputDev.cc b/filters/kword/pdf/xpdf/xpdf/PSOutputDev.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/PSOutputDev.cc rename to filters/kword/pdf/xpdf/xpdf/PSOutputDev.cpp index 111d8717b..66fd3fa6a 100644 --- a/filters/kword/pdf/xpdf/xpdf/PSOutputDev.cc +++ b/filters/kword/pdf/xpdf/xpdf/PSOutputDev.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// PSOutputDev.cc +// PSOutputDev.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/PSTokenizer.cc b/filters/kword/pdf/xpdf/xpdf/PSTokenizer.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/PSTokenizer.cc rename to filters/kword/pdf/xpdf/xpdf/PSTokenizer.cpp index 570a7bac7..73b04323e 100644 --- a/filters/kword/pdf/xpdf/xpdf/PSTokenizer.cc +++ b/filters/kword/pdf/xpdf/xpdf/PSTokenizer.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// PSTokenizer.cc +// PSTokenizer.cpp // // Copyright 2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Page.cc b/filters/kword/pdf/xpdf/xpdf/Page.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Page.cc rename to filters/kword/pdf/xpdf/xpdf/Page.cpp index 891ed82ee..96cb4613d 100644 --- a/filters/kword/pdf/xpdf/xpdf/Page.cc +++ b/filters/kword/pdf/xpdf/xpdf/Page.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Page.cc +// Page.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Parser.cc b/filters/kword/pdf/xpdf/xpdf/Parser.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Parser.cc rename to filters/kword/pdf/xpdf/xpdf/Parser.cpp index 4bcb0ceb8..3fb58d6b2 100644 --- a/filters/kword/pdf/xpdf/xpdf/Parser.cc +++ b/filters/kword/pdf/xpdf/xpdf/Parser.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Parser.cc +// Parser.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/SFont.cc b/filters/kword/pdf/xpdf/xpdf/SFont.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/SFont.cc rename to filters/kword/pdf/xpdf/xpdf/SFont.cpp index 53214b08f..9899301cf 100644 --- a/filters/kword/pdf/xpdf/xpdf/SFont.cc +++ b/filters/kword/pdf/xpdf/xpdf/SFont.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// SFont.cc +// SFont.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/Stream.cc b/filters/kword/pdf/xpdf/xpdf/Stream.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/Stream.cc rename to filters/kword/pdf/xpdf/xpdf/Stream.cpp index 8c997d032..7b3dbb5d5 100644 --- a/filters/kword/pdf/xpdf/xpdf/Stream.cc +++ b/filters/kword/pdf/xpdf/xpdf/Stream.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// Stream.cc +// Stream.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/T1Font.cc b/filters/kword/pdf/xpdf/xpdf/T1Font.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/T1Font.cc rename to filters/kword/pdf/xpdf/xpdf/T1Font.cpp index 9815e4901..350f7bd66 100644 --- a/filters/kword/pdf/xpdf/xpdf/T1Font.cc +++ b/filters/kword/pdf/xpdf/xpdf/T1Font.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// T1Font.cc +// T1Font.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/TTFont.cc b/filters/kword/pdf/xpdf/xpdf/TTFont.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/TTFont.cc rename to filters/kword/pdf/xpdf/xpdf/TTFont.cpp index 6107fd43a..51761fbf1 100644 --- a/filters/kword/pdf/xpdf/xpdf/TTFont.cc +++ b/filters/kword/pdf/xpdf/xpdf/TTFont.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// TTFont.cc +// TTFont.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/TextOutputDev.cc b/filters/kword/pdf/xpdf/xpdf/TextOutputDev.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/TextOutputDev.cc rename to filters/kword/pdf/xpdf/xpdf/TextOutputDev.cpp index 8eb789032..3266678fb 100644 --- a/filters/kword/pdf/xpdf/xpdf/TextOutputDev.cc +++ b/filters/kword/pdf/xpdf/xpdf/TextOutputDev.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// TextOutputDev.cc +// TextOutputDev.cpp // // Copyright 1997-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/UnicodeMap.cc b/filters/kword/pdf/xpdf/xpdf/UnicodeMap.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/UnicodeMap.cc rename to filters/kword/pdf/xpdf/xpdf/UnicodeMap.cpp index fe1185d7d..dce0cae7a 100644 --- a/filters/kword/pdf/xpdf/xpdf/UnicodeMap.cc +++ b/filters/kword/pdf/xpdf/xpdf/UnicodeMap.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// UnicodeMap.cc +// UnicodeMap.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/XOutputDev.cc b/filters/kword/pdf/xpdf/xpdf/XOutputDev.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/XOutputDev.cc rename to filters/kword/pdf/xpdf/xpdf/XOutputDev.cpp index 3c58f5650..e8acbf66a 100644 --- a/filters/kword/pdf/xpdf/xpdf/XOutputDev.cc +++ b/filters/kword/pdf/xpdf/xpdf/XOutputDev.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// XOutputDev.cc +// XOutputDev.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/XPDFApp.cc b/filters/kword/pdf/xpdf/xpdf/XPDFApp.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/XPDFApp.cc rename to filters/kword/pdf/xpdf/xpdf/XPDFApp.cpp index e456310b6..b64f17c7f 100644 --- a/filters/kword/pdf/xpdf/xpdf/XPDFApp.cc +++ b/filters/kword/pdf/xpdf/xpdf/XPDFApp.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// XPDFApp.cc +// XPDFApp.cpp // // Copyright 2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/XPDFCore.cc b/filters/kword/pdf/xpdf/xpdf/XPDFCore.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/XPDFCore.cc rename to filters/kword/pdf/xpdf/xpdf/XPDFCore.cpp index 8376ce97d..517b99700 100644 --- a/filters/kword/pdf/xpdf/xpdf/XPDFCore.cc +++ b/filters/kword/pdf/xpdf/xpdf/XPDFCore.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// XPDFCore.cc +// XPDFCore.cpp // // Copyright 2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/XPDFTree.cc b/filters/kword/pdf/xpdf/xpdf/XPDFTree.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/XPDFTree.cc rename to filters/kword/pdf/xpdf/xpdf/XPDFTree.cpp index 46e5466c5..edc7fb8fc 100644 --- a/filters/kword/pdf/xpdf/xpdf/XPDFTree.cc +++ b/filters/kword/pdf/xpdf/xpdf/XPDFTree.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// XPDFTree.cc +// XPDFTree.cpp // //======================================================================== diff --git a/filters/kword/pdf/xpdf/xpdf/XPDFViewer.cc b/filters/kword/pdf/xpdf/xpdf/XPDFViewer.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/XPDFViewer.cc rename to filters/kword/pdf/xpdf/xpdf/XPDFViewer.cpp index a8c8f8f0f..8327a7a22 100644 --- a/filters/kword/pdf/xpdf/xpdf/XPDFViewer.cc +++ b/filters/kword/pdf/xpdf/xpdf/XPDFViewer.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// XPDFViewer.cc +// XPDFViewer.cpp // // Copyright 2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/XPixmapOutputDev.cc b/filters/kword/pdf/xpdf/xpdf/XPixmapOutputDev.cpp similarity index 98% rename from filters/kword/pdf/xpdf/xpdf/XPixmapOutputDev.cc rename to filters/kword/pdf/xpdf/xpdf/XPixmapOutputDev.cpp index ecd149801..39fc474e2 100644 --- a/filters/kword/pdf/xpdf/xpdf/XPixmapOutputDev.cc +++ b/filters/kword/pdf/xpdf/xpdf/XPixmapOutputDev.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// XPixmapOutputDev.cc +// XPixmapOutputDev.cpp // // Copyright 2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/XRef.cc b/filters/kword/pdf/xpdf/xpdf/XRef.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/XRef.cc rename to filters/kword/pdf/xpdf/xpdf/XRef.cpp index 0553b1595..471d5c854 100644 --- a/filters/kword/pdf/xpdf/xpdf/XRef.cc +++ b/filters/kword/pdf/xpdf/xpdf/XRef.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// XRef.cc +// XRef.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/pdffonts.cc b/filters/kword/pdf/xpdf/xpdf/pdffonts.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/pdffonts.cc rename to filters/kword/pdf/xpdf/xpdf/pdffonts.cpp index fcb739a20..831e773ca 100644 --- a/filters/kword/pdf/xpdf/xpdf/pdffonts.cc +++ b/filters/kword/pdf/xpdf/xpdf/pdffonts.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// pdffonts.cc +// pdffonts.cpp // // Copyright 2001-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/pdfimages.cc b/filters/kword/pdf/xpdf/xpdf/pdfimages.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/pdfimages.cc rename to filters/kword/pdf/xpdf/xpdf/pdfimages.cpp index 5e35bfb48..c2f4bf804 100644 --- a/filters/kword/pdf/xpdf/xpdf/pdfimages.cc +++ b/filters/kword/pdf/xpdf/xpdf/pdfimages.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// pdfimages.cc +// pdfimages.cpp // // Copyright 1998-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/pdfinfo.cc b/filters/kword/pdf/xpdf/xpdf/pdfinfo.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/pdfinfo.cc rename to filters/kword/pdf/xpdf/xpdf/pdfinfo.cpp index 43bf38afb..e21a299fd 100644 --- a/filters/kword/pdf/xpdf/xpdf/pdfinfo.cc +++ b/filters/kword/pdf/xpdf/xpdf/pdfinfo.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// pdfinfo.cc +// pdfinfo.cpp // // Copyright 1998-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/pdftopbm.cc b/filters/kword/pdf/xpdf/xpdf/pdftopbm.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/pdftopbm.cc rename to filters/kword/pdf/xpdf/xpdf/pdftopbm.cpp index 76f60a6af..9a2002296 100644 --- a/filters/kword/pdf/xpdf/xpdf/pdftopbm.cc +++ b/filters/kword/pdf/xpdf/xpdf/pdftopbm.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// pdftopbm.cc +// pdftopbm.cpp // // Copyright 1998-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/pdftops.cc b/filters/kword/pdf/xpdf/xpdf/pdftops.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/pdftops.cc rename to filters/kword/pdf/xpdf/xpdf/pdftops.cpp index d5d2de85d..91a324ac2 100644 --- a/filters/kword/pdf/xpdf/xpdf/pdftops.cc +++ b/filters/kword/pdf/xpdf/xpdf/pdftops.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// pdftops.cc +// pdftops.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/pdftotext.cc b/filters/kword/pdf/xpdf/xpdf/pdftotext.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/pdftotext.cc rename to filters/kword/pdf/xpdf/xpdf/pdftotext.cpp index 150954fc9..b2e68b422 100644 --- a/filters/kword/pdf/xpdf/xpdf/pdftotext.cc +++ b/filters/kword/pdf/xpdf/xpdf/pdftotext.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// pdftotext.cc +// pdftotext.cpp // // Copyright 1997-2002 Glyph & Cog, LLC // diff --git a/filters/kword/pdf/xpdf/xpdf/xpdf.cc b/filters/kword/pdf/xpdf/xpdf/xpdf.cpp similarity index 99% rename from filters/kword/pdf/xpdf/xpdf/xpdf.cc rename to filters/kword/pdf/xpdf/xpdf/xpdf.cpp index ef47fb6e5..9cb3f82d7 100644 --- a/filters/kword/pdf/xpdf/xpdf/xpdf.cc +++ b/filters/kword/pdf/xpdf/xpdf/xpdf.cpp @@ -1,6 +1,6 @@ //======================================================================== // -// xpdf.cc +// xpdf.cpp // // Copyright 1996-2002 Glyph & Cog, LLC // diff --git a/filters/kword/rtf/export/ExportFilter.cc b/filters/kword/rtf/export/ExportFilter.cpp similarity index 100% rename from filters/kword/rtf/export/ExportFilter.cc rename to filters/kword/rtf/export/ExportFilter.cpp diff --git a/filters/kword/rtf/export/Makefile.am b/filters/kword/rtf/export/Makefile.am index ba3d5c097..e6c49d00c 100644 --- a/filters/kword/rtf/export/Makefile.am +++ b/filters/kword/rtf/export/Makefile.am @@ -10,7 +10,7 @@ librtfexport_la_LIBADD = $(KOFFICE_LIBS) ../../libexport/libkwordexportfilters.l kde_module_LTLIBRARIES = librtfexport.la -librtfexport_la_SOURCES = rtfexport.cc ExportFilter.cc +librtfexport_la_SOURCES = rtfexport.cpp ExportFilter.cpp noinst_HEADERS = rtfexport.h ExportFilter.h diff --git a/filters/kword/rtf/export/rtfexport.cc b/filters/kword/rtf/export/rtfexport.cpp similarity index 97% rename from filters/kword/rtf/export/rtfexport.cc rename to filters/kword/rtf/export/rtfexport.cpp index 6f23530b1..91f35523d 100644 --- a/filters/kword/rtf/export/rtfexport.cc +++ b/filters/kword/rtf/export/rtfexport.cpp @@ -22,7 +22,7 @@ /* This file is based on the old file: - /home/kde/koffice/filters/kword/ascii/asciiexport.cc + /home/kde/koffice/filters/kword/ascii/asciiexport.cpp The old file was copyrighted by Copyright (C) 1998, 1999 Reginald Stadlbauer diff --git a/filters/kword/starwriter/Makefile.am b/filters/kword/starwriter/Makefile.am index 6ad15ba84..bba3714d3 100644 --- a/filters/kword/starwriter/Makefile.am +++ b/filters/kword/starwriter/Makefile.am @@ -6,7 +6,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) kde_module_LTLIBRARIES = libstarwriterimport.la -libstarwriterimport_la_SOURCES = pole.cpp starwriterimport.cc +libstarwriterimport_la_SOURCES = pole.cpp starwriterimport.cpp libstarwriterimport_la_LDFLAGS = -module $(KDE_PLUGIN) libstarwriterimport_la_LIBADD = $(KOFFICE_LIBS) diff --git a/filters/kword/starwriter/starwriterimport.cc b/filters/kword/starwriter/starwriterimport.cpp similarity index 100% rename from filters/kword/starwriter/starwriterimport.cc rename to filters/kword/starwriter/starwriterimport.cpp diff --git a/filters/kword/wml/Makefile.am b/filters/kword/wml/Makefile.am index d22ac2c59..892a57cbf 100644 --- a/filters/kword/wml/Makefile.am +++ b/filters/kword/wml/Makefile.am @@ -10,8 +10,8 @@ libwmlexport_la_LIBADD = $(KOFFICE_LIBS) ../libexport/libkwordexportfilters.la kde_module_LTLIBRARIES = libwmlimport.la libwmlexport.la -libwmlimport_la_SOURCES = wmlimport.cc wmlparser.cpp -libwmlexport_la_SOURCES = wmlexport.cc +libwmlimport_la_SOURCES = wmlimport.cpp wmlparser.cpp +libwmlexport_la_SOURCES = wmlexport.cpp noinst_HEADERS = wmlparser.h diff --git a/filters/kword/wml/wmlexport.cc b/filters/kword/wml/wmlexport.cpp similarity index 100% rename from filters/kword/wml/wmlexport.cc rename to filters/kword/wml/wmlexport.cpp diff --git a/filters/kword/wml/wmlimport.cc b/filters/kword/wml/wmlimport.cpp similarity index 100% rename from filters/kword/wml/wmlimport.cc rename to filters/kword/wml/wmlimport.cpp diff --git a/filters/kword/wordperfect/export/Makefile.am b/filters/kword/wordperfect/export/Makefile.am index a3ef671a3..bc23e5fd2 100644 --- a/filters/kword/wordperfect/export/Makefile.am +++ b/filters/kword/wordperfect/export/Makefile.am @@ -2,7 +2,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) -I$(srcdir)/../../libexport $(all_includes) kde_module_LTLIBRARIES = libwpexport.la -libwpexport_la_SOURCES = wpexport.cc wp5.cc wp6.cc +libwpexport_la_SOURCES = wpexport.cpp wp5.cpp wp6.cpp libwpexport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libwpexport_la_LIBADD = $(KOFFICE_LIBS) ../../libexport/libkwordexportfilters.la diff --git a/filters/kword/wordperfect/export/wp5.cc b/filters/kword/wordperfect/export/wp5.cpp similarity index 100% rename from filters/kword/wordperfect/export/wp5.cc rename to filters/kword/wordperfect/export/wp5.cpp diff --git a/filters/kword/wordperfect/export/wp6.cc b/filters/kword/wordperfect/export/wp6.cpp similarity index 100% rename from filters/kword/wordperfect/export/wp6.cc rename to filters/kword/wordperfect/export/wp6.cpp diff --git a/filters/kword/wordperfect/export/wpexport.cc b/filters/kword/wordperfect/export/wpexport.cpp similarity index 100% rename from filters/kword/wordperfect/export/wpexport.cc rename to filters/kword/wordperfect/export/wpexport.cpp diff --git a/filters/kword/wordperfect/import/DocumentElement.cxx b/filters/kword/wordperfect/import/DocumentElement.cpp similarity index 96% rename from filters/kword/wordperfect/import/DocumentElement.cxx rename to filters/kword/wordperfect/import/DocumentElement.cpp index a1a928925..f10e56969 100644 --- a/filters/kword/wordperfect/import/DocumentElement.cxx +++ b/filters/kword/wordperfect/import/DocumentElement.cpp @@ -26,9 +26,9 @@ * Corel Corporation or Corel Corporation Limited." */ -#include "DocumentElement.hxx" -#include "DocumentHandler.hxx" -#include "FilterInternal.hxx" +#include "DocumentElement.h" +#include "DocumentHandler.h" +#include "FilterInternal.h" #include #define ASCII_SPACE 0x0020 diff --git a/filters/kword/wordperfect/import/DocumentElement.hxx b/filters/kword/wordperfect/import/DocumentElement.h similarity index 98% rename from filters/kword/wordperfect/import/DocumentElement.hxx rename to filters/kword/wordperfect/import/DocumentElement.h index 764758e83..3fc2cf532 100644 --- a/filters/kword/wordperfect/import/DocumentElement.hxx +++ b/filters/kword/wordperfect/import/DocumentElement.h @@ -32,7 +32,7 @@ #include #include #include "shared_headers.h" -#include "DocumentHandler.hxx" +#include "DocumentHandler.h" const float fDefaultSideMargin = 1.0f; // inches const float fDefaultPageWidth = 8.5f; // inches (OOo required default: we will handle this later) diff --git a/filters/kword/wordperfect/import/DocumentHandler.hxx b/filters/kword/wordperfect/import/DocumentHandler.h similarity index 100% rename from filters/kword/wordperfect/import/DocumentHandler.hxx rename to filters/kword/wordperfect/import/DocumentHandler.h diff --git a/filters/kword/wordperfect/import/FilterInternal.hxx b/filters/kword/wordperfect/import/FilterInternal.h similarity index 97% rename from filters/kword/wordperfect/import/FilterInternal.hxx rename to filters/kword/wordperfect/import/FilterInternal.h index 51615951e..0a20f7c60 100644 --- a/filters/kword/wordperfect/import/FilterInternal.hxx +++ b/filters/kword/wordperfect/import/FilterInternal.h @@ -28,7 +28,7 @@ #endif #if 0 -#include +#include inline rtl::OString utf8_itoa(int i) { return rtl::OString::valueOf( (sal_Int32) i ); diff --git a/filters/kword/wordperfect/import/FontStyle.cxx b/filters/kword/wordperfect/import/FontStyle.cpp similarity index 95% rename from filters/kword/wordperfect/import/FontStyle.cxx rename to filters/kword/wordperfect/import/FontStyle.cpp index b926ccddc..6099e7e39 100644 --- a/filters/kword/wordperfect/import/FontStyle.cxx +++ b/filters/kword/wordperfect/import/FontStyle.cpp @@ -25,9 +25,9 @@ /* "This product is not manufactured, approved, or supported by * Corel Corporation or Corel Corporation Limited." */ -#include "FontStyle.hxx" -#include "WriterProperties.hxx" -#include "DocumentElement.hxx" +#include "FontStyle.h" +#include "WriterProperties.h" +#include "DocumentElement.h" FontStyle::FontStyle(const char *psName, const char *psFontFamily) : Style(psName), msFontFamily(psFontFamily), diff --git a/filters/kword/wordperfect/import/FontStyle.hxx b/filters/kword/wordperfect/import/FontStyle.h similarity index 96% rename from filters/kword/wordperfect/import/FontStyle.hxx rename to filters/kword/wordperfect/import/FontStyle.h index 6d09de5c8..994184950 100644 --- a/filters/kword/wordperfect/import/FontStyle.hxx +++ b/filters/kword/wordperfect/import/FontStyle.h @@ -29,8 +29,8 @@ #define _FONTSTYLE_H #include -#include "Style.hxx" -#include "WriterProperties.hxx" +#include "Style.h" +#include "WriterProperties.h" #include "shared_headers.h" class FontStyle : public Style diff --git a/filters/kword/wordperfect/import/ListStyle.cxx b/filters/kword/wordperfect/import/ListStyle.cpp similarity index 98% rename from filters/kword/wordperfect/import/ListStyle.cxx rename to filters/kword/wordperfect/import/ListStyle.cpp index 66373a109..baba4b679 100644 --- a/filters/kword/wordperfect/import/ListStyle.cxx +++ b/filters/kword/wordperfect/import/ListStyle.cpp @@ -25,9 +25,9 @@ /* "This product is not manufactured, approved, or supported by * Corel Corporation or Corel Corporation Limited." */ -#include "FilterInternal.hxx" -#include "ListStyle.hxx" -#include "DocumentElement.hxx" +#include "FilterInternal.h" +#include "ListStyle.h" +#include "DocumentElement.h" OrderedListLevelStyle::OrderedListLevelStyle(const _SH_PropertyList &xPropList) : mPropList(xPropList) diff --git a/filters/kword/wordperfect/import/ListStyle.hxx b/filters/kword/wordperfect/import/ListStyle.h similarity index 98% rename from filters/kword/wordperfect/import/ListStyle.hxx rename to filters/kword/wordperfect/import/ListStyle.h index d8e6a25f2..11bda504d 100644 --- a/filters/kword/wordperfect/import/ListStyle.hxx +++ b/filters/kword/wordperfect/import/ListStyle.h @@ -32,8 +32,8 @@ #define WP6_NUM_LIST_LEVELS 8 // see WP6FileStructure.h (we shouldn't need to reference this) -#include "Style.hxx" -#include "WriterProperties.hxx" +#include "Style.h" +#include "WriterProperties.h" class DocumentElement; diff --git a/filters/kword/wordperfect/import/Makefile.am b/filters/kword/wordperfect/import/Makefile.am index 92494e0ea..f5380749a 100644 --- a/filters/kword/wordperfect/import/Makefile.am +++ b/filters/kword/wordperfect/import/Makefile.am @@ -2,11 +2,11 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(LIBWPD_CFLAGS) $(all_includes) kde_module_LTLIBRARIES = libwpimport.la -libwpimport_la_SOURCES = wpimport.cc DocumentElement.cxx FontStyle.cxx ListStyle.cxx PageSpan.cxx SectionStyle.cxx TableStyle.cxx TextRunStyle.cxx WordPerfectCollector.cxx +libwpimport_la_SOURCES = wpimport.cpp DocumentElement.cpp FontStyle.cpp ListStyle.cpp PageSpan.cpp SectionStyle.cpp TableStyle.cpp TextRunStyle.cpp WordPerfectCollector.cpp libwpimport_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined libwpimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBWPD_LIBS) -noinst_HEADERS = wpimport.h FilterInternal.hxx Style.hxx WriterProperties.hxx DocumentElement.hxx DocumentHandler.hxx FontStyle.hxx ListStyle.hxx PageSpan.hxx SectionStyle.hxx TableStyle.hxx TextRunStyle.hxx WordPerfectCollector.hxx +noinst_HEADERS = wpimport.h FilterInternal.h Style.h WriterProperties.h DocumentElement.h DocumentHandler.h FontStyle.h ListStyle.h PageSpan.h SectionStyle.h TableStyle.h TextRunStyle.h WordPerfectCollector.h METASOURCES = AUTO diff --git a/filters/kword/wordperfect/import/PageSpan.cxx b/filters/kword/wordperfect/import/PageSpan.cpp similarity index 98% rename from filters/kword/wordperfect/import/PageSpan.cxx rename to filters/kword/wordperfect/import/PageSpan.cpp index 1113004d7..0127d0804 100644 --- a/filters/kword/wordperfect/import/PageSpan.cxx +++ b/filters/kword/wordperfect/import/PageSpan.cpp @@ -28,9 +28,9 @@ */ #include -#include "FilterInternal.hxx" -#include "PageSpan.hxx" -#include "DocumentElement.hxx" +#include "FilterInternal.h" +#include "PageSpan.h" +#include "DocumentElement.h" PageSpan::PageSpan(const _SH_PropertyList &xPropList) : diff --git a/filters/kword/wordperfect/import/PageSpan.hxx b/filters/kword/wordperfect/import/PageSpan.h similarity index 100% rename from filters/kword/wordperfect/import/PageSpan.hxx rename to filters/kword/wordperfect/import/PageSpan.h diff --git a/filters/kword/wordperfect/import/SectionStyle.cxx b/filters/kword/wordperfect/import/SectionStyle.cpp similarity index 96% rename from filters/kword/wordperfect/import/SectionStyle.cxx rename to filters/kword/wordperfect/import/SectionStyle.cpp index 153ee45d7..9a8b6790f 100644 --- a/filters/kword/wordperfect/import/SectionStyle.cxx +++ b/filters/kword/wordperfect/import/SectionStyle.cpp @@ -27,9 +27,9 @@ /* "This product is not manufactured, approved, or supported by * Corel Corporation or Corel Corporation Limited." */ -#include "FilterInternal.hxx" -#include "SectionStyle.hxx" -#include "DocumentElement.hxx" +#include "FilterInternal.h" +#include "SectionStyle.h" +#include "DocumentElement.h" #include #ifdef _MSC_VER diff --git a/filters/kword/wordperfect/import/SectionStyle.hxx b/filters/kword/wordperfect/import/SectionStyle.h similarity index 96% rename from filters/kword/wordperfect/import/SectionStyle.hxx rename to filters/kword/wordperfect/import/SectionStyle.h index 2f01d7520..5614f1182 100644 --- a/filters/kword/wordperfect/import/SectionStyle.hxx +++ b/filters/kword/wordperfect/import/SectionStyle.h @@ -30,8 +30,8 @@ #include #include "shared_headers.h" -#include "Style.hxx" -#include "WriterProperties.hxx" +#include "Style.h" +#include "WriterProperties.h" class SectionStyle : public Style diff --git a/filters/kword/wordperfect/import/Style.hxx b/filters/kword/wordperfect/import/Style.h similarity index 98% rename from filters/kword/wordperfect/import/Style.hxx rename to filters/kword/wordperfect/import/Style.h index 49f5e28e4..08e53eff4 100644 --- a/filters/kword/wordperfect/import/Style.hxx +++ b/filters/kword/wordperfect/import/Style.h @@ -29,7 +29,7 @@ #ifndef _STYLE_H #define _STYLE_H #include -#include "DocumentElement.hxx" +#include "DocumentElement.h" #include diff --git a/filters/kword/wordperfect/import/TableStyle.cxx b/filters/kword/wordperfect/import/TableStyle.cpp similarity index 98% rename from filters/kword/wordperfect/import/TableStyle.cxx rename to filters/kword/wordperfect/import/TableStyle.cpp index 2913fea1f..e35d7acb8 100644 --- a/filters/kword/wordperfect/import/TableStyle.cxx +++ b/filters/kword/wordperfect/import/TableStyle.cpp @@ -29,9 +29,9 @@ */ #include #include -#include "FilterInternal.hxx" -#include "TableStyle.hxx" -#include "DocumentElement.hxx" +#include "FilterInternal.h" +#include "TableStyle.h" +#include "DocumentElement.h" #ifdef _MSC_VER #include diff --git a/filters/kword/wordperfect/import/TableStyle.hxx b/filters/kword/wordperfect/import/TableStyle.h similarity index 98% rename from filters/kword/wordperfect/import/TableStyle.hxx rename to filters/kword/wordperfect/import/TableStyle.h index 3730da4b2..c15f4d81f 100644 --- a/filters/kword/wordperfect/import/TableStyle.hxx +++ b/filters/kword/wordperfect/import/TableStyle.h @@ -31,8 +31,8 @@ #include #include #include "shared_headers.h" -#include "Style.hxx" -#include "WriterProperties.hxx" +#include "Style.h" +#include "WriterProperties.h" class DocumentElement; class DocumentHandler; diff --git a/filters/kword/wordperfect/import/TextRunStyle.cxx b/filters/kword/wordperfect/import/TextRunStyle.cpp similarity index 97% rename from filters/kword/wordperfect/import/TextRunStyle.cxx rename to filters/kword/wordperfect/import/TextRunStyle.cpp index b188632c5..06cbc4c6c 100644 --- a/filters/kword/wordperfect/import/TextRunStyle.cxx +++ b/filters/kword/wordperfect/import/TextRunStyle.cpp @@ -28,10 +28,10 @@ /* "This product is not manufactured, approved, or supported by * Corel Corporation or Corel Corporation Limited." */ -#include "FilterInternal.hxx" -#include "TextRunStyle.hxx" -#include "WriterProperties.hxx" -#include "DocumentElement.hxx" +#include "FilterInternal.h" +#include "TextRunStyle.h" +#include "WriterProperties.h" +#include "DocumentElement.h" #include diff --git a/filters/kword/wordperfect/import/TextRunStyle.hxx b/filters/kword/wordperfect/import/TextRunStyle.h similarity index 98% rename from filters/kword/wordperfect/import/TextRunStyle.hxx rename to filters/kword/wordperfect/import/TextRunStyle.h index e0847e2fa..139b32bec 100644 --- a/filters/kword/wordperfect/import/TextRunStyle.hxx +++ b/filters/kword/wordperfect/import/TextRunStyle.h @@ -32,7 +32,7 @@ #define _TEXTRUNSTYLE_H #include -#include "Style.hxx" +#include "Style.h" #include "shared_headers.h" class TagOpenElement; diff --git a/filters/kword/wordperfect/import/WordPerfectCollector.cxx b/filters/kword/wordperfect/import/WordPerfectCollector.cpp similarity index 99% rename from filters/kword/wordperfect/import/WordPerfectCollector.cxx rename to filters/kword/wordperfect/import/WordPerfectCollector.cpp index eb59a70f0..76fe6fc65 100644 --- a/filters/kword/wordperfect/import/WordPerfectCollector.cxx +++ b/filters/kword/wordperfect/import/WordPerfectCollector.cpp @@ -34,16 +34,16 @@ #include #include // for strcmp -#include "WordPerfectCollector.hxx" -#include "DocumentElement.hxx" -#include "TextRunStyle.hxx" -#include "FontStyle.hxx" -#include "ListStyle.hxx" -#include "PageSpan.hxx" -#include "SectionStyle.hxx" -#include "TableStyle.hxx" -#include "FilterInternal.hxx" -#include "WriterProperties.hxx" +#include "WordPerfectCollector.h" +#include "DocumentElement.h" +#include "TextRunStyle.h" +#include "FontStyle.h" +#include "ListStyle.h" +#include "PageSpan.h" +#include "SectionStyle.h" +#include "TableStyle.h" +#include "FilterInternal.h" +#include "WriterProperties.h" _WriterDocumentState::_WriterDocumentState() : mbFirstElement(true), diff --git a/filters/kword/wordperfect/import/WordPerfectCollector.hxx b/filters/kword/wordperfect/import/WordPerfectCollector.h similarity index 99% rename from filters/kword/wordperfect/import/WordPerfectCollector.hxx rename to filters/kword/wordperfect/import/WordPerfectCollector.h index 7c5e8286b..2f0af74a3 100644 --- a/filters/kword/wordperfect/import/WordPerfectCollector.hxx +++ b/filters/kword/wordperfect/import/WordPerfectCollector.h @@ -32,7 +32,7 @@ #ifndef _WORDPERFECTCOLLECTOR_H #define _WORDPERFECTCOLLECTOR_H -#include "SectionStyle.hxx" +#include "SectionStyle.h" #include #include diff --git a/filters/kword/wordperfect/import/WriterProperties.hxx b/filters/kword/wordperfect/import/WriterProperties.h similarity index 100% rename from filters/kword/wordperfect/import/WriterProperties.hxx rename to filters/kword/wordperfect/import/WriterProperties.h diff --git a/filters/kword/wordperfect/import/wpimport.cc b/filters/kword/wordperfect/import/wpimport.cpp similarity index 99% rename from filters/kword/wordperfect/import/wpimport.cc rename to filters/kword/wordperfect/import/wpimport.cpp index e8537b76c..12f5446e3 100644 --- a/filters/kword/wordperfect/import/wpimport.cc +++ b/filters/kword/wordperfect/import/wpimport.cpp @@ -35,8 +35,8 @@ typedef KGenericFactory WPImportFactory; K_EXPORT_COMPONENT_FACTORY( libwpimport, WPImportFactory( "kofficefilters" ) ) #include -#include "DocumentHandler.hxx" -#include "WordPerfectCollector.hxx" +#include "DocumentHandler.h" +#include "WordPerfectCollector.h" class _SH_MemoryInputStream : public _SH_InputStream { diff --git a/filters/liboofilter/Makefile.am b/filters/liboofilter/Makefile.am index 22e60f13d..9a758eadb 100644 --- a/filters/liboofilter/Makefile.am +++ b/filters/liboofilter/Makefile.am @@ -1,5 +1,5 @@ INCLUDES = $(KOFFICE_INCLUDES) $(all_includes) noinst_LTLIBRARIES = liboofilter.la -liboofilter_la_SOURCES = ooutils.cc liststylestack.cc +liboofilter_la_SOURCES = ooutils.cpp liststylestack.cpp diff --git a/filters/liboofilter/liststylestack.cc b/filters/liboofilter/liststylestack.cpp similarity index 100% rename from filters/liboofilter/liststylestack.cc rename to filters/liboofilter/liststylestack.cpp diff --git a/filters/liboofilter/ooutils.cc b/filters/liboofilter/ooutils.cpp similarity index 100% rename from filters/liboofilter/ooutils.cc rename to filters/liboofilter/ooutils.cpp diff --git a/filters/olefilters/Makefile.am b/filters/olefilters/Makefile.am index e7bd753ac..f6aadf4d6 100644 --- a/filters/olefilters/Makefile.am +++ b/filters/olefilters/Makefile.am @@ -14,7 +14,7 @@ SUBDIRS = lib powerpoint97 kde_module_LTLIBRARIES = libolefilter.la -libolefilter_la_SOURCES = olefilter.cc +libolefilter_la_SOURCES = olefilter.cpp noinst_HEADERS = olefilter.h diff --git a/filters/olefilters/lib/Makefile.am b/filters/olefilters/lib/Makefile.am index 9e902fd25..0edcbd2f2 100644 --- a/filters/olefilters/lib/Makefile.am +++ b/filters/olefilters/lib/Makefile.am @@ -6,11 +6,11 @@ INCLUDES = -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) noinst_LTLIBRARIES = libfilterbase.la libklaola.la -libfilterbase_la_SOURCES = filterbase.cc +libfilterbase_la_SOURCES = filterbase.cpp libfilterbase_la_METASOURCES = filterbase.moc libfilterbase_la_LDFLAGS = $(all_libraries) -libklaola_la_SOURCES = klaola.cc +libklaola_la_SOURCES = klaola.cpp libklaola_la_LDFLAGS = $(all_libraries) noinst_HEADERS = filterbase.h klaola.h diff --git a/filters/olefilters/lib/filterbase.cc b/filters/olefilters/lib/filterbase.cpp similarity index 100% rename from filters/olefilters/lib/filterbase.cc rename to filters/olefilters/lib/filterbase.cpp diff --git a/filters/olefilters/lib/klaola.cc b/filters/olefilters/lib/klaola.cpp similarity index 100% rename from filters/olefilters/lib/klaola.cc rename to filters/olefilters/lib/klaola.cpp diff --git a/filters/olefilters/olefilter.cc b/filters/olefilters/olefilter.cpp similarity index 100% rename from filters/olefilters/olefilter.cc rename to filters/olefilters/olefilter.cpp diff --git a/filters/olefilters/powerpoint97/Makefile.am b/filters/olefilters/powerpoint97/Makefile.am index d0c3fc2ba..873a81e5f 100644 --- a/filters/olefilters/powerpoint97/Makefile.am +++ b/filters/olefilters/powerpoint97/Makefile.am @@ -6,7 +6,7 @@ INCLUDES= -I$(srcdir) -I$(srcdir)/../lib $(KOFFICE_INCLUDES) $(all_includes) noinst_LTLIBRARIES = libpowerpoint97.la -libpowerpoint97_la_SOURCES = powerpointfilter.cc powerpoint.cc pptdoc.cc pptxml.cc pptSlide.cpp +libpowerpoint97_la_SOURCES = powerpointfilter.cpp powerpoint.cpp pptdoc.cpp pptxml.cpp pptSlide.cpp libpowerpoint97_la_LDFLAGS = $(all_libraries) noinst_HEADERS = powerpointfilter.h powerpoint.h pptdoc.h pptxml.h pptSlide.h diff --git a/filters/olefilters/powerpoint97/powerpoint.cc b/filters/olefilters/powerpoint97/powerpoint.cpp similarity index 100% rename from filters/olefilters/powerpoint97/powerpoint.cc rename to filters/olefilters/powerpoint97/powerpoint.cpp diff --git a/filters/olefilters/powerpoint97/powerpointfilter.cc b/filters/olefilters/powerpoint97/powerpointfilter.cpp similarity index 100% rename from filters/olefilters/powerpoint97/powerpointfilter.cc rename to filters/olefilters/powerpoint97/powerpointfilter.cpp diff --git a/filters/olefilters/powerpoint97/pptdoc.cc b/filters/olefilters/powerpoint97/pptdoc.cpp similarity index 100% rename from filters/olefilters/powerpoint97/pptdoc.cc rename to filters/olefilters/powerpoint97/pptdoc.cpp diff --git a/filters/olefilters/powerpoint97/pptxml.cc b/filters/olefilters/powerpoint97/pptxml.cpp similarity index 100% rename from filters/olefilters/powerpoint97/pptxml.cc rename to filters/olefilters/powerpoint97/pptxml.cpp diff --git a/filters/xsltfilter/export/Makefile.am b/filters/xsltfilter/export/Makefile.am index b62ee9c43..c1c11316e 100644 --- a/filters/xsltfilter/export/Makefile.am +++ b/filters/xsltfilter/export/Makefile.am @@ -8,7 +8,7 @@ CXXFLAGS += $(ICU_CXXFLAGS) kde_module_LTLIBRARIES = libxsltexport.la -libxsltexport_la_SOURCES = xsltexport.cc xsltexportdia.cc xsltproc.cc xsltdialog.ui +libxsltexport_la_SOURCES = xsltexport.cpp xsltexportdia.cpp xsltproc.cpp xsltdialog.ui libxsltexport_la_LDFLAGS = $(KDE_RPATH) $(LIBXML_RPATH) $(LIBXSLT_RPATH) $(all_libraries) -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libxsltexport_la_LIBADD = $(KOFFICE_LIBS) $(LIBXSLT_LIBS) $(LIBXML_LIBS) @@ -16,7 +16,7 @@ noinst_HEADERS = xsltexport.h xsltexportdia.h xsltproc.h ######## Debug #check_PROGRAMS = xsltfilter -#xsltfilter_SOURCES = xsltfilter.cc +#xsltfilter_SOURCES = xsltfilter.cpp #xsltfilter_LDADD = $(LIBXSLT_LIBS) $(LIBXML_LIBS) #xsltfilter_LDFLAGS = $(KDE_RPATH) $(LIBXML_RPATH) $(LIBXSLT_RPATH) $(all_libraries) diff --git a/filters/xsltfilter/export/xsltexport.cc b/filters/xsltfilter/export/xsltexport.cpp similarity index 100% rename from filters/xsltfilter/export/xsltexport.cc rename to filters/xsltfilter/export/xsltexport.cpp diff --git a/filters/xsltfilter/export/xsltexportdia.cc b/filters/xsltfilter/export/xsltexportdia.cpp similarity index 100% rename from filters/xsltfilter/export/xsltexportdia.cc rename to filters/xsltfilter/export/xsltexportdia.cpp diff --git a/filters/xsltfilter/export/xsltproc.cc b/filters/xsltfilter/export/xsltproc.cpp similarity index 100% rename from filters/xsltfilter/export/xsltproc.cc rename to filters/xsltfilter/export/xsltproc.cpp diff --git a/filters/xsltfilter/import/Makefile.am b/filters/xsltfilter/import/Makefile.am index 01e45a9af..4fe88b426 100644 --- a/filters/xsltfilter/import/Makefile.am +++ b/filters/xsltfilter/import/Makefile.am @@ -7,7 +7,7 @@ CXXFLAGS += $(ICU_CXXFLAGS) kde_module_LTLIBRARIES = libxsltimport.la -libxsltimport_la_SOURCES = xsltimport.cc xsltimportdia.cc xsltproc.cc xsltdialog.ui +libxsltimport_la_SOURCES = xsltimport.cpp xsltimportdia.cpp xsltproc.cpp xsltdialog.ui libxsltimport_la_LDFLAGS = $(KDE_RPATH) $(LIBXML_RPATH) $(LIBXSLT_RPATH) $(all_libraries) -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libxsltimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBXSLT_LIBS) $(LIBXML_LIBS) diff --git a/filters/xsltfilter/import/xsltimport.cc b/filters/xsltfilter/import/xsltimport.cpp similarity index 100% rename from filters/xsltfilter/import/xsltimport.cc rename to filters/xsltfilter/import/xsltimport.cpp diff --git a/filters/xsltfilter/import/xsltimportdia.cc b/filters/xsltfilter/import/xsltimportdia.cpp similarity index 100% rename from filters/xsltfilter/import/xsltimportdia.cc rename to filters/xsltfilter/import/xsltimportdia.cpp diff --git a/filters/xsltfilter/import/xsltproc.cc b/filters/xsltfilter/import/xsltproc.cpp similarity index 100% rename from filters/xsltfilter/import/xsltproc.cc rename to filters/xsltfilter/import/xsltproc.cpp diff --git a/interfaces/Makefile.am b/interfaces/Makefile.am index e4ac9a6f1..dd523fa14 100644 --- a/interfaces/Makefile.am +++ b/interfaces/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/kchart/kdchart -I$(interfacedir) lib_LTLIBRARIES = libkochart.la -libkochart_la_SOURCES = koChart.cc +libkochart_la_SOURCES = koChart.cpp libkochart_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined libkochart_la_LIBADD = $(LIB_KOFFICECORE) METASOURCES = AUTO diff --git a/interfaces/koChart.cc b/interfaces/koChart.cpp similarity index 100% rename from interfaces/koChart.cc rename to interfaces/koChart.cpp diff --git a/karbon/Makefile.am b/karbon/Makefile.am index 8faf3972a..55ab8ac5d 100644 --- a/karbon/Makefile.am +++ b/karbon/Makefile.am @@ -14,7 +14,7 @@ SUBDIRS = commands visitors core shapes widgets dialogs dockers render . tools p lib_LTLIBRARIES = libkarboncommon.la kde_module_LTLIBRARIES = libkarbonpart.la -libkarboncommon_la_SOURCES = karbon_factory.cc karbon_resourceserver.cc karbon_part.cc karbon_part_iface.cc karbon_part_iface.skel karbon_view.cc karbon_view_iface.cc karbon_view_iface.skel karbon_drag.cpp karbon_grid_data.cpp karbon_tool_registry.cc karbon_tool_factory.cc vtoolcontroller.cc vtool.cc +libkarboncommon_la_SOURCES = karbon_factory.cpp karbon_resourceserver.cpp karbon_part.cpp karbon_part_iface.cpp karbon_part_iface.skel karbon_view.cpp karbon_view_iface.cpp karbon_view_iface.skel karbon_drag.cpp karbon_grid_data.cpp karbon_tool_registry.cpp karbon_tool_factory.cpp vtoolcontroller.cpp vtool.cpp libkarboncommon_la_LDFLAGS = $(KDE_RPATH) $(LIBFREETYPE_RPATH) $(LIBMAGICK_LDFLAGS) -no-undefined $(LIB_TQT) libkarboncommon_la_LIBADD = $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOPALETTE) $(LIB_KOPAINTER) $(LIB_KOTEXT) \ @@ -32,13 +32,13 @@ libkarboncommon_la_LIBADD = $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOPALETTE) $(LIBMAGICK_LIBS) \ $(LIBFREETYPE_LIBS) -libkarbonpart_la_SOURCES = karbon_factory_init.cc +libkarbonpart_la_SOURCES = karbon_factory_init.cpp libkarbonpart_la_LDFLAGS = $(KDE_PLUGIN) $(LIBFREETYPE_RPATH) $(LIB_TQT) libkarbonpart_la_LIBADD = libkarboncommon.la bin_PROGRAMS = tdeinit_LTLIBRARIES = karbon.la -karbon_la_SOURCES = main.cc +karbon_la_SOURCES = main.cpp karbon_la_LDFLAGS = $(all_libraries) -module -avoid-version $(LIB_TQT) karbon_la_LIBADD = libkarboncommon.la $(LIB_TQT) $(LIB_KOFFICECORE) @@ -55,7 +55,7 @@ METASOURCES = AUTO messages: rc.cpp $(EXTRACTRC) data/*.rc >> rc.cpp - $(XGETTEXT) rc.cpp *.cpp *.cc */*.cc tools/*.h plugins/*/*.cc -o $(podir)/karbon.pot + $(XGETTEXT) rc.cpp *.cpp *.cpp */*.cpp tools/*.h plugins/*/*.cpp -o $(podir)/karbon.pot include $(top_srcdir)/admin/Doxyfile.am diff --git a/karbon/TODO b/karbon/TODO index c09f9a595..d63ee979b 100644 --- a/karbon/TODO +++ b/karbon/TODO @@ -90,7 +90,7 @@ MAKE IT NICE: - can't we pass VTool::draw() a painter inseatd of each tool creating a painter itself? - remove V*Tool::refreshUnit(). call this directly via dialog() instead - pass all dialogs a parent -- think about using ghostscript's flatten algo (see comments in vflatten.cc) +- think about using ghostscript's flatten algo (see comments in vflatten.cpp) - why represent opacity as float, not as short? - introduce our own "Color drag" class, since we have in addition to rgb also opacity, and maybe also gradient info could be dragged later. diff --git a/karbon/commands/Makefile.am b/karbon/commands/Makefile.am index fb5ac24a9..bebbfd1e6 100644 --- a/karbon/commands/Makefile.am +++ b/karbon/commands/Makefile.am @@ -29,26 +29,26 @@ noinst_HEADERS = \ vzordercmd.h libkarboncommands_la_SOURCES = \ - valigncmd.cc \ - vbooleancmd.cc \ - vcleanupcmd.cc \ - vclipartcmd.cc \ - vclosepathcmd.cc \ - vcommand.cc \ - vdeletecmd.cc \ - vdistributecmd.cc \ - vfillcmd.cc \ - vflattencmd.cc \ - vgroupcmd.cc \ - vdeletenodescmd.cc \ - vlayercmd.cc \ - vreplacingcmd.cc \ - vshapecmd.cc \ - vstrokecmd.cc \ - vtransformcmd.cc \ - vinsertcmd.cc \ - vungroupcmd.cc \ - vzordercmd.cc + valigncmd.cpp \ + vbooleancmd.cpp \ + vcleanupcmd.cpp \ + vclipartcmd.cpp \ + vclosepathcmd.cpp \ + vcommand.cpp \ + vdeletecmd.cpp \ + vdistributecmd.cpp \ + vfillcmd.cpp \ + vflattencmd.cpp \ + vgroupcmd.cpp \ + vdeletenodescmd.cpp \ + vlayercmd.cpp \ + vreplacingcmd.cpp \ + vshapecmd.cpp \ + vstrokecmd.cpp \ + vtransformcmd.cpp \ + vinsertcmd.cpp \ + vungroupcmd.cpp \ + vzordercmd.cpp libkarboncommands_la_METASOURCES = \ AUTO diff --git a/karbon/commands/valigncmd.cc b/karbon/commands/valigncmd.cpp similarity index 100% rename from karbon/commands/valigncmd.cc rename to karbon/commands/valigncmd.cpp diff --git a/karbon/commands/vbooleancmd.cc b/karbon/commands/vbooleancmd.cpp similarity index 100% rename from karbon/commands/vbooleancmd.cc rename to karbon/commands/vbooleancmd.cpp diff --git a/karbon/commands/vcleanupcmd.cc b/karbon/commands/vcleanupcmd.cpp similarity index 100% rename from karbon/commands/vcleanupcmd.cc rename to karbon/commands/vcleanupcmd.cpp diff --git a/karbon/commands/vclipartcmd.cc b/karbon/commands/vclipartcmd.cpp similarity index 100% rename from karbon/commands/vclipartcmd.cc rename to karbon/commands/vclipartcmd.cpp diff --git a/karbon/commands/vclosepathcmd.cc b/karbon/commands/vclosepathcmd.cpp similarity index 100% rename from karbon/commands/vclosepathcmd.cc rename to karbon/commands/vclosepathcmd.cpp diff --git a/karbon/commands/vcommand.cc b/karbon/commands/vcommand.cpp similarity index 100% rename from karbon/commands/vcommand.cc rename to karbon/commands/vcommand.cpp diff --git a/karbon/commands/vdeletecmd.cc b/karbon/commands/vdeletecmd.cpp similarity index 100% rename from karbon/commands/vdeletecmd.cc rename to karbon/commands/vdeletecmd.cpp diff --git a/karbon/commands/vdeletenodescmd.cc b/karbon/commands/vdeletenodescmd.cpp similarity index 100% rename from karbon/commands/vdeletenodescmd.cc rename to karbon/commands/vdeletenodescmd.cpp diff --git a/karbon/commands/vdistributecmd.cc b/karbon/commands/vdistributecmd.cpp similarity index 100% rename from karbon/commands/vdistributecmd.cc rename to karbon/commands/vdistributecmd.cpp diff --git a/karbon/commands/vfillcmd.cc b/karbon/commands/vfillcmd.cpp similarity index 100% rename from karbon/commands/vfillcmd.cc rename to karbon/commands/vfillcmd.cpp diff --git a/karbon/commands/vflattencmd.cc b/karbon/commands/vflattencmd.cpp similarity index 100% rename from karbon/commands/vflattencmd.cc rename to karbon/commands/vflattencmd.cpp diff --git a/karbon/commands/vgroupcmd.cc b/karbon/commands/vgroupcmd.cpp similarity index 100% rename from karbon/commands/vgroupcmd.cc rename to karbon/commands/vgroupcmd.cpp diff --git a/karbon/commands/vinsertcmd.cc b/karbon/commands/vinsertcmd.cpp similarity index 100% rename from karbon/commands/vinsertcmd.cc rename to karbon/commands/vinsertcmd.cpp diff --git a/karbon/commands/vlayercmd.cc b/karbon/commands/vlayercmd.cpp similarity index 100% rename from karbon/commands/vlayercmd.cc rename to karbon/commands/vlayercmd.cpp diff --git a/karbon/commands/vreplacingcmd.cc b/karbon/commands/vreplacingcmd.cpp similarity index 100% rename from karbon/commands/vreplacingcmd.cc rename to karbon/commands/vreplacingcmd.cpp diff --git a/karbon/commands/vshapecmd.cc b/karbon/commands/vshapecmd.cpp similarity index 100% rename from karbon/commands/vshapecmd.cc rename to karbon/commands/vshapecmd.cpp diff --git a/karbon/commands/vstrokecmd.cc b/karbon/commands/vstrokecmd.cpp similarity index 100% rename from karbon/commands/vstrokecmd.cc rename to karbon/commands/vstrokecmd.cpp diff --git a/karbon/commands/vtextcmd.cc b/karbon/commands/vtextcmd.cpp similarity index 100% rename from karbon/commands/vtextcmd.cc rename to karbon/commands/vtextcmd.cpp diff --git a/karbon/commands/vtransformcmd.cc b/karbon/commands/vtransformcmd.cpp similarity index 100% rename from karbon/commands/vtransformcmd.cc rename to karbon/commands/vtransformcmd.cpp diff --git a/karbon/commands/vungroupcmd.cc b/karbon/commands/vungroupcmd.cpp similarity index 100% rename from karbon/commands/vungroupcmd.cc rename to karbon/commands/vungroupcmd.cpp diff --git a/karbon/commands/vzordercmd.cc b/karbon/commands/vzordercmd.cpp similarity index 100% rename from karbon/commands/vzordercmd.cc rename to karbon/commands/vzordercmd.cpp diff --git a/karbon/core/Makefile.am b/karbon/core/Makefile.am index aabebf800..1f7d8312e 100644 --- a/karbon/core/Makefile.am +++ b/karbon/core/Makefile.am @@ -35,37 +35,37 @@ noinst_HEADERS = \ vcursor.h libkarboncore_la_SOURCES = \ - vcolor.cc \ - vcomposite.cc \ - vcomposite_iface.cc \ + vcolor.cpp \ + vcomposite.cpp \ + vcomposite_iface.cpp \ vcomposite_iface.skel \ - vdashpattern.cc \ - vdocument.cc \ - vfill.cc \ - vglobal.cc \ - vgradient.cc \ - vgroup.cc \ - vobject_iface.cc \ + vdashpattern.cpp \ + vdocument.cpp \ + vfill.cpp \ + vglobal.cpp \ + vgradient.cpp \ + vgroup.cpp \ + vobject_iface.cpp \ vobject_iface.skel \ - vgroup_iface.cc \ + vgroup_iface.cpp \ vgroup_iface.skel \ - vimage.cc \ - vkarbonplugin.cc \ - vlayer.cc \ - vobject.cc \ - vpath.cc \ - vpattern.cc \ - vsegment.cc \ - vselection.cc \ - vstroke.cc \ - vvisitor.cc \ - vlayer_iface.cc \ + vimage.cpp \ + vkarbonplugin.cpp \ + vlayer.cpp \ + vobject.cpp \ + vpath.cpp \ + vpattern.cpp \ + vsegment.cpp \ + vselection.cpp \ + vstroke.cpp \ + vvisitor.cpp \ + vlayer_iface.cpp \ vlayer_iface.skel \ - vtext.cc \ - vtext_iface.cc \ + vtext.cpp \ + vtext_iface.cpp \ vtext_iface.skel \ - vclipgroup.cc \ - vcursor.cc + vclipgroup.cpp \ + vcursor.cpp libkarboncore_la_LIBADD = $(LIBFONTCONFIG_LIBS) diff --git a/karbon/core/vclipgroup.cc b/karbon/core/vclipgroup.cpp similarity index 100% rename from karbon/core/vclipgroup.cc rename to karbon/core/vclipgroup.cpp diff --git a/karbon/core/vcolor.cc b/karbon/core/vcolor.cpp similarity index 100% rename from karbon/core/vcolor.cc rename to karbon/core/vcolor.cpp diff --git a/karbon/core/vcomposite.cc b/karbon/core/vcomposite.cpp similarity index 100% rename from karbon/core/vcomposite.cc rename to karbon/core/vcomposite.cpp diff --git a/karbon/core/vcomposite_iface.cc b/karbon/core/vcomposite_iface.cpp similarity index 100% rename from karbon/core/vcomposite_iface.cc rename to karbon/core/vcomposite_iface.cpp diff --git a/karbon/core/vcursor.cc b/karbon/core/vcursor.cpp similarity index 100% rename from karbon/core/vcursor.cc rename to karbon/core/vcursor.cpp diff --git a/karbon/core/vdashpattern.cc b/karbon/core/vdashpattern.cpp similarity index 100% rename from karbon/core/vdashpattern.cc rename to karbon/core/vdashpattern.cpp diff --git a/karbon/core/vdocument.cc b/karbon/core/vdocument.cpp similarity index 100% rename from karbon/core/vdocument.cc rename to karbon/core/vdocument.cpp diff --git a/karbon/core/vfill.cc b/karbon/core/vfill.cpp similarity index 100% rename from karbon/core/vfill.cc rename to karbon/core/vfill.cpp diff --git a/karbon/core/vglobal.cc b/karbon/core/vglobal.cpp similarity index 100% rename from karbon/core/vglobal.cc rename to karbon/core/vglobal.cpp diff --git a/karbon/core/vgradient.cc b/karbon/core/vgradient.cpp similarity index 100% rename from karbon/core/vgradient.cc rename to karbon/core/vgradient.cpp diff --git a/karbon/core/vgroup.cc b/karbon/core/vgroup.cpp similarity index 100% rename from karbon/core/vgroup.cc rename to karbon/core/vgroup.cpp diff --git a/karbon/core/vgroup_iface.cc b/karbon/core/vgroup_iface.cpp similarity index 100% rename from karbon/core/vgroup_iface.cc rename to karbon/core/vgroup_iface.cpp diff --git a/karbon/core/vimage.cc b/karbon/core/vimage.cpp similarity index 100% rename from karbon/core/vimage.cc rename to karbon/core/vimage.cpp diff --git a/karbon/core/vkarbonplugin.cc b/karbon/core/vkarbonplugin.cpp similarity index 100% rename from karbon/core/vkarbonplugin.cc rename to karbon/core/vkarbonplugin.cpp diff --git a/karbon/core/vlayer.cc b/karbon/core/vlayer.cpp similarity index 100% rename from karbon/core/vlayer.cc rename to karbon/core/vlayer.cpp diff --git a/karbon/core/vlayer_iface.cc b/karbon/core/vlayer_iface.cpp similarity index 100% rename from karbon/core/vlayer_iface.cc rename to karbon/core/vlayer_iface.cpp diff --git a/karbon/core/vobject.cc b/karbon/core/vobject.cpp similarity index 100% rename from karbon/core/vobject.cc rename to karbon/core/vobject.cpp diff --git a/karbon/core/vobject_iface.cc b/karbon/core/vobject_iface.cpp similarity index 100% rename from karbon/core/vobject_iface.cc rename to karbon/core/vobject_iface.cpp diff --git a/karbon/core/vpath.cc b/karbon/core/vpath.cpp similarity index 100% rename from karbon/core/vpath.cc rename to karbon/core/vpath.cpp diff --git a/karbon/core/vpattern.cc b/karbon/core/vpattern.cpp similarity index 100% rename from karbon/core/vpattern.cc rename to karbon/core/vpattern.cpp diff --git a/karbon/core/vsegment.cc b/karbon/core/vsegment.cpp similarity index 100% rename from karbon/core/vsegment.cc rename to karbon/core/vsegment.cpp diff --git a/karbon/core/vselection.cc b/karbon/core/vselection.cpp similarity index 100% rename from karbon/core/vselection.cc rename to karbon/core/vselection.cpp diff --git a/karbon/core/vstroke.cc b/karbon/core/vstroke.cpp similarity index 100% rename from karbon/core/vstroke.cc rename to karbon/core/vstroke.cpp diff --git a/karbon/core/vtext.cc b/karbon/core/vtext.cpp similarity index 100% rename from karbon/core/vtext.cc rename to karbon/core/vtext.cpp diff --git a/karbon/core/vtext_iface.cc b/karbon/core/vtext_iface.cpp similarity index 100% rename from karbon/core/vtext_iface.cc rename to karbon/core/vtext_iface.cpp diff --git a/karbon/core/vvisitor.cc b/karbon/core/vvisitor.cpp similarity index 100% rename from karbon/core/vvisitor.cc rename to karbon/core/vvisitor.cpp diff --git a/karbon/dialogs/Makefile.am b/karbon/dialogs/Makefile.am index 7856355a5..18bd36146 100644 --- a/karbon/dialogs/Makefile.am +++ b/karbon/dialogs/Makefile.am @@ -13,9 +13,9 @@ noinst_HEADERS = \ vcolortab.h libkarbondialogs_la_SOURCES = \ - vcolordlg.cc \ - vconfiguredlg.cc \ - vcolortab.cc + vcolordlg.cpp \ + vconfiguredlg.cpp \ + vcolortab.cpp libkarbondialogs_la_METASOURCES = \ AUTO diff --git a/karbon/dialogs/vcolordlg.cc b/karbon/dialogs/vcolordlg.cpp similarity index 100% rename from karbon/dialogs/vcolordlg.cc rename to karbon/dialogs/vcolordlg.cpp diff --git a/karbon/dialogs/vcolortab.cc b/karbon/dialogs/vcolortab.cpp similarity index 100% rename from karbon/dialogs/vcolortab.cc rename to karbon/dialogs/vcolortab.cpp diff --git a/karbon/dialogs/vconfiguredlg.cc b/karbon/dialogs/vconfiguredlg.cpp similarity index 100% rename from karbon/dialogs/vconfiguredlg.cc rename to karbon/dialogs/vconfiguredlg.cpp diff --git a/karbon/dialogs/vstrokedlg.cc b/karbon/dialogs/vstrokedlg.cpp similarity index 100% rename from karbon/dialogs/vstrokedlg.cc rename to karbon/dialogs/vstrokedlg.cpp diff --git a/karbon/dockers/Makefile.am b/karbon/dockers/Makefile.am index 9df79e8b9..36a918adc 100644 --- a/karbon/dockers/Makefile.am +++ b/karbon/dockers/Makefile.am @@ -19,18 +19,18 @@ noinst_HEADERS = \ vtransformdocker.h libkarbondockers_la_SOURCES = \ - dummy.cc \ - vcolordocker.cc \ - vdocumentdocker.cc \ - vstrokedocker.cc \ - vstyledocker.cc \ - vtransformdocker.cc + dummy.cpp \ + vcolordocker.cpp \ + vdocumentdocker.cpp \ + vstrokedocker.cpp \ + vstyledocker.cpp \ + vtransformdocker.cpp libkarbondockers_la_METASOURCES = AUTO DISTCLEANFILES = \ - dummy.cc + dummy.cpp -dummy.cc: - echo > dummy.cc +dummy.cpp: + echo > dummy.cpp diff --git a/karbon/dockers/vcolordocker.cc b/karbon/dockers/vcolordocker.cpp similarity index 100% rename from karbon/dockers/vcolordocker.cc rename to karbon/dockers/vcolordocker.cpp diff --git a/karbon/dockers/vdocumentdocker.cc b/karbon/dockers/vdocumentdocker.cpp similarity index 100% rename from karbon/dockers/vdocumentdocker.cc rename to karbon/dockers/vdocumentdocker.cpp diff --git a/karbon/dockers/vstrokedocker.cc b/karbon/dockers/vstrokedocker.cpp similarity index 100% rename from karbon/dockers/vstrokedocker.cc rename to karbon/dockers/vstrokedocker.cpp diff --git a/karbon/dockers/vstyledocker.cc b/karbon/dockers/vstyledocker.cpp similarity index 100% rename from karbon/dockers/vstyledocker.cc rename to karbon/dockers/vstyledocker.cpp diff --git a/karbon/dockers/vtransformdocker.cc b/karbon/dockers/vtransformdocker.cpp similarity index 100% rename from karbon/dockers/vtransformdocker.cc rename to karbon/dockers/vtransformdocker.cpp diff --git a/karbon/karbon_factory.cc b/karbon/karbon_factory.cpp similarity index 100% rename from karbon/karbon_factory.cc rename to karbon/karbon_factory.cpp diff --git a/karbon/karbon_factory_init.cc b/karbon/karbon_factory_init.cpp similarity index 100% rename from karbon/karbon_factory_init.cc rename to karbon/karbon_factory_init.cpp diff --git a/karbon/karbon_part.cc b/karbon/karbon_part.cpp similarity index 100% rename from karbon/karbon_part.cc rename to karbon/karbon_part.cpp diff --git a/karbon/karbon_part_iface.cc b/karbon/karbon_part_iface.cpp similarity index 100% rename from karbon/karbon_part_iface.cc rename to karbon/karbon_part_iface.cpp diff --git a/karbon/karbon_resourceserver.cc b/karbon/karbon_resourceserver.cpp similarity index 100% rename from karbon/karbon_resourceserver.cc rename to karbon/karbon_resourceserver.cpp diff --git a/karbon/karbon_tool_factory.cc b/karbon/karbon_tool_factory.cpp similarity index 100% rename from karbon/karbon_tool_factory.cc rename to karbon/karbon_tool_factory.cpp diff --git a/karbon/karbon_tool_registry.cc b/karbon/karbon_tool_registry.cpp similarity index 100% rename from karbon/karbon_tool_registry.cc rename to karbon/karbon_tool_registry.cpp diff --git a/karbon/karbon_view.cc b/karbon/karbon_view.cpp similarity index 100% rename from karbon/karbon_view.cc rename to karbon/karbon_view.cpp diff --git a/karbon/karbon_view_iface.cc b/karbon/karbon_view_iface.cpp similarity index 100% rename from karbon/karbon_view_iface.cc rename to karbon/karbon_view_iface.cpp diff --git a/karbon/main.cc b/karbon/main.cpp similarity index 100% rename from karbon/main.cc rename to karbon/main.cpp diff --git a/karbon/plugins/flattenpath/Makefile.am b/karbon/plugins/flattenpath/Makefile.am index e1337a7ea..8cce9268c 100644 --- a/karbon/plugins/flattenpath/Makefile.am +++ b/karbon/plugins/flattenpath/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co kde_module_LTLIBRARIES = karbon_flattenpathplugin.la -karbon_flattenpathplugin_la_SOURCES = flattenpathplugin.cc +karbon_flattenpathplugin_la_SOURCES = flattenpathplugin.cpp karbon_flattenpathplugin_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ $(LIB_KOPAINTER) ../../libkarboncommon.la diff --git a/karbon/plugins/flattenpath/flattenpathplugin.cc b/karbon/plugins/flattenpath/flattenpathplugin.cpp similarity index 100% rename from karbon/plugins/flattenpath/flattenpathplugin.cc rename to karbon/plugins/flattenpath/flattenpathplugin.cpp diff --git a/karbon/plugins/imagetool/Makefile.am b/karbon/plugins/imagetool/Makefile.am index 188656241..32c078961 100644 --- a/karbon/plugins/imagetool/Makefile.am +++ b/karbon/plugins/imagetool/Makefile.am @@ -4,7 +4,7 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co kde_module_LTLIBRARIES = karbon_imagetoolplugin.la -karbon_imagetoolplugin_la_SOURCES = imagetoolplugin.cc vimagetool.cc +karbon_imagetoolplugin_la_SOURCES = imagetoolplugin.cpp vimagetool.cpp karbon_imagetoolplugin_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ $(LIB_KOPAINTER) ../../libkarboncommon.la diff --git a/karbon/plugins/imagetool/imagetoolplugin.cc b/karbon/plugins/imagetool/imagetoolplugin.cpp similarity index 100% rename from karbon/plugins/imagetool/imagetoolplugin.cc rename to karbon/plugins/imagetool/imagetoolplugin.cpp diff --git a/karbon/plugins/imagetool/vimagetool.cc b/karbon/plugins/imagetool/vimagetool.cpp similarity index 100% rename from karbon/plugins/imagetool/vimagetool.cc rename to karbon/plugins/imagetool/vimagetool.cpp diff --git a/karbon/plugins/insertknots/Makefile.am b/karbon/plugins/insertknots/Makefile.am index 3e5b767f8..97cb21f7f 100644 --- a/karbon/plugins/insertknots/Makefile.am +++ b/karbon/plugins/insertknots/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co kde_module_LTLIBRARIES = karbon_insertknotsplugin.la -karbon_insertknotsplugin_la_SOURCES = insertknotsplugin.cc +karbon_insertknotsplugin_la_SOURCES = insertknotsplugin.cpp karbon_insertknotsplugin_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ $(LIB_KOPAINTER) ../../libkarboncommon.la diff --git a/karbon/plugins/insertknots/insertknotsplugin.cc b/karbon/plugins/insertknots/insertknotsplugin.cpp similarity index 100% rename from karbon/plugins/insertknots/insertknotsplugin.cc rename to karbon/plugins/insertknots/insertknotsplugin.cpp diff --git a/karbon/plugins/roundcorners/Makefile.am b/karbon/plugins/roundcorners/Makefile.am index e454b2cd9..ed824ee20 100644 --- a/karbon/plugins/roundcorners/Makefile.am +++ b/karbon/plugins/roundcorners/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co kde_module_LTLIBRARIES = karbon_roundcornersplugin.la -karbon_roundcornersplugin_la_SOURCES = roundcornersplugin.cc +karbon_roundcornersplugin_la_SOURCES = roundcornersplugin.cpp karbon_roundcornersplugin_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ $(LIB_KOPAINTER) ../../libkarboncommon.la diff --git a/karbon/plugins/roundcorners/roundcornersplugin.cc b/karbon/plugins/roundcorners/roundcornersplugin.cpp similarity index 100% rename from karbon/plugins/roundcorners/roundcornersplugin.cc rename to karbon/plugins/roundcorners/roundcornersplugin.cpp diff --git a/karbon/plugins/shadoweffect/Makefile.am b/karbon/plugins/shadoweffect/Makefile.am index 9837f11e8..947a02c11 100644 --- a/karbon/plugins/shadoweffect/Makefile.am +++ b/karbon/plugins/shadoweffect/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) -I$(top_srcdir)/karbon -I$ kde_module_LTLIBRARIES = karbon_shadoweffectplugin.la -karbon_shadoweffectplugin_la_SOURCES = shadoweffectplugin.cc vshadowdecorator.cc +karbon_shadoweffectplugin_la_SOURCES = shadoweffectplugin.cpp vshadowdecorator.cpp karbon_shadoweffectplugin_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ $(LIB_KOPAINTER) ../../libkarboncommon.la diff --git a/karbon/plugins/shadoweffect/shadoweffectplugin.cc b/karbon/plugins/shadoweffect/shadoweffectplugin.cpp similarity index 100% rename from karbon/plugins/shadoweffect/shadoweffectplugin.cc rename to karbon/plugins/shadoweffect/shadoweffectplugin.cpp diff --git a/karbon/plugins/shadoweffect/vshadowdecorator.cc b/karbon/plugins/shadoweffect/vshadowdecorator.cpp similarity index 100% rename from karbon/plugins/shadoweffect/vshadowdecorator.cc rename to karbon/plugins/shadoweffect/vshadowdecorator.cpp diff --git a/karbon/plugins/whirlpinch/Makefile.am b/karbon/plugins/whirlpinch/Makefile.am index 3dd38a1ba..a563ea08a 100644 --- a/karbon/plugins/whirlpinch/Makefile.am +++ b/karbon/plugins/whirlpinch/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/cor kde_module_LTLIBRARIES = karbon_whirlpinchplugin.la -karbon_whirlpinchplugin_la_SOURCES = whirlpinchplugin.cc +karbon_whirlpinchplugin_la_SOURCES = whirlpinchplugin.cpp karbon_whirlpinchplugin_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOPAINTER) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ ../../libkarboncommon.la diff --git a/karbon/plugins/whirlpinch/whirlpinchplugin.cc b/karbon/plugins/whirlpinch/whirlpinchplugin.cpp similarity index 100% rename from karbon/plugins/whirlpinch/whirlpinchplugin.cc rename to karbon/plugins/whirlpinch/whirlpinchplugin.cpp diff --git a/karbon/plugins/zoomtool/Makefile.am b/karbon/plugins/zoomtool/Makefile.am index 1121d54f2..a08c823de 100644 --- a/karbon/plugins/zoomtool/Makefile.am +++ b/karbon/plugins/zoomtool/Makefile.am @@ -4,7 +4,7 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co kde_module_LTLIBRARIES = karbon_zoomtoolplugin.la -karbon_zoomtoolplugin_la_SOURCES = vzoomtool.cc zoomtoolplugin.cc +karbon_zoomtoolplugin_la_SOURCES = vzoomtool.cpp zoomtoolplugin.cpp karbon_zoomtoolplugin_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ $(LIB_KOPAINTER) ../../libkarboncommon.la diff --git a/karbon/plugins/zoomtool/vzoomtool.cc b/karbon/plugins/zoomtool/vzoomtool.cpp similarity index 100% rename from karbon/plugins/zoomtool/vzoomtool.cc rename to karbon/plugins/zoomtool/vzoomtool.cpp diff --git a/karbon/plugins/zoomtool/zoomtoolplugin.cc b/karbon/plugins/zoomtool/zoomtoolplugin.cpp similarity index 100% rename from karbon/plugins/zoomtool/zoomtoolplugin.cc rename to karbon/plugins/zoomtool/zoomtoolplugin.cpp diff --git a/karbon/render/Makefile.am b/karbon/render/Makefile.am index 5f604f6cf..42c837724 100644 --- a/karbon/render/Makefile.am +++ b/karbon/render/Makefile.am @@ -21,14 +21,14 @@ noinst_HEADERS = \ vkopainter.h libvpainter_la_SOURCES = \ - vpainterfactory.cc \ - vqpainter.cc \ + vpainterfactory.cpp \ + vqpainter.cpp \ art_render_pattern.c \ art_render_misc.c \ art_rgb_svp.c \ art_rgb.c \ art_rgba_affine.c \ - vkopainter.cc + vkopainter.cpp libvpainter_la_METASOURCES = \ AUTO diff --git a/karbon/render/vkopainter.cc b/karbon/render/vkopainter.cpp similarity index 100% rename from karbon/render/vkopainter.cc rename to karbon/render/vkopainter.cpp diff --git a/karbon/render/vpainterfactory.cc b/karbon/render/vpainterfactory.cpp similarity index 100% rename from karbon/render/vpainterfactory.cc rename to karbon/render/vpainterfactory.cpp diff --git a/karbon/render/vqpainter.cc b/karbon/render/vqpainter.cpp similarity index 100% rename from karbon/render/vqpainter.cc rename to karbon/render/vqpainter.cpp diff --git a/karbon/shapes/Makefile.am b/karbon/shapes/Makefile.am index bbb7899b1..5f8ba408b 100644 --- a/karbon/shapes/Makefile.am +++ b/karbon/shapes/Makefile.am @@ -16,13 +16,13 @@ noinst_HEADERS = \ vstar.h libkarbonshapes_la_SOURCES = \ - vellipse.cc \ - vpolyline.cc \ - vpolygon.cc \ - vrectangle.cc \ - vsinus.cc \ - vspiral.cc \ - vstar.cc + vellipse.cpp \ + vpolyline.cpp \ + vpolygon.cpp \ + vrectangle.cpp \ + vsinus.cpp \ + vspiral.cpp \ + vstar.cpp libkarbonshapes_la_METASOURCES = \ AUTO diff --git a/karbon/shapes/vellipse.cc b/karbon/shapes/vellipse.cpp similarity index 100% rename from karbon/shapes/vellipse.cc rename to karbon/shapes/vellipse.cpp diff --git a/karbon/shapes/vpolygon.cc b/karbon/shapes/vpolygon.cpp similarity index 100% rename from karbon/shapes/vpolygon.cc rename to karbon/shapes/vpolygon.cpp diff --git a/karbon/shapes/vpolyline.cc b/karbon/shapes/vpolyline.cpp similarity index 100% rename from karbon/shapes/vpolyline.cc rename to karbon/shapes/vpolyline.cpp diff --git a/karbon/shapes/vrectangle.cc b/karbon/shapes/vrectangle.cpp similarity index 100% rename from karbon/shapes/vrectangle.cc rename to karbon/shapes/vrectangle.cpp diff --git a/karbon/shapes/vsinus.cc b/karbon/shapes/vsinus.cpp similarity index 100% rename from karbon/shapes/vsinus.cc rename to karbon/shapes/vsinus.cpp diff --git a/karbon/shapes/vspiral.cc b/karbon/shapes/vspiral.cpp similarity index 100% rename from karbon/shapes/vspiral.cc rename to karbon/shapes/vspiral.cpp diff --git a/karbon/shapes/vstar.cc b/karbon/shapes/vstar.cpp similarity index 100% rename from karbon/shapes/vstar.cc rename to karbon/shapes/vstar.cpp diff --git a/karbon/tools/Makefile.am b/karbon/tools/Makefile.am index 8aa4070f9..ee753e7e7 100644 --- a/karbon/tools/Makefile.am +++ b/karbon/tools/Makefile.am @@ -36,25 +36,25 @@ noinst_HEADERS = \ vdefaulttools.h karbon_defaulttools_la_SOURCES = \ - vcurvefit.cc \ - vrotatetool.cc \ - vselectnodestool.cc \ - vselecttool.cc \ - vsheartool.cc \ - vellipsetool.cc \ - vgradienttool.cc \ - vpatterntool.cc \ - vpenciltool.cc \ - vpolygontool.cc \ - vpolylinetool.cc \ - vrectangletool.cc \ - vroundrecttool.cc \ - vshapetool.cc \ - vsinustool.cc \ - vspiraltool.cc \ - vstartool.cc \ - vtexttool.cc \ - vdefaulttools.cc + vcurvefit.cpp \ + vrotatetool.cpp \ + vselectnodestool.cpp \ + vselecttool.cpp \ + vsheartool.cpp \ + vellipsetool.cpp \ + vgradienttool.cpp \ + vpatterntool.cpp \ + vpenciltool.cpp \ + vpolygontool.cpp \ + vpolylinetool.cpp \ + vrectangletool.cpp \ + vroundrecttool.cpp \ + vshapetool.cpp \ + vsinustool.cpp \ + vspiraltool.cpp \ + vstartool.cpp \ + vtexttool.cpp \ + vdefaulttools.cpp karbon_defaulttools_la_LIBADD = $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOPAINTER) ../libkarboncommon.la karbon_defaulttools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio diff --git a/karbon/tools/vcurvefit.cc b/karbon/tools/vcurvefit.cpp similarity index 100% rename from karbon/tools/vcurvefit.cc rename to karbon/tools/vcurvefit.cpp diff --git a/karbon/tools/vdefaulttools.cc b/karbon/tools/vdefaulttools.cpp similarity index 100% rename from karbon/tools/vdefaulttools.cc rename to karbon/tools/vdefaulttools.cpp diff --git a/karbon/tools/vellipsetool.cc b/karbon/tools/vellipsetool.cpp similarity index 100% rename from karbon/tools/vellipsetool.cc rename to karbon/tools/vellipsetool.cpp diff --git a/karbon/tools/vgradienttool.cc b/karbon/tools/vgradienttool.cpp similarity index 100% rename from karbon/tools/vgradienttool.cc rename to karbon/tools/vgradienttool.cpp diff --git a/karbon/tools/vpatterntool.cc b/karbon/tools/vpatterntool.cpp similarity index 100% rename from karbon/tools/vpatterntool.cc rename to karbon/tools/vpatterntool.cpp diff --git a/karbon/tools/vpenciltool.cc b/karbon/tools/vpenciltool.cpp similarity index 100% rename from karbon/tools/vpenciltool.cc rename to karbon/tools/vpenciltool.cpp diff --git a/karbon/tools/vpolygontool.cc b/karbon/tools/vpolygontool.cpp similarity index 100% rename from karbon/tools/vpolygontool.cc rename to karbon/tools/vpolygontool.cpp diff --git a/karbon/tools/vpolylinetool.cc b/karbon/tools/vpolylinetool.cpp similarity index 100% rename from karbon/tools/vpolylinetool.cc rename to karbon/tools/vpolylinetool.cpp diff --git a/karbon/tools/vrectangletool.cc b/karbon/tools/vrectangletool.cpp similarity index 100% rename from karbon/tools/vrectangletool.cc rename to karbon/tools/vrectangletool.cpp diff --git a/karbon/tools/vrotatetool.cc b/karbon/tools/vrotatetool.cpp similarity index 100% rename from karbon/tools/vrotatetool.cc rename to karbon/tools/vrotatetool.cpp diff --git a/karbon/tools/vroundrecttool.cc b/karbon/tools/vroundrecttool.cpp similarity index 100% rename from karbon/tools/vroundrecttool.cc rename to karbon/tools/vroundrecttool.cpp diff --git a/karbon/tools/vselectnodestool.cc b/karbon/tools/vselectnodestool.cpp similarity index 100% rename from karbon/tools/vselectnodestool.cc rename to karbon/tools/vselectnodestool.cpp diff --git a/karbon/tools/vselecttool.cc b/karbon/tools/vselecttool.cpp similarity index 100% rename from karbon/tools/vselecttool.cc rename to karbon/tools/vselecttool.cpp diff --git a/karbon/tools/vshapetool.cc b/karbon/tools/vshapetool.cpp similarity index 100% rename from karbon/tools/vshapetool.cc rename to karbon/tools/vshapetool.cpp diff --git a/karbon/tools/vsheartool.cc b/karbon/tools/vsheartool.cpp similarity index 100% rename from karbon/tools/vsheartool.cc rename to karbon/tools/vsheartool.cpp diff --git a/karbon/tools/vsinustool.cc b/karbon/tools/vsinustool.cpp similarity index 100% rename from karbon/tools/vsinustool.cc rename to karbon/tools/vsinustool.cpp diff --git a/karbon/tools/vspiraltool.cc b/karbon/tools/vspiraltool.cpp similarity index 100% rename from karbon/tools/vspiraltool.cc rename to karbon/tools/vspiraltool.cpp diff --git a/karbon/tools/vstartool.cc b/karbon/tools/vstartool.cpp similarity index 100% rename from karbon/tools/vstartool.cc rename to karbon/tools/vstartool.cpp diff --git a/karbon/tools/vtexttool.cc b/karbon/tools/vtexttool.cpp similarity index 100% rename from karbon/tools/vtexttool.cc rename to karbon/tools/vtexttool.cpp diff --git a/karbon/usablity-review.txt b/karbon/usablity-review.txt index 5d2eb8b44..a977c8d0b 100644 --- a/karbon/usablity-review.txt +++ b/karbon/usablity-review.txt @@ -1,6 +1,6 @@ Since I think the following link is closely related, I am including it here : -http://dan.ostrowski.cc/suggestions.html +http://dan.ostrowski.cpp/suggestions.html Rob Buis 17-12-2003 diff --git a/karbon/visitors/Makefile.am b/karbon/visitors/Makefile.am index 60bc3caa2..e4ce58ccc 100644 --- a/karbon/visitors/Makefile.am +++ b/karbon/visitors/Makefile.am @@ -17,12 +17,12 @@ noinst_HEADERS = \ vcomputeboundingbox.h libkarbonvisitors_la_SOURCES = \ - vselectnodes.cc \ - vselectobjects.cc \ - vdrawselection.cc \ - vselectiondesc.cc \ - vtransformnodes.cc \ - vcomputeboundingbox.cc + vselectnodes.cpp \ + vselectobjects.cpp \ + vdrawselection.cpp \ + vselectiondesc.cpp \ + vtransformnodes.cpp \ + vcomputeboundingbox.cpp libkarbonvisitors_la_METASOURCES = \ AUTO diff --git a/karbon/visitors/vcomputeboundingbox.cc b/karbon/visitors/vcomputeboundingbox.cpp similarity index 100% rename from karbon/visitors/vcomputeboundingbox.cc rename to karbon/visitors/vcomputeboundingbox.cpp diff --git a/karbon/visitors/vdrawselection.cc b/karbon/visitors/vdrawselection.cpp similarity index 100% rename from karbon/visitors/vdrawselection.cc rename to karbon/visitors/vdrawselection.cpp diff --git a/karbon/visitors/vselectiondesc.cc b/karbon/visitors/vselectiondesc.cpp similarity index 100% rename from karbon/visitors/vselectiondesc.cc rename to karbon/visitors/vselectiondesc.cpp diff --git a/karbon/visitors/vselectnodes.cc b/karbon/visitors/vselectnodes.cpp similarity index 100% rename from karbon/visitors/vselectnodes.cc rename to karbon/visitors/vselectnodes.cpp diff --git a/karbon/visitors/vselectobjects.cc b/karbon/visitors/vselectobjects.cpp similarity index 100% rename from karbon/visitors/vselectobjects.cc rename to karbon/visitors/vselectobjects.cpp diff --git a/karbon/visitors/vtransformnodes.cc b/karbon/visitors/vtransformnodes.cpp similarity index 100% rename from karbon/visitors/vtransformnodes.cc rename to karbon/visitors/vtransformnodes.cpp diff --git a/karbon/vtool.cc b/karbon/vtool.cpp similarity index 100% rename from karbon/vtool.cc rename to karbon/vtool.cpp diff --git a/karbon/vtoolcontroller.cc b/karbon/vtoolcontroller.cpp similarity index 100% rename from karbon/vtoolcontroller.cc rename to karbon/vtoolcontroller.cpp diff --git a/karbon/widgets/Makefile.am b/karbon/widgets/Makefile.am index c78d166c7..35828299a 100644 --- a/karbon/widgets/Makefile.am +++ b/karbon/widgets/Makefile.am @@ -27,27 +27,27 @@ noinst_HEADERS = \ vruler.h libkarbonwidgets_la_SOURCES = \ - dummy.cc \ - vcanvas.cc \ - vcolorslider.cc \ - vgradientwidget.cc \ - vgradienttabwidget.cc \ - vreference.cc \ - vstrokefillpreview.cc \ - vtranslate.cc \ - vselecttoolbar.cc \ - vsmallpreview.cc \ - vstatebutton.cc \ - vtoolbox.cc \ - vtypebuttonbox.cc \ - vruler.cc + dummy.cpp \ + vcanvas.cpp \ + vcolorslider.cpp \ + vgradientwidget.cpp \ + vgradienttabwidget.cpp \ + vreference.cpp \ + vstrokefillpreview.cpp \ + vtranslate.cpp \ + vselecttoolbar.cpp \ + vsmallpreview.cpp \ + vstatebutton.cpp \ + vtoolbox.cpp \ + vtypebuttonbox.cpp \ + vruler.cpp libkarbonwidgets_la_METASOURCES = \ AUTO DISTCLEANFILES = \ - dummy.cc + dummy.cpp -dummy.cc: - echo > dummy.cc +dummy.cpp: + echo > dummy.cpp diff --git a/karbon/widgets/vcanvas.cc b/karbon/widgets/vcanvas.cpp similarity index 100% rename from karbon/widgets/vcanvas.cc rename to karbon/widgets/vcanvas.cpp diff --git a/karbon/widgets/vcolorslider.cc b/karbon/widgets/vcolorslider.cpp similarity index 99% rename from karbon/widgets/vcolorslider.cc rename to karbon/widgets/vcolorslider.cpp index 42c4f0588..d2d0a0ab5 100644 --- a/karbon/widgets/vcolorslider.cc +++ b/karbon/widgets/vcolorslider.cpp @@ -18,7 +18,7 @@ * Boston, MA 02110-1301, USA. */ -/* vcolorslider.cc */ +/* vcolorslider.cpp */ #include #include diff --git a/karbon/widgets/vgradienttabwidget.cc b/karbon/widgets/vgradienttabwidget.cpp similarity index 100% rename from karbon/widgets/vgradienttabwidget.cc rename to karbon/widgets/vgradienttabwidget.cpp diff --git a/karbon/widgets/vgradientwidget.cc b/karbon/widgets/vgradientwidget.cpp similarity index 100% rename from karbon/widgets/vgradientwidget.cc rename to karbon/widgets/vgradientwidget.cpp diff --git a/karbon/widgets/vreference.cc b/karbon/widgets/vreference.cpp similarity index 99% rename from karbon/widgets/vreference.cc rename to karbon/widgets/vreference.cpp index c85800002..c4e96ddff 100644 --- a/karbon/widgets/vreference.cc +++ b/karbon/widgets/vreference.cpp @@ -18,7 +18,7 @@ * Boston, MA 02110-1301, USA. */ -/* vreference.cc */ +/* vreference.cpp */ #include #include diff --git a/karbon/widgets/vruler.cc b/karbon/widgets/vruler.cpp similarity index 100% rename from karbon/widgets/vruler.cc rename to karbon/widgets/vruler.cpp diff --git a/karbon/widgets/vselecttoolbar.cc b/karbon/widgets/vselecttoolbar.cpp similarity index 99% rename from karbon/widgets/vselecttoolbar.cc rename to karbon/widgets/vselecttoolbar.cpp index 2e32a6773..b0dc9a7c8 100644 --- a/karbon/widgets/vselecttoolbar.cc +++ b/karbon/widgets/vselecttoolbar.cpp @@ -18,7 +18,7 @@ * Boston, MA 02110-1301, USA. */ -/* vselecttoolbar.cc */ +/* vselecttoolbar.cpp */ #include diff --git a/karbon/widgets/vsmallpreview.cc b/karbon/widgets/vsmallpreview.cpp similarity index 99% rename from karbon/widgets/vsmallpreview.cc rename to karbon/widgets/vsmallpreview.cpp index 28a8dd27d..c422104ea 100644 --- a/karbon/widgets/vsmallpreview.cc +++ b/karbon/widgets/vsmallpreview.cpp @@ -18,7 +18,7 @@ * Boston, MA 02110-1301, USA. */ -/* vsmallpreview.cc */ +/* vsmallpreview.cpp */ #include #include #include diff --git a/karbon/widgets/vstatebutton.cc b/karbon/widgets/vstatebutton.cpp similarity index 100% rename from karbon/widgets/vstatebutton.cc rename to karbon/widgets/vstatebutton.cpp diff --git a/karbon/widgets/vstrokefillpreview.cc b/karbon/widgets/vstrokefillpreview.cpp similarity index 100% rename from karbon/widgets/vstrokefillpreview.cc rename to karbon/widgets/vstrokefillpreview.cpp diff --git a/karbon/widgets/vtoolbox.cc b/karbon/widgets/vtoolbox.cpp similarity index 100% rename from karbon/widgets/vtoolbox.cc rename to karbon/widgets/vtoolbox.cpp diff --git a/karbon/widgets/vtranslate.cc b/karbon/widgets/vtranslate.cpp similarity index 100% rename from karbon/widgets/vtranslate.cc rename to karbon/widgets/vtranslate.cpp diff --git a/karbon/widgets/vtypebuttonbox.cc b/karbon/widgets/vtypebuttonbox.cpp similarity index 100% rename from karbon/widgets/vtypebuttonbox.cc rename to karbon/widgets/vtypebuttonbox.cpp diff --git a/kchart/ChangeLog b/kchart/ChangeLog index 5d38df2f5..1d9263a9b 100644 --- a/kchart/ChangeLog +++ b/kchart/ChangeLog @@ -13,16 +13,16 @@ Start on bug 134194: Impossible to change the data range. Step 1: Actually set and read the data area. * kchart_params.h: store the data area in the params. - * kchartDataConfigPage.cc (init): Set dataArea lineEdit. + * kchartDataConfigPage.cpp (init): Set dataArea lineEdit. (defaults): clear it (apply): set dataArea from the lineEdit - * kchartWizardSelectDataFormatPage.cc (constructor): set dataArea lineEdit + * kchartWizardSelectDataFormatPage.cpp (constructor): set dataArea lineEdit (apply): set dataArea from the lineEdit 2006-11-06 Inge Wallin Fix bug 128758: misinterpretation of the checkbox "first row as label" - * kchart_part.cc (createLabelsAndLegend): Pass parameters as + * kchart_part.cpp (createLabelsAndLegend): Pass parameters as references. 2006-10-29 Inge Wallin @@ -31,38 +31,38 @@ 2006-10-10 Inge Wallin - * kchart_params.cc (saveOasisAxis): Add saving of axis titles. + * kchart_params.cpp (saveOasisAxis): Add saving of axis titles. 2006-10-06 ---- Version 1.6.0 tagged ---- 2006-10-03 Inge Wallin - * kchart_params.cc (loadOasisPlotarea): Fix bug. Pie charts use + * kchart_params.cpp (loadOasisPlotarea): Fix bug. Pie charts use only the y axis, not only the x axis. 2006-09-28 Inge Wallin - * kchart_params.cc (loadOasisPlotarea): Add support for + * kchart_params.cpp (loadOasisPlotarea): Add support for chart:series-source (row or column): 2006-08-11 Inge Wallin Only show checkboxes in config dialog if applicable. * kchart_params.h (KChartParams::part): new method - * kchartDataConfigPage.cc: Only show the checkboxes "First row/col + * kchartDataConfigPage.cpp: Only show the checkboxes "First row/col as headers" if we have external data. 2006-08-06 Inge Wallin Disable "First row/col as label in the data editor. - * kchartDataEditor.cc (kchartDataEditor): Disable checkboxes + * kchartDataEditor.cpp (kchartDataEditor): Disable checkboxes 2006-08-04 Inge Wallin Let the Data Editor use icons for it's buttons. - * kchartDataEditor.cc (kchartDataEditor): Make the insert / delete + * kchartDataEditor.cpp (kchartDataEditor): Make the insert / delete row / col buttons show an icon instead of text. - * kchartDataEditor.cc (addDocs): Add ToolTips to the buttons. + * kchartDataEditor.cpp (addDocs): Add ToolTips to the buttons. 2006-07-18 Inge Wallin @@ -71,7 +71,7 @@ * kchartDataEditor.{h,cc} (currentChanged): New method (m_insertRowButton, m_removeRowButton, m_insertRowButton, m_removeRowButton): New members - * kchartDataEditor.cc (removeCurrentRow, removeCurrentCol): Don't + * kchartDataEditor.cpp (removeCurrentRow, removeCurrentCol): Don't allow to remove a row or column if it's the first column or if there are only 2 of them. @@ -80,9 +80,9 @@ 2006-07-17 Inge Wallin Add "first row/col as legend" checkboxes to data editor. - * kchartDataEditor.cc (kchartDataEditor): Enable existing code - * kchartDataEditor.cc (setData): Enable existing code - * kchartDataEditor.cc (getData): Enable existing code + * kchartDataEditor.cpp (kchartDataEditor): Enable existing code + * kchartDataEditor.cpp (setData): Enable existing code + * kchartDataEditor.cpp (getData): Enable existing code Simplify paintContent(): * kchart_part.{h,cc} (createLabelsAndLegend): New function @@ -99,7 +99,7 @@ Fix bug 108770: [PATCH] kchart should have a format menu * kchart.rc (Format): New menu (KChartTypes toolbar): place to the left - * kchart_view.cc (KChartView::KChartView): change strings for some + * kchart_view.cpp (KChartView::KChartView): change strings for some actions. 2005-08-08 Inge Wallin @@ -110,7 +110,7 @@ 2005-07-28 Inge Wallin Fix bug 108461: Bug in generation of HiLo charts - * kchart_part.cc (paintContent): Add code to handle HiLo chart + * kchart_part.cpp (paintContent): Add code to handle HiLo chart separately. General code cleaning. @@ -153,7 +153,7 @@ * kdchart/KDChartParams.h (lineColor): return _lineColor again. * kdchart/KDChartParams_io.h (saveXML): Only save the line color if it is non-null. - * kchart_part.cc (setAxisDefaults): Always set lineColor to + * kchart_part.cpp (setAxisDefaults): Always set lineColor to null. This compensates for the (now fixed) bug in saving when reading back old charts. @@ -169,7 +169,7 @@ Fix bug 99995: KChart should be able to import CSV data * kchart_part.{h,cc} (doSetData): new method broken out of setData() (setData): Call doSetData - kchart_view.cc (importData): Get data from the dialog and call + kchart_view.cpp (importData): Get data from the dialog and call KChartPart::doSetData() Code cleaning @@ -195,7 +195,7 @@ negative numbers in a 3D bar chart. If all bars are <= 0 the bars with value 0 will still have an arrow. - * kchart_part.cc (KChartPart), kchart_params.cc (KChartParams): + * kchart_part.cpp (KChartPart), kchart_params.cpp (KChartParams): Make sure the excess arrow is solid by calling setDrawSolidExcessArrows(true) after a chart has been loaded or created. @@ -203,7 +203,7 @@ 2005-04-13 Inge Wallin CSV import: Disable irrelevant formats - * csvimportdialog.cc (CSVImportDialog): Disable formats Currency + * csvimportdialog.cpp (CSVImportDialog): Disable formats Currency and Date. Disable "Import Data" if inside KSpread @@ -214,7 +214,7 @@ Get a file name for "Import Data" and actually read data. (No new strings). - * kchart_view.cc (importData): Open a file dialog, and read data. + * kchart_view.cpp (importData): Open a file dialog, and read data. ---------------------------------------------------------------- @@ -224,31 +224,31 @@ * csvimportdialogui.ui: new file * Makefile.am: Add files above * kchart.rc (File menu): Add Action import_data - * kchart_view.cc (import_data): new TDEAction + * kchart_view.cpp (import_data): new TDEAction (importData): new slot 2005-04-10 Inge Wallin Fix the margins on the pie config page. - * kchartParameterPieConfigPage.cc (KChartParameterPieConfigPage): + * kchartParameterPieConfigPage.cpp (KChartParameterPieConfigPage): Added a toplevel layout. 2005-04-07 Fredrik Edemar - * kchart_part.cc (KChartPart): Set modified when the chart type is + * kchart_part.cpp (KChartPart): Set modified when the chart type is changed. 2005-04-07 Inge Wallin - * kchartWizardLabelsLegendPage.cc (KChartWizardLabelsLegendPage): + * kchartWizardLabelsLegendPage.cpp (KChartWizardLabelsLegendPage): Reenable titles for X and Y axis. 2005-04-07 Fredrik Edemar - * kchart_part.cc (KChartPart): The decimal symbol and thousends + * kchart_part.cpp (KChartPart): The decimal symbol and thousends separator is the same as the rest of KDE. - * kchart_params.cc (KChartParams): Revert my last change: use + * kchart_params.cpp (KChartParams): Revert my last change: use KDChart's default precision instead. * KDChart (KDChartAxesPainter.cpp): The axis label: Use at most 6 digits after the decimal point. @@ -258,7 +258,7 @@ Fix bug 103267: Unreasonable precison in axis values * kchartParameterConfigPage.{h,cc} (KChartParameterConfigPage): Add settings for decimal precision for the left axis. - * kchart_params.cc (KChartParams): Set 2 as default decimal + * kchart_params.cpp (KChartParams): Set 2 as default decimal precision. * KDChart: If the totalLen property is >0, the text label should be truncated at the position of totalLen. @@ -268,7 +268,7 @@ 2005-04-06 Inge Wallin Enable axis titles again. - * kchartParameterConfigPage.cc (KChartParameterConfigPage): Don't + * kchartParameterConfigPage.cpp (KChartParameterConfigPage): Don't disable xtitle and ytitle. ---------------------------------------------------------------- @@ -276,15 +276,15 @@ Fix line specific settings * kchartConfigDialog.{h,cc} (linepage3d): resurrected page (all members except - * kchartLine3dConfigPage.cc (lineMarkers): new method + * kchartLine3dConfigPage.cpp (lineMarkers): new method (all 3d stuff): disabled - * kchartParameterConfigPage.cc (lineMarker): moved to the line + * kchartParameterConfigPage.cpp (lineMarker): moved to the line page. ---------------------------------------------------------------- Fix pie specific settings. - * kchartConfigDialog.cc (constructor): Move all type specific + * kchartConfigDialog.cpp (constructor): Move all type specific settings immediately after the subtype page. (constructor): disable the piepage. * kchartParameterPieConfigPage.{h,cc} (explode): new member @@ -292,10 +292,10 @@ * kchartPieConfigPage (explose): Moved to kchartParameterPieConfigPage. Code cleaning - * kchartConfigDialog.cc (constructor): order initializations + * kchartConfigDialog.cpp (constructor): order initializations logically (all): Fix indentation and other smaller stuff. - * kchart_view.cc: Remove reduntant variable actionExtraCreateTemplate. + * kchart_view.cpp: Remove reduntant variable actionExtraCreateTemplate. 2005-04-05 Fredrik Edemar * Use a better layout in KChartParameterPieConfigPage and KChartParameterPolarConfigPage. @@ -328,7 +328,7 @@ Fix bug 102414: KChart shows the startup dialog even when embedded into a spreadsheet. - * kchart_part.cc (constructor): Initialize members but don't call + * kchart_part.cpp (constructor): Initialize members but don't call initDoc(). (initDoc): don't initialize members, and return immediately if called for an embedded chart. @@ -342,14 +342,14 @@ (misc): set m_modified if data changed, including headers. * kchart_part.{h,cc} (slotModified): new slot (setData): connect wizard::finished() with slotModified - * kchart_view.cc (edit, apply, wizard): call setModified() in document + * kchart_view.cpp (edit, apply, wizard): call setModified() in document 2005-03-23 Inge Wallin Implement wish 45358: KChart start up dialog? - * kchart_part.cc (initNullChart): New method + * kchart_part.cpp (initNullChart): New method (initDoc): Call KoTemplateChooseDia(). - * kchart_view.cc (KChartView): Don't initialize the standard chart. + * kchart_view.cpp (KChartView): Don't initialize the standard chart. ---------------------------------------------------------------- @@ -361,7 +361,7 @@ ---------------------------------------------------------------- Bug fix. - * kchartDataEditor.cc (setCols): Set width for all new columns. + * kchartDataEditor.cpp (setCols): Set width for all new columns. (misc): Code cleaning Code cleaning @@ -382,22 +382,22 @@ 2005-03-18 Inge Wallin Improve layout for 3D bar chart parameters. - * kchartParameter3dConfigPage.cc (KChartParameter3dConfigPage): + * kchartParameter3dConfigPage.cpp (KChartParameter3dConfigPage): Improve layout. 2005-03-17 Inge Wallin Remove the 3D Line Parameters page from the config dialog due to general uselessness and uglyness. - * kchartConfigDialog.cc (KChartConfigDialog): Disabled 3D Line + * kchartConfigDialog.cpp (KChartConfigDialog): Disabled 3D Line page. - * kchartLine3dConfigPage.cc (constructor): Changed layout + * kchartLine3dConfigPage.cpp (constructor): Changed layout somewhat, during the experiments. ---------------------------------------------------------------- Fix the uglyness of the font config dialog. - * kchartFontConfigPage.cc (KChartFontConfigPage): Add some stretch + * kchartFontConfigPage.cpp (KChartFontConfigPage): Add some stretch in suitable places. ---------------------------------------------------------------- @@ -432,13 +432,13 @@ ---------------------------------------------------------------- Don't include kchartDataEditor.h where is shouldn't be included. - * kchartBarConfigDialog.cc, kchartColorConfigPage.cc, - kchartDataConfigPage.cc: remove it, and include koChart.h instead + * kchartBarConfigDialog.cpp, kchartColorConfigPage.cpp, + kchartDataConfigPage.cpp: remove it, and include koChart.h instead 2005-03-13 Inge Wallin Make the page layout dialog better looking. - * kchartPageLayout.cc (constructor): Place settings inside a + * kchartPageLayout.cpp (constructor): Place settings inside a button box. ---------------------------------------------------------------- @@ -450,21 +450,21 @@ (getXLabel): removed * kchart_part.h (axisLabelText{short,long}): removed (m_longLabels, m_shortLabels): removed - * kchart_view.cc (edit): remove all stuff within #if 0 - #endif + * kchart_view.cpp (edit): remove all stuff within #if 0 - #endif ---------------------------------------------------------------- Fix problem with mixed plurals/singulars in chart names. - * kchart_view.cc (KChartView): Rename some actions. + * kchart_view.cpp (KChartView): Rename some actions. The default chart is marked as modified even when it's not. - * kchart_part.cc (KChartPart): Remove call to setModified(). + * kchart_part.cpp (KChartPart): Remove call to setModified(). 2005-03-12 Inge Wallin Remove the defaults button from the config dialog. It wasn't working anyway. - * kchartConfigDialog.cc (KChartConfigDialog): Disable the Defaults + * kchartConfigDialog.cpp (KChartConfigDialog): Disable the Defaults button. ---------------------------------------------------------------- @@ -473,7 +473,7 @@ logarithmic axes. * kchartParameterConfigPage.h (KChartParameterConfigPage::lin and log): new members - * kchartParameterConfigPage.cc (KChartParameterConfigPage): Add + * kchartParameterConfigPage.cpp (KChartParameterConfigPage): Add new widgets to the Settings buttonbox (used to be Title) (init): initialize the members from the params. (apply): store the parameters from the values of the widgets @@ -481,13 +481,13 @@ ---------------------------------------------------------------- Fix the bad layout of the title buttonbox. - * kchartParameterConfigPage.cc (KChartParameterConfigPage): Change + * kchartParameterConfigPage.cpp (KChartParameterConfigPage): Change the layout slightly, and add row and col stretch. ---------------------------------------------------------------- Load row and column headers from XML file. - * kchart_part.cc (loadXML): Get the legend and axis label strings + * kchart_part.cpp (loadXML): Get the legend and axis label strings from the KDChart parameters and store in the column and row headers. @@ -497,8 +497,8 @@ Clean up the data editor and remove old cruft. * kchartDataEditor.{h,cc}: Remove all #if 0:ed code. - * Makefile.am (libkchartpart_la_SOURCES): Removed parser.cc, - sheet.cc, sheetdlg.cc, table.cc qttableview.cpp + * Makefile.am (libkchartpart_la_SOURCES): Removed parser.cpp, + sheet.cpp, sheetdlg.cpp, table.cpp qttableview.cpp (noinst_HEADERS): Removed parser.h sheet.h sheetdlg.h table.h qttableview.h Files mentioned above: Removed. @@ -507,20 +507,20 @@ Move Tooltips and Whatsthis help from the old data editor to the new one. - * kchartDataEditor.cc (addDocs): New method + * kchartDataEditor.cpp (addDocs): New method (constructor): Clean up by moving all help generation to addDocs(). ---------------------------------------------------------------- Enable "Finish" button for all pages in the wizard. - * kchartWizard.cc (KChartWizard): Enable Finish button for + * kchartWizard.cpp (KChartWizard): Enable Finish button for "Subtypes" and "Labels & Legend" pages. 2005-03-10 Inge Wallin Make the table in the data editor shrink when number of rows/cols are decreased in the spinboxes. - * kchartDataEditor.cc (askUserForConfirmation): new static + * kchartDataEditor.cpp (askUserForConfirmation): new static function. (setRows, setCols): Handle shrinking @@ -546,25 +546,25 @@ ---------------------------------------------------------------- Cleaning - * kchart_part.cc (paintContent): break out common code out of an + * kchart_part.cpp (paintContent): break out common code out of an if/else construction. ---------------------------------------------------------------- More experiments with visual appearance of the data editor - * kchartDataEditor.cc (setData): Set size of the table widget to + * kchartDataEditor.cpp (setData): Set size of the table widget to (600,300) ---------------------------------------------------------------- Experiment with visual appearance of the new data editor - * kchartDataEditor.cc (setData): Set column widths to 80. + * kchartDataEditor.cpp (setData): Set column widths to 80. ---------------------------------------------------------------- Fix bug introduced by patch to fix bug 14971: Axes label handling in connection with KSpread was broken. - * kchart_part.cc (setData): set m_rowLabels and m_colLabels + * kchart_part.cpp (setData): set m_rowLabels and m_colLabels instead of storing axes labels to the params. 2005-03-08 Inge Wallin @@ -580,13 +580,13 @@ This fixes bug 14971. * kchart_part.h (m_rowLabels, m_colLabels): new members (rowLabelTexts, colLabelTexts): new methods - * kchart_part.cc (paintContent): Paint using the new labels, both + * kchart_part.cpp (paintContent): Paint using the new labels, both for ordinary and transposed tables. * kchartDataEditor.{h,cc} (setRowLabels): new method (getRowLabels): new method (setColLabels): new method (getColLabels): new method - * kchart_view.cc (edit): call new methods above in data editor, + * kchart_view.cpp (edit): call new methods above in data editor, and don't call old methods setLegend, getLegend, setXLabel, etc. 2005-03-07 Inge Wallin @@ -608,18 +608,18 @@ ---------------------------------------------------------------- Cleaning: - * kchart_part.cc (loadOasis): remove parameter names to remove + * kchart_part.cpp (loadOasis): remove parameter names to remove warnings. Reorder chart types to make it more logical order * kchart.rc (Toolbar): Reorder chart types - * kchartWizardSelectChartTypePage.cc (constructor): Reorder chart + * kchartWizardSelectChartTypePage.cpp (constructor): Reorder chart types into same order. 2005-03-06 Inge Wallin Begin to support the Apply button in the data editor. - * kchartDataEditor.cc (kchartDataEditor): connect applyClicked() + * kchartDataEditor.cpp (kchartDataEditor): connect applyClicked() to apply() * kchartDataEditor.{h,cc} (apply): new method. @@ -630,11 +630,11 @@ author. Continue with the new data editor. - * kchartDataEditor.cc (setLegend): Always initialize the row + * kchartDataEditor.cpp (setLegend): Always initialize the row headers, not only the first time. Start fixing default handling in the config dialog. - * kchartConfigDialog.cc (defaults): Call datapage->defaults() + * kchartConfigDialog.cpp (defaults): Call datapage->defaults() instead of init. * kchartDataConfigPage.{h,cc} (defaults): New method. @@ -649,13 +649,13 @@ * kchartDataEditor.{h,cc}: First prototype of a new data editor. Code cleaning. - * kchartFontConfigPage.cc (class KChartFontListBoxItem): Move from + * kchartFontConfigPage.cpp (class KChartFontListBoxItem): Move from kchartDataConfigPage.h. That used to be an error. 2005-02-25 Inge Wallin Fix bug 99998: KChart: 3d Depth parameter has ludicrous max value - * kchartParameter3dConfigPage.cc (KChartParameter3dConfigPage): + * kchartParameter3dConfigPage.cpp (KChartParameter3dConfigPage): Make the depth parameter go from 0 to 2.0 instead of 0 to 40. 2005-02-24 Inge Wallin @@ -689,7 +689,7 @@ Fix bug 99765: "Chart Subtype" config page is missing for Pie, Ring, Box&Whisker chart types. - * kchartConfigDialog.cc (initSubtypePage): Don't create a + * kchartConfigDialog.cpp (initSubtypePage): Don't create a configuration page for subtype if the type doesn't have a subtype. Applicable to Pie, Ring and Box&Whiskers. @@ -698,9 +698,9 @@ Start of a new page in the config dialog for configuring Data. This is not yet finished. * kchartDataConfigPage.h: New file - * kchartDataConfigPage.cc: New file + * kchartDataConfigPage.cpp: New file * kchartConfigDialog.h (KChartConfigDialog::m_datapage): New member - * kchartConfigDialog.cc (KChartConfigDialog): Create the data page + * kchartConfigDialog.cpp (KChartConfigDialog): Create the data page 2005-01-07 Raphael Langerhorst @@ -711,10 +711,10 @@ 2005-01-06 Raphael Langerhorst Improve Data Editor usability: - * sheet.cc: Add tooltips and what's this help. - * sheet.cc: Use a different color for first row and column - * sheetdlg.cc: Add tooltips and what's this help. - * sheetdlg.cc: Change order of widget initialization (better tab order). + * sheet.cpp: Add tooltips and what's this help. + * sheet.cpp: Use a different color for first row and column + * sheetdlg.cpp: Add tooltips and what's this help. + * sheetdlg.cpp: Change order of widget initialization (better tab order). 2004-11-16 Inge Wallin @@ -725,7 +725,7 @@ 2004-11-05 Inge Wallin Fix bug 90895: save config is not needed - * kchart_view.cc (KChartView): Remove actions "loadconfig", + * kchart_view.cpp (KChartView): Remove actions "loadconfig", "saveconfig" and "defaultconfig". * kchart.rc: Remove reference to them in the definition of the Settings menu. @@ -733,26 +733,26 @@ Fix bug 90904: edit/configure is confusingly named * kchart.rc: Add a sub menu for editing only one aspect of the chart. - * kchart_view.cc: Change shortcut for Edit Data - * kchart_view.cc: Change string for Configure Chart + * kchart_view.cpp: Change shortcut for Edit Data + * kchart_view.cpp: Change string for Configure Chart 2004-10-07 Inge Wallin * Cleanup of the following files. Made the code more readable, fixed indentation, added some comments: - sheet.h - - sheet.cc + - sheet.cpp 2004-10-06 Inge Wallin Fix bug 55603: Pressing Enter in Data Editor doesn't update any changes. - * sheetdlg.cc (SheetDlg): Make the OK button the default. + * sheetdlg.cpp (SheetDlg): Make the OK button the default. * Cleanup of the following files. Made the code more readable, fixed indentation, added some comments: - parser.h - - parser.cc + - parser.cpp 2004-10-04 Inge Wallin @@ -760,19 +760,19 @@ readable, fixed indentation, added (a few) comments: (Man, there are a lot of coding styles in there...) - kchart_part.h - - kchart_part.cc + - kchart_part.cpp * Cleaned the following files a little. Made the code more readable, fixed indentation, added (a few) comments: - - kchart.la.cc - - main.cc - - kchart_dummy.cc + - kchart.la.cpp + - main.cpp + - kchart_dummy.cpp - kchart_aboutdata.h - kchart_factory.h - - kchart_factory.cc + - kchart_factory.cpp - kchart_params.h - - kchart_params.cc + - kchart_params.cpp - kchart_view.h - - kchart_view.cc + - kchart_view.cpp diff --git a/kchart/KChartParamsIface.cc b/kchart/KChartParamsIface.cpp similarity index 100% rename from kchart/KChartParamsIface.cc rename to kchart/KChartParamsIface.cpp diff --git a/kchart/KChartViewIface.cc b/kchart/KChartViewIface.cpp similarity index 100% rename from kchart/KChartViewIface.cc rename to kchart/KChartViewIface.cpp diff --git a/kchart/Makefile.am b/kchart/Makefile.am index a2cb355df..1008b17c7 100644 --- a/kchart/Makefile.am +++ b/kchart/Makefile.am @@ -3,34 +3,34 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(srcdir)/kdchart -I$(top_srcdir)/interfaces - ## The lib with most of the code (shared with the kchart filters) lib_LTLIBRARIES = libkchartcommon.la -libkchartcommon_la_SOURCES = kchart_part.cc \ - kchart_view.cc kchart_factory.cc \ - kchartColorConfigPage.cc \ - kchartParameterConfigPage.cc \ - kchartParameter3dConfigPage.cc \ - kchartBackgroundPixmapConfigPage.cc \ - kchartSubTypeChartPage.cc \ - kchartComboConfigPage.cc \ - kchartFontConfigPage.cc \ - kchartDataConfigPage.cc \ - kchartPieConfigPage.cc \ - kchartParameterPieConfigPage.cc \ - kchartConfigDialog.cc \ - kchartWizard.cc \ - kchartWizardLabelsLegendPage.cc \ - kchartWizardSelectChartSubTypePage.cc \ - kchartWizardSelectChartTypePage.cc \ - kchartWizardSelectDataPage.cc \ - kchartWizardSetupAxesPage.cc \ - kchartWizardSetupDataPage.cc \ - kchartWizardSelectDataFormatPage.cc \ - kchartDataEditor.cc \ - KChartViewIface.skel KChartViewIface.cc \ - kchartLegendConfigPage.cc kchart_params.cc KChartParamsIface.skel \ - KChartParamsIface.cc kchartHeaderFooterConfigPage.cc \ - kchartLine3dConfigPage.cc kchartParameterPolarConfigPage.cc kchartPageLayout.cc \ - kchartPrinterDlg.cc \ - csvimportdialog.cc csvimportdialogui.ui +libkchartcommon_la_SOURCES = kchart_part.cpp \ + kchart_view.cpp kchart_factory.cpp \ + kchartColorConfigPage.cpp \ + kchartParameterConfigPage.cpp \ + kchartParameter3dConfigPage.cpp \ + kchartBackgroundPixmapConfigPage.cpp \ + kchartSubTypeChartPage.cpp \ + kchartComboConfigPage.cpp \ + kchartFontConfigPage.cpp \ + kchartDataConfigPage.cpp \ + kchartPieConfigPage.cpp \ + kchartParameterPieConfigPage.cpp \ + kchartConfigDialog.cpp \ + kchartWizard.cpp \ + kchartWizardLabelsLegendPage.cpp \ + kchartWizardSelectChartSubTypePage.cpp \ + kchartWizardSelectChartTypePage.cpp \ + kchartWizardSelectDataPage.cpp \ + kchartWizardSetupAxesPage.cpp \ + kchartWizardSetupDataPage.cpp \ + kchartWizardSelectDataFormatPage.cpp \ + kchartDataEditor.cpp \ + KChartViewIface.skel KChartViewIface.cpp \ + kchartLegendConfigPage.cpp kchart_params.cpp KChartParamsIface.skel \ + KChartParamsIface.cpp kchartHeaderFooterConfigPage.cpp \ + kchartLine3dConfigPage.cpp kchartParameterPolarConfigPage.cpp kchartPageLayout.cpp \ + kchartPrinterDlg.cpp \ + csvimportdialog.cpp csvimportdialogui.ui libkchartcommon_la_LIBADD = $(top_builddir)/interfaces/libkochart.la \ $(LIB_KOFFICEUI) \ @@ -39,14 +39,14 @@ libkchartcommon_la_LDFLAGS = $(KDE_RPATH) -version-info 2:0:0 -no-undefined $(LI ## The part kde_module_LTLIBRARIES = libkchartpart.la -libkchartpart_la_SOURCES = kchart_factory_init.cc +libkchartpart_la_SOURCES = kchart_factory_init.cpp libkchartpart_la_LDFLAGS = $(KDE_PLUGIN) $(LIB_TQT) libkchartpart_la_LIBADD = libkchartcommon.la ## The tdeinit loadable module and executable tdeinit_LTLIBRARIES = kchart.la bin_PROGRAMS = -kchart_la_SOURCES = main.cc +kchart_la_SOURCES = main.cpp kchart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) kchart_la_LIBADD = $(LIB_KOFFICECORE) @@ -91,7 +91,7 @@ xdg_apps_DATA = kchart.desktop SUBDIRS = kdchart . toolbar pics templates messages: rc.cpp - $(XGETTEXT) rc.cpp *.cc kchart_aboutdata.h kdchart/*.cpp -o $(podir)/kchart.pot + $(XGETTEXT) rc.cpp *.cpp kchart_aboutdata.h kdchart/*.cpp -o $(podir)/kchart.pot kde_services_DATA = kchartpart.desktop diff --git a/kchart/csvimportdialog.cc b/kchart/csvimportdialog.cpp similarity index 100% rename from kchart/csvimportdialog.cc rename to kchart/csvimportdialog.cpp diff --git a/kchart/kchartBackgroundPixmapConfigPage.cc b/kchart/kchartBackgroundPixmapConfigPage.cpp similarity index 99% rename from kchart/kchartBackgroundPixmapConfigPage.cc rename to kchart/kchartBackgroundPixmapConfigPage.cpp index d7716d311..c92131166 100644 --- a/kchart/kchartBackgroundPixmapConfigPage.cc +++ b/kchart/kchartBackgroundPixmapConfigPage.cpp @@ -172,7 +172,7 @@ KChartBackgroundPixmapConfigPage::KChartBackgroundPixmapConfigPage( KChartParams intensitySB->hide(); //the property doesn't work atm } -//Code from kcontrol/background/bgdialog.cc +//Code from kcontrol/background/bgdialog.cpp void KChartBackgroundPixmapConfigPage::loadWallpaperFilesList() { // Wallpapers diff --git a/kchart/kchartColorConfigPage.cc b/kchart/kchartColorConfigPage.cpp similarity index 100% rename from kchart/kchartColorConfigPage.cc rename to kchart/kchartColorConfigPage.cpp diff --git a/kchart/kchartComboConfigPage.cc b/kchart/kchartComboConfigPage.cpp similarity index 100% rename from kchart/kchartComboConfigPage.cc rename to kchart/kchartComboConfigPage.cpp diff --git a/kchart/kchartConfigDialog.cc b/kchart/kchartConfigDialog.cpp similarity index 100% rename from kchart/kchartConfigDialog.cc rename to kchart/kchartConfigDialog.cpp diff --git a/kchart/kchartDataConfigPage.cc b/kchart/kchartDataConfigPage.cpp similarity index 98% rename from kchart/kchartDataConfigPage.cc rename to kchart/kchartDataConfigPage.cpp index f9cc7e25d..3a3968e40 100644 --- a/kchart/kchartDataConfigPage.cc +++ b/kchart/kchartDataConfigPage.cpp @@ -66,7 +66,7 @@ KChartDataConfigPage::KChartDataConfigPage( KChartParams* params, TQButtonGroup *gb1 = new TQVButtonGroup( i18n( "Data Area" ), this ); // ================================================================ - // This code is copied from kchartWizardSelectDataFormatPage.cc + // This code is copied from kchartWizardSelectDataFormatPage.cpp TQHBox *hbox = new TQHBox( gb1 ); (void) new TQLabel( i18n("Area: "), hbox); m_dataArea = new TQLineEdit( hbox ); diff --git a/kchart/kchartDataEditor.cc b/kchart/kchartDataEditor.cpp similarity index 100% rename from kchart/kchartDataEditor.cc rename to kchart/kchartDataEditor.cpp diff --git a/kchart/kchartFontConfigPage.cc b/kchart/kchartFontConfigPage.cpp similarity index 100% rename from kchart/kchartFontConfigPage.cc rename to kchart/kchartFontConfigPage.cpp diff --git a/kchart/kchartHeaderFooterConfigPage.cc b/kchart/kchartHeaderFooterConfigPage.cpp similarity index 100% rename from kchart/kchartHeaderFooterConfigPage.cc rename to kchart/kchartHeaderFooterConfigPage.cpp diff --git a/kchart/kchartLegendConfigPage.cc b/kchart/kchartLegendConfigPage.cpp similarity index 100% rename from kchart/kchartLegendConfigPage.cc rename to kchart/kchartLegendConfigPage.cpp diff --git a/kchart/kchartLine3dConfigPage.cc b/kchart/kchartLine3dConfigPage.cpp similarity index 100% rename from kchart/kchartLine3dConfigPage.cc rename to kchart/kchartLine3dConfigPage.cpp diff --git a/kchart/kchartPageLayout.cc b/kchart/kchartPageLayout.cpp similarity index 100% rename from kchart/kchartPageLayout.cc rename to kchart/kchartPageLayout.cpp diff --git a/kchart/kchartParameter3dConfigPage.cc b/kchart/kchartParameter3dConfigPage.cpp similarity index 100% rename from kchart/kchartParameter3dConfigPage.cc rename to kchart/kchartParameter3dConfigPage.cpp diff --git a/kchart/kchartParameterConfigPage.cc b/kchart/kchartParameterConfigPage.cpp similarity index 100% rename from kchart/kchartParameterConfigPage.cc rename to kchart/kchartParameterConfigPage.cpp diff --git a/kchart/kchartParameterPieConfigPage.cc b/kchart/kchartParameterPieConfigPage.cpp similarity index 100% rename from kchart/kchartParameterPieConfigPage.cc rename to kchart/kchartParameterPieConfigPage.cpp diff --git a/kchart/kchartParameterPolarConfigPage.cc b/kchart/kchartParameterPolarConfigPage.cpp similarity index 100% rename from kchart/kchartParameterPolarConfigPage.cc rename to kchart/kchartParameterPolarConfigPage.cpp diff --git a/kchart/kchartPieConfigPage.cc b/kchart/kchartPieConfigPage.cpp similarity index 100% rename from kchart/kchartPieConfigPage.cc rename to kchart/kchartPieConfigPage.cpp diff --git a/kchart/kchartPrinterDlg.cc b/kchart/kchartPrinterDlg.cpp similarity index 100% rename from kchart/kchartPrinterDlg.cc rename to kchart/kchartPrinterDlg.cpp diff --git a/kchart/kchartSubTypeChartPage.cc b/kchart/kchartSubTypeChartPage.cpp similarity index 100% rename from kchart/kchartSubTypeChartPage.cc rename to kchart/kchartSubTypeChartPage.cpp diff --git a/kchart/kchartWizard.cc b/kchart/kchartWizard.cpp similarity index 100% rename from kchart/kchartWizard.cc rename to kchart/kchartWizard.cpp diff --git a/kchart/kchartWizardLabelsLegendPage.cc b/kchart/kchartWizardLabelsLegendPage.cpp similarity index 100% rename from kchart/kchartWizardLabelsLegendPage.cc rename to kchart/kchartWizardLabelsLegendPage.cpp diff --git a/kchart/kchartWizardSelectChartSubTypePage.cc b/kchart/kchartWizardSelectChartSubTypePage.cpp similarity index 100% rename from kchart/kchartWizardSelectChartSubTypePage.cc rename to kchart/kchartWizardSelectChartSubTypePage.cpp diff --git a/kchart/kchartWizardSelectChartTypePage.cc b/kchart/kchartWizardSelectChartTypePage.cpp similarity index 100% rename from kchart/kchartWizardSelectChartTypePage.cc rename to kchart/kchartWizardSelectChartTypePage.cpp diff --git a/kchart/kchartWizardSelectChartTypePage.h b/kchart/kchartWizardSelectChartTypePage.h index 16c289440..91b62da34 100644 --- a/kchart/kchartWizardSelectChartTypePage.h +++ b/kchart/kchartWizardSelectChartTypePage.h @@ -18,7 +18,7 @@ class KChartPart; // Contains a button with a text label below it // -// FIXME: Move to kchartWizardSelectChartTypePage.cc +// FIXME: Move to kchartWizardSelectChartTypePage.cpp class KChartButton : public TQVBox { Q_OBJECT diff --git a/kchart/kchartWizardSelectDataFormatPage.cc b/kchart/kchartWizardSelectDataFormatPage.cpp similarity index 100% rename from kchart/kchartWizardSelectDataFormatPage.cc rename to kchart/kchartWizardSelectDataFormatPage.cpp diff --git a/kchart/kchartWizardSelectDataPage.cc b/kchart/kchartWizardSelectDataPage.cpp similarity index 100% rename from kchart/kchartWizardSelectDataPage.cc rename to kchart/kchartWizardSelectDataPage.cpp diff --git a/kchart/kchartWizardSetupAxesPage.cc b/kchart/kchartWizardSetupAxesPage.cpp similarity index 100% rename from kchart/kchartWizardSetupAxesPage.cc rename to kchart/kchartWizardSetupAxesPage.cpp diff --git a/kchart/kchartWizardSetupDataPage.cc b/kchart/kchartWizardSetupDataPage.cpp similarity index 100% rename from kchart/kchartWizardSetupDataPage.cc rename to kchart/kchartWizardSetupDataPage.cpp diff --git a/kchart/kchart_factory.cc b/kchart/kchart_factory.cpp similarity index 96% rename from kchart/kchart_factory.cc rename to kchart/kchart_factory.cpp index 053627387..ff00f2058 100644 --- a/kchart/kchart_factory.cc +++ b/kchart/kchart_factory.cpp @@ -1,5 +1,5 @@ /** - * $Id: kchart_factory.cc 483001 2005-11-24 18:27:18Z dfaure $ + * $Id: kchart_factory.cpp 483001 2005-11-24 18:27:18Z dfaure $ * * Kalle Dalheimer */ diff --git a/kchart/kchart_factory_init.cc b/kchart/kchart_factory_init.cpp similarity index 100% rename from kchart/kchart_factory_init.cc rename to kchart/kchart_factory_init.cpp diff --git a/kchart/kchart_params.cc b/kchart/kchart_params.cpp similarity index 100% rename from kchart/kchart_params.cc rename to kchart/kchart_params.cpp diff --git a/kchart/kchart_part.cc b/kchart/kchart_part.cpp similarity index 100% rename from kchart/kchart_part.cc rename to kchart/kchart_part.cpp diff --git a/kchart/kchart_view.cc b/kchart/kchart_view.cpp similarity index 100% rename from kchart/kchart_view.cc rename to kchart/kchart_view.cpp diff --git a/kchart/main.cc b/kchart/main.cpp similarity index 100% rename from kchart/main.cc rename to kchart/main.cpp diff --git a/kexi/3rdparty/kexisql/Makefile.msvc b/kexi/3rdparty/kexisql/Makefile.msvc index e6fae4775..01e3028f6 100644 --- a/kexi/3rdparty/kexisql/Makefile.msvc +++ b/kexi/3rdparty/kexisql/Makefile.msvc @@ -107,18 +107,13 @@ TARGET = $(TDEDIR)/bin/kexisql2_d.dll ####### Implicit rules -.SUFFIXES: .c .cpp .cc .cxx .C +.SUFFIXES: .c .cpp .cxx .C {.}.cpp{obj\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\ @<< $< << -{.}.cc{obj\}.obj:: - $(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\ @<< - $< -<< - {.}.cxx{obj\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\ @<< $< diff --git a/kexi/3rdparty/kolibs/Makefile.am b/kexi/3rdparty/kolibs/Makefile.am index 05d3fbd31..c5b1cf7b2 100644 --- a/kexi/3rdparty/kolibs/Makefile.am +++ b/kexi/3rdparty/kolibs/Makefile.am @@ -3,10 +3,10 @@ include $(top_srcdir)/kexi/Makefile.global noinst_LTLIBRARIES = libkexikolibs.la libkexikolibs_la_SOURCES = \ -koGlobal.cc \ -koUnit.cc \ -koUnitWidgets.cc \ -koPageLayoutDia.cc \ +koGlobal.cpp \ +koUnit.cpp \ +koUnitWidgets.cpp \ +koPageLayoutDia.cpp \ KoPageLayoutColumnsBase.ui \ KoPageLayoutColumns.cpp \ koPageLayout.cpp \ diff --git a/kexi/3rdparty/kolibs/koGlobal.cc b/kexi/3rdparty/kolibs/koGlobal.cpp similarity index 100% rename from kexi/3rdparty/kolibs/koGlobal.cc rename to kexi/3rdparty/kolibs/koGlobal.cpp diff --git a/kexi/3rdparty/kolibs/koPageLayoutDia.cc b/kexi/3rdparty/kolibs/koPageLayoutDia.cpp similarity index 100% rename from kexi/3rdparty/kolibs/koPageLayoutDia.cc rename to kexi/3rdparty/kolibs/koPageLayoutDia.cpp diff --git a/kexi/3rdparty/kolibs/koUnit.cc b/kexi/3rdparty/kolibs/koUnit.cpp similarity index 100% rename from kexi/3rdparty/kolibs/koUnit.cc rename to kexi/3rdparty/kolibs/koUnit.cpp diff --git a/kexi/3rdparty/kolibs/koUnitWidgets.cc b/kexi/3rdparty/kolibs/koUnitWidgets.cpp similarity index 100% rename from kexi/3rdparty/kolibs/koUnitWidgets.cc rename to kexi/3rdparty/kolibs/koUnitWidgets.cpp diff --git a/kexi/doc/dev/TODO-Kexi-js b/kexi/doc/dev/TODO-Kexi-js index 880c0d138..90b7d5f6e 100644 --- a/kexi/doc/dev/TODO-Kexi-js +++ b/kexi/doc/dev/TODO-Kexi-js @@ -607,7 +607,7 @@ for blobs...The client has to read the _entire_ blob into memory."; use: - port to libpq - set version information in drv_useDatabase() There's connection_base::server_version() in libpqxx trunk - - http://thaiopensource.org/development/libpqxx/file/trunk/include/pqxx/connection_base.hxx + http://thaiopensource.org/development/libpqxx/file/trunk/include/pqxx/connection_base.h === KEXIDB TESTS=== - add tests for DatabaseProperties diff --git a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp index a1b1c6ea7..cf6604779 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp +++ b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp @@ -1,7 +1,7 @@ /* This file is part of the KDE project Copyright (C) 2005-2006 Jaroslaw Staniek - This work is based on kspread/dialogs/kspread_dlg_csv.cc + This work is based on kspread/dialogs/kspread_dlg_csv.cpp and will be merged back with KOffice libraries. Copyright (C) 2002-2003 Norbert Andres diff --git a/kexi/plugins/importexport/csv/kexicsvimportdialog.h b/kexi/plugins/importexport/csv/kexicsvimportdialog.h index 4df8a621a..52724ca69 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportdialog.h +++ b/kexi/plugins/importexport/csv/kexicsvimportdialog.h @@ -1,7 +1,7 @@ /* This file is part of the KDE project Copyright (C) 2005-2006 Jaroslaw Staniek - This work is based on kspread/dialogs/kspread_dlg_csv.cc + This work is based on kspread/dialogs/kspread_dlg_csv.cpp and will be merged back with KOffice libraries. Copyright (C) 2002-2003 Norbert Andres diff --git a/kexi/tools/build_tarball/build_kexi_tarball.sh b/kexi/tools/build_tarball/build_kexi_tarball.sh index efc607df9..3159d815e 100755 --- a/kexi/tools/build_tarball/build_kexi_tarball.sh +++ b/kexi/tools/build_tarball/build_kexi_tarball.sh @@ -187,7 +187,7 @@ for dir in $EXC; do mkdir $dir done #fix exectutable bits for sources: -find . -name \*.h -o -name \*.cpp -o -name \*.c -o -name \*.cc -o -name \*.1 | xargs chmod a-x +find . -name \*.h -o -name \*.cpp -o -name \*.c -o -name \*.1 | xargs chmod a-x #other app-specific fixes: fixAppSpecific diff --git a/kformula/Makefile.am b/kformula/Makefile.am index dd4338b65..9f7263cc2 100644 --- a/kformula/Makefile.am +++ b/kformula/Makefile.am @@ -3,16 +3,16 @@ KDE_CXXFLAGS = $(USE_RTTI) ## The part kde_module_LTLIBRARIES = libkformulapart.la -libkformulapart_la_SOURCES = kformula_doc.cc \ - kformula_view.cc kformula_factory.cc kformulawidget.cc kfconfig.cc \ - kformula_view_iface.skel kformula_view_iface.cc formulastring.cc fsparser.cc +libkformulapart_la_SOURCES = kformula_doc.cpp \ + kformula_view.cpp kformula_factory.cpp kformulawidget.cpp kfconfig.cpp \ + kformula_view_iface.skel kformula_view_iface.cpp formulastring.cpp fsparser.cpp libkformulapart_la_LDFLAGS = $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio $(KDE_PLUGIN) -lDCOP -ltdeparts libkformulapart_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) $(LIB_KOTEXT) libkformulapart_la_METASOURCES = AUTO ## The tdeinit loadable module tdeinit_LTLIBRARIES = kformula.la -kformula_la_SOURCES = main.cc +kformula_la_SOURCES = main.cpp kformula_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) kformula_la_LIBADD = $(LIB_KOFFICECORE) @@ -35,7 +35,7 @@ tip_DATA = tips messages: rc.cpp $(PREPARETIPS) >> rc.cpp - $(XGETTEXT) rc.cpp *.cc kformula_aboutdata.h -o $(podir)/kformula.pot + $(XGETTEXT) rc.cpp *.cpp kformula_aboutdata.h -o $(podir)/kformula.pot kde_services_DATA = kformulapart.desktop include $(top_srcdir)/admin/Doxyfile.am diff --git a/kformula/formulastring.cc b/kformula/formulastring.cpp similarity index 100% rename from kformula/formulastring.cc rename to kformula/formulastring.cpp diff --git a/kformula/fsparser.cc b/kformula/fsparser.cpp similarity index 100% rename from kformula/fsparser.cc rename to kformula/fsparser.cpp diff --git a/kformula/kfconfig.cc b/kformula/kfconfig.cpp similarity index 100% rename from kformula/kfconfig.cc rename to kformula/kfconfig.cpp diff --git a/kformula/kformula_doc.cc b/kformula/kformula_doc.cpp similarity index 100% rename from kformula/kformula_doc.cc rename to kformula/kformula_doc.cpp diff --git a/kformula/kformula_factory.cc b/kformula/kformula_factory.cpp similarity index 100% rename from kformula/kformula_factory.cc rename to kformula/kformula_factory.cpp diff --git a/kformula/kformula_view.cc b/kformula/kformula_view.cpp similarity index 100% rename from kformula/kformula_view.cc rename to kformula/kformula_view.cpp diff --git a/kformula/kformula_view_iface.cc b/kformula/kformula_view_iface.cpp similarity index 100% rename from kformula/kformula_view_iface.cc rename to kformula/kformula_view_iface.cpp diff --git a/kformula/kformulawidget.cc b/kformula/kformulawidget.cpp similarity index 100% rename from kformula/kformulawidget.cc rename to kformula/kformulawidget.cpp diff --git a/kformula/main.cc b/kformula/main.cpp similarity index 100% rename from kformula/main.cc rename to kformula/main.cpp diff --git a/kivio/kiviopart/KIvioDocIface.cc b/kivio/kiviopart/KIvioDocIface.cpp similarity index 100% rename from kivio/kiviopart/KIvioDocIface.cc rename to kivio/kiviopart/KIvioDocIface.cpp diff --git a/kivio/kiviopart/KIvioLayerIface.cc b/kivio/kiviopart/KIvioLayerIface.cpp similarity index 100% rename from kivio/kiviopart/KIvioLayerIface.cc rename to kivio/kiviopart/KIvioLayerIface.cpp diff --git a/kivio/kiviopart/KIvioMapIface.cc b/kivio/kiviopart/KIvioMapIface.cpp similarity index 100% rename from kivio/kiviopart/KIvioMapIface.cc rename to kivio/kiviopart/KIvioMapIface.cpp diff --git a/kivio/kiviopart/KIvioPageIface.cc b/kivio/kiviopart/KIvioPageIface.cpp similarity index 100% rename from kivio/kiviopart/KIvioPageIface.cc rename to kivio/kiviopart/KIvioPageIface.cpp diff --git a/kivio/kiviopart/KIvioStencilIface.cc b/kivio/kiviopart/KIvioStencilIface.cpp similarity index 100% rename from kivio/kiviopart/KIvioStencilIface.cc rename to kivio/kiviopart/KIvioStencilIface.cpp diff --git a/kivio/kiviopart/KIvioViewIface.cc b/kivio/kiviopart/KIvioViewIface.cpp similarity index 100% rename from kivio/kiviopart/KIvioViewIface.cc rename to kivio/kiviopart/KIvioViewIface.cpp diff --git a/kivio/kiviopart/Makefile.am b/kivio/kiviopart/Makefile.am index 39bae3fb0..8eb5a7ec0 100644 --- a/kivio/kiviopart/Makefile.am +++ b/kivio/kiviopart/Makefile.am @@ -30,17 +30,17 @@ libkiviocommon_la_SOURCES = kivio_canvas.cpp kivio_doc.cpp kivio_factory.cpp \ kivio_view.cpp kivio_map.cpp kivio_page.cpp kivio_dlg_pageshow.cpp \ kivio_zoomaction.cpp kivio_icon_view.cpp kivio_spawner_drag.cpp kivio_intra_stencil_data.cpp \ kivio_stackbar.cpp stencilbarbutton.cpp stencilbardockmanager.cpp kivio_grid_data.cpp \ - kivio_stencil_geometry_panel.cpp KIvioViewIface.skel KIvioViewIface.cc KIvioDocIface.skel \ - KIvioDocIface.cc KIvioMapIface.skel KIvioMapIface.cc KIvioPageIface.skel \ - KIvioPageIface.cc kivio_command.cc KIvioLayerIface.skel KIvioLayerIface.cc \ + kivio_stencil_geometry_panel.cpp KIvioViewIface.skel KIvioViewIface.cpp KIvioDocIface.skel \ + KIvioDocIface.cpp KIvioMapIface.skel KIvioMapIface.cpp KIvioPageIface.skel \ + KIvioPageIface.cpp kivio_command.cpp KIvioLayerIface.skel KIvioLayerIface.cpp \ kivioglobal.cpp kiviostencilsetaction.cpp kivioarrowheadaction.cpp \ - KIvioStencilIface.skel KIvioStencilIface.cc kiviodragobject.cpp kiviostencilsetinstaller.cpp \ + KIvioStencilIface.skel KIvioStencilIface.cpp kiviodragobject.cpp kiviostencilsetinstaller.cpp \ addstenciltool.cpp kde_module_LTLIBRARIES = libkiviopart.la libkiviopart_la_LDFLAGS = -avoid-version $(all_libraries) -module libkiviopart_la_LIBADD = libkiviocommon.la -libkiviopart_la_SOURCES = kivio_part_init.cc +libkiviopart_la_SOURCES = kivio_part_init.cpp dummy.cpp: echo > dummy.cpp diff --git a/kivio/kiviopart/kivio_command.cc b/kivio/kiviopart/kivio_command.cpp similarity index 100% rename from kivio/kiviopart/kivio_command.cc rename to kivio/kiviopart/kivio_command.cpp diff --git a/kivio/kiviopart/kivio_part_init.cc b/kivio/kiviopart/kivio_part_init.cpp similarity index 100% rename from kivio/kiviopart/kivio_part_init.cc rename to kivio/kiviopart/kivio_part_init.cpp diff --git a/koshell/Makefile.am b/koshell/Makefile.am index a8bd72883..927df925a 100644 --- a/koshell/Makefile.am +++ b/koshell/Makefile.am @@ -5,7 +5,7 @@ INCLUDES = $(KOFFICE_INCLUDES) $(all_includes) lib_LTLIBRARIES = tdeinit_LTLIBRARIES = koshell.la bin_PROGRAMS = -koshell_la_SOURCES = koshell_main.cc koshell_shell.cc iconsidepane.cpp koshellsettings.kcfgc +koshell_la_SOURCES = koshell_main.cpp koshell_shell.cpp iconsidepane.cpp koshellsettings.kcfgc koshell_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) koshell_la_LIBADD = $(LIB_KOFFICEUI) kde_kcfg_DATA = koshell.kcfg @@ -20,7 +20,7 @@ rc_DATA = koshellui.rc xdg_apps_DATA = koshell.desktop messages: rc.cpp - $(XGETTEXT) rc.cpp *.cc *.cpp -o $(podir)/koshell.pot + $(XGETTEXT) rc.cpp *.cpp *.cpp -o $(podir)/koshell.pot include $(top_srcdir)/admin/Doxyfile.am diff --git a/koshell/koshell_main.cc b/koshell/koshell_main.cpp similarity index 100% rename from koshell/koshell_main.cc rename to koshell/koshell_main.cpp diff --git a/koshell/koshell_shell.cc b/koshell/koshell_shell.cpp similarity index 100% rename from koshell/koshell_shell.cc rename to koshell/koshell_shell.cpp diff --git a/kounavail/Makefile.am b/kounavail/Makefile.am index 472fa1cc8..b0cba4ee3 100644 --- a/kounavail/Makefile.am +++ b/kounavail/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(KOFFICE_INCLUDES) $(all_includes) ## The part kde_module_LTLIBRARIES = libkounavailpart.la -libkounavailpart_la_SOURCES = kounavail.cc +libkounavailpart_la_SOURCES = kounavail.cpp libkounavailpart_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts libkounavailpart_la_LIBADD = $(LIB_KOFFICECORE) @@ -13,4 +13,4 @@ kdelnk_DATA = kounavail.desktop kdelnkdir = $(kde_servicesdir) messages: - $(XGETTEXT) *.cc -o $(podir)/kounavail.pot + $(XGETTEXT) *.cpp -o $(podir)/kounavail.pot diff --git a/kounavail/kounavail.cc b/kounavail/kounavail.cpp similarity index 100% rename from kounavail/kounavail.cc rename to kounavail/kounavail.cpp diff --git a/kplato/KPtViewIface.cc b/kplato/KPtViewIface.cpp similarity index 100% rename from kplato/KPtViewIface.cc rename to kplato/KPtViewIface.cpp diff --git a/kplato/Makefile.am b/kplato/Makefile.am index 42d936a97..146a789b0 100644 --- a/kplato/Makefile.am +++ b/kplato/Makefile.am @@ -6,56 +6,56 @@ INCLUDES = $(KOFFICE_INCLUDES) $(KOTEXT_INCLUDES) \ libkplatopart_la_SOURCES = \ kptsummarytaskgeneralpanelbase.ui \ - kptsummarytaskdialog.cc \ - kptsummarytaskgeneralpanel.cc \ - kptschedule.cc \ - kptappointment.cc \ + kptsummarytaskdialog.cpp \ + kptsummarytaskgeneralpanel.cpp \ + kptschedule.cpp \ + kptappointment.cpp \ kptcalendarlistpanel.ui \ - kptresourceappointmentsview.cc \ - kpttaskappointmentsview.cc \ - kptdoublelistviewbase.cc \ - kptaccountsviewconfigdialog.cc \ + kptresourceappointmentsview.cpp \ + kpttaskappointmentsview.cpp \ + kptdoublelistviewbase.cpp \ + kptaccountsviewconfigdialog.cpp \ kptaccountsviewconfigurepanelbase.ui \ - kptaccountsview.cc \ + kptaccountsview.cpp \ kpttaskcostpanelbase.ui \ - kpttaskcostpanel.cc \ - kptmilestoneprogresspanel.cc \ + kpttaskcostpanel.cpp \ + kptmilestoneprogresspanel.cpp \ kptmilestoneprogresspanelbase.ui \ - kptmilestoneprogressdialog.cc \ - kptaccount.cc kptaccountsdialog.cc kptaccountspanel.cc kptaccountspanelbase.ui \ - kptnode.cc kptproject.cc \ - kptrelation.cc kptresource.cc kpttask.cc \ - kptduration.cc kptfactory.cc kptpart.cc kptview.cc \ + kptmilestoneprogressdialog.cpp \ + kptaccount.cpp kptaccountsdialog.cpp kptaccountspanel.cpp kptaccountspanelbase.ui \ + kptnode.cpp kptproject.cpp \ + kptrelation.cpp kptresource.cpp kpttask.cpp \ + kptduration.cpp kptfactory.cpp kptpart.cpp kptview.cpp \ kptdurationwidget.ui relationpanel.ui\ - kptprojectdialog.cc kpttaskdialog.cc \ - kptmainprojectdialog.cc kptmainprojectpanel.cc kptmainprojectpanelbase.ui \ - kptganttview.cc kptresourcespanel.cc \ - kptpertview.cc kptpertcanvas.cc kptrelationdialog.cc \ - kptcanvasitem.cc kptprojectdialogbase.ui \ + kptprojectdialog.cpp kpttaskdialog.cpp \ + kptmainprojectdialog.cpp kptmainprojectpanel.cpp kptmainprojectpanelbase.ui \ + kptganttview.cpp kptresourcespanel.cpp \ + kptpertview.cpp kptpertcanvas.cpp kptrelationdialog.cpp \ + kptcanvasitem.cpp kptprojectdialogbase.ui \ resourcespanelbase.ui \ - kptresourceview.cc \ - kpttastderesourcespanelbase.ui kptrequestresourcespanel.cc \ - resourcedialogbase.ui kptresourcedialog.cc \ + kptresourceview.cpp \ + kpttastderesourcespanelbase.ui kptrequestresourcespanel.cpp \ + resourcedialogbase.ui kptresourcedialog.cpp \ kpttaskgeneralpanelbase.ui \ kpttasknotespanelbase.ui \ - kptdatetime.cc \ - kptcalendar.cc kptcalendaredit.cc kptcalendarlistdialog.cc \ - kptcalendarpanel.cc kptdatetable.cc \ - kptcalendarlistdialogbase.cc kptcalendareditbase.cc \ - kptcommand.cc KPtViewIface.cc KPtViewIface.skel \ - standardworktimedialogbase.ui kptstandardworktimedialog.cc \ - kptintervaleditbase.ui kptintervaledit.cc \ - kpttaskgeneralpanel.cc kpttaskdefaultpanel.cc \ + kptdatetime.cpp \ + kptcalendar.cpp kptcalendaredit.cpp kptcalendarlistdialog.cpp \ + kptcalendarpanel.cpp kptdatetable.cpp \ + kptcalendarlistdialogbase.cpp kptcalendareditbase.cpp \ + kptcommand.cpp KPtViewIface.cpp KPtViewIface.skel \ + standardworktimedialogbase.ui kptstandardworktimedialog.cpp \ + kptintervaleditbase.ui kptintervaledit.cpp \ + kpttaskgeneralpanel.cpp kpttaskdefaultpanel.cpp \ kptconfigtaskpanelbase.ui \ - kptconfigdialog.cc \ - kpttaskprogresspanel.cc kpttaskprogresspanelbase.ui \ - kpttaskprogressdialog.cc \ - kptconfig.cc kptcontext.cc \ - kptresourcesdialog.cc \ - kptwbsdefinitiondialog.cc kptwbsdefinitionpanel.cc kptwbsdefinitionpanelbase.ui \ - kptwbsdefinition.cc -## kptconfigbehaviorpanel.cc kptconfigbehaviorpanelbase.ui \ -## kptreportview.cc + kptconfigdialog.cpp \ + kpttaskprogresspanel.cpp kpttaskprogresspanelbase.ui \ + kpttaskprogressdialog.cpp \ + kptconfig.cpp kptcontext.cpp \ + kptresourcesdialog.cpp \ + kptwbsdefinitiondialog.cpp kptwbsdefinitionpanel.cpp kptwbsdefinitionpanelbase.ui \ + kptwbsdefinition.cpp +## kptconfigbehaviorpanel.cpp kptconfigbehaviorpanelbase.ui \ +## kptreportview.cpp # (this is not used) noinst_HEADERS = \ @@ -112,7 +112,7 @@ libkplatopart_la_METASOURCES = AUTO ## The tdeinit loadable module and executable tdeinit_LTLIBRARIES = kplato.la bin_PROGRAMS = -kplato_la_SOURCES = main.cc +kplato_la_SOURCES = main.cpp kplato_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts -ltdeprint kplato_la_LIBADD = $(KOFFICE_LIBS) @@ -124,7 +124,7 @@ rc_DATA = kplato.rc kplato_readonly.rc ## NOTE: extractattr needs