Commit Graph

83 Commits

Author SHA1 Message Date
Albert Astals Cid
ac117b6c2d Remove unneded kglobal.h includes
Found with
diff -ub  <( wcgrep -l "kglobal\.h" | sort ) <(wcgrep -l 'KGlobal::\|K_GLOBAL\|KSharedConfigPtr' | sort ) | grep -v CMakeLists.txt | grep ^"-\."
2012-08-06 00:27:15 +02:00
Stephen Kelly
2ffa5b905a Merge remote-tracking branch 'origin/KDE/4.8' into frameworks
Conflicts:
	CMakeLists.txt
	nepomuk/core/resource.cpp
	nepomuk/core/resourcedata.cpp
	nepomuk/utils/utils.cpp
2012-04-08 10:55:12 +02:00
Claus Christensen
658fad620a Replaced KGlobal::config() by KSharedConfig::openConfig()
Remodified:   kded/kdedadaptor.cpp
2012-03-24 19:33:54 +01:00
Aaron Seigo
dd378ebead unbreak restoration of applets when switching containments 2012-03-19 20:40:14 +01:00
David Faure
083d157684 Merge remote-tracking branch 'origin/KDE/4.8' into origin-frameworks
Conflicts:
	kdecore/network/k3datagramsocket.cpp
	kdeui/actions/kstandardaction.cpp
	kdeui/dialogs/kconfigdialogmanager.cpp
	kdeui/icons/kicondialog.cpp
	kdeui/itemviews/kviewstatesaver.h
	kfile/knewfilemenu.cpp
	kio/misc/kpac/downloader.cpp
	kio/tests/kdirlistertest.cpp
	kparts/browserextension.cpp
	nepomuk/core/nepomukmainmodel.cpp
	nepomuk/query/queryserviceclient.cpp
	nepomuk/test/ratingpaintertestwidget.cpp
	nepomuk/ui/kedittagsdialog.cpp
	nepomuk/ui/ktagcloudwidget.cpp
	nepomuk/ui/ktagdisplaywidget.cpp
	nepomuk/ui/nepomukmassupdatejob.cpp
	nepomuk/ui/tagwidget.cpp
	nepomuk/utils/daterangeselectionwidget.cpp
	nepomuk/utils/facetwidget.cpp
	nepomuk/utils/searchwidget.cpp
	plasma/containment.cpp
	plasma/datacontainer.cpp
	plasma/deprecated/animator.cpp
	plasma/extenders/extender.cpp
	plasma/plasma.h
	plasma/scripting/wallpaperscript.cpp
	tier1/solid/tests/networkingclient.cpp
(signal/slot normalization changes conflicted with KUrl->QUrl changes
and with other changes in frameworks)
2012-02-14 12:32:25 +01:00
Dawit Alemayehu
fb0b49af8c Normalize all signal/slot connections.
REVIEW: 103728
2012-02-13 14:27:21 -05:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
Aaron Seigo
feb6a53659 containmentType() .. NOT type()!
and now we know the source of the "panel covers the entire screen" bug

BUG:259704
2011-12-02 21:53:07 +01:00
Aaron Seigo
c3cb35739c containmentType() .. NOT type()!
and now we know the source of the "panel covers the entire screen" bug

BUG:259704
2011-12-02 17:00:29 +01:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
2f5b68b9d0 remove a line of dead code 2011-02-03 20:38:27 -08:00
Aaron J. Seigo
3e354c4e81 more safety in swapping containments around
svn path=/trunk/KDE/kdelibs/; revision=1200095
2010-11-23 22:18:15 +00:00
Kevin Ottens
ee5df8d9e4 More kgenericfactory.h cleanups.
svn path=/trunk/KDE/kdelibs/; revision=1195206
2010-11-10 15:25:56 +00:00
Giulio Camuffo
2a46966c22 don't call restore() two times when swapping the containment
svn path=/trunk/KDE/kdelibs/; revision=1153214
2010-07-22 20:06:06 +00:00
Aaron J. Seigo
c0c3ccabe3 set the last screen/desktop even in the panel case
svn path=/trunk/KDE/kdelibs/; revision=1136743
2010-06-10 16:22:36 +00:00
Aaron J. Seigo
615aef4915 clean up and generalize setScreen
svn path=/trunk/KDE/kdelibs/; revision=1128637
2010-05-19 20:03:31 +00:00
Marco Martin
6baf2654c0 keep a static of all used view ids. it's necessary since upon restore it can be asked to create view with ids not in crescent order. this should fix the mixing of desktops (and also the problem that the panels forget to be autohide) with pervirtualdesktopviews=true
BUG:207985
BUG:212512

svn path=/trunk/KDE/kdelibs/; revision=1063093
2009-12-16 22:45:28 +00:00
Aaron J. Seigo
22c6e31931 we'll eventually get this to work in all cases :P
svn path=/trunk/KDE/kdelibs/; revision=1042462
2009-10-29 21:04:42 +00:00
Artur Duque de Souza
df2e7b902e We still need the corona object to do this check :)
Fix broken build from last commit.


svn path=/trunk/KDE/kdelibs/; revision=1042459
2009-10-29 21:01:21 +00:00
Aaron J. Seigo
a804fba5ad the corona check is irrelevant here
svn path=/trunk/KDE/kdelibs/; revision=1042455
2009-10-29 20:41:07 +00:00
Aaron J. Seigo
b03243d7ae record our last screen/desktop setting even if we don't have a containment yet
svn path=/trunk/KDE/kdelibs/; revision=1042402
2009-10-29 18:50:18 +00:00
Chani Armitage
ba3b1b753b merge-squash of first containment-removal branch
svn path=/trunk/KDE/kdelibs/; revision=1027320
2009-09-23 20:37:17 +00:00
Marco Martin
acfd2a83fa Add PopupConstraintEvent, tells popupapplets (and applets with popups)
that the position has to be changed

svn path=/trunk/KDE/kdelibs/; revision=1019486
2009-09-03 18:11:49 +00:00
Aaron J. Seigo
3454a5ddc6 don't mess with the containment's screen/desktop if the "new" containment is the same as the old one; happens when we're not init'd yet and looking for containments to use, resuts in confusing the shell app
BUG:192245

svn path=/trunk/KDE/kdelibs/; revision=976442
2009-06-01 17:31:58 +00:00
Marco Martin
baf9e2bffe set the screens to -1 for both containments before switching them, it
avoids a screenownerchanged infinite loop

svn path=/trunk/KDE/kdelibs/; revision=952429
2009-04-11 21:12:03 +00:00
Aaron J. Seigo
04b65db3c8 add configNeedsSaving to View as with Applet and what not
svn path=/trunk/KDE/kdelibs/; revision=941552
2009-03-19 22:49:34 +00:00
Ambroz Bizjak
497fae72fe Fix bug 184930.
The containment's screen can change after it is initially created, so make sure
it is changed in the view as well.

svn path=/trunk/KDE/kdelibs/; revision=931126
2009-02-24 20:28:29 +00:00
Marco Martin
f9ab759b8e set WA_TranslucentBackground to top level windows
svn path=/trunk/KDE/kdelibs/; revision=927085
2009-02-16 19:24:05 +00:00
Aaron J. Seigo
b0d610d38f call setContainment after ctor so that we get the virtual method version of it called
svn path=/trunk/KDE/kdelibs/; revision=917678
2009-01-28 12:34:45 +00:00
Marco Martin
bd31e3d0da return always the lastScreen as screen()
and take care to always sync it, except during the setContainment()
execution
in this way we avoid to have two views with the same screen() for a
while (this avoided the setContainment(0) in
DesktopView::screenOwnerChanged(), making the two views have the same
containment)

svn path=/trunk/KDE/kdelibs/; revision=898122
2008-12-17 13:29:40 +00:00
Aaron J. Seigo
c26e118bbf cache the last screen/desktop setting so during moments of transience views don't behave amnesiatically; hopefully fixes the multi-screen containment-switcharoo problem
svn path=/trunk/KDE/kdelibs/; revision=897859
2008-12-17 00:40:42 +00:00
Marco Martin
85ef865213 disconnect d->containment, not containment :)
in some cases the view became without any active containment otherwise

svn path=/trunk/KDE/kdelibs/; revision=892260
2008-12-03 22:03:04 +00:00
Aaron J. Seigo
509632ff64 a couple of related fixes to make destroying containments work a lot better
svn path=/trunk/KDE/kdelibs/; revision=889816
2008-11-27 18:55:32 +00:00
Aaron J. Seigo
15ef681d83 copy the config over before setting our own containment, otherwise the screen gets set to -1 and then we copy it over. oh nos!
svn path=/trunk/KDE/kdelibs/; revision=889812
2008-11-27 18:31:59 +00:00
Aaron J. Seigo
35e4fd39b2 push the storage of a view's associated desktop down into the containment just like the screen
svn path=/trunk/KDE/kdelibs/; revision=885333
2008-11-17 04:44:10 +00:00
Aaron J. Seigo
160e70ccd0 add proper support for virtual desktops, which really requires more than just the View being aware of it; given the default parameters, it's a detail most plasma based apps can ignore (just like screens in general, actually =)
svn path=/trunk/KDE/kdelibs/; revision=885330
2008-11-17 04:34:55 +00:00
Aaron J. Seigo
df73771a1b ++compile
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Aaron J. Seigo
62c417fe46 get the connection right
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873121
2008-10-18 20:59:53 +00:00
Aaron J. Seigo
333b91acfb allow swapping of arbitrary containments, not just this view's containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872751
2008-10-18 01:29:42 +00:00
Aaron J. Seigo
725c0c3137 when the contianment goes away, zero our pointer to it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871483
2008-10-15 00:26:42 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Aaron J. Seigo
364aabf073 drop the requirement of a containment on construction
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852337
2008-08-25 19:25:15 +00:00
Aaron J. Seigo
9244760edb make this connectable outside of libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852177
2008-08-25 13:16:31 +00:00
Petri Damstén
6c2ca9a337 Don't move applets from old containment to the new one, since restore recreates them.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852160
2008-08-25 12:44:03 +00:00
Petri Damstén
25435b35fb - use setContainment before restore so screen gets set correctly
- copy configuration from the old containment to a new one

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851622
2008-08-24 07:43:04 +00:00
Alex Merry
7d47005103 Hopefully fix bug 165051. It seems to be quite elusive, so I can't check whether it will for certain.
Clears the focus on the Corona before ~QGraphicsView runs.  See comment for more info.

BUG: 165051


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851511
2008-08-23 21:59:27 +00:00