[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    KSpread source file renaming
From:       "Robert Knight" <robertknight () gmail ! com>
Date:       2006-07-09 12:53:31
Message-ID: 13ed09c00607090553w69de9487y63d434cf0c5975c2 () mail ! gmail ! com
[Download RAW message or body]

Hello,

After a discussion on IRC yesterday, I am proposing to rename the
KSpread source files from the current "kspread_class_name.cc" format
to a ClassName.cpp format, dropping the "kspread_" prefix, using
CamelBack for the casing and .cpp for the file extension (and .h for
header files).

The reasons are:

1)  So that the source file names match the names of the classes they
contain.  KSpread uses namespaces so the class names internally don't
have any specific prefix (Stefan did this conversion between 1.4 and
1.5)

2)  For improved readability when looking at a list of file names, and
also to make the file names shorter.

3)  For consistency with the rest of KOffice (ie. using CamelBack
casing and the .cpp file format).

This won't require any changes to the source code as the classes were
renamed to the ClassName format for the 1.5 release - although it
would probably be a good idea to gradually move some larger classes
which are still in source files of a different name into new files.
Currently there are 4 particular source files which account for around
20% of the code - which leads to long compile times when they are
modified.

Are there any objections to this proposal or other comments?

Regards,
Robert.
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic