Commit Graph

2404 Commits (ce84ae4b654e586674d27033378d8a4f5bf4875e)

Author SHA1 Message Date
Aurélien Gâteau 47c12347ea Fix clean build
libkdecorations is part of kde-workspace so calling find_library() cannot
work on a clean build since it has not been installed yet. CMake knows
about it anyway since its part of kde-workspace, so it can use it without
finding it.

CCMAIL: hugo@oxygen-icons.org
2013-11-13 10:11:40 +01:00
Hugo Pereira Da Costa caa660fdb8 use add_library instead of kde4_add_plugin
reduced KF5 dependencies.
2013-11-13 17:32:14 +01:00
Hugo Pereira Da Costa 242dcb87d3 removed lib from config plugin libraries
consistently added MODULE to relevant add_library calls.
2013-11-13 17:32:14 +01:00
Hugo Pereira Da Costa eaa1930975 use Helper::ScopedPointer instead of QScopedPointer for simplification. 2013-11-12 00:54:26 +01:00
Hugo Pereira Da Costa 33363908c1 ensures xcb_reply_t deallocation using QScopedPointer 2013-11-12 00:54:25 +01:00
Hugo Pereira Da Costa bdd1cfd7b8 QLatin1String -> QStringLiteral 2013-11-12 00:52:29 +01:00
Bhushan Shah 935851a2b5 kDebug -> qDebug in kwin 2013-11-01 17:00:41 +05:30
Hugo Pereira Da Costa f9b4fed604 removed ununsed (and obsolete) includes. 2013-10-24 11:57:30 +02:00
Hugo Pereira Da Costa b35a760b66 Port oxygen decoration from X11 to XCB
- use xcb for shadow atom
- use xcb to handle sizegrip map/raised
- removed dependency upon QX11Info and QtX11Extras.
- moved window detection to xcb
2013-10-24 11:41:45 +02:00
Hugo Pereira Da Costa b2aad6a693 fixed layout of oxygen decoration config in oxygen-settings 2013-10-21 17:00:04 +02:00
Hugo Pereira Da Costa ce0d2af529 re-added checkbox to combobox signal-slot connection. 2013-10-21 15:56:25 +02:00
Thomas Lübking 9bf14c2653 Merge branch 'KDE/4.11'
Conflicts:
	kwin/clients/aurorae/src/aurorae.cpp
2013-10-20 19:40:48 +02:00
Thomas Lübking 3692549170 fix deco config updates
- B2 linked to the wrong slot (instead of changed signal)
- border size change was not written (for B2, Laptop etc)
- Aurorae didn't recreate decos when required

BUG: 325946
FIXED-IN: 4.11.3
REVIEW: 113229
2013-10-20 19:37:14 +02:00
Raphael Kubo da Costa 54b08b9d9e Merge branch 'KDE/4.11'
* KDE/4.11:
  Remove assertion in KDecorationUnstable's constructor.
  SVN_SILENT made messages (.desktop file)
  Cursor Theme KCM: Show correct resize cursor in preview for themes without a file called "size_fdiag"
  Fixed missing signal/slot connection:
  Fix zoom effect cursor position on initial zoom in.
  SVN_SILENT made messages (.desktop file)
  Don't show borders for a maximized Laptop client
  Always use PositionCenter for maximized windows
  Fix click on trash plasmoid when on desktop and widgets are unlocked

Conflicts:
	kwin/clients/aurorae/src/aurorae.cpp
	kwin/libkdecorations/kdecoration.cpp
	plasma/desktop/applets/trash/trash.cpp
	plasma/desktop/toolboxes/plasma-toolbox-desktoptoolbox.desktop
	plasma/desktop/toolboxes/plasma-toolbox-paneltoolbox.desktop
	plasma/generic/wallpapers/color/plasma-wallpaper-color.desktop
	plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-10-20 17:42:39 +03:00
Hugo Pereira Da Costa 2b149bc18b kde4_add_kcfg_files -> kconfig_add_kcfg_files 2013-10-18 13:55:53 +02:00
Sebastian Kügler b68867463e Change KF5::plasma to KF5::Plasma
Library name has changed in plasma-framework to bring it in line with
KF5:CamelCasing naming.
2013-10-16 01:36:56 +02:00
Sebastian Kügler 3ec1b9fd6a link against Plasma, it's using framesvg 2013-10-11 01:10:11 +02:00
Sebastian Kügler b8c55eddc5 Try to make jenkins happy
The logic to use $INCLUDE_INSTALL_DIR/KDE doesn't work there, since the
plasma includes land in a different path on the jenkins setup. Let's see
if this fixes it.
2013-10-11 01:00:31 +02:00
Hugo Pereira Da Costa 1e735ba765 fixed first tab shown in ui 2013-10-09 00:49:54 +02:00
Martin Gräßlin 4a8e52ee4c Don't show borders for a maximized Laptop client
Maximized windows should not have borders.

REVIEW: 113047
2013-10-08 10:15:08 +02:00
Martin Gräßlin 0ec8646d78 Always use PositionCenter for maximized windows
It was showing the resize cursor at the top title edge which is not
wanted in maximized mode.
2013-10-08 10:15:08 +02:00
Christoph Feck 8b1b0fded5 Merge remote-tracking branch 'origin/KDE/4.11' 2013-10-04 14:49:01 +02:00
Montel Laurent 11e99c7b46 Pedantic 2013-10-03 21:51:17 +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 969e6b85e7 Merge branch 'master' into frameworks-scratch
Conflicts:
	CMakeLists.txt
	kwin/client.cpp
	kwin/effects/highlightwindow/highlightwindow.cpp
	kwin/libkwineffects/kwingltexture.cpp
	kwin/libkwineffects/kwinxrenderutils.cpp
	kwin/scene_opengl.cpp
	kwin/workspace.cpp
	plasma/desktop/applets/kickoff/CMakeLists.txt
	plasma/desktop/applets/taskmanager/package/contents/code/tools.js
	plasma/desktop/applets/taskmanager/package/contents/ui/Task.qml
	plasma/desktop/applets/taskmanager/package/contents/ui/main.qml
	plasma/desktop/applets/taskmanager/package/metadata.desktop
	plasma/desktop/applets/taskmanager/plugin/textlabel.h
	plasma/desktop/applets/tasks/CMakeLists.txt
	plasma/desktop/applets/tasks/package/metadata.desktop
	plasma/desktop/applets/tasks/tasks.cpp
	plasma/desktop/toolboxes/plasma-toolbox-desktoptoolbox.desktop
	plasma/generic/applets/activitybar/activitybar.cpp
	plasma/generic/wallpapers/color/plasma-wallpaper-color.desktop
	plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-09-24 11:28:38 +02:00
Martin Gräßlin c5e60a7ce8 Add properties for keepAbove/Below to KDecoration
For consistency two new changed signals are introduced without any
argument and the old signals are marked as deprecated.
2013-09-12 09:27:39 +02:00
Martin Gräßlin 7aadeaa310 Add maximized property and changed signal to KDecoration
Replaces the pure virtual method which the Decoration had to
implement. Instead the Decoration can now connect to the signal.

For KCommonDecoration there is no change at all except that the
invoked method is turned into a slot.

The property is of type bool and maps to isMaximized and not to
maximizeMode.
2013-09-12 09:27:39 +02:00
Martin Gräßlin c918f40a77 Introduce a convenience method isMaximized in KDecoration
Returns true in case of fully maximized, false otherwise. By that
it ignores the horizontal and vertical modes.
2013-09-12 09:27:39 +02:00
Martin Gräßlin 22e4476777 Add icon property and changed signal to KDecoration
Replaces the pure virtual method which the Decoration had to
implement. Instead the Decoration can now connect to the signal.

For KCommonDecoration there is no change at all except that the
invoked method is turned into a slot.
2013-09-12 09:27:39 +02:00
Martin Gräßlin 63bb36e2ad Add shade property and changed signal to KDecoration
Replaces the pure virtual method which the Decoration had to
implement. Instead the Decoration can now connect to the signal.

For KCommonDecoration there is no change at all except that the
invoked method is turned into a slot.
2013-09-12 09:27:39 +02:00
Martin Gräßlin fd64a29f72 Add desktop property and changed signal to KDecoration
Replaces the pure virtual method which the Decoration had to
implement. Instead the Decoration can now connect to the signal.

For KCommonDecoration there is no change at all except that the
invoked method is turned into a slot.

Also isOnAllDesktop property is added using the same changed
signal as desktop property.
2013-09-12 09:27:39 +02:00
Martin Gräßlin 29bce13e9f Add caption property and changed signal to KDecoration
Replaces the pure virtual method which the Decoration had to
implement. Instead the Decoration can now connect to the signal.

For KCommonDecoration there is no change at all except that the
invoked method is turned into a slot
2013-09-12 09:27:39 +02:00
Martin Gräßlin e1c4512ccc Add active property and changed signal to KDecoration
Replaces the pure virtual method which the Decoration had to
implement. Instead the Decoration can now connect to the signal.

For KCommonDecoration there is no change at all except that the
invoked method is turned into a slot.
2013-09-12 09:27:39 +02:00
Martin Gräßlin 287ddf8446 Remove reset method from OxygenClient
Connects to the appropriate changed signals instead.
2013-09-12 09:27:38 +02:00
Martin Gräßlin d10a31750e Drop reset method from K(Common)Decoration
For the only remaining update flag a dedicated signal is added to
KDecoration.
2013-09-12 09:27:38 +02:00
Martin Gräßlin 2f2e17ac19 Drop reset from AuroraeClient
Was only delegating to parent class thus not doing anything.
2013-09-12 09:27:38 +02:00
Martin Gräßlin 69be5b3e25 Oxygen connects to the new KDecorationOptions signals
At least to those it is interested in.
2013-09-12 09:27:38 +02:00
Martin Gräßlin 9797fe2122 Aurorae connects to new changed signals by KDecorationOptions
No longer implements the reset() method by KDecorationFactory.
2013-09-12 09:27:38 +02:00
Martin Gräßlin 784c40a338 KDecorationFactory inherits from QObject
Adjusting to reality: our decorations have the factory already inheriting
from QObject.
2013-09-12 09:27:38 +02:00
Martin Gräßlin 10e044151e Drop KDecorationFactoryUnstable
Did nothing and no longer needed.
2013-09-12 09:27:38 +02:00
Martin Gräßlin a90072d753 Merge KDecorationUnstable into KDecoration
Also KCommonDecorationUnstable is merged into KCommonDecoration.
2013-09-12 09:27:38 +02:00
Martin Gräßlin afcf6dbc41 Remove deprecated functionality from libkdecorations 2013-09-12 09:27:37 +02:00
Martin Gräßlin 58eaa61d25 Port from KGlobalSettings::contrastF to KColorScheme::contrastF
And with that Aurorae doesn't need kde4support any more.
2013-09-04 16:35:16 +02:00
Martin Gräßlin 139201a2e2 KGlobal::config() -> KSharedConfig::openConfig()
KWin Core says good bye to KGlobal. We will not miss the threading
issues.
2013-09-04 16:11:40 +02:00
Martin Gräßlin bb7af1a61f Drop no longer needed include of KGlobal in Aurorae 2013-09-02 11:13:26 +02:00
Martin Gräßlin e1d89313cb Port Aurorae from KDebug to QDebug
Note: deco plugins have their own debug area.
2013-09-02 11:12:14 +02:00
Hugo Pereira Da Costa 1019fecdaa fixed checkbox alignment 2013-09-01 20:31:28 +02:00
Hugo Pereira Da Costa 9c22d1109e fixed checkbox alignment 2013-09-01 20:30:51 +02:00
Hugo Pereira Da Costa c5c5fffbdf Added "Display window borders for maximized windows" option.
CCBUG: 324011
2013-08-27 10:35:52 +02:00
Hugo Pereira Da Costa 0fe389570e fixed uppercase typo in kcfg file 2013-08-27 10:35:43 +02:00
Hugo Pereira Da Costa 8255bda84d Added "Display window borders for maximized windows" option.
CCBUG: 324011
2013-08-27 10:32:24 +02:00
Hugo Pereira Da Costa 7d9a9cde69 fixed uppercase typo in kcfg file 2013-08-27 10:32:24 +02:00
Thomas Lübking c21de3191d Merge branch 'KDE/4.11' 2013-08-21 21:55:29 +02:00
Thomas Lübking 4ba6764a57 make plastik use PlainText captions
BUG: 323798
FIXED-IN: 4.11
REVIEW: 112180
2013-08-21 21:54:28 +02:00
Martin Gräßlin bf3bcd7f6f Drop linking to kdecore in KWin
Left-over from when kdebug was not yet moved to kde4support.
2013-08-20 09:16:14 +02:00
Martin Gräßlin 84a2f3020b Use Qt5:: in target link libraries in KWin 2013-08-20 09:14:24 +02:00
Martin Gräßlin 5ca6654eb8 Fix linking
KDEUI is dead which caused collateral damage.
2013-08-20 08:47:47 +02:00
Anselmo L. S. Melo c2942c4e73 Porting clients to Qt5/KF5: QStandardPaths
REVIEW: 111972
2013-08-13 17:54:39 -03:00
l10n daemon script df17849412 SVN_SILENT made messages (.desktop file) 2013-08-13 04:19:10 +00:00
Hugo Pereira Da Costa c52d6cee80 use QByteArray::setNum directly instead of QString 2013-08-07 13:37:43 +02:00
Hugo Pereira Da Costa 42411c4844 QWeakPointer -> QPointer 2013-08-07 13:37:43 +02:00
Hugo Pereira Da Costa c4a4407139 cleanup and homogenize oxygen CMakeLists files.
Use KF5:: and Qt5:: consistently.
2013-08-07 11:49:33 +02:00
Rohan Garg 7ab317095d explicitly compare latin1 strings in qassert (fixes build with debugfull) 2013-08-07 14:10:45 +05:30
Martin Gräßlin 9291b18cee Merge branch 'master' into frameworks-scratch
Conflicts:
	CMakeLists.txt
	kwin/effects.cpp
	kwin/effects/logout/logout.cpp
	kwin/effects/presentwindows/main.qml
	kwin/effects/presentwindows/presentwindows.cpp
	kwin/effects/presentwindows/presentwindows.h
	kwin/effects/zoom/zoom_config.cpp
	kwin/libkwineffects/kwinglutils_funcs.cpp
	kwin/libkwineffects/kwinxrenderutils.cpp
	kwin/nvidiahack.cpp
	kwin/xcbutils.h
	plasma/desktop/containments/desktop/plasma-containment-desktop.desktop
	plasma/generic/wallpapers/image/image.cpp
	plasma/generic/wallpapers/image/plasma-wallpaper-image.desktop
2013-08-07 10:10:06 +02:00
Harald Sitter 2c915037c7 explicitly compare latin1 strings in qassert (fixes build with debugfull) 2013-08-07 09:25:27 +02:00
Hrvoje Senjan bd078d5c23 Unbreak the build
1e9f8c8 was correct but KStyle's cmake file wasn't
2013-08-07 05:19:28 +02:00
Hrvoje Senjan b641c12890 Remove wrongly added component 2013-08-07 04:41:26 +02:00
Hrvoje Senjan 7aa789f781 Adjust to replacements 2013-08-07 03:24:36 +02:00
Hrvoje Senjan b2f5a68bbb Remove KWidgets references 2013-08-07 03:23:58 +02:00
Alex Richardson 4d10921548 fix build by including moc_plastikplugin.cpp, not plastikplugin.moc 2013-08-06 23:07:30 +02:00
Hugo Pereira Da Costa 22df9b0c19 removed KDEUI includes 2013-08-06 18:10:06 +02:00
Eike Hein 0f14f28d88 Fix linker error. 2013-08-06 15:58:14 +02:00
Martin Gräßlin f8092ded4e Remove KLocalizedString::insertCatalog from Oxygen
It got removed in frameworks recently and it seems like their is no
replacement. Therefore all of them are currently removed. Also there are
no porting guides yet for i18n.
2013-08-05 10:40:00 +02:00
Hugo Pereira Da Costa 635e1243e7 Removed unnecessary Qt path in includes. 2013-08-02 09:39:09 +02:00
Martin Gräßlin 22e2efea22 QX11Info is no longer in QtGui 2013-08-02 08:37:36 +02:00
Hugo Pereira Da Costa 53666c655c Added KConfigWidget to linking 2013-08-01 20:28:43 +02:00
Hugo Pereira Da Costa 43c4594fac - added HAVE_X11 definition (needed for demo code)
- re-included compilation of demo code
- removed linking against kde4support.
2013-08-01 20:20:44 +02:00
Hugo Pereira Da Costa 8839e86e50 removed KDebug 2013-08-01 20:20:27 +02:00
Hugo Pereira Da Costa d29a9c43c3 Fixed compilation against qt5/kf5 2013-08-01 20:19:37 +02:00
Hugo Pereira Da Costa e261b3b20c re-enabled compilation of the 'config' code 2013-08-01 19:38:54 +02:00
Hugo Pereira Da Costa 70553ce8a2 kmessagebox -> qmessagebox 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa b993d576c9 fixed compilation against qt5 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa e80da066ff ktabwidget -> qtabwidget 2013-08-01 19:38:53 +02:00
Hugo Pereira Da Costa 49362532ff kpushbutton -> qpushbutton 2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa c00fdade17 moved dialog layout to ui 2013-08-01 19:38:52 +02:00
Hugo Pereira Da Costa 965aaabda8 moved QDialog layout to ui for DetectWidget. 2013-08-01 19:38:52 +02:00
Martin Gräßlin 1807265813 KDebug moved to KDE4Support
Adjust target link libraries.
2013-07-31 14:07:58 +02:00
Martin Gräßlin 728cb09c1c Oxygen windeco doesn't need to link XRender 2013-07-31 07:28:15 +02:00
Martin Gräßlin 4141c101f1 Enable building of the Oxygen window decoration
Demo and config stays disabled - we are only interested in the window
decoration for now.

Seems to work :-)

CCMAIL: hugo@oxygen-icons.org
2013-07-30 07:57:15 +02:00
Martin Gräßlin 0e2b4b39cf Adjust target link libraries for Oxygen windeco 2013-07-30 07:57:14 +02:00
Martin Gräßlin eefdc2cedf Port SizeGrip::embed to use xcb
XLib code was throwing compile errors, so just ported it over to xcb
directly.
2013-07-30 07:57:14 +02:00
Martin Gräßlin 2c7e3edcaa Drop QByteArray argument from DecoHelper ctor
Has been removed from Helper parent class.
2013-07-30 07:11:28 +02:00
Martin Gräßlin ec29f93604 Add missing includes in oxygenclient 2013-07-30 07:09:00 +02:00
Martin Gräßlin acc6ce9092 Fix no cast from ascii in Oxygen windeco 2013-07-30 07:02:11 +02:00
Martin Gräßlin 9b6ae91011 Fix include of X11Info in Oxygen windeco 2013-07-30 06:57:02 +02:00
Martin Gräßlin f5819656b6 Q_SLOTS/Q_SIGNALS in Oxygen windeco 2013-07-30 06:56:16 +02:00
Martin Gräßlin 48b1c388bc Re-enable compilation of KWin decorations
Only Aurorae gets compiled for now. Oxygen is disabled by config option
and legecay decos are commented in CMakeLists.txt.
2013-07-25 18:05:58 +02:00
Martin Gräßlin c2d3da70eb Fix linking of Aurorae 2013-07-25 18:05:32 +02:00
Martin Gräßlin 1e69ac6866 Use QStandardPaths in KConfig ctor call in Aurorae 2013-07-25 18:04:56 +02:00
Martin Gräßlin f924be909b Fix no cast from ASCII in Aurorae 2013-07-25 18:04:27 +02:00
Martin Gräßlin a1c0c4048d Add missing KGlobal include 2013-07-25 18:01:04 +02:00
Martin Gräßlin e7f76f8736 Use Q_PLUGIN_METADATA for Aurorae's deco QML plugins 2013-07-25 18:00:27 +02:00
Martin Gräßlin d6a80a3f0a Use uppercase Q_SLOTS/Q_SIGNALS in Aurorae 2013-07-25 17:59:30 +02:00
l10n daemon script 2fc1ae684b SVN_SILENT made messages (.desktop file) 2013-07-14 06:59:57 +00:00
l10n daemon script 7bd89eb6ee SVN_SILENT made messages (.desktop file) 2013-07-14 04:16:47 +00:00
l10n daemon script 34c8d6feb6 SVN_SILENT made messages (.desktop file) 2013-06-05 04:54:40 +00:00
l10n daemon script 020f6fd612 SVN_SILENT made messages (.desktop file) 2013-05-30 04:29:57 +00:00
Alexandr Akulich cb3f1b7776 Polish Plastik theme.
Fixed caption and left buttons positions.
Added enphasizing line under titleRow. (like in 4.9.x version).

REVIEW: 109992
BUG: 317220
FIXED-IN: 4.11
2013-05-29 07:34:13 +02:00
Oliver Henshaw 47acf4ee9a Merge remote-tracking branch 'origin/KDE/4.10' into master
Conflicts:
	kwin/scripting/scripting.cpp
	powerdevil/daemon/actions/bundled/powerdevildimdisplayaction.desktop
	solid-actions-kcm/device-actions/solid-device-SerialInterface.desktop
2013-05-28 17:36:53 +01:00
Oliver Henshaw b61bca0f3d add qml import paths in correct order
addImportPath prepends the path to importPathList so we must add our
paths in reverse order.

Based on the fix for kdeclarative.cpp in kdelibs
400b9f2e9d10386bb175b6123fe0cdaafeaffe61

REVIEW: 110670
2013-05-28 17:23:19 +01:00
Oliver Henshaw 2d5ebd3b8d Replace foreach with java-style iterator
In preparation for reversing the loop.

REVIEW: 110670
2013-05-28 17:23:09 +01:00
l10n daemon script a3b09b7ac4 SVN_SILENT made messages (.desktop file) 2013-05-22 03:36:01 +00:00
l10n daemon script ad8195cad9 SVN_SILENT made messages (.desktop file) 2013-05-21 14:04:28 +00:00
Script Kiddy dfd72523b1 SVN_SILENT made messages (.desktop file) 2013-05-02 09:17:01 +02:00
Thomas Lübking 42aed44e99 catch some m_item nullptr accesses
BUG: 318941
FIXED-IN: 4.10.3
REVIEW: 110254
(cherry picked from commit b9d96009681cb90b822d9e98f4aa7e050e323a0a)
2013-05-01 20:16:23 +02:00
Thomas Lübking 4794cce5e5 catch some m_item nullptr accesses
BUG: 318941
FIXED-IN: 4.10.3
REVIEW: 110254
2013-05-01 20:11:36 +02:00
Script Kiddy 52a831d89f SVN_SILENT made messages (.desktop file) 2013-05-01 13:47:48 +02:00
Script Kiddy 8e8a18748d SVN_SILENT made messages (.desktop file) 2013-04-26 08:56:47 +02:00
Thomas Lübking 16998db274 Merge branch 'KDE/4.10'
Conflicts:
	kwin/useractions.cpp
2013-03-24 22:29:50 +01:00
Thomas Lübking c43c6f39cf fix aurorae theme loading
I've no real idea what breaks the theme -> qml assignment but the patch
re/creates the theme object (just as the engine and component) with the theme

BUG: 316033
FIXED-IN: 4.10.2
REVIEW: 109273
2013-03-24 21:51:03 +01:00
Martin Gräßlin 577a7030b6 Merge branch 'KDE/4.10'
Conflicts:
	kwin/clients/aurorae/src/aurorae.cpp
2013-03-13 08:09:53 +01:00
Martin Gräßlin 25fa3aac8c Disable animations in Plastik for native or non-compositing
Adding a new property on whether we want animations based on whether we
are on raster or with Compositing. The property is constant as the deco
gets recreated on compositing change state anyway.

REVIEW: 109456
BUG: 314532
FIXED-IN: 4.10.2
2013-03-13 08:07:21 +01:00
Martin Gräßlin 98a04893a6 Use mgraesslin@kde.org for my mail address in Copyright and AboutData 2013-03-12 13:17:53 +01:00
Martin Gräßlin 60c42b7a34 s/KLocale/KLocalizedString/g
Many headers included KLocale to use i18n and co. But those methods are
defined in KLocalizedString and not in KLocale.

With KF5 klocale.h does no longer include KLocalizedString causing lots
of compile errors.
2013-03-07 13:59:15 +01:00
Martin Gräßlin 32b6ef42b9 Strip module path from all Qt #include <>
Done with:
fixqt4headers.pl --strip-modules

REVIEW: 109176
2013-03-06 10:26:56 +01:00
Martin Gräßlin 5ea22e362d CMake Cleanup: empty endif 2013-03-06 10:14:15 +01:00
Martin Gräßlin b99e1c0a6b Reduce usage of QCursor::pos() and ::setPos()
Where possible it is changed to Cursor::pos(), where we cannot use the
Cursor class (e.g. Aurorae) we can at least try to limit the usage to
prevent roundtrips to the X server.

REVIEW: 109178
2013-02-27 11:46:30 +01:00
Script Kiddy 4cb53c8471 SVN_SILENT made messages (.desktop file) 2013-02-24 13:57:51 +01:00
Script Kiddy 6d97690042 SVN_SILENT made messages (.desktop file) 2013-02-24 08:18:21 +01:00
Hugo Pereira Da Costa 2d9e9d6029 Fixed disabling/enabling decoration animations in non-advance mode
CCBUG: 313795
2013-02-22 17:39:56 +01:00
Martin Gräßlin 6ddcbed314 Fix typo in Plastik QML 2013-02-18 09:47:11 +01:00
Marco Martin 9bddaea08b Merge branch 'KDE/4.10' 2013-02-07 17:59:07 +01:00
Script Kiddy 685e9368b1 SVN_SILENT made messages (.desktop file) 2013-02-07 13:30:14 +01:00
Script Kiddy 7d16cef10e SVN_SILENT made messages (.desktop file) 2013-02-05 21:32:15 +01:00
Script Kiddy d9191d1485 SVN_SILENT made messages (.desktop file) 2013-02-01 08:50:51 +01:00
Marco Martin baf21f6b34 Merge branch 'KDE/4.10'
Conflicts:
	plasma/generic/applets/batterymonitor/metadata.desktop
	plasma/generic/applets/lock_logout/metadata.desktop
2013-01-31 17:00:02 +01:00
Script Kiddy f193c56957 SVN_SILENT made messages (.desktop file) 2013-01-31 16:31:28 +01:00
Script Kiddy ca2cf4d697 SVN_SILENT made messages (.desktop file) 2013-01-31 12:00:36 +01:00
Script Kiddy 1416c8d62c SVN_SILENT made messages (.desktop file) 2013-01-30 16:27:26 +01:00
Martin Gräßlin ed4bd2dd5b Suppress animation in Aurorae on creation
Introducing a global animate flag which will be set to enabled once the
Component completed and all border values, etc. are set.
2013-01-23 07:37:25 +01:00
Martin Gräßlin 99e39c8654 Introduce a dedicated borders element in Aurorae
The Borders element provides the four properties:
* left
* right
* top
* bottom

And is used directly in Decoration for all the different kind of settings
following this pattern:
* normal borders
* maximized borders
* padding
* extended borders

These properties replace the existing used borderLeft & co. This makes
the code in the C++ side easier as the various border elements can now be
read with a shared implementation.

The Borders provide some convenient methods to set the sizes of the
borders. E.g. it's possible to just set the side borders to a specific
value. This should simplify the implementation of the no-side-borders
feature in new decoration.

The aurorae qml and plastik are adjusted to use the new way. Existing
3rd party decorations would break, but there's a good reason why there's
no documentation for QML based decorations ;-)

REVIEW: 108436
2013-01-23 07:36:41 +01:00
Script Kiddy 589ed300d1 SVN_SILENT made messages (.desktop file) 2013-01-17 12:53:52 +01:00
Script Kiddy 8154d50dec SVN_SILENT made messages (.desktop file) 2013-01-17 08:15:16 +01:00
Martin Gräßlin 6acae45205 Support for new decoration border sizes BorderNoSides and BorderNone
BorderNoSides is what is known from Oxygen as "No Side Borders". The name
should indicate that there is only a border at the bottom. BorderNone is
a mode with no borders at all.

The new enums are added to KDecoration and the KCM so that all decos can
make use of it.

Aurorae is adjusted to support the new sizes for QML themes (it breaks
the old svg based themes) and Plastik makes use of it, by rendering a
one-pixel border around the window, which illustrates that it's still up
to the decoration to decide how to make use of the setting.

REVIEW: 108164
2013-01-15 15:07:22 +01:00
Chusslove Illich (Часлав Илић) 52a4115a9e i18n: contexts. 2013-01-13 10:56:07 +01:00
Script Kiddy 3035d220c0 SVN_SILENT made messages (.desktop file) 2013-01-11 08:17:14 +01:00
Weng Xuetian 0a699cf8ce Merge remote-tracking branch 'origin/KDE/4.10' 2013-01-10 13:19:04 -05:00
Script Kiddy d5a0dd56cf SVN_SILENT made messages (.desktop file) 2013-01-10 12:23:23 +01:00
Script Kiddy a2c44c29f4 SVN_SILENT made messages (.desktop file) 2013-01-08 22:37:02 +01:00
Script Kiddy 6e267063d8 SVN_SILENT made messages (.desktop file) 2013-01-08 17:21:50 +01:00
Cedric Bellegarde 31d9e106dc Add appmenu support to laptop kdecoration client 2013-01-07 14:07:11 +01:00
Hugo Pereira Da Costa d27416983d Fixed Krazy warning about explicit constructors.
Fixed krazy warning about invalid ifdef guard in include
Fixed Krazy warning about signal/slot normalization.
fixed Krazy spelling warning in comments.
2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa b0a822c85e changed shadow offset property from int to double.
Removed x10 multiplicative factor when rendering shadow;
added x10 mutiplicative factors for config UIs with respect to what's actually saved in config
file;
remove kconfupdate for shadowoffset.
2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa 359e10c801 added kconfupdate script. 2013-01-07 12:12:14 +01:00
Hugo Pereira Da Costa c32a73902c implemented argumentless load and save slots. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa 9fb4194209 Improved changed state modification handling in shadow config widget, and updated rest of code accordingly. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa 111bf3aa00 moved some signal/slots from code to designer. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa a909f9790a check group existence and delete group using KConfig methods directly. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa 59e7d27757 use KSharedConfig to deal with configuration. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa 7a9e141e76 properly track changed state modifications from exception list widget. 2013-01-07 12:12:13 +01:00
Hugo Pereira Da Costa 8b3457e7ed moved enable state signal/slot connections to ui, as well as initial enabled state.
properly track dialog modifications.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa ee290bc014 Clean changed state on load();
properly initialize changed state in constructor.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa 30df048632 renamed shadowconfigurationui into shadowconfigwidget, for consistency with rest of the code
fixed updateChanged for closeWindowfromMenuButton
temporarily disabled updateChanged from exceptionLists.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa ea639a0ec2 renamed ConfigurationUI into ConfigWidget.
moved all ui related stuff from oxygenConfig to oxygenConfigWidget.
Implement clean 'updateChanged' method.
2013-01-07 12:12:12 +01:00
Hugo Pereira Da Costa fcb275abe7 - use kcfg for shadow configuration
- move Shadow configuration UI to libs
- removed useDropShadow and useOxygenShadow options, and replaced by activeShadow::enable and inactiveShadow::enable
- use kcfg for decoration configuration. The handling of exceptions requires dedicated readConfig and writeConfig methods, implemented in oxygenutils
- changed sizegrip combobox into a check box and rephrased for clarification
2013-01-07 12:12:12 +01:00
Albert Astals Cid dec63fb987 Merge remote-tracking branch 'origin/KDE/4.10' 2013-01-07 11:04:39 +01:00
Martin Gräßlin 54479225a3 Application Menu button support for Plastik
New icon with three lines similar to the one used in Oxygen is added
for application menu support.

REVIEW: 107937
2013-01-07 09:46:33 +01:00
Martin Gräßlin 7163c9faf4 Support for Application Menu in Aurorae
Aurorae supports in general the Aurorae button. So far themes are not
able to style the button, instead the window's icon is used.
2013-01-07 09:43:30 +01:00
Script Kiddy c6d91ac7eb SVN_SILENT made messages (.desktop file) 2013-01-07 08:11:48 +01:00
Weng Xuetian 6fd8db7af9 Merge branch 'KDE/4.10' 2013-01-06 23:25:01 -05:00
Script Kiddy 6e544c93ff SVN_SILENT made messages (.desktop file) 2013-01-05 08:24:47 +01:00
Martin Gräßlin 4024c3cb13 Fix broken extended border bottom in Aurorae
Swapped top/bottom.
2013-01-04 15:25:08 +01:00
Script Kiddy d6dd4308db SVN_SILENT made messages (.desktop file) 2013-01-03 07:40:00 +01:00
Martin Gräßlin 533d57da60 Mark most ctors as explicit as reported by Krazy2 checker 2013-01-02 18:35:46 +01:00
Christophe Giboudeaux e79997c9bf Add a fixme 2013-01-01 15:01:16 +01:00
Martin Gräßlin a9bec311c2 Extended Border support in Aurorae
Aurorae Themes can make use of the extended borders feature to allow
resizing outside the window decoration area. So far only Plastik makes
use of it in the Tiny border case.

This should be extended in future by adding generic NoSideBorders and
NoBorders sizes as used by Oxygen.

FEATURE: 308992
FIXED-IN: 4.11
REVIEW: 107936
2012-12-30 09:54:43 +01:00
Script Kiddy 12f341712c SVN_SILENT made messages (.desktop file) 2012-12-24 09:05:36 +01:00
Script Kiddy d7316b9fcb SVN_SILENT made messages (.desktop file) 2012-12-23 08:01:50 +01:00
Script Kiddy ef0cae8dab SVN_SILENT made messages (.desktop file) 2012-12-18 15:28:22 +01:00
Script Kiddy a2472524c2 SVN_SILENT made messages (.desktop file) 2012-12-17 07:49:07 +01:00
Thomas Lübking 2f80548304 defer all member destruction to next event cycle
BUG: 311018
FIXE-IN: 4.10
2012-12-14 22:36:40 +01:00
Script Kiddy dda5cbea69 SVN_SILENT made messages (.desktop file) 2012-12-13 07:29:15 +01:00
Script Kiddy 974e0e9c7d SVN_SILENT made messages (.desktop file) 2012-12-09 07:14:36 +01:00
Script Kiddy a5bec484f6 SVN_SILENT made messages (.desktop file) 2012-12-05 07:19:24 +01:00
Script Kiddy 49a373b681 SVN_SILENT made messages (.desktop file) 2012-12-01 08:03:43 +01:00
Script Kiddy 5fc8da9ad7 SVN_SILENT made messages (.desktop file) 2012-11-30 07:40:50 +01:00
Script Kiddy 5a9a6d3b8a SVN_SILENT made messages (.desktop file) 2012-11-28 07:36:20 +01:00
Hugo Pereira Da Costa 6ec1e49e92 Extend window border to the masked rounded corners in non compositing mode
CCBUG: 230013
2012-11-26 10:57:23 +01:00
Hugo Pereira Da Costa 2023fb58f4 Fixed writting of configuration so that hidden options are not overridden by default values. 2012-11-16 11:59:58 +01:00
Montel Laurent 2ed928b5f4 Fix compile with strict iterator 2012-11-15 07:52:49 +01:00
Hugo Pereira Da Costa 6db2407334 Added hidden option to disable extended window borders. 2012-11-11 13:15:47 +01:00
Script Kiddy b2bf54f859 SVN_SILENT made messages (.desktop file) 2012-11-11 06:50:24 +01:00
Hugo Pereira Da Costa f4cdf47c93 implemented extended border region for oxygen 2012-11-09 18:05:25 +01:00
Cedric Bellegarde 53ae2b91e2 GUI: Kwin appmenu support:
- Add support for application menu button in Kwin
- Add kded appmenu configuration in kcm_style
2012-11-09 13:44:50 +01:00
Martin Gräßlin 9308028fa4 Decoration can announce whether it currently requires an alpha channel
A decoration can provide the AbilityAnnounceAlphaChannel in addition to
AbilityUsesAlphaChannel. If this ability is provided the decoration can
enable/disable the use of the alpha channel through setAlphaEnabled().

The base idea behind this mechanism is to be able to tell the compositor
that currently alpha is not needed. An example is the maximized state in
which the decoration is fully opaque so that there is no need to use the
translucency code path which would render all windows behind the deco.

In addition also the blur effect honors this setting so that behind a
known opaque decoration no blurring is performed.

Oxygen is adjusted to disable translucency in maximized state and Aurorae
is adjusted to allow themes to enable/disable translucency. For Plastik
translucency and with that also blurring is disabled.

REVIEW: 106810
2012-11-09 10:36:43 +01:00
Hugo Pereira Da Costa d5326ea461 change std::vector into QList and updated code accordingly.
Fixed compilation warnings.
2012-11-04 20:54:22 +01:00
Script Kiddy 21463a9a91 SVN_SILENT made messages (.desktop file) 2012-11-04 06:38:24 +01:00
Hugo Pereira Da Costa 15b51db1ab oxygenlistmodel: Added "contains" method to generic model, to check index validity better.
oxygenexceptionlistwidget: better check index validity in "edit" method. Also update buttons status after removing items, since
apparently selectionChanged signal is not sent by Qt.

CCBUG: 309388
2012-11-01 19:13:16 +01:00