Aaron Seigo
e8b50316e4
consistency and readability: get rid of static file methods
...
the screen related static methods are just as well served by being
class members: they aren't used elsewhere, were being passed the same
internal datamembers repeatedly, etc.
also move them below the constructor to where they generally make
more contextual sense.
12 years ago
Aaron Seigo
f2a6cc67a7
get rid of dptr
...
this is not a library, the overhead is unneeded.
12 years ago
Aaron Seigo
92c61bc967
readability++: cliOptions and <optionName>Option
...
parser says nothing about what it does. it could be a json parser.
crash, dgb, win, etc says the wrong thing: they don't communicate
that they are options
12 years ago
Aaron Seigo
8336c30ae2
remove some debugging
12 years ago
Aaron Seigo
b9fbc59d20
make just one plugin out of both components
12 years ago
Aaron Seigo
903b83dd06
add a scriptengine to the root context of the interactive console QML
12 years ago
Aaron Seigo
41cfb89e97
make evaluateScript a slot
...
facilitates calling it from QML
12 years ago
Aaron Seigo
9d9acc9c06
desktopscriptengine is not longer needed
12 years ago
Aaron Seigo
b50dbfdbf3
remove include that is no longer there
12 years ago
Aaron Seigo
c6d94bd4e4
KTextEditor no longer used here
12 years ago
Aaron Seigo
f75fd4b675
make interactiveconsole a qml component
12 years ago
Aaron Seigo
bfbca8cc9e
move the widgetexplorer qml component into components
12 years ago
Aaron Seigo
25771ea19c
rely on qml to create the interactive console interface
12 years ago
l10n daemon script
697651faa6
SVN_SILENT made messages (.desktop file)
12 years ago
Aaron Seigo
0234bdcbb7
include 'plasmaquick' directly in the includes
...
makes it a lot easier to track where the problem spots are with a
`grep plasmaquick`
12 years ago
Aaron Seigo
6e81478574
nothing uses dialog now!
12 years ago
Aaron Seigo
a4bd55b676
rename the alternativesdialog* files to anteraltiveshelper.*
12 years ago
Aaron Seigo
2db8cd6373
make the alternatives *dialog* a helper
...
this places the responsibility on the shell package and removes
the assumption that the alternatives UI is a dialog that is placed
alongside the applet. that, my friends, is a desktop form factor
assumption.
12 years ago
Aaron Seigo
f4ab2f16bc
use the appletalternativesui package path
12 years ago
Aaron Seigo
fb0d0dec90
always set the first view to the new primary
...
even if we don't have a view on the old primary, this still needs
to be set
12 years ago
Aaron Seigo
f41da61096
count was used 10 times, size 6 times; count wins and gets all 16
12 years ago
Aaron Seigo
345b9441e1
back out this part of the clean_shellcorona merge
...
addOutput checks for being enabled and if the pointer is null.
this method is also only called due to a connection made in
addOutput
12 years ago
Aaron Seigo
5454806953
more style fixes
12 years ago
Aaron Seigo
1288167d6d
the view member is not used
12 years ago
Aaron Seigo
ac6c11414f
--deadCode;
12 years ago
Marco Martin
15a443d977
remove the opengles code for now
...
it gives problems on some drivers
the correct approach will probably be to change the opengl profile based on drivers
12 years ago
Marco Martin
e6c9d6b5fe
remove dead code
...
this file is from plasma1 and wasn't even built
12 years ago
Marco Martin
9809bdffbe
start of a plasma5 rewrite of plasma-windowed
...
still some serious problems in restoring the config of a known applet tough
12 years ago
Aaron Seigo
e03f076687
non-recursive version that doesn't march panels to the last screen
...
rather than implementing it as a (harder to read) recursive
function, simply start from the second-to-last item in the list and
march backwards until it hits the index being removed, moving the
panels and desktop forward as it goes.
previously it was starting from the index being removed, moving
the panels to the next screen, then processing the next screen
at which point all the panels on idx would now be on idx+1's screen
and they'd get pushed forward again. on a 4 screen system with
panels on each i bet that was fun to watch.
this should be both less buggy and easier to comprehend code.
12 years ago
Aaron Seigo
3dbe72513d
instead of tracking an index, act directly on the item
...
cleaner, easier to read code
12 years ago
Aaron Seigo
a9278ba761
only add the output if it is enabled
12 years ago
Aaron Seigo
33db4c5cb0
clean ups of dead code and code style violations
12 years ago
Aaron Seigo
437da9e337
coding style fixes
12 years ago
Aaron Seigo
2fa2a17aae
--deadcode;
12 years ago
Aaron Seigo
2a592e7969
put the invariant checks into a debug only block
...
they do nothing if not making a debug build, other than to create
compile time warnings
12 years ago
Aaron Seigo
f720c8b714
removeScreen -> remove(DesktopView*)
...
better name, simpler implementation
12 years ago
Aaron Seigo
e2161db24d
--warnings;
12 years ago
Aaron Seigo
99c7f28d4c
--warnings;
12 years ago
Martin Klapetek
3fd5946163
[shell/osd] Fix an icon filename typo
12 years ago
Martin Klapetek
f8ca775944
[shell/osd] Set the new keyboad layout icon
12 years ago
Marco Martin
0535a16161
restore "add panel" context menu functionality
12 years ago
Marco Martin
3ab4aef9d7
finish support of layout templates
...
no warning message about unknown service anymore
panel can be loaded from a template again, so the
"add default panel" option can get reimplemented now
12 years ago
Aleix Pol
9da8d520d2
Loop through the outputs to figure out what is the primary output
...
The primaryOutput method in KScreen is not consistent with Output::isPrimary
and made plasma shell become a bit inconsistent too.
Loop through the outputs for now, until we've got a better solution.
BUG: 338109
CCBUG: 335710
12 years ago
Aaron Seigo
2d5876ca74
also check if is a power supply
...
commented inline why this is so
12 years ago
Aaron Seigo
cf41f1b218
--unusedDependency;
12 years ago
Aaron Seigo
b1d255d6c3
only care about primary batteries
...
REVIEWED-BY: Marco Martin
12 years ago
Marco Martin
030f536383
use the proper l&f package, with LookAndFeelAccess
...
still not enough but a part of 337757
CCBUG:337757
12 years ago
Marco Martin
1e45e7ddb6
set cursor theme too
...
requires a reboot, lnf kcm has to be moved to plasma-desktop to be able to have all the needed code from the otehr kcms
12 years ago
Marco Martin
766f7868b5
prefix the defaults with the config file name
...
to be sure to avoid any future collision
12 years ago
l10n daemon script
5386b47a87
SVN_SILENT made messages (.desktop file)
12 years ago