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
+(for details, see koffice/kspread/tests/testrunner.cpp).
A tester must be self-contained, it should not use any test data from
current document. If necessary, it must create (or hard code) the data by
@@ -739,7 +739,7 @@ would not cause tons of recompile.
When creating a new class, use namespace KSpread. Do not use KSpread prefix
anymore. Example: use KSpread::Foo instead of KSpreadFoo.
Also source file name should not contain kspread prefix anymore, i.e.
-foo.h and foo.cc (but not kspread_foo.h and
-kspread_foo.cc) for the above example.
+foo.h and foo.cpp (but not kspread_foo.h and
+kspread_foo.cpp) for the above example.