Commit graph

11206 commits

Author SHA1 Message Date
Martin Gräßlin
2ff2164ba0 [kcmdeco] Use KConfigLoader instead of Plasma::ConfigLoader 2013-10-01 14:05:58 +02:00
Martin Gräßlin
56722972a7 [kcmdeco] Adjust to kdecoration changes
There are no unstable classes any more.
2013-10-01 14:05:58 +02:00
Martin Gräßlin
8681c69d60 [kcmdeco] slots/signals -> Q_SLOTS/Q_SIGNALS 2013-10-01 14:05:58 +02:00
Martin Gräßlin
8055cde910 [aurorae] Plastik theme transits to QtQuick 2 2013-10-01 14:05:58 +02:00
Martin Gräßlin
fbe5a497b4 [aurorae] Fix locating the config file of aurorae themes
Installed to GenericDataLocation and not DataLocation.
2013-10-01 14:05:58 +02:00
Martin Gräßlin
cd6fadc84c [aurorae] Change QML for themes to QtQuick 2
Needed for getting proper previews in the QtQuick 2 based kcm.
Obviously this breaks Aurorae as Aurorae is not yet migrated to
QtQuick 2. But there is no more broken than broken anyway.
2013-10-01 14:05:50 +02:00
Martin Gräßlin
97572f3dbb [kcmtabbox] kcmshell4 -> kcmshell5 2013-10-01 07:27:21 +02:00
Martin Gräßlin
ea0233df3b Welcome back KCM to configure Alt+Tab and friends 2013-10-01 07:17:27 +02:00
Martin Gräßlin
ffd1bb1dec [kcmtabbox] Adjust target link libraries to get it compile again 2013-10-01 07:16:56 +02:00
Martin Gräßlin
db89652175 [kcmtabbox] Preview goes QtQuick
QQuickView instead of a QDeclarativeView. As background a white element
is used.
2013-10-01 07:15:11 +02:00
Martin Gräßlin
06033f1263 [kcmtabbox] Fix includes 2013-09-30 15:13:14 +02:00
Martin Gräßlin
81301d42ac [kcmtabbox] slots -> Q_SLOTS 2013-09-30 15:12:36 +02:00
Martin Gräßlin
5c23434b6d [kcmtabbox] Adjust to new API
* no componentData()
* no insertCatalog()
2013-09-30 15:11:34 +02:00
Martin Gräßlin
a560147d70 [kcmtabbox] KIcon -> QIcon::fromTheme 2013-09-30 15:09:07 +02:00
Martin Gräßlin
3a54d6bd42 [kcmtabbox] Adjust to new global shortcut handling
* KAction -> QAction
* init of KActionCollection
2013-09-30 15:07:49 +02:00
Martin Gräßlin
2baa345d10 [kcm-tabbox] Use a QQuickPaintedItem for the ThumbnailItem 2013-09-30 15:02:58 +02:00
Sebastian Kügler
ab08d3da9b Don't look for plasma headers under KDE 2013-09-30 11:32:16 +02:00
Martin Gräßlin
4ddaea4824 Welcome back KWin Scripts KCM!
Currently not of much use as installing a local script is disabled and
GHNS dialog seems broken.
2013-09-30 11:19:36 +02:00
Martin Gräßlin
c118b1147d [kwinscripts] Adjust target link libraries for kwinscripts KCM 2013-09-30 11:19:02 +02:00
Martin Gräßlin
2e47f34398 [kwinscripts] Disable installing a local script for the moment
Plasma::Package changed in a way that it's not just a trivial change
to get it compile again.
2013-09-30 11:17:40 +02:00
Martin Gräßlin
469a0c255c [kwinscript] Adjustments to obsoleted members
* KAboutData
* removing insert catalog
* KIcon -> QIcon::fromTheme
* missing moc
2013-09-30 11:16:36 +02:00
Martin Gräßlin
5bdb960413 [kwinscripts] kcmshell4 -> kcmshell5 2013-09-30 11:14:33 +02:00
Martin Gräßlin
6ada27e294 [kwinscripts] slots -> Q_SLOTS 2013-09-30 11:14:05 +02:00
Martin Gräßlin
2017f82670 [kwinscripts] KFileDialog -> QFileDialog 2013-09-30 11:13:38 +02:00
Martin Gräßlin
3b07653613 Make more methods in kwin/utils.cpp available to the rules KCM
Needed as the kcm includes cursor.

Sorry Eike ;-)
2013-09-30 10:56:56 +02:00
Martin Gräßlin
098b8ef75d Welcome back kwinrules KCM! 2013-09-30 09:57:25 +02:00
Martin Gräßlin
98b5f64c38 [kwinrules] Adjust linking of kwinrules KCM to Qt5/KF5 2013-09-30 09:56:35 +02:00
Martin Gräßlin
dd0537fd49 [kwinrules] kcmshell4 -> kcmshell5 2013-09-30 09:55:38 +02:00
Martin Gräßlin
689b221583 [kwinrules] workaround for assert in QFormLayout 2013-09-30 09:55:13 +02:00
Martin Gräßlin
5b1f4a4131 [kwinrules] Use KWin::Cursor to map Qt::CursorShape to an X cursor
Needed for grabbing the pointer.
2013-09-30 09:53:56 +02:00
Martin Gräßlin
7d21d612fe [kwinrules] Use native event filter for mouse button release detection
The event filtering on Qt level does not work any more. The information
is not updated properly. Grabbing the mouse through QWidget resets the
cursor shape to the default shape, so it cannot be used.

As we don't want Qt to ever see the events it's a good idea to use a
native event filter to filter the events away before they are delivered
to Qt.

To simplify the handling the grabber widget is put into a QScopedPointer.
2013-09-30 09:53:01 +02:00
Martin Gräßlin
3956c73c53 [kwinrules] KIcon -> QIcon::fromTheme 2013-09-30 08:44:57 +02:00
Martin Gräßlin
6dd47092f7 [kwinrules] drop componentData() 2013-09-30 08:44:16 +02:00
Martin Gräßlin
e2afaacdb6 [kwinrules] Adjust to new KAboutData 2013-09-30 08:43:40 +02:00
Martin Gräßlin
e8e8c210b6 [kwinrules] KFileDialog -> QFileDialog 2013-09-30 08:43:09 +02:00
Martin Gräßlin
5eb7a22ef8 [kwinrules] slots/signals -> Q_SLOTS/Q_SIGNALS 2013-09-30 08:01:46 +02:00
Martin Gräßlin
a957eedc61 Welcome back kwinoption config modules
* Actions
* Advanced
* Focus
* Moving
* Window Behavior
2013-09-30 07:32:53 +02:00
Martin Gräßlin
acb02be357 [kwinoptions] kcmshell4 -> kcmshell5 2013-09-30 07:32:23 +02:00
Martin Gräßlin
d4735333d5 [kwinoptions] Adjust target link libraries for Qt5/KF5 2013-09-30 07:31:40 +02:00
Martin Gräßlin
65516b64b7 [kwinoptions] Add missing includes 2013-09-30 07:30:06 +02:00
Martin Gräßlin
4413859084 [kwinoptions] Drop componentData() 2013-09-30 07:29:38 +02:00
Martin Gräßlin
e1e76f9e17 [kwinoptions] Port KAboutData
Not sure whether it's still useful given the plugin data, but it's such
a nice who's who of the first KDE developer generation.
2013-09-30 07:27:48 +02:00
Martin Gräßlin
d70ad3b275 [kwinoptions] slots -> Q_SLOTS 2013-09-30 07:26:46 +02:00
Martin Gräßlin
62a0a08a0e Welcome back KWin screen edges KCM
Screenedges KCM is adjusted to build against Qt5. Most notable
changes:
* no longer links kworkspace as ScreenPreviewWidget got moved into
  the KCM
* ui file is adjusted to not crash (see git log of kcmdesktop)
2013-09-29 10:27:48 +02:00
Martin Gräßlin
a4a436807f Make the ScreenPreviewWidget useable again
Removes the functionality for Plasma::Wallpapers as that doesn't exist
any more and is not needed by the Screenedges KCM. The KCM still has
way too many functionality, but that can stay for the moment as it's
probably best to reimplement the monitor and the actions in QML.
2013-09-29 10:27:48 +02:00
Martin Gräßlin
fc41374111 Move ScreenPreviewWidget from kworspace libs to KWin's screenedges kcm
The ScreenPreviewWidget doesn't make much sense any more for the general
useage as it's not QML based and thus not suited for any usage in Plasma.
This means that features like previewing the Plasma wallpaper cannot
work any more.

The Widget is only used in a few KCMs (KDM, Screensavers, Screenedges).
Currently we expect that KDM and legacy X Screensavers won't make it into
the next release, it makes sense to just move the widget to screenedges
where it's still useful.

This change has been discussed with notmart.
2013-09-29 10:27:47 +02:00
Martin Gräßlin
5d185a9adc Welcome back to kcmkwin - so far only desktop
Note to people compiling from source: it's only the default of the
cmake variable which got changed. You have to delete the variable
from the cache to get this change.
2013-09-27 13:45:25 +02:00
Martin Gräßlin
f8e4dcc115 Explicitly set verticalSpacing in QFormLayouts of kcm kwindesktop
Without a set verticalSpacing in QFormLayout the code hits an assert
in Qt.
2013-09-27 13:43:52 +02:00
Martin Gräßlin
72c76ce423 Port KCMDesktop to Qt 5 2013-09-27 13:43:15 +02:00
Thomas Lübking
22f0e62cb8 Merge branch 'KDE/4.11' 2013-09-26 19:44:35 +02:00