Martin Klapetek
54bc491c46
Port to KF5 renaming changes
2013-12-11 21:41:47 +01:00
Hugo Pereira Da Costa
3f37b36fdb
re-enable kstyle hook
2013-12-08 13:07:55 +01:00
Àlex Fiestas
acc0498102
Commented usage of removed KStyle api
2013-12-05 16:09:13 +01:00
Martin Gräßlin
7360d5b79e
[oxygen] Use KCommonDecoration::palette() to get the QPalette to use
...
Instead of getting the palette of the widget we access the decoration
to have Oxygen follow the color scheme defined on a window.
2013-11-25 09:44:23 +01:00
Hugo Pereira Da Costa
a4b4d696f1
use QApp->setOverrideCursor when detecting window
2013-11-15 16:54:15 +01:00
Martin Gräßlin
5012f9e83a
[oxygen] Drop redefining the default decoration buttons
...
There is no difference between Oxygen and default KDecoration, so
it's not needed. It's also conceptionally wrong: decorations should
not be able to change the global default.
2013-11-14 09:41:52 +01:00
Martin Gräßlin
47857bb9f3
[oxygen] Use new update mechanism of KDecoration in the Button
...
This allows to have the button animations working in the preview.
Needs to change the reference to Client to non-const.
2013-11-14 09:41:52 +01:00
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
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
Hugo Pereira Da Costa
2b149bc18b
kde4_add_kcfg_files -> kconfig_add_kcfg_files
2013-10-18 13:55:53 +02:00
Hugo Pereira Da Costa
1e735ba765
fixed first tab shown in ui
2013-10-09 00:49:54 +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
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
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
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
Hugo Pereira Da Costa
1019fecdaa
fixed checkbox alignment
2013-09-01 20:31:28 +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
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
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
Hugo Pereira Da Costa
22df9b0c19
removed KDEUI includes
2013-08-06 18:10:06 +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