fix and cleanup copyright notices

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320467 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
template code only used in cource file

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320468 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
split out character traits

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320469 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
make line ending private

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320470 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
add comment about template chain

and more small cleanups and coding style changes

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320471 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
add file with character traits

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320472 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
more inlining, use compiler generated empty ctors

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320473 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
r is a reader

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320474 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
coding style

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
use UTF8 for as file encoding

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320476 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: one clear is enough

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320477 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: resizing < Prealloc is cheap

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320478 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: ::resize()  also checks size()

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
set null at the end of read bytes

this fixes a bug in case of reading bytes different to the argument

coding sytle

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: rename _bufferedS/N  and make them private

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320481 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Don't store rows but byte read in buffer

set buffer values in readFromFile()

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320482 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: should read from the file

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320483 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: use begin()/bytesRead()

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320484 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: move member function to source file

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320485 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
FileBuffer: -1 is gould enough to indicate an invalid value

git-svn-id: svn+ssh://svn.kde.org/home/kde/branches/work/kst/portto4/kst@1320486 283d02a7-25f6-0310-bc7c-ecb5cbfe19da