Commit graph

54 commits

Author SHA1 Message Date
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
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
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Laurent Montel
e810dbc582 Use script to add QLatin1String in setObjectName directly
svn path=/trunk/KDE/kdebase/workspace/; revision=1177599
2010-09-20 18:18:36 +00:00
Martin Gräßlin
c9df18ab98 New decoration kcm:
* Displays list with previews instead of a dropdown with just the name.
* Configuration is moved into an own dialog accessible via a configure button for each decoration
* Button configuration is moved into a dialog, by that the tabs are removed
* Aurorae themes are listed just like normal decorations
* GHNS support to download Aurorae themes
* Semi-live preview of changed: when configure dialog is closed the preview is updated
* About Dialog added for each decoration (needs updates in desktop files - the information is missing)

svn path=/trunk/KDE/kdebase/workspace/; revision=1077141
2010-01-19 13:44:22 +00:00
Christoph Feck
cd8e1f3263 Use correct font and colors
svn path=/trunk/KDE/kdebase/workspace/; revision=1068792
2010-01-02 01:30:11 +00:00
Urs Wolfer
32b64df71b Fix issues (and port away from {QT,KDE}3SUPPORT (makes more sense IMHO than fixing Qt 3 support code, even when we are in freeze)):
* re-add icons in list widget
* fix broken coloring of text and icon in list widget when button is unsupported
* fix icon alpha channel issues (list widget and drag icon)
* use more suitable colors (btw, nice comment: // KDE 2 titlebar default colour)

* Q3StoredDrag -> QMimeData
* K3ListView -> QListWidget

svn path=/trunk/KDE/kdebase/workspace/; revision=1066614
2009-12-27 14:59:39 +00:00
Hugo Pereira Da Costa
9c2bda18d3 fixed layout of 'buttons configuration' widget, and added default margin to the tab
svn path=/trunk/KDE/kdebase/workspace/; revision=1053436
2009-11-24 05:32:51 +00:00
Christoph Feck
58b9127b3e Fix layout issues in kwin kcm
* remove fixed layout spacing and margin
* respect style's QFormLayout field policy
* reduce vertical space in compositing "General" tab
* layout desktop names in two columns


svn path=/trunk/KDE/kdebase/workspace/; revision=986282
2009-06-24 13:09:58 +00:00
Laurent Montel
5535a9de5e Fix iterator
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
Maks Orlovich
5ac0521ba4 Unmessup the indendation on this line... Thanks diff.
/me goes to look for a kate setting to make the tab indicators visible w/o squinting again

svn path=/trunk/KDE/kdebase/workspace/; revision=715953
2007-09-23 15:30:05 +00:00
Maks Orlovich
0d2e2cdfcc Fix this up so I can drag things around properly, and have
them get to their destination without getting misplaced or a 
crash.

In short, keeping iterators to a changing QList is a Bad Idea(tm),
so I did the simple thing can used indices.

svn path=/trunk/KDE/kdebase/workspace/; revision=715952
2007-09-23 15:23:10 +00:00
Maks Orlovich
cc57137f16 Make button symbols show up in the custom button
position editor..

svn path=/trunk/KDE/kdebase/workspace/; revision=715934
2007-09-23 14:18:35 +00:00
Arto Hytönen
8f9eb21004 SVN_SILENT back down for now as I can't test them right now
svn path=/trunk/KDE/kdebase/workspace/; revision=707753
2007-09-02 20:47:42 +00:00
Arto Hytönen
e1c6433c8e pass-by-value -> reference-to-count fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=707741
2007-09-02 20:01:17 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Dirk Mueller
561fdef0ff include cleanup
svn path=/trunk/KDE/kdebase/workspace/; revision=652987
2007-04-12 13:02:58 +00:00
Thorsten Roeder
d68dafda6b fixed some EBN issues
svn path=/trunk/KDE/kdebase/workspace/; revision=546993
2006-05-31 16:23:36 +00:00
Laurent Montel
5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel
7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Stephan Kulow
a7f42a7a21 replaced deprecated functions
svn path=/trunk/KDE/kdebase/workspace/; revision=535878
2006-04-30 17:09:09 +00:00
Stephan Kulow
abeff9d0f6 some colorgroup porting
svn path=/trunk/KDE/kdebase/workspace/; revision=535723
2006-04-30 09:16:13 +00:00
Stephan Kulow
4c918b6f53 removed uses of deprecated qlist functions
svn path=/trunk/KDE/kdebase/workspace/; revision=535410
2006-04-29 14:38:17 +00:00
Tobias Koenig
848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder
98fa3320c5 deprecated--
basically:
QRegExp::search() --> QRegExp::indexIn()
QString::find() --> QString::indexOf()
QString::findRev() --> QString::lastIndexOf()
QString::lower() --> QString::toLower()
QString::upper() --> QString::toUpper()
QString::setLength() --> QString::resize()
QByteArray::find() --> QByteArray::indexOf()
QByteArray::findRev() --> QByteArray::lastIndexof()
QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()}
QList::remove() --> QList::removeAll()
iterator QList::remove() --> iterator QList::erase()
QComboBox::text() --> QComboBox::itemText()
QByteArray::upper() --> QByteArray::toUpper()
QByteArray::lower() --> QByteArray::toLower()
QString::contains() --> QString::contains()
QEvent::accept(bool) --> QEvent::setAccepted(bool)


svn path=/trunk/KDE/kdebase/workspace/; revision=528719
2006-04-11 17:12:05 +00:00
Hamish Rodda
77bc9cd63d Merging in from bleeding edge kdebase branch
- i18n ported
- KAccel removed
- Some fixes for OS X

svn path=/trunk/KDE/kdebase/workspace/; revision=528190
2006-04-10 11:57:13 +00:00
Laurent Montel
acf8533f69 Adapt to new api
svn path=/trunk/KDE/kdebase/workspace/; revision=518159
2006-03-13 10:12:27 +00:00
Laurent Montel
b985e49c8a deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512341
2006-02-22 10:18:39 +00:00
Allen Winter
ae65a40c7a TRUE->true, FALSE->false
svn path=/trunk/KDE/kdebase/workspace/; revision=511180
2006-02-19 01:33:48 +00:00
Script Kiddy
19e65c92dc Fix FSF address
(mainly s/Steet/Street/;s/Cambridge/Boston/ )

svn path=/trunk/KDE/kdebase/workspace/; revision=490222
2005-12-21 06:45:09 +00:00
Urs Wolfer
1cf79a8556 less Q3:
* remove unused Q3 includes
* port some Q3VBox, Q3HBox, Q3Frame, Q3PopupMenu

svn path=/trunk/KDE/kdebase/workspace/; revision=484457
2005-11-30 21:17:50 +00:00
Frank Osterfeld
776dc6395e make it compile
CCMAIL: ben@meyerhome.net

svn path=/trunk/KDE/kdebase/workspace/; revision=473125
2005-10-22 18:13:37 +00:00
Dirk Mueller
e20f2bd6b2 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/kdm/; revision=467416
2005-10-05 08:44:32 +00:00
Stephan Kulow
a8d3c46e70 review what Laurent's script does
svn path=/trunk/KDE/kdebase/klipper/; revision=466881
2005-10-03 15:54:58 +00:00
Stephan Kulow
b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Dirk Mueller
da212229af SVN_SILENT update FSF address
svn path=/trunk/KDE/kdebase/kwin/; revision=433335
2005-07-10 13:44:16 +00:00
Luboš Luňák
a34f9ab748 Rather funny bug ... statements after return are usually not executed :).
svn path=/trunk/KDE/kdebase/kwin/; revision=423466
2005-06-08 13:31:12 +00:00
Luboš Luňák
bb1c008e1b If the decoration doesn't announce which titlebar buttons it supports,
make the default only those buttons that were available before the time
the possibility to announce the support came, not all buttons.

svn path=/trunk/kdebase/kwin/; revision=408565
2005-04-29 09:44:40 +00:00
Sandro Giessl
56ea5484c4 FEATURE: 83499
Grey out buttons which are not supported by the decoration, put
a "(unsupported)" after the button name.

svn path=/trunk/kdebase/kwin/; revision=369684
2004-12-10 18:28:28 +00:00
Sandro Giessl
c8ebd222c4 replace button pixmaps with bitmaps so they can be colored later (e.g. greyed out when the button is unavailable)...
svn path=/trunk/kdebase/kwin/; revision=369673
2004-12-10 17:58:37 +00:00
André Wöbbeking
46259d08ff make it compile
svn path=/trunk/kdebase/kwin/; revision=369635
2004-12-10 15:36:46 +00:00
Sandro Giessl
4c091d07d2 FEATURE
Add drop visualizer to the titlebar preview.

svn path=/trunk/kdebase/kwin/; revision=369526
2004-12-09 22:28:55 +00:00
Sandro Giessl
b36cbe8749 Clean things up a bit under the hood of the button position widget. Main intention
was to replace the QString/char based internal representation of buttons with a
Button-object based one.
Makes it IMHO much more extensible by removing things like global vars,
i18n(name)<-->button type mapping etc.

svn path=/trunk/kdebase/kwin/; revision=369513
2004-12-09 21:33:16 +00:00
Sandro Giessl
a43c9b585c move a few things from KWinDecorationModule into the new class ButtonPositionWidget in preparation for a few improvements on the widget I'm planing...
svn path=/trunk/kdebase/kwin/; revision=368215
2004-12-03 22:23:20 +00:00
Sandro Giessl
1652995a55 better ButtonDrag mimetype
svn path=/trunk/kdebase/kwin/; revision=368183
2004-12-03 20:31:03 +00:00
Luciano Montanaro
5e3bd8b2c8 I'll take Lubos' answer as an "OK".
So, I'll add what will probably be the least useful feature of KDE3.3:
The support for a "resize" button in the titlebar.
Perhaps the accessibility people could find a use for this, though.

svn path=/trunk/kdebase/kwin/; revision=322458
2004-06-21 13:13:48 +00:00
Sandro Giessl
8d0eda13db Add support for three additional titlebar buttons (#60369):
Shade, Keep Above Others, Keep Below Others.

CCMAIL: kwin@kde.org
Slowly but surely, button indexes are going out. :) In case anyone has
objections with the following ones for the API, just tell. Now.
 F (Above others ~ foreground)
 B (Below others ~ background)
 L (Shade ~ less/lock??)

svn path=/trunk/kdebase/kwin/; revision=311518
2004-05-14 22:23:29 +00:00
Frans Englich
4b522c51cb Remove all CVS Id tags from kdebase, if I haven't missed one.
Of course, this will multifold break compile as well as a dozen of people
will now object that they actually wanted the Id tags.

svn path=/trunk/kdebase/ksysguard/; revision=290873
2004-02-24 11:30:21 +00:00
Luboš Luňák
e102cc772b The headers didn't state the licence.
svn path=/trunk/kdebase/kwin/; revision=252352
2003-09-19 11:14:41 +00:00