Sebastian Kügler
0822e4cb9e
Applet::globalShortcut becomes QKeySequence
...
- Port away from KShortcut
- Use QKeySequence instead of QShortcut (which might be the obvious
choice, for two reasons:
- QKeySequence doesn't require QWidgets
- It's really all we need
This reduces KShortcut and QShortcut usage in plasma-framework to zarro.
2013-07-10 02:33:28 +02:00
Sebastian Kügler
946a800a7a
Replace QAction with KAction in containment
...
With this commit, plasma-framework is free from (direct) usage of
KAction. \o/
Removes any left-over KAction includes and fw-declarations.
2013-07-10 01:59:39 +02:00
Sebastian Kügler
fc2afcb9a1
Port global applet shortcut from KAction to QAction
...
- use QAction instead of KAction
- use KGlobalAccel for global shortcut registration and query
2013-07-10 01:45:41 +02:00
Marco Martin
13045faffa
rename ItemStatus
2013-05-14 20:49:50 +02:00
Marco Martin
7761a995f2
rename ImmutabilityType
2013-05-14 20:27:32 +02:00
Marco Martin
812b9a06ab
get rid of Plasma::Location
2013-05-14 18:27:27 +02:00
Marco Martin
9b9fbf6eb9
get rid of Plasma::FormFactor
2013-05-14 18:19:33 +02:00
Marco Martin
ad2fe77745
get rid of Plasma::Constraint
2013-05-14 18:08:58 +02:00
Marco Martin
e07600a83f
Put all Plasma emums in a Types class
...
This makes possible to use them directly frmo QML
as a minus, is not pretty and requires tons of search and replace in old
c++ code
2013-05-10 19:29:13 +02:00
Marco Martin
fd97160327
remove the singleton usage from everywhere
2013-03-12 16:29:04 +01:00
Aaron Seigo
224946e394
less jumping around and desktop assumptions
2013-03-11 12:49:59 +01:00
Marco Martin
90cf52e6c6
remove shortcutsChanged()
2013-03-04 16:50:01 +01:00
Marco Martin
f4de55af67
use KAction from kde4support
...
it should buld again, usingkaction as type for kactioncollection
2013-03-04 15:46:47 +01:00
Marco Martin
c3924c75b7
remove createConfigurationInterface
...
configuration interface stuff is done right now in the ConfigView class, right now in the qml scriptengine (may be moved to the shell eventually)
2013-03-01 11:36:58 +01:00
Aaron Seigo
9478edaa05
lazy create the config loader on demand, reset when appropriate
2013-02-26 14:50:41 +01:00
Marco Martin
3a5e5f931b
close window on ok/cancel pressed
...
delete window on close
2013-02-26 12:47:08 +01:00
Aaron Seigo
9ab4acd23a
get rid of constructors which take QVariantList args as much as possible
...
was used to pass in URLs to construct the applet with ... which is
not the nicest of APIs as it is entirely undocumentable
2013-02-25 18:08:12 +01:00
Aaron Seigo
1649761e0d
remove enableAction API; just use the KActionCollection
2013-02-25 16:43:06 +01:00
Aaron Seigo
c9ff91fb0f
expose the KActionCollection instead of wrapping its API
2013-02-25 16:31:26 +01:00
Aaron Seigo
6122c2d2d1
get rid of associated widgets -> one less QWidget usage!
...
was still being used for global shortcuts .. turns out that isn't
necessary
2013-02-25 16:19:16 +01:00
Marco Martin
cfe6a40d3d
ad a stub config ui
...
the config ui layout will be decided from the corona.
the desktop one will end up having desktop components
still missing:
* binding to plasmoid object
* way close the dialog
* use ok/apply/cancel
* how to implement difference between ok to apply and instant apply?
2013-02-22 15:10:55 +01:00
Marco Martin
2686bed090
remove unused includes
2013-02-19 13:00:57 +01:00
Sebastian Kügler
7dfe957e66
The Big Move
...
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.
Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00