Commit Graph

189 Commits

Author SHA1 Message Date
David Edmundson
399e61901f don't crash when expanding applets whilst loading
BUG: 332429
2014-03-24 17:05:40 +01:00
Marco Martin
213584e987 export private signal 2014-03-19 18:31:26 +01:00
Martin Klapetek
f1af24c40e Don't try to set the Dialog's state when being destroyed
Because it crashes.

Reviewed-by: Marco Martin
2014-03-19 16:10:19 +01:00
Marco Martin
546dd32304 Dialog is now
it statically links FrameSvgItem and Units.. they may become libplasmaquick eventually but for now is fine like that
2014-03-19 12:47:09 +01:00
Aleix Pol
a3641aac25 Fix headers management in plasma-framework
Use generate headers instead of having them stored in the repository.
Figure out how relative paths are forwarded around, there were some weird
things.
Stop installing plasma header files in the KDE/ prefix.
2014-03-17 16:28:24 +01:00
Marco Martin
710fe45527 move the shell packages in libplasmaquick 2014-03-15 17:25:42 +01:00
Marco Martin
5fe26c0da1 close at applet destruction
and bury behind a weakpointer
BUG:332015

in some cases seems a crash still happens, but is completely unrelated with the one in 332015, so should be a separate bug
2014-03-11 12:44:04 +01:00
Marco Martin
fc6938887b correctly restore saved popup size 2014-03-06 15:57:37 +01:00
Marco Martin
f1448ed71c use the namespace 2014-02-27 16:33:02 +01:00
Alex Merry
7dc3895451 Fix build
Link test that includes QQmlAbstractUrlInterceptor against Qt5::Qml.
2014-02-26 15:04:05 +00:00
Marco Martin
0fdc1a71f0 don't double create root objects 2014-02-25 13:52:19 +01:00
Marco Martin
68496ed363 unbreak wallpaper config model 2014-02-20 13:35:11 +01:00
Marco Martin
5fb89a5ea9 add warning notices that is not public api 2014-02-20 11:19:50 +01:00
Marco Martin
e9580fc257 don't install headers of plasmaquick
don't commit to binary stability just yet
2014-02-20 11:16:46 +01:00
Marco Martin
90c608f863 complete porting 2014-02-19 20:00:29 +01:00
Marco Martin
d3253428dc plasmaquickview.h -> view.h 2014-02-19 19:40:40 +01:00
Marco Martin
5bb4761c73 use a namespace in libplasmaquick
right now only the library builds
2014-02-19 19:37:30 +01:00
Alex Merry
596abe8c68 Use ecm_configure_package_config_file
Ported with:
sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \
       -e 's/\<\(configure_package_config_file\)/ecm_\1/' \
       CMakeLists.txt

See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
2014-02-18 21:18:16 +00:00
Marco Martin
d1b0e89a63 a way to read and write global shortcuts from qml config views 2014-02-14 17:28:10 +01:00
Marco Martin
5c6077c728 add a zoom icon
used for the panel controls
2014-02-13 11:50:49 +01:00
David Faure
452413ef33 use version strings defined at toplevel - doesn't work though ? 2014-02-11 16:23:33 +01:00
Marco Martin
0d138bf2fb check the pointer 2014-02-11 11:11:34 +01:00
Marco Martin
4e13ce6966 make sure full representations don't get loaded 2014-02-10 18:14:11 +01:00
Marco Martin
5ba990df15 invert parent relationship of the compact and expander 2014-02-07 16:19:11 +01:00
Marco Martin
857150c183 the expander is compactrepresentation child
because it'll contain a tooltip too
2014-02-07 12:20:43 +01:00
Marco Martin
cab11dd7f8 change expanded accordingly when applet expands or collapses 2014-02-06 13:57:53 +01:00
Marco Martin
3858044d25 Merge branch 'mart/AppletAttached'
Conflicts:
	src/declarativeimports/core/dialog.cpp
	src/scriptengines/qml/plasmoid/containmentinterface.cpp
2014-02-06 13:16:11 +01:00
Marco Martin
29c72a9898 include appletquickitem_p.h from the right file 2014-02-05 18:00:05 +01:00
Marco Martin
f8b649fba9 move AppletQuickItem in libplasmaquick 2014-02-05 17:23:52 +01:00
Marco Martin
74515ee2f5 use "_plasma_graphicObject" in applet*
to avoid possible collisions, use the private looking name "_plasma_graphicObject" for the dynamic property of Applet that represents the AppletInterface* pointer
2014-02-05 12:59:33 +01:00
David Edmundson
f5618db949 Remove unused property drawWallpaper
As suggested here: http://community.kde.org/Plasma/libplasma2/API_Review/Containment
kde-workspace doesn't use it.

REVIEW: 115224
2014-01-30 15:34:45 +01:00
Sebastian Kügler
94540a4262 Workaround seems to have been accidentally disabled
This workaround is needed for applet internal qmldirs to be loaded.

Fixes crasher in notifications applet.
2014-01-26 23:24:07 +01:00
Marco Martin
92fe107329 put namespace around KDeclarative 2014-01-13 21:21:14 +01:00
Aleix Pol
5c88e300bd Small changes
Fix typo on API documentation
Remove pointless debug output
Remove unneeded loop
2014-01-11 11:17:53 +01:00
Marco Martin
6a0525c1c3 ToolTip->ToolTipArea 2014-01-08 18:13:07 +01:00
Marco Martin
798b7665d4 work around a bug in url resolution of qmldir files 2014-01-08 13:06:23 +01:00
Marco Martin
f9f89eda56 qmldir is like anybody else 2014-01-07 12:30:21 +01:00
Marco Martin
569ad6a41d applets can only import from their own private
importing from the private imports of another applet makes the applet fail to load
2014-01-07 11:16:11 +01:00
Marco Martin
86369030de extra whitelist of allowed paths 2013-12-27 14:59:37 +01:00
David Edmundson
4336262d31 Connect to the right geometrychanged signal 2013-12-16 16:52:46 +01:00
David Edmundson
a26913ccac Move screen management logic in ShellCorona
Previously shells, activities, shellcorona and corona all tried to
manage
which screen a containment was on.

This version moves all screen management into ShellCorona so we have a
central place for keeping tracking of containments, activities and
screens.
2013-12-16 15:30:13 +01:00
Aurélien Gâteau
7c74c27a25 Add missing alias 2013-12-11 21:40:54 +01:00
Aurélien Gâteau
02d6b37976 Renames for the KF5 prefix 2013-12-11 21:40:54 +01:00
Martin Klapetek
3214bd8132 Add KF5 prefix to plasma framework
This changes the lib name and package names to follow other frameworks

libFoo -> libKF5Foo
find_package(KFoo) -> find_package(KF5Foo)

REVIEW: 114389
2013-12-11 21:40:54 +01:00
Aleix Pol
6c82a1ee86 Reduce compiler warnings
Remove unused and deprecated headers
Port some K_GLOBAL_STATIC to Q_GLOBAL_STATIC
2013-12-09 16:50:18 +01:00
Sebastian Kügler
73e3c4a6ed Don't crash
Apparently, q->rootObject() can be invalid here.
2013-12-08 05:50:50 +01:00
Aleix Pol
a6ee7bb8fe Remove warning 2013-12-05 19:35:43 +01:00
Aleix Pol
23eacffcb3 Add more information about interception warnings
It's good to know who is trying to be naughty
2013-12-05 19:32:14 +01:00
Andrea Scarpino
b8e34cffe2 Revert "Revert "QQmlAbstractUrlInterceptor is now public""
This reverts commit 4d38b136ad.
Sorry for the mess.
2013-12-04 12:38:38 +01:00
Andrea Scarpino
4d38b136ad Revert "QQmlAbstractUrlInterceptor is now public"
This reverts commit 5540fdeaa5.
2013-12-04 08:21:45 +01:00
Àlex Fiestas
5540fdeaa5 QQmlAbstractUrlInterceptor is now public
https://codereview.qt-project.org/#change,65626
2013-12-02 15:59:47 +01:00
Andrea Scarpino
2495df8b01 Allow builds with Qt 5.2
REVIEW:114239
2013-12-02 12:27:34 +01:00
Aleix Pol
7088c9eb0d Deprecate plasma_add_plugin 2013-11-14 17:42:26 +01:00
Aleix Pol
3ef13c53dc Remove predicates on cmake end commands
http://techbase.kde.org/Policies/CMake_Coding_Style#End_commands
2013-11-14 17:25:10 +01:00
Marco Martin
990fd3b860 get completely rid of the packageaccessmanager 2013-10-24 13:27:02 +02:00
Marco Martin
6ff8554ae7 manage plasmapackage:/ with the interceptor
not with the networkaccessmanager
2013-10-24 12:47:56 +02:00
Marco Martin
973f4a08a3 use setParentItem
should crash less (or if it does produce more readable backtraces)
2013-10-22 13:10:58 +02:00
Marco Martin
9b002a8bea activity switching animation 2013-10-18 13:07:28 +02:00
Marco Martin
76260be71f make activity switching work
there is a problem in ownership of containment graphics objects, we can't reparent to 0 at the moment or it crashes
2013-10-17 20:03:44 +02:00
Sebastian Kügler
d5bef21f7b Rename target plasma to Plasma
This is in line with the frameworks naming policy, camelcasing. Up until
now, libplasma was the only library being KF5::plasma, that is now
KF5::Plasma.
2013-10-16 00:47:47 +02:00
Sebastian Kügler
cd5ee90d0e Clean up libplasma cmake 2013-10-16 00:28:02 +02:00
Sebastian Kügler
4f5aa5fab4 Disable debug output in hot path, more QString ctor improvements 2013-10-15 02:58:15 +02:00
Sebastian Kügler
0435cc8b47 Speed up interceptor
Using QStringLiterals and explicit QByteArray ctors makes it possible
for the compiler to skip the more expensive QString ctors and use very
cheap ones. This should give the interceptor a nice speedup.
2013-10-15 02:48:58 +02:00
Sebastian Kügler
9f85a7dc11 Add basic test for url interceptor 2013-10-15 02:37:06 +02:00
Sebastian Kügler
48d9bcb9f5 static QQmlNetworkAccessManagerFactory creator in urlinterceptor
Adding this one static to PackageUrlInterceptor allows us to hide it
otherwise from the API. Files can also move into private subdir, and the
factory header isn't installed anymore.
2013-10-15 02:15:54 +02:00
Sebastian Kügler
c42974f52e Move PackageUrlInterceptor and PackageAccessManager into PlasmaQuick 2013-10-15 01:08:47 +02:00
Sebastian Kügler
c7c9e8fefc Put steve's changes back in
CCMAIL:steveire@gmail.com
2013-10-13 02:00:32 +02:00
Sebastian Kügler
c2be5b6b12 Revert bef789642e
That commit breaks the build, not finding qtest_kde.h, and cascading
errors from there.

CCMAIL:steveire@gmail.com
2013-10-12 21:47:07 +02:00
Stephen Kelly
bef789642e Remove obsolete include_directories use. 2013-10-12 15:25:19 +02:00
Sebastian Kügler
dad1466757 lower case headers 2013-10-05 04:28:26 +02:00
Sebastian Kügler
0aa6247dd9 Use target instead of var for KF5::KI18n 2013-10-04 23:44:36 +02:00
Sebastian Kügler
47a38c5edd Use target instead of var for KF5::KService and KCoreAddons 2013-10-04 23:42:16 +02:00
Sebastian Kügler
b2121c1e06 cmake fixes
- finally remove KDE4_KIO_LIBS
- change KDeclarative to KF5::KDeclarative
- add KService where needed
2013-10-04 19:18:34 +02:00
Aleix Pol
1891066fc2 Adapt to kdelibs ab56e2f. 2013-10-04 18:40:47 +02:00
Marco Martin
e16c30142f resize the graphics object as soon as possible
it avoids many resizes that take cpu cycles and mess with the layout
2013-09-20 23:28:38 +02:00
Marco Martin
8f20c41931 moved containmentconfigview out of libplasmaquick 2013-09-16 19:45:49 +02:00
Marco Martin
5735faec03 move setsource into desktopview 2013-09-13 15:20:36 +02:00
Marco Martin
9bc1c68fca remove the private init 2013-09-13 15:11:49 +02:00
Giorgos Tsiapaliokas
443216a29b KF5::plasmaquick -> KF5::PlasmaQuick 2013-09-12 17:16:30 +03:00
Marco Martin
6e3b20a3e6 some documentation 2013-09-11 15:26:16 +02:00
Marco Martin
5b5c1a5a1c move private stuff in private/ 2013-09-11 15:18:19 +02:00
Marco Martin
c33282e37f move configcategory in own file 2013-09-11 15:13:31 +02:00
Marco Martin
819bece755 ppendCategory with data to avoif exposin ConfigCategory 2013-09-11 14:55:10 +02:00
Marco Martin
2c108e0036 get rid of QQmlListProperty accessors in public clas 2013-09-11 14:44:28 +02:00
Marco Martin
6bf3f54783 configmodel in own file 2013-09-11 14:40:45 +02:00
Marco Martin
452d39a98e add a desktop view 2013-09-11 12:18:51 +02:00
Marco Martin
98a681a0e7 View -> PlasmaQuickView 2013-09-11 11:48:37 +02:00
Marco Martin
a94dd49b32 rename remaining plasmaview to plasmaquick 2013-09-11 11:23:56 +02:00
Marco Martin
247c01170a libplasmaview -> libplsmaquick
this library will contain all the reusable qtquick and qml related bits necessary for plasma
2013-09-11 11:13:27 +02:00