Kurt Hindenburg
69dcbd3406
astyle fixes - spaces/{
14 years ago
Jekyll Wu
65614265c8
Delete the useless 'Transparency=' entries when saving colorscheme
14 years ago
Jekyll Wu
001a353a46
Remove code for per-color transparency
...
That per-color transparency looks like a heritage of the pesudo
transparency in the KDE3 era. It is basically not used in current code.
14 years ago
Jekyll Wu
0aa98a4f97
Prefer operator= to the attach() method
14 years ago
Jekyll Wu
cc4564c311
Move related code closer
14 years ago
Kurt Hindenburg
5b083640ce
whitespace and style fixes
...
Use 'git diff -w --ignore-all-space' to see non-whitespace changes
14 years ago
Kurt Hindenburg
397e92a9a7
-Wshadow fixes
14 years ago
Jekyll Wu
25b8b5353c
Trivial style change: remove extra blank lines
14 years ago
Jekyll Wu
f4fb943132
Most of time we only need <KLocalizedString> instead of <KLocale>
14 years ago
Jekyll Wu
328aeac8a8
ColorScheme should read and write the same "Transparent" entry consistenly
...
It is a little surprising this inconsistency of reading "Transparent"
and writing "Transparency" has been there for a few years. That fact
implies that entry might by totally useless in current code.
Need furthur investigation.
14 years ago
Jekyll Wu
2f7a0965f5
Move class ColorSchemeMananger into its own file
...
class KDE3ColorSchemeReader is also moved since it is supposed to an
compatibility helpr of which class ColorScheme does not need to know,
and eventualy it should be removed
14 years ago
Jekyll Wu
328dcabe06
More consistency and more constness
14 years ago
Jekyll Wu
5a4fdd2f58
More constness
14 years ago
Jekyll Wu
846c321ebb
Simplify the interface of ColorScheme::writeColorEntry()
...
This basically make it more like its counterpart ColorScheme::readColorEntry().
14 years ago
Jekyll Wu
9e2740db6e
Trivial readability fix
14 years ago
Jekyll Wu
41d2f5f261
Move code around
14 years ago
Jekyll Wu
6f2496a980
Less magic number
14 years ago
Jekyll Wu
0331f97b60
Another try of cleaning up of #includes
14 years ago
Jekyll Wu
6b6a5944f6
Prefer foreach(...) over while(...) for simplicity and readability
14 years ago
Kurt Hindenburg
f94c82e6b0
Apply astyle-kdelibs
...
Over the years, the coding style is all over the place.
Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
14 years ago
Kurt Hindenburg
4e5586f5c0
Revert "Add more i18nc KUIT context."
...
This reverts commit 05f8cc339f .
The issue is that some of the color schemes are in the KDE3 format
and some in KDE4. This close to 4.8, I'll revert and fix later.
BUG: 286205
15 years ago
Jekyll Wu
80ec2d216b
Delete some kDebug messages
15 years ago
Jekyll Wu
330de6c6f4
Fix some spelling problems
15 years ago
Jekyll Wu
cf92cece2b
Remove leading white spaces in blank lines to make them really empty
15 years ago
Kurt Hindenburg
05f8cc339f
Add more i18nc KUIT context.
15 years ago
Kurt Hindenburg
6ac741878f
Add more i18nc KUIT context.
15 years ago
Jekyll Wu
607e2d44d0
Define the default debug area and no more "kDebug(1211)".
15 years ago
Jekyll Wu
de61d40c63
Include Qt headers in the form of "#include <Module/Class>"
15 years ago
Kurt Hindenburg
087f67e4fc
Allow an image to be set as the background in the terminal.
...
Restore the KDE3 option to have a background image in each session.
Patch by Alexandre Becoulet <diaxen@free.fr>
BUG: 157882
FIXED-IN: 4.8
15 years ago
Kurt Hindenburg
c3c643c5bf
s/Warning/Debug - no reason to display this message as a warning.
15 years ago
Kurt Hindenburg
6b2440e2c2
comment out kDebugs - change some to kWarnings
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1148447
16 years ago
Kurt Hindenburg
5543703daa
Revert this until I figure how to handle translagedColorNameForIndex returns
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1086529
16 years ago
Kurt Hindenburg
f0312db1cf
Add i18n context to strings
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1086507
16 years ago
Friedrich W. H. Kossebau
1cf6ef9365
changed: made static const data symbols really static const
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1080302
16 years ago
Kurt Hindenburg
8aa7acde0b
Use QLatin1String instread of const char *
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=952497
17 years ago
Andrew Coles
f12350c064
Simple minor change: replace
...
QString foo;
foo.replace("bar", QString());
with:
foo.remove("bar");
Is identical (the API docs note this too) but eliminates a redundant QString construction.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=930634
17 years ago
Robert Knight
28b84379b2
Make the 'bold' property for each color entry in the current terminal palette a tri-state which allows text drawn in that color to be forced to bold, non-bold (normal) or to use the current formatting specified by the terminal application.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863401
18 years ago
Robert Knight
ea624b4598
Fix assert failure if a KDE 3 color scheme called ".schema" is found. Print a warning instead.
...
18 years ago
Robert Knight
33ccc17c86
Fix assert failure when handling invalid KDE 3 color scheme data files.
...
18 years ago
Robert Knight
5d9997446e
Update copyright year to 2008. Remove '(C)' from copyright lines.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800631
18 years ago
Robert Knight
971a5315f9
Remove debugging messages.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800628
18 years ago
Robert Knight
75ac16607a
Replace qWarning() with kWarning(), which provides additional information about the context of the warnings.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754559
18 years ago
Robert Knight
46cfc108d3
* Replace all usage of qDebug() with kDebug(), since kDebug() provides information about
...
18 years ago
Robert Knight
8171d4872f
* Do not remove color schemes / key bindings from list if the
...
call to delete the file fails.
* Make deletion of color schemes, key bindings and profiles
atomic operations from the point of view of outside classes.
* Fix various warning produced by the -Woverloaded-virtual flag.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=746168
19 years ago
Robert Knight
9863b5508b
Bug fixes for the Appearance and Key Bindings tabs in the
...
19 years ago
Andreas Pakulat
f412e5b5aa
Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
...
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=721704
19 years ago
Matthew Woehlke
9b9eab95e1
ColorScheme.cpp: don't use deprecated KColorScheme ctor; need to decide how Konsole wants to handle state effects
...
ViewContainer.cpp: use new KColorScheme ctor, correctly
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=709227
19 years ago
Robert Knight
554d6bb83a
Add a simple one-check box option to the color scheme editor to vary the background color randomly for each tab. The results are not great yet because the algorithm which randomizes the colors needs work.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=698080
19 years ago
Robert Knight
75c7d9919e
Begin work on an accessible color scheme which uses the system-wide colors provided by KColorScheme. Changed the default color scheme to 'Linux' because (a) it was the most popular amongst users in the survey and (b) having used it for a couple of months in KDE 4 it is much more comfortable to use for long periods of use than the glare of a white background. Updated TODOs with a few bugs that need fixing.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=690421
19 years ago
Robert Knight
808d9ed686
Set the COLORFGBG environment variable in new sessions to indicate to terminal programs whether the terminal has a light or dark background. This allows programs such as Vim to automatically pick appropriate colors when a Konsole session has a light or dark background. The value of 'COLORFGBG' is not strictly accurate, instead it approximates the current color scheme as 'black on white' or 'white on black' - but this covers the most important need'
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=686658
19 years ago