Commit Graph

10884 Commits

Author SHA1 Message Date
Aaron Seigo
104634b9cd minor improvements 2012-10-31 12:15:43 +01:00
Aaron Seigo
4288bb9744 ensure that prefixes all have a trailing slash
why? because the rest of the code assumes that (for performance reasons)
2012-10-31 12:15:42 +01:00
Aaron Seigo
70e4734eda use KDeclarative to determine the platform paths 2012-10-30 21:32:01 +01:00
Aaron Seigo
80ca71fd98 minor improvements 2012-10-30 21:32:01 +01:00
Aaron Seigo
6cbf841376 ensure that prefixes all have a trailing slash
why? because the rest of the code assumes that (for performance reasons)
2012-10-30 21:32:00 +01:00
Aaron Seigo
06f5f555a9 get the components target from libkdeclarative 2012-10-30 21:31:31 +01:00
David Faure
3e623699ce Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	kdecore/services/kmimeglobsfileparser.cpp [whole file is gone]
	kdecore/sycoca/kprotocolinfo.cpp [rewritten in kio; hand-merged]
	kdeui/widgets/kmainwindow.cpp [geometry handling, code is gone]
	kfile/kfileplacesitem.cpp
	kio/kio/kfileitem.cpp [tons of kurl/qmimetype differences for the big if(!d) patch]
	kio/tests/kfileitemtest.cpp [kurl]
	plasma/private/applethandle.cpp [namespace]
	plasma/runnermanager.cpp
	staging/kservice/src/services/kservicetypetrader.h [i18n]
2012-10-30 19:53:28 +01:00
Aaron Seigo
050222e9ed get rid of dead code 2012-10-30 18:33:48 +01:00
David Faure
d38be6f572 Merge remote-tracking branch 'origin/KDE/4.10' 2012-10-30 17:00:29 +01:00
Sebastian Kügler
a45a18e810 Fix reference error in Highlight
ListView is just the namespace, we have to check for ListView.view's
existance
2012-10-27 02:01:34 +02:00
Marco Martin
f35539da1f remove debug output 2012-10-26 19:46:56 +02:00
Marco Martin
2b702fa6ef make sure scrollbars are visible 2012-10-26 19:46:36 +02:00
Marco Martin
b3dff51494 fix anchors 2012-10-26 18:12:51 +02:00
Marco Martin
8d24d8e1b0 nchor to the flickable instead of parent 2012-10-26 17:49:23 +02:00
Marco Martin
6327065728 remove arbitrary margin 2012-10-26 17:03:30 +02:00
Martin Gräßlin
4da55c78e6 Fix service prefix for KWin Effects 2012-10-26 13:10:22 +02:00
Jon Severinsson
fbd4466d93 Remove setting removed variable "moved" in plasma/widgets/scrollwidget.cpp
This unused-but-set variable declaration was removed in ba583b5d4da9e3.
2012-10-26 08:39:44 +02:00
Aaron Seigo
8af1a4d2f1 prep newly loaded runners if we're running a match 2012-10-25 21:18:59 +02:00
Aaron Seigo
d1140aca7d remove a number of unused variables 2012-10-25 21:17:01 +02:00
Sebastian Kügler
a8ba890850 Fix screenChanged in javascript appletinterface signal and forward it
Signal/slot signatures were wrong. Correctly forward the screenChanged
signal. This removes the following warning for me when running a QML
containment in plasmoidviewer:

Object::connect: No such slot ContainmentInterface::screenChanged() in
/home/sebas/kdesvn/src/kde/kde-runtime/plasma/scriptengines/javascript/plasmoid/appletinterface.cpp:605

REVIEW:106936
2012-10-25 14:54:05 +02:00
Sebastian Kügler
ee7255b261 Check if referenced objects are valid
This kills plus 96c8478aef two ReferenceErrors I'm seeing when using
ListItems inside VisualItemModels (in this case, there's no view and
visual parent attached on creation).

REVIEW:106937
2012-10-25 14:47:16 +02:00
Aaron Seigo
3fb4a78ed5 replace tabs with space. 2012-10-25 13:14:53 +02:00
Christoph Feck
3f1e310891 Merge branch 'KDE/4.9' into KDE/4.10 2012-10-25 04:27:27 +02:00
Sebastian Kügler
c9bfe00345 Fix reference error when ListItem is used with VisualItemModels
The correct way to check if an object is valid is using typeof(foo).
2012-10-25 00:02:10 +02:00
Sebastian Kügler
d6afd5b91a AppletContainer binding for containments
This adds a class to manipulate applets in more detail in context of
containments. The type will only be available from Containments, not
Applets or PopupApplets.

This binds the necessary functionality of Applets to build fully
features containments. The code has been moved from MobileComponents,
untangling another piece there and putting the functionality where
it belongs, into the specific component type bindings to allow this
functionality also outside of plasma-mobile and further reduce the
delta between the shell implementations.

REVIEW:106817
2012-10-24 22:52:01 +02:00
Marco Martin
e4cc7da085 bind width to listview width by default 2012-10-23 22:49:21 +02:00
Marco Martin
b3db7ce371 export item 2012-10-23 22:04:47 +02:00
Marco Martin
18ed35d2d8 sync the current items after clicked() 2012-10-23 21:52:06 +02:00
Marco Martin
f825a9f4a7 ConditionalLoader: lazy loading of components 2012-10-23 21:52:06 +02:00
Dmitry Ashkadov
46e7b8065f Support of QIcon and QPixmap for QML item PlasmaCore.Tooltip 2012-10-23 20:58:50 +04:00
Marco Martin
d7e77f5074 remoev hack 2012-10-23 14:42:57 +02:00
Jon Severinsson
a6bcd52059 plasma: QPixmap platform integration has changed in Qt5, disable it for now.
This essentially makes WindowShadows a no-op, but it is better than not compiling...

REVIEW: 106989
2012-10-23 14:10:01 +02:00
Marco Martin
3910b0604f use a position relative to the DropArea
view-position is completely useless from QML
2012-10-23 13:53:37 +02:00
Marco Martin
f8e9eeb587 support dragMove 2012-10-23 13:09:53 +02:00
Marco Martin
d4ad3e23c3 fix typo 2012-10-23 12:39:47 +02:00
Marco Martin
0b28d4cc40 fix pageParent being null the first time 2012-10-23 11:59:48 +02:00
Marco Martin
c91905047b check for applet 2012-10-22 16:39:32 +02:00
Marco Martin
8f6eb3cc7f try a sectionscroller only if model.get is avail 2012-10-22 15:03:22 +02:00
Marco Martin
eadae554b8 menu items are menu children.
now works without packagekit dataengine installed
2012-10-22 11:32:02 +02:00
Marco Martin
595f6f43cd hover = true when highlight in listview 2012-10-22 11:25:36 +02:00
Marco Martin
ea59745a58 export the font, since qactions have them too 2012-10-22 11:25:36 +02:00
Marco Martin
5f22e36cd5 don't draw the background if there is an highlight
mouseover highlight plus item backgrounds looks horrible together
2012-10-22 11:25:36 +02:00
David Faure
e7e77f118a Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	cmake/modules/FindKDE4Internal.cmake [ON vs TRUE]
	experimental/libkdeclarative/kdeclarative.cpp [include changes]
	kdecore/CMakeLists.txt [kshareddatacache.cpp exception support, but file moved]
	kdecore/kernel/kcmdlineargs.cpp [+1 option, but qi18n]
	kdeui/widgets/ktextedit.cpp [moc]
	kdewebkit/kwebpage.cpp [QUrl]
	kfile/kfilewidget.cpp [QUrl]
	kfile/kurlnavigatortogglebutton.cpp [QT_NO_ACCESSIBILITY]
	kinit/kinit.cpp [document path]
	kio/kfile/kurlrequester.cpp [KDE::icon]
	kio/kio/kprotocolmanager.cpp [kded5]
	kio/kio/krun.cpp [document path]
	kioslave/ftp/ftp.cpp [QUrl]
	kioslave/http/kcookiejar/CMakeLists.txt [upd file resurrected]
	kioslave/http/kcookiejar/kcookiescfg.upd [resurrected]
	kioslave/http/kcookiejar/kcookiewin.cpp [KVBox porting]
	mimetypes/kde.xml [kexi gone]
	nepomuk/core/resourcedata.cpp [deleted]
	nepomuk/test/CMakeLists.txt [deleted]
	plasma/private/packages.cpp [Plasma::Applet::NoBackground]
	tier1/kjs/src/kjs/jsonstringify.cpp [unsigned int]
	tier1/solid/src/solid/CMakeLists.txt [hello udisks2]
2012-10-19 15:10:38 +02:00
David Faure
3b2a1d8d71 Merge remote-tracking branch 'origin/KDE/4.10' 2012-10-19 11:57:19 +02:00
Marco Martin
a7c1e92ef2 checkable property 2012-10-19 10:10:46 +02:00
Montel Laurent
fead6ece87 Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-18 20:49:50 +02:00
Marco Martin
acdbe4556c for small sizes, paint icons in a standard size
fixes blurry icons in the panel
2012-10-18 19:41:56 +02:00
Marco Martin
1fe1c49853 more centered play 2012-10-18 18:07:27 +02:00
Marco Martin
6b32e0426c add missing property preferredWidth 2012-10-18 17:22:34 +02:00
Marco Martin
58d9657594 binding loop-- 2012-10-18 16:50:59 +02:00