Martin Gräßlin
1c2f27945c
Adjust kcmkwins to new ki18n
...
Define the TRANSLATION_DOMAIN in each of the kcms and use
ki18n_wrap_ui.
2014-05-05 08:03:55 +02:00
l10n daemon script
7553c411c2
SVN_SILENT made messages (.desktop file)
2014-05-03 08:32:58 +00:00
l10n daemon script
2f28437e24
SVN_SILENT made messages (.desktop file)
2014-05-02 08:51:14 +00:00
l10n daemon script
2838a9b606
SVN_SILENT made messages (.desktop file)
2014-04-29 10:12:33 +00:00
l10n daemon script
15aa971aab
SVN_SILENT made messages (.desktop file)
2014-04-29 04:54:44 +00:00
Martin Gräßlin
ee20101142
Fix deprecated warnings for KAboutData
...
Ctor with catalog name got deprecated, use ctor without it.
2014-04-28 17:11:20 +02:00
Aleix Pol
36e93e9c5a
Adapt to changes in KDEInstallDirs
...
Plugins of non kf5 frameworks are not in a kf5/ subdir anymore
REVIEW: 117838
2014-04-28 15:36:44 +02:00
l10n daemon script
e1f418f4d0
SVN_SILENT made messages (.desktop file)
2014-04-28 09:00:35 +00:00
l10n daemon script
f44575ddbf
SVN_SILENT made messages (.desktop file)
2014-04-28 05:16:52 +00:00
l10n daemon script
69c3289c18
SVN_SILENT made messages (.desktop file)
2014-04-27 21:02:43 +00:00
l10n daemon script
e6db000065
SVN_SILENT made messages (.desktop file)
2014-04-04 05:29:27 +00:00
l10n daemon script
eef56c98b2
SVN_SILENT made messages (.desktop file)
2014-04-03 05:10:09 +00:00
Martin Gräßlin
704e42163d
[kwin] Add missing includes
...
Were missing if built stand-alone.
2014-03-18 14:37:01 +01:00
Martin Gräßlin
18a37d7ee8
[kwin] Fix includes of kde4support headers
...
* drop unused headers
* use QExplicitlySharedDataPointer instead of KSharedPointer
* drop KDE/ from includes
2014-03-18 14:34:36 +01:00
Martin Gräßlin
9874187099
[kwin] Add a KWIN_SOURCE_DIR to the CMakeLists.txt
...
This is used to get to KWin's sources instead of
KDEBASE_WORKSPACE_SOURCE_DIR.
2014-03-18 12:08:14 +01:00
Martin Gräßlin
dbf2218338
[kwin] kde4_add_ui_files -> qt5_wrap_ui
...
Less deprecated CMake usage.
2014-03-18 11:06:56 +01:00
Martin Gräßlin
dc58fc2c32
[kwin/kcms] Another round of kdialog removals
2014-03-18 09:11:07 +01:00
Martin Gräßlin
8e4f8f0d9c
[kwin/kcms] Only link KCMUtils where needed
...
In some KCMs we don't use anything from KCMUtils but just KCModule
which is in ConfigWidgets.
2014-03-18 07:41:30 +01:00
Aleix Pol
c72e519d9c
Remove KDE/ prefix in include directories
...
It's unneeded and deprecated since KF5.
2014-03-17 16:24:10 +01:00
Martin Gräßlin
f74df28450
[kwin] Use KPluginTrader and json metadata to find KDecorations
...
* A KDecoration needs to include json metadata
* A KDecoration needs to be installed to kwin/kdecorations
* Aurorae and Oxygen adjusted
* kcmdeco locates all decorations through the KPluginTrader
* libkdecoration uses KPluginTrader to find the plugin
* config plugins also need to include json metadata with
X-KDE-PluginInfo-Name being the same as the decoration
* config plugins need to get installed to kwin/kdecorations/config
* kcmdeco locates the config plugin for a deco through the name
and KPluginTrader
REVIEW: 116765
2014-03-17 07:41:14 +01:00
l10n daemon script
4d9c6af719
SVN_SILENT made messages (.desktop file)
2014-03-14 07:37:21 +00:00
Martin Gräßlin
a51cbf7b9e
[kwin/kcmdeco] Show an information if close window by dbl click gets activated
...
The option changes the behavior of the menu button, thus we should point
out to the user that the behavior changes.
This is only done for Auroae configurations as other decorations have to
take care about it themselves.
CCBUG: 331462
REVIEW: 116715
2014-03-12 07:33:47 +01:00
Martin Gräßlin
9fc3aabc66
[kwin/aurorae] Default to no close on double click menu button
...
To increase consistency with other decorations and because it changes
the behavior of the menu button in an unexpected way we default to
double click menu button doesn't close the window.
BUG: 331462
FIXED-IN: 5.0
REVIEW: 116716
2014-03-11 15:46:21 +01:00
Martin Gräßlin
2675b5d4e7
Merge branch 'KDE/4.11'
...
Conflicts:
CMakeLists.txt
kcontrol/screensaver/screensaver.desktop
kdm/kfrontend/themes/elarun/KdmGreeterTheme.desktop
khotkeys/kcm_hotkeys/kcm_hotkeys.cpp
kinfocenter/main.cpp
kscreensaver/kblank_screensaver/blankscrn.cpp
kscreensaver/krandom_screensaver/random.cpp
kstyles/oxygen/config/main.cpp
kstyles/oxygen/demo/main.cpp
ksysguard/gui/ksysguard.cpp
kwin/clients/oxygen/demo/main.cpp
kwin/kcmkwin/kwincompositing/kwincompositing.desktop
kwin/tabbox/qml/clients/text/metadata.desktop
kwin/tabbox/qml/clients/window_strip/metadata.desktop
libs/plasmagenericshell/widgetsexplorer/package/metadata.desktop
plasma/desktop/applets/pager/package/metadata.desktop
plasma/desktop/shell/activitymanager/package/metadata.desktop
plasma/desktop/shell/data/layouts/org.kde.plasma-desktop.defaultPanel/contents/layout.js
plasma/desktop/shell/desktopcorona.cpp
plasma/desktop/shell/main.cpp
plasma/desktop/toolboxes/plasma-toolbox-desktoptoolbox.desktop
plasma/desktop/toolboxes/plasma-toolbox-paneltoolbox.desktop
plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml
plasma/generic/applets/systemtray/protocols/fdo/fdographicswidget.cpp
plasma/generic/applets/systemtray/protocols/fdo/fdographicswidget.h
plasma/generic/applets/systemtray/protocols/fdo/x11embeddelegate.cpp
plasma/generic/runners/nepomuksearch/plasma-runner-nepomuksearch.desktop
plasma/generic/wallpapers/color/plasma-wallpaper-color.desktop
plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
plasma/netbook/shell/nettoolbox/plasma-toolbox-nettoolbox.desktop
statusnotifierwatcher/statusnotifierwatcher.cpp
systemsettings/app/main.cpp
2014-03-10 21:21:16 +01:00
l10n daemon script
fbd985ae3d
SVN_SILENT made messages (.desktop file)
2014-03-10 07:33:17 +00:00
Martin Gräßlin
aee20b4a5a
Hide the OnAllDesktops button if there is only one virtual desktop
...
In KCommonDecoration the OnAllDesktops button gets hidden or shown
depending on the number of desktops. For that KDecoration is extended
by a new property which delegates to the bridge to return whether
onAllDesktops is available. In KWin Core this is implemented using
the number of desktops.
FEATURE: 321611
FIXED-IN: 5.0.0
REVIEW: 116076
2014-03-05 13:02:32 +01:00
Martin Gräßlin
59d91b9fd3
Use KPluginLoader to load the decoration config dialog
...
Straight forward update from KLibrary to KPluginLoader.
REVIEW: 115931
2014-03-03 14:20:08 +01:00
Martin Gräßlin
b3d3c45149
Use KPluginLoader to load our decoration plugins
...
This simplifies the plugin loading. Decorations just have to use
K_PLUGIN_FACTORY to specify how the KDecorationFactory needs to be
created. The KWIN_DECORATION macro is adjusted to generate the
boiler plate code, but it now needs to specify the name for the
pluginfactory and the KDecorationFactory.
This also transits the decoration abi version check to use
K_EXPORT_PLUGIN_VERSION which also simplifies the loading.
As a result the complete canLoad handling in DecorationPlugins is
removed.
REVIEW: 115930
2014-03-03 13:55:52 +01:00
Martin Gräßlin
3d6a77cdd7
[kwin/kcmdeco] Fix layout of button config dialog
2014-02-27 11:48:16 +01:00
Martin Gräßlin
b8f9fb254f
Fix config dialog of Aurorae decorations
...
Install the layout on the dialog not on the KCM.
2014-02-21 12:12:05 +01:00
Martin Gräßlin
b901928801
Fix position of buttons in decoration config dialog
...
Add after the main item, not before.
2014-02-21 12:08:31 +01:00
l10n daemon script
fab5def5e9
SVN_SILENT made messages (.desktop file)
2014-02-18 09:04:31 +00:00
l10n daemon script
6f8c3dd771
SVN_SILENT made messages (.desktop file)
2014-02-18 05:12:30 +00:00
Martin Gräßlin
16c44810cb
[kwin] Drop more unused includes
...
--warnings
2014-02-03 11:45:35 +01:00
Martin Gräßlin
fcebfa799f
[kwin] Fix ordering
...
--warnings
2014-02-03 11:37:04 +01:00
l10n daemon script
588ad2be66
SVN_SILENT made messages (.desktop file)
2014-01-19 06:36:32 +00:00
l10n daemon script
22a5e1109f
SVN_SILENT made messages (.desktop file)
2014-01-19 04:06:03 +00:00
Martin Gräßlin
544820793e
And another KNS3 build fix
2014-01-15 21:21:31 +01:00
Matteo De Carlo
aad36da80b
Replace NULL with nullptr in kcmkwin
...
Replacing all NULL to nullptr in all the files in kcmkwin folder
(also substituting some "0" used as nullptr with nullptr)
REVIEW: 114803
2014-01-08 10:30:38 +01:00
Martin Gräßlin
2486e8e36e
[kwin/kcmdeco] Add missing i18n call
2013-12-14 16:10:32 +01:00
Laurent Navet
88fc43beeb
kwin : replace Q_FOREACH with for(a:b)
...
replace Q_FOREACH loops with newer for (a:b) notation
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114222
2013-12-13 08:54:34 +01:00
Martin Klapetek
54bc491c46
Port to KF5 renaming changes
2013-12-11 21:41:47 +01:00
Aleix Pol
f8468b4043
Drop KDE4Support in kde-workspace/kwin
...
REVIEW: 114316
2013-12-05 20:24:02 +01:00
Martin Gräßlin
23a510c0b5
[kdecorations] Add a ::palette() to the decoration API
...
The ::palette() in KDecoration and KCommonDecoration returns the
QPalette the decoration should use for the decorated window. The
call delegates into the bridge and KWin core might provide a special
QPalette for a given Client depending on the _KDE_NET_WM_COLOR_SCHEME
property.
2013-11-25 09:44:23 +01:00
Aleix Pol
7b110f0671
Improve CMake usage
...
It's basically a run of the port-cmake.sh script in here, mostly the changes
are the following:
- Using KF5::* targets
- Using the proper macros, following recent developments in frameworks
2013-11-15 13:37:47 +01:00
Martin Gräßlin
07294b49f2
[kcmdeco] Use new DecorationButton types for describing the buttons
...
Rather heavy change to get the kcm to no longer use the string based
definition of the buttons on the left and right.
2013-11-14 09:41:52 +01:00
Martin Gräßlin
f03104ac17
[kcmdeco] Connect PreviewItem to factory's recreateDeco signal
2013-11-14 09:41:52 +01:00
Martin Gräßlin
3ea18be574
[kcmdeco] Move KDecorationPreviewOptions into the Model
...
We need to have it around and not in the Preview widget to be able
to update the options when the buttons change.
2013-11-14 09:41:52 +01:00
Martin Gräßlin
aab6037c4a
[kcmdeco] KIcon -> QIcon::fromTheme
2013-11-14 09:41:52 +01:00
Martin Gräßlin
b150d9ddc1
[kcmdeco] Clean up includes
2013-11-14 09:41:52 +01:00