Merge branch 'heenamahour/gsoc' of git://anongit.kde.org/plasma-framework into heenamahour/plasma2

This commit is contained in:
heena mahour 2013-08-17 08:15:01 +00:00
commit b17ca9f007
3 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@
void DirModelPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.dirmodel"));
qmlRegisterType<DirModel>(uri, 0, 1, "DirModel");
qmlRegisterType<DirModel>(uri, 2,0, "DirModel");
}
#include "moc_dirmodelplugin.cpp"

View File

@ -1,2 +1,3 @@
module org.kde.dirmodel
plugin dirmodelplugin

View File

@ -40,6 +40,7 @@ Item {
/** true if the mouse button is pressed over the component. */
property bool pressed: false
width: ListView.view ? ListView.view.width : undefined
property alias marginHints: background.margins;
Connections {
target: highlight.ListView.view