Martin Gräßlin
73e6d9162d
[oxygen/config] Use a pointer for the KWindowInfo member variable
...
The reason for this change is that the default ctor of KWindowInfo
creates a broken object. Calling any method in it will result in a
crush. Thus it is scheduled for removal in kwindowsystem framework
causing this code to no longer compile.
The solution is to use a pointer and set it to null as long as the
window has not been detected yet.
This is the same change as done for kcm kwinrules. And here we se
why copying code is bad ;-)
2014-02-01 08:58:26 +01:00
Hugo Pereira Da Costa
a4b4d696f1
use QApp->setOverrideCursor when detecting window
2013-11-15 16:54:15 +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
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
Martin Gräßlin
22e2efea22
QX11Info is no longer in QtGui
2013-08-02 08:37:36 +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
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
Hugo Pereira Da Costa
3c290e07cd
cleanup variable names.
2011-02-24 17:47:38 +01:00
Ignat Semenov
28deb24ee0
Remove unnecessary calls to showButtonSeparator(false)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1130888
2010-05-26 17:51:27 +00:00
Hugo Pereira Da Costa
c5bf8d012e
Changed all "Oxygen::OxygenXXX" classnames into "Oxygen::XXX" for consistancy with style class
...
naming scheme. Also made indentation consistent.
svn path=/trunk/KDE/kdebase/workspace/; revision=1121935
2010-05-02 18:34:08 +00:00
Hugo Pereira Da Costa
326407d993
use UI for exception dialog
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042918
2009-10-31 02:46:37 +00:00
Hugo Pereira Da Costa
af01b788dc
used ui file for detectWidget
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1042063
2009-10-29 02:55:41 +00:00
Hugo Pereira Da Costa
b4f63cb440
fixed Qt headers; removed WX11 defines; removed 'using namespace std'
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1025937
2009-09-20 07:42:03 +00:00
Hugo Pereira Da Costa
363986a030
fixed Krazy stuff (headers, K classes in place of Q classes, and use of pointers to modal dialogs)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1024127
2009-09-16 06:09:31 +00:00
Hugo Pereira Da Costa
8244e7644f
Changed nitrogen class names and file names into oxygen; adding Oxygen namespace where missing; updated CMakeFiles.txt accordingly
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023654
2009-09-15 07:12:54 +00:00