Merge lp:~faenil/ubuntu-ui-toolkit/fix_expandables_units_tests_qt56 into lp:ubuntu-ui-toolkit

Proposed by Andrea Bernabei
Status: Rejected
Rejected by: Andrea Bernabei
Proposed branch: lp:~faenil/ubuntu-ui-toolkit/fix_expandables_units_tests_qt56
Merge into: lp:ubuntu-ui-toolkit
Diff against target: 10760 lines (+2799/-2126) (has conflicts)
370 files modified
.qmake.conf (+4/-7)
CODING (+63/-0)
debian/control (+2/-2)
debian/copyright (+5/-4)
debian/rules (+1/-1)
documentation/docs.sh (+9/-1)
documentation/statesaving.qdoc (+1/-1)
documentation/ubuntu-theming.qdoc (+1/-1)
documentation/ubuntu-ui-toolkit-common.qdocconf (+23/-23)
examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml (+13/-4)
features/ubuntu_qt_module.prf (+12/-7)
src/UbuntuGestures/UbuntuGestures.pro (+29/-36)
src/UbuntuGestures/candidateinactivitytimer.cpp (+1/-1)
src/UbuntuGestures/candidateinactivitytimer_p.h (+7/-7)
src/UbuntuGestures/damper.cpp (+2/-1)
src/UbuntuGestures/damper_p.h (+3/-3)
src/UbuntuGestures/debughelpers.cpp (+4/-3)
src/UbuntuGestures/debughelpers_p.h (+5/-7)
src/UbuntuGestures/pool_p.h (+7/-7)
src/UbuntuGestures/timer.cpp (+1/-1)
src/UbuntuGestures/timer_p.h (+9/-9)
src/UbuntuGestures/timesource.cpp (+2/-2)
src/UbuntuGestures/timesource_p.h (+7/-6)
src/UbuntuGestures/touchownershipevent.cpp (+1/-1)
src/UbuntuGestures/touchownershipevent_p.h (+7/-6)
src/UbuntuGestures/touchregistry.cpp (+11/-12)
src/UbuntuGestures/touchregistry_p.h (+9/-11)
src/UbuntuGestures/ubuntugesturesmodule.cpp (+3/-2)
src/UbuntuGestures/ubuntugesturesmodule.h (+1/-1)
src/UbuntuGestures/ucswipearea.cpp (+9/-12)
src/UbuntuGestures/ucswipearea_p.h (+5/-9)
src/UbuntuGestures/ucswipearea_p_p.h (+7/-7)
src/UbuntuGestures/unownedtouchevent.cpp (+1/-1)
src/UbuntuGestures/unownedtouchevent_p.h (+8/-7)
src/UbuntuMetrics/UbuntuMetrics.pro (+16/-22)
src/UbuntuMetrics/applicationmonitor.cpp (+1/-0)
src/UbuntuMetrics/applicationmonitor.h (+3/-2)
src/UbuntuMetrics/applicationmonitor_p.h (+6/-4)
src/UbuntuMetrics/bitmaptext.cpp (+5/-3)
src/UbuntuMetrics/bitmaptext_p.h (+2/-1)
src/UbuntuMetrics/events.cpp (+6/-3)
src/UbuntuMetrics/events_p.h (+6/-3)
src/UbuntuMetrics/gputimer.cpp (+3/-1)
src/UbuntuMetrics/gputimer_p.h (+3/-1)
src/UbuntuMetrics/logger.cpp (+5/-4)
src/UbuntuMetrics/logger.h (+2/-1)
src/UbuntuMetrics/logger_p.h (+5/-3)
src/UbuntuMetrics/overlay.cpp (+6/-3)
src/UbuntuMetrics/overlay_p.h (+4/-3)
src/UbuntuMetrics/ubuntumetricsglobal.h (+1/-1)
src/UbuntuMetrics/ubuntumetricsglobal_p.h (+1/-1)
src/UbuntuToolkit/UbuntuToolkit.pro (+218/-237)
src/UbuntuToolkit/actionlist.cpp (+1/-0)
src/UbuntuToolkit/actionlist_p.h (+6/-5)
src/UbuntuToolkit/adapters/actionsproxy_p.cpp (+4/-3)
src/UbuntuToolkit/adapters/actionsproxy_p.h (+2/-1)
src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp (+5/-5)
src/UbuntuToolkit/adapters/alarmsadapter_p.h (+7/-6)
src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp (+7/-4)
src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h (+1/-1)
src/UbuntuToolkit/alarmmanager_p.cpp (+1/-0)
src/UbuntuToolkit/alarmmanager_p.h (+5/-5)
src/UbuntuToolkit/alarmmanager_p_p.h (+8/-6)
src/UbuntuToolkit/asyncloader_p.h (+5/-4)
src/UbuntuToolkit/asyncloader_p_p.h (+7/-6)
src/UbuntuToolkit/colorutils.cpp (+2/-1)
src/UbuntuToolkit/colorutils_p.h (+8/-6)
src/UbuntuToolkit/exclusivegroup.cpp (+3/-3)
src/UbuntuToolkit/exclusivegroup_p.h (+9/-10)
src/UbuntuToolkit/filterbehavior_p.h (+7/-6)
src/UbuntuToolkit/i18n.cpp (+4/-3)
src/UbuntuToolkit/i18n_p.h (+5/-4)
src/UbuntuToolkit/inversemouseareatype.cpp (+2/-0)
src/UbuntuToolkit/inversemouseareatype_p.h (+8/-6)
src/UbuntuToolkit/label_p.h (+3/-3)
src/UbuntuToolkit/listener.cpp (+1/-1)
src/UbuntuToolkit/listener_p.h (+5/-4)
src/UbuntuToolkit/livetimer_p.cpp (+3/-2)
src/UbuntuToolkit/livetimer_p.h (+8/-7)
src/UbuntuToolkit/livetimer_p_p.h (+7/-7)
src/UbuntuToolkit/menu.cpp (+11/-14)
src/UbuntuToolkit/menu_p.h (+5/-6)
src/UbuntuToolkit/menu_p_p.h (+3/-3)
src/UbuntuToolkit/menubar.cpp (+4/-7)
src/UbuntuToolkit/menubar_p.h (+3/-4)
src/UbuntuToolkit/menubar_p_p.h (+3/-3)
src/UbuntuToolkit/menugroup.cpp (+1/-0)
src/UbuntuToolkit/menugroup_p.h (+4/-4)
src/UbuntuToolkit/mousetouchadaptor.cpp (+5/-6)
src/UbuntuToolkit/mousetouchadaptor_p.h (+5/-5)
src/UbuntuToolkit/mousetouchadaptor_p_p.h (+9/-8)
src/UbuntuToolkit/mousetouchadaptor_x11.cpp (+4/-5)
src/UbuntuToolkit/privates/appheaderbase.cpp (+1/-0)
src/UbuntuToolkit/privates/appheaderbase_p.h (+4/-4)
src/UbuntuToolkit/privates/frame.cpp (+4/-2)
src/UbuntuToolkit/privates/frame_p.h (+5/-4)
src/UbuntuToolkit/privates/listitemdragarea.cpp (+6/-4)
src/UbuntuToolkit/privates/listitemdragarea_p.h (+6/-5)
src/UbuntuToolkit/privates/listitemdraghandler.cpp (+5/-4)
src/UbuntuToolkit/privates/listitemdraghandler_p.h (+5/-4)
src/UbuntuToolkit/privates/listitemselection.cpp (+2/-1)
src/UbuntuToolkit/privates/listitemselection_p.h (+5/-4)
src/UbuntuToolkit/privates/listviewextensions.cpp (+27/-26)
src/UbuntuToolkit/privates/listviewextensions_p.h (+9/-4)
src/UbuntuToolkit/privates/splitviewhandler.cpp (+6/-4)
src/UbuntuToolkit/privates/splitviewhandler_p.h (+6/-5)
src/UbuntuToolkit/privates/threelabelsslot_p.cpp (+2/-1)
src/UbuntuToolkit/privates/threelabelsslot_p.h (+7/-7)
src/UbuntuToolkit/privates/ucpagewrapper.cpp (+6/-5)
src/UbuntuToolkit/privates/ucpagewrapper_p.h (+4/-4)
src/UbuntuToolkit/privates/ucpagewrapper_p_p.h (+8/-7)
src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp (+4/-3)
src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h (+10/-9)
src/UbuntuToolkit/privates/ucscrollbarutils.cpp (+2/-1)
src/UbuntuToolkit/privates/ucscrollbarutils_p.h (+7/-6)
src/UbuntuToolkit/propertychange_p.h (+5/-5)
src/UbuntuToolkit/qquickclipboard.cpp (+2/-1)
src/UbuntuToolkit/qquickclipboard_p.h (+5/-4)
src/UbuntuToolkit/qquickclipboard_p_p.h (+7/-6)
src/UbuntuToolkit/qquickmimedata.cpp (+5/-5)
src/UbuntuToolkit/qquickmimedata_p.h (+6/-5)
src/UbuntuToolkit/quickutils.cpp (+10/-10)
src/UbuntuToolkit/quickutils_p.h (+3/-2)
src/UbuntuToolkit/sortbehavior_p.h (+7/-6)
src/UbuntuToolkit/sortfiltermodel_p.h (+8/-7)
src/UbuntuToolkit/splitview.cpp (+5/-6)
src/UbuntuToolkit/splitview_p.h (+1/-1)
src/UbuntuToolkit/splitview_p_p.h (+2/-1)
src/UbuntuToolkit/splitviewlayout.cpp (+3/-3)
src/UbuntuToolkit/statesaverbackend_p.cpp (+8/-7)
src/UbuntuToolkit/statesaverbackend_p.h (+4/-3)
src/UbuntuToolkit/timeutils_p.h (+5/-5)
src/UbuntuToolkit/tree.cpp (+2/-2)
src/UbuntuToolkit/tree_p.h (+8/-7)
src/UbuntuToolkit/ubuntutoolkitglobal.h (+1/-1)
src/UbuntuToolkit/ubuntutoolkitmodule.cpp (+76/-78)
src/UbuntuToolkit/ubuntutoolkitmodule.h (+4/-3)
src/UbuntuToolkit/ucabstractbutton.cpp (+6/-4)
src/UbuntuToolkit/ucabstractbutton_p.h (+6/-5)
src/UbuntuToolkit/ucabstractbutton_p_p.h (+7/-6)
src/UbuntuToolkit/ucaction.cpp (+16/-7)
src/UbuntuToolkit/ucaction_p.h (+7/-6)
src/UbuntuToolkit/ucactioncontext.cpp (+4/-2)
src/UbuntuToolkit/ucactioncontext_p.h (+7/-6)
src/UbuntuToolkit/ucactionitem.cpp (+4/-2)
src/UbuntuToolkit/ucactionitem_p.h (+6/-5)
src/UbuntuToolkit/ucactionitem_p_p.h (+7/-6)
src/UbuntuToolkit/ucactionmanager.cpp (+2/-1)
src/UbuntuToolkit/ucactionmanager_p.h (+5/-4)
src/UbuntuToolkit/ucalarm.cpp (+3/-1)
src/UbuntuToolkit/ucalarm_p.h (+6/-5)
src/UbuntuToolkit/ucalarm_p_p.h (+7/-5)
src/UbuntuToolkit/ucalarmmodel.cpp (+6/-4)
src/UbuntuToolkit/ucalarmmodel_p.h (+5/-4)
src/UbuntuToolkit/ucapplication.cpp (+3/-3)
src/UbuntuToolkit/ucapplication_p.h (+5/-4)
src/UbuntuToolkit/ucargument_p.h (+5/-4)
src/UbuntuToolkit/ucarguments.cpp (+5/-3)
src/UbuntuToolkit/ucarguments_p.h (+7/-6)
src/UbuntuToolkit/ucbottomedge.cpp (+12/-11)
src/UbuntuToolkit/ucbottomedge_p.h (+6/-5)
src/UbuntuToolkit/ucbottomedge_p_p.h (+8/-7)
src/UbuntuToolkit/ucbottomedgehint.cpp (+8/-6)
src/UbuntuToolkit/ucbottomedgehint_p.h (+7/-6)
src/UbuntuToolkit/ucbottomedgehint_p_p.h (+7/-7)
src/UbuntuToolkit/ucbottomedgeregion.cpp (+3/-2)
src/UbuntuToolkit/ucbottomedgeregion_p.h (+7/-6)
src/UbuntuToolkit/ucbottomedgeregion_p_p.h (+8/-6)
src/UbuntuToolkit/ucbottomedgestyle.cpp (+1/-0)
src/UbuntuToolkit/ucbottomedgestyle_p.h (+5/-4)
src/UbuntuToolkit/ucdefaulttheme.cpp (+3/-2)
src/UbuntuToolkit/ucdefaulttheme_p.h (+6/-5)
src/UbuntuToolkit/ucdeprecatedtheme.cpp (+6/-4)
src/UbuntuToolkit/ucdeprecatedtheme_p.h (+6/-5)
src/UbuntuToolkit/ucfontutils.cpp (+1/-1)
src/UbuntuToolkit/ucfontutils_p.h (+5/-5)
src/UbuntuToolkit/uchaptics.cpp (+4/-2)
src/UbuntuToolkit/uchaptics_p.h (+4/-3)
src/UbuntuToolkit/ucheader.cpp (+4/-2)
src/UbuntuToolkit/ucheader_p.h (+5/-4)
src/UbuntuToolkit/ucimportversionchecker_p.cpp (+3/-3)
src/UbuntuToolkit/ucimportversionchecker_p.h (+3/-2)
src/UbuntuToolkit/ucinversemouse_p.h (+8/-8)
src/UbuntuToolkit/uclabel.cpp (+3/-2)
src/UbuntuToolkit/uclabel_p.h (+8/-7)
src/UbuntuToolkit/uclistitem.cpp (+21/-19)
src/UbuntuToolkit/uclistitem_p.h (+6/-4)
src/UbuntuToolkit/uclistitem_p_p.h (+9/-7)
src/UbuntuToolkit/uclistitemactions.cpp (+6/-4)
src/UbuntuToolkit/uclistitemactions_p.h (+5/-4)
src/UbuntuToolkit/uclistitemactions_p_p.h (+7/-6)
src/UbuntuToolkit/uclistitemlayout.cpp (+3/-2)
src/UbuntuToolkit/uclistitemlayout_p.h (+5/-5)
src/UbuntuToolkit/uclistitemstyle.cpp (+5/-3)
src/UbuntuToolkit/uclistitemstyle_p.h (+6/-4)
src/UbuntuToolkit/ucmainviewbase.cpp (+14/-14)
src/UbuntuToolkit/ucmainviewbase_p.h (+4/-4)
src/UbuntuToolkit/ucmainviewbase_p_p.h (+9/-7)
src/UbuntuToolkit/ucmargins_p.h (+5/-4)
src/UbuntuToolkit/ucmathutils.cpp (+2/-2)
src/UbuntuToolkit/ucmathutils_p.h (+7/-7)
src/UbuntuToolkit/ucmouse_p.h (+8/-8)
src/UbuntuToolkit/ucmousefilters.cpp (+6/-6)
src/UbuntuToolkit/ucpagetreenode.cpp (+1/-1)
src/UbuntuToolkit/ucpagetreenode_p.h (+6/-5)
src/UbuntuToolkit/ucpagetreenode_p_p.h (+8/-6)
src/UbuntuToolkit/ucperformancemonitor.cpp (+1/-0)
src/UbuntuToolkit/ucperformancemonitor_p.h (+7/-6)
src/UbuntuToolkit/ucproportionalshape_p.h (+4/-4)
src/UbuntuToolkit/ucqquickimageextension.cpp (+3/-3)
src/UbuntuToolkit/ucqquickimageextension_p.h (+9/-8)
src/UbuntuToolkit/ucscalingimageprovider_p.h (+6/-5)
src/UbuntuToolkit/ucserviceproperties.cpp (+4/-2)
src/UbuntuToolkit/ucserviceproperties_p.h (+5/-4)
src/UbuntuToolkit/ucserviceproperties_p_p.h (+6/-5)
src/UbuntuToolkit/ucslotslayout.cpp (+2/-1)
src/UbuntuToolkit/ucslotslayout_p.h (+5/-4)
src/UbuntuToolkit/ucslotslayout_p_p.h (+7/-7)
src/UbuntuToolkit/ucstatesaver.cpp (+12/-9)
src/UbuntuToolkit/ucstatesaver_p.h (+6/-5)
src/UbuntuToolkit/ucstatesaver_p_p.h (+7/-7)
src/UbuntuToolkit/ucstyleditembase.cpp (+5/-3)
src/UbuntuToolkit/ucstyleditembase_p.h (+6/-5)
src/UbuntuToolkit/ucstyleditembase_p_p.h (+8/-6)
src/UbuntuToolkit/ucstylehints.cpp (+4/-2)
src/UbuntuToolkit/ucstylehints_p.h (+7/-6)
src/UbuntuToolkit/uctheme.cpp (+14/-14)
src/UbuntuToolkit/uctheme_p.h (+6/-7)
src/UbuntuToolkit/ucthemingextension.cpp (+5/-3)
src/UbuntuToolkit/ucthemingextension_p.h (+7/-7)
src/UbuntuToolkit/ucubuntuanimation.cpp (+1/-1)
src/UbuntuToolkit/ucubuntuanimation_p.h (+6/-6)
src/UbuntuToolkit/ucubuntushape.cpp (+7/-4)
src/UbuntuToolkit/ucubuntushape_p.h (+7/-6)
src/UbuntuToolkit/ucubuntushapeoverlay_p.h (+3/-3)
src/UbuntuToolkit/ucunits.cpp (+4/-5)
src/UbuntuToolkit/ucunits_p.h (+6/-5)
src/UbuntuToolkit/ucurihandler.cpp (+4/-1)
src/UbuntuToolkit/ucurihandler_p.h (+6/-4)
src/UbuntuToolkit/ucviewitemsattached.cpp (+13/-12)
src/UbuntuToolkit/unitythemeiconprovider.cpp (+6/-6)
src/UbuntuToolkit/unitythemeiconprovider_p.h (+7/-6)
src/UbuntuToolkit/unixsignalhandler_p.cpp (+3/-2)
src/UbuntuToolkit/unixsignalhandler_p.h (+6/-4)
src/imports/Components/1.3/ComboButton.qml (+1/-5)
src/imports/Components/1.3/ProgressBar.qml (+4/-2)
src/imports/Components/1.3/UbuntuListView.qml (+5/-1)
src/imports/Components/ListItems/1.2/ExpandablesColumn.qml (+3/-3)
src/imports/Components/ListItems/1.3/Base.qml (+0/-4)
src/imports/Components/Popups/1.3/popupUtils.js (+5/-0)
src/imports/Components/Themes/Ambiance/1.3/OverflowPanel.qml (+0/-1)
src/imports/Components/Themes/Ambiance/1.3/ProgressBarStyle.qml (+78/-58)
src/imports/Components/Themes/Ambiance/1.3/ScrollbarStyle.qml (+49/-28)
src/imports/Components/Themes/Ambiance/1.3/ScrollingActionBarStyle.qml (+1/-7)
src/imports/Components/plugin/plugin.cpp (+5/-4)
src/imports/Components/plugin/plugin.h (+4/-4)
src/imports/Components/plugin/plugin.pri (+3/-6)
src/imports/Components/plugin/ucnamespace.h (+1/-2)
src/imports/Layouts/plugin/plugin.pri (+5/-8)
src/imports/Layouts/plugin/propertychanges.cpp (+5/-4)
src/imports/Layouts/plugin/propertychanges_p.h (+3/-4)
src/imports/Layouts/plugin/ulconditionallayout.cpp (+3/-4)
src/imports/Layouts/plugin/ulconditionallayout.h (+1/-1)
src/imports/Layouts/plugin/ullayouts.cpp (+4/-3)
src/imports/Layouts/plugin/ullayouts.h (+1/-0)
src/imports/Layouts/plugin/ullayouts_p.h (+2/-0)
src/imports/Layouts/plugin/ullayoutsattached.cpp (+2/-2)
src/imports/Layouts/plugin/ulplugin.cpp (+3/-2)
src/imports/Layouts/plugin/ulplugin.h (+4/-5)
src/imports/PerformanceMetrics/plugin/rendertimer.cpp (+2/-1)
src/imports/PerformanceMetrics/plugin/upmcpuusage.cpp (+1/-0)
src/imports/PerformanceMetrics/plugin/upmcpuusage.h (+4/-2)
src/imports/PerformanceMetrics/plugin/upmgraphmodel.cpp (+2/-1)
src/imports/PerformanceMetrics/plugin/upmplugin.cpp (+5/-4)
src/imports/PerformanceMetrics/plugin/upmplugin.h (+4/-5)
src/imports/PerformanceMetrics/plugin/upmrenderingtimes.cpp (+2/-1)
src/imports/PerformanceMetrics/plugin/upmrenderingtimes.h (+5/-4)
src/imports/PerformanceMetrics/plugin/upmtexturefromimage.cpp (+2/-1)
src/imports/Test/Test.pro (+1/-0)
src/imports/Test/plugin/plugin.pri (+2/-3)
src/imports/Test/plugin/testplugin.cpp (+4/-2)
src/imports/Test/plugin/testplugin.h (+1/-1)
src/imports/Test/plugin/uctestcase.cpp (+2/-2)
src/imports/Test/plugin/uctestcase.h (+4/-4)
src/imports/Test/plugin/uctestextras.cpp (+7/-8)
src/imports/Test/plugin/uctestextras.h (+3/-3)
src/src.pro (+9/-9)
sync.profile (+3/-3)
tests/api/Extinct/Animals/plugin/pangaea.h (+3/-3)
tests/api/Extinct/Animals/plugin/plugin.cpp (+6/-5)
tests/api/Extinct/Animals/plugin/plugin.h (+3/-3)
tests/api/Extinct/Animals/plugin/plugin.pri (+1/-2)
tests/api/Extinct/Animals/plugin/rune.cpp (+2/-3)
tests/api/Extinct/Animals/plugin/rune.h (+5/-5)
tests/api/Extinct/Animals/plugin/smilodon.h (+3/-3)
tests/api/Extinct/Animals/plugin/tarpan.h (+3/-3)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_flickable.py (+1/-1)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/MyDialog.qml (+36/-0)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_popups.WindowTestCase.qml (+36/-0)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_popups.py (+19/-0)
tests/unit/alarms/tst_alarms.cpp (+10/-11)
tests/unit/animator/tst_animator.cpp (+7/-8)
tests/unit/animator/tst_animator.qml (+1/-1)
tests/unit/argument/tst_argument.cpp (+2/-3)
tests/unit/arguments/tst_arguments.cpp (+7/-8)
tests/unit/asyncloader/tst_asyncloader.cpp (+5/-4)
tests/unit/bottomedge/tst_bottomedge.cpp (+10/-10)
tests/unit/components/FIXME-QT56_pagestack_deprecated_toolbar.qml (+2/-0)
tests/unit/components/tst_action.qml (+26/-0)
tests/unit/components/tst_components.cpp (+3/-2)
tests/unit/components_benchmark/tst_components_benchmark.cpp (+5/-5)
tests/unit/custom_qpa/main.cpp (+1/-1)
tests/unit/custom_qpa/qcustombackingstore.cpp (+5/-5)
tests/unit/custom_qpa/qcustombackingstore.h (+2/-2)
tests/unit/custom_qpa/qcustomintegration.cpp (+6/-6)
tests/unit/custom_qpa/qcustomintegration.h (+2/-2)
tests/unit/deprecated_theme_engine/tst_deprecated_theme_engine.cpp (+4/-4)
tests/unit/i18n/LocalizedApp/src/tst_i18n_LocalizedApp.cpp (+15/-17)
tests/unit/i18n/RelativeTime/src/tst_i18n_RelativeTime.cpp (+15/-18)
tests/unit/iconprovider/tst_iconprovider.cpp (+0/-1)
tests/unit/inversemousearea/tst_inversemouseareatest.cpp (+7/-8)
tests/unit/layout_dependency.pri (+1/-1)
tests/unit/layouts/tst_layouts.cpp (+10/-13)
tests/unit/mainview/tst_mainview.cpp (+14/-14)
tests/unit/mousefilters/tst_mousefilterstest.cpp (+9/-11)
tests/unit/orientation/tst_orientation.cpp (+8/-9)
tests/unit/page/tst_page.cpp (+4/-4)
tests/unit/performance/tst_performance.cpp (+3/-4)
tests/unit/plugin_dependency.pri (+2/-1)
tests/unit/qmltemplate/tst_qmltemplate.cpp (+3/-2)
tests/unit/qquick_image_extension/tst_qquick_image_extension.cpp (+3/-5)
tests/unit/quickutils/tst_quickutils.cpp (+3/-3)
tests/unit/recreateview/tst_recreateview.cpp (+2/-3)
tests/unit/serviceproperties/tst_serviceproperties.cpp (+5/-5)
tests/unit/statesaver/tst_statesaver.cpp (+16/-16)
tests/unit/subtheming/tst_subtheming.cpp (+9/-9)
tests/unit/swipearea/GestureTest.cpp (+8/-9)
tests/unit/swipearea/GestureTest.h (+7/-9)
tests/unit/swipearea/tst_swipearea.cpp (+7/-9)
tests/unit/test-include.pri (+1/-3)
tests/unit/test/tst_test.cpp (+3/-2)
tests/unit/testparser/main.cpp (+7/-8)
tests/unit/theme/tst_theme.cpp (+3/-2)
tests/unit/touchregistry/touchregistry.pro (+1/-1)
tests/unit/touchregistry/tst_TouchRegistry.cpp (+4/-4)
tests/unit/tree/tst_tree.cpp (+2/-3)
tests/unit/ubuntu_shape/tst_ubuntu_shape.cpp (+2/-2)
tests/unit/unit.pro (+2/-2)
tests/unit/units/scale/tst_units_scale.cpp (+1/-2)
tests/unit/units/units.pro (+2/-2)
tests/unit/visual/FIXME-QT56_listitem.12.qml (+1/-0)
tests/unit/visual/FIXME-QT56_listitem.13.qml (+1/-0)
tests/unit/visual/FIXME-QT56_listitem_focus.13.qml (+1/-0)
tests/unit/visual/FIXME-QT56_pagehead_sections_bug1511839.13.qml (+2/-0)
tests/unit/visual/FIXME-QT56_scrollbar.13.qml (+239/-126)
tests/unit/visual/FIXME-QT56_scrollbar_header.13.qml (+1/-0)
tests/unit/visual/FIXME-QT56_sections.13.qml (+1/-0)
tests/unit/visual/FIXME-QT56_textarea.11.qml (+1/-0)
tests/unit/visual/FIXME-QT56_textfield.11.qml (+1/-0)
tests/unit/visual/FIXME-QT56_ubuntulistview.10.qml (+1/-0)
tests/unit/visual/ScrollbarTestCase13.qml (+3/-0)
tests/unit/visual/tabsmodel.cpp (+0/-1)
tests/unit/visual/tabsmodel.h (+2/-3)
tests/unit/visual/tst_actionbar.13.qml (+0/-1)
tests/unit/visual/tst_actionlist.13.qml (+86/-0)
tests/unit/visual/tst_expandables.11.qml (+2/-0)
tests/unit/visual/tst_expandablescolumn.11.qml (+5/-5)
tests/unit/visual/tst_focus.13.qml (+5/-3)
tests/unit/visual/tst_listitem_focus_bug.13.qml (+81/-0)
tests/unit/visual/tst_visual.cpp (+3/-3)
Conflict adding file tests/unit/visual/tst_actionlist.13.qml.  Moved existing file to tests/unit/visual/tst_actionlist.13.qml.moved.
To merge this branch: bzr merge lp:~faenil/ubuntu-ui-toolkit/fix_expandables_units_tests_qt56
Reviewer Review Type Date Requested Status
Cris Dywan Pending
Review via email: mp+306023@code.launchpad.net

Commit message

Qt5.6: Fix expandablescolumn.11 and expandables.11 unit tests

We were previously misusing mapToItem by not passing x/y parameters
and relying on JS to initialize them to 0.

Qt5.6 fixes QTBUG-41686 and requires x/y to be explicitly passed.

Description of the change

Qt5.6: Fix expandablescolumn.11 and expandables.11 unit tests

We were previously misusing mapToItem by not passing x/y parameters
and relying on JS to initialize them to 0.

Qt5.6 fixes QTBUG-41686 and requires x/y to be explicitly passed.

To post a comment you must log in.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.qmake.conf'
--- .qmake.conf 2016-07-25 14:02:18 +0000
+++ .qmake.conf 2016-09-17 11:46:32 +0000
@@ -15,13 +15,10 @@
1515
16exists($$PWD/../qt.pro) {16exists($$PWD/../qt.pro) {
17 CONFIG += build_with_qt17 CONFIG += build_with_qt
18}18} else {
1919 # When built as a Qt submodule, -Wsuggest-override breaks the build. That's
20*-g++* {20 # fixed in Qt 5.6. See https://codereview.qt-project.org/#/c/169969/
21 GCC4 = $$system( gcc -dumpversion | grep "^4.[0-9]" )21 gcc:greaterThan(QT_GCC_MAJOR_VERSION, 4): QMAKE_CXXFLAGS += -Wsuggest-override
22 if (isEmpty(GCC4)) {
23 QMAKE_CXXFLAGS += -Wsuggest-override
24 }
25}22}
2623
27# FIXME: Fix bug 1606247 and enable the UbuntuToolkit namespace.24# FIXME: Fix bug 1606247 and enable the UbuntuToolkit namespace.
2825
=== added file 'CODING'
--- CODING 1970-01-01 00:00:00 +0000
+++ CODING 2016-09-17 11:46:32 +0000
@@ -0,0 +1,63 @@
1C++ coding style
2================
3
4The Ubuntu UI Toolkit follows the Qt conventions, see:
5
6 - https://wiki.qt.io/Coding_Conventions
7 - https://wiki.qt.io/Qt_Coding_Style
8
9On top of it we add the few clarifications listed below.
10
11
12Header inclusion
13----------------
14
151/ When including Qt or UITK headers, always prefix with the project name. Use:
16
17 #include <QtCore/QMap>
18 #include <UbuntuMetrics/applicationmonitor.h>
19
20 not
21
22 #include <QMap>
23 #include <applicationmonitor.h>
24
252/ For readability reasons and to avoid hidden dependencies, headers should be
26 included in ordered sections, separated by an empty line, as follows:
27
28 // The project's related header (for instance here for foo.cpp).
29 #include "foo.h"
30
31 // C standard library headers.
32 #include <sys/types.h>
33 #include <unistd.h>
34
35 // C++ standard library headers.
36 #include <functional>
37 #include <hash_map>
38 #include <vector>
39
40 // Qt and UITK headers. Try to first list QtCore and QtGui headers. Private
41 // headers come right after public headers of the same project.
42 #include <QtCore/QDebug>
43 #include <QtCore/QHash>
44 #include <QtCore/private/qobject_p.h>
45 #include <QtGui/QWindow>
46 #include <QtGui/private/qcolor_p.h>
47 #include <UbuntuMetrics/applicationmonitor.h>
48
49 // Other libraries headers.
50 #include <gst/gst.h>
51 #include <boost/call_traits.hpp>
52
53 // The project's headers.
54 #include "bar.h"
55 #include "baz_p.h"
56
573/ For libraries, the "foo" inclusion variant must be used in C++
58 source files for the project's headers. The <Project/foo.h> and
59 <Project/private/foo_p.h> inclusion variant must be used for the
60 project's headers in private and public headers, wherever the
61 header is located in the source tree. That ensures the inclusion of
62 private headers by external projects (or by our unit tests) won't
63 break.
064
=== modified file 'debian/control'
--- debian/control 2016-08-22 05:35:24 +0000
+++ debian/control 2016-09-17 11:46:32 +0000
@@ -55,7 +55,7 @@
55 qtsvg5-doc-html,55 qtsvg5-doc-html,
56 qttools5-dev-tools,56 qttools5-dev-tools,
57 qtwebkit5-doc-html,57 qtwebkit5-doc-html,
58 suru-icon-theme,58 suru-icon-theme (>= 14.04+16.10.20160720),
59 unity-action-doc,59 unity-action-doc,
60 uuid-runtime,60 uuid-runtime,
61 xvfb,61 xvfb,
@@ -80,7 +80,7 @@
80 qml-module-ubuntu-components-labs,80 qml-module-ubuntu-components-labs,
81 qml-module-ubuntu-performancemetrics,81 qml-module-ubuntu-performancemetrics,
82 qtdeclarative5-unity-action-plugin (>= 1.1.0),82 qtdeclarative5-unity-action-plugin (>= 1.1.0),
83 suru-icon-theme,83 suru-icon-theme (>= 14.04+16.10.20160720),
84 ttf-ubuntu-font-family,84 ttf-ubuntu-font-family,
85 ubuntu-ui-toolkit-theme (= ${binary:Version}),85 ubuntu-ui-toolkit-theme (= ${binary:Version}),
86 ${misc:Depends},86 ${misc:Depends},
8787
=== modified file 'debian/copyright'
--- debian/copyright 2016-03-04 11:59:46 +0000
+++ debian/copyright 2016-09-17 11:46:32 +0000
@@ -6,9 +6,10 @@
6Copyright: 2012-2013 Canonical Ltd.6Copyright: 2012-2013 Canonical Ltd.
7License: LGPL-3.07License: LGPL-3.0
88
9Files: modules/Ubuntu/Components/Themes/Ambiance/artwork/*9Files: src/imports/Components/artwork/*
10 modules/Ubuntu/Components/artwork/*10 src/imports/Components/Themes/Ambiance/artwork/*
11 modules/Ubuntu/Components/ListItems/artwork/*11 src/imports/Components/Themes/SuruDark/artwork/*
12 src/imports/Components/Themes/SuruGradient/artwork/*
12Copyright: 2004-2013, Canonical Ltd.13Copyright: 2004-2013, Canonical Ltd.
13License: CC-BY-SA-3.014License: CC-BY-SA-3.0
14 Unless otherwise indicated, artwork is available under the Creative15 Unless otherwise indicated, artwork is available under the Creative
@@ -335,7 +336,7 @@
335 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS336 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
336 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.337 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
337338
338Files: modules/Ubuntu/Components/tools/3rd_party/edtaa3func.c339Files: src/UbuntuToolkit/tools/3rd_party/edtaa3func.c
339Copyright: 2009-2012, Stefan Gustavson <stefan.gustavson@gmail.com>340Copyright: 2009-2012, Stefan Gustavson <stefan.gustavson@gmail.com>
340License: MIT341License: MIT
341342
342343
=== modified file 'debian/rules'
--- debian/rules 2016-08-30 14:25:49 +0000
+++ debian/rules 2016-09-17 11:46:32 +0000
@@ -13,7 +13,7 @@
1313
14# Skip tests on the archs they are known to be flaky with current configuration14# Skip tests on the archs they are known to be flaky with current configuration
15testskip_architectures := powerpc arm64 ppc64el s390x15testskip_architectures := powerpc arm64 ppc64el s390x
16testskip_series := yakkety xenial16testskip_series :=
1717
18override_dh_auto_configure:18override_dh_auto_configure:
19 qmake -r19 qmake -r
2020
=== modified file 'documentation/docs.sh'
--- documentation/docs.sh 2016-07-18 11:39:59 +0000
+++ documentation/docs.sh 2016-09-17 11:46:32 +0000
@@ -13,7 +13,15 @@
13# 13#
14# You should have received a copy of the GNU Lesser General Public License14# You should have received a copy of the GNU Lesser General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#16
17# FIXME(loicm)
18# Since the new src/ layout (src/imports/ for QML modules and src/ for libs),
19# the parsing order of the source files has changed. qdoc first stores all the
20# file names and then does a sort (QMap iteration) which makes
21# ucmainviewbase.cpp parsed before MainView.qml (UbuntuToolkit is sorted before
22# imports ASCII-wise). The result is that qdoc is unable to link to properties
23# inherited from UCMainViewBase like applicationName, so constructs like that
24# don't work: \l MainView::applicationName...
1725
18QDOC=$126QDOC=$1
19QHELPGENERATOR=$227QHELPGENERATOR=$2
2028
=== modified file 'documentation/statesaving.qdoc'
--- documentation/statesaving.qdoc 2016-01-22 14:58:16 +0000
+++ documentation/statesaving.qdoc 2016-09-17 11:46:32 +0000
@@ -53,7 +53,7 @@
53 for the application. However runtime application name change would require53 for the application. However runtime application name change would require
54 application restart.54 application restart.
5555
56 Having these preconditions, we can deduct that \l MainView::applicationName56 Having these preconditions, we can deduct that \l {MainView}'s applicationName
57 property is one of the properties which cannot be serialized.57 property is one of the properties which cannot be serialized.
5858
59 \section1 IDs59 \section1 IDs
6060
=== modified file 'documentation/ubuntu-theming.qdoc'
--- documentation/ubuntu-theming.qdoc 2016-03-17 17:43:14 +0000
+++ documentation/ubuntu-theming.qdoc 2016-09-17 11:46:32 +0000
@@ -127,7 +127,7 @@
127 * A typical example of such a style API is the PullToRefresh component's style:127 * A typical example of such a style API is the PullToRefresh component's style:
128 * \snippet Styles/1.2/PullToRefreshStyle.qml 0128 * \snippet Styles/1.2/PullToRefreshStyle.qml 0
129 * The default style implementation can be found under Ubuntu.Components.Themes.Ambiance129 * The default style implementation can be found under Ubuntu.Components.Themes.Ambiance
130 * theme \l {http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/src/Ubuntu/Components/Themes/Ambiance/1.3/PullToRefreshStyle.qml}130 * theme \l {http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/src/imports/Components/Themes/Ambiance/1.3/PullToRefreshStyle.qml}
131 * {PullToRefreshStyle.qml}.131 * {PullToRefreshStyle.qml}.
132 *132 *
133 * Beside these, component styles may provide default values for colors, fonts, widths,133 * Beside these, component styles may provide default values for colors, fonts, widths,
134134
=== modified file 'documentation/ubuntu-ui-toolkit-common.qdocconf'
--- documentation/ubuntu-ui-toolkit-common.qdocconf 2016-06-21 14:21:46 +0000
+++ documentation/ubuntu-ui-toolkit-common.qdocconf 2016-09-17 11:46:32 +0000
@@ -4,36 +4,36 @@
4defines = Q_QDOC4defines = Q_QDOC
5sourcedirs = ./5sourcedirs = ./
6headerdirs = ../include6headerdirs = ../include
7sourcedirs += ../src/Ubuntu/Components7sourcedirs += ../src/imports/Components
8headerdirs += ../src/Ubuntu/Components/plugin8headerdirs += ../src/imports/Components/plugin
9sourcedirs += ../src/Ubuntu/UbuntuToolkit9sourcedirs += ../src/UbuntuToolkit
10headerdirs += ../src/Ubuntu/UbuntuToolkit10headerdirs += ../src/UbuntuToolkit
11sourcedirs += ../src/Ubuntu/UbuntuGestures11sourcedirs += ../src/UbuntuGestures
12headerdirs += ../src/Ubuntu/UbuntuGestures12headerdirs += ../src/UbuntuGestures
13sourcedirs += ../src/Ubuntu/Layouts13sourcedirs += ../src/imports/Layouts
14headerdirs += ../src/Ubuntu/Layouts/plugin14headerdirs += ../src/imports/Layouts/plugin
15sourcedirs += ../src/Ubuntu/PerformanceMetrics15sourcedirs += ../src/imports/PerformanceMetrics
16headerdirs += ../src/Ubuntu/PerformanceMetrics/plugin16headerdirs += ../src/imports/PerformanceMetrics/plugin
17sourcedirs += ../src/Ubuntu/Test17sourcedirs += ../src/imports/Test
18headerdirs += ../src/Ubuntu/Test/plugin18headerdirs += ../src/imports/Test/plugin
19exampledirs += snippets19exampledirs += snippets
20exampledirs += ../examples20exampledirs += ../examples
21exampledirs += ../src/Ubuntu/Components21exampledirs += ../src/imports/Components
22excludedirs += ../src/Ubuntu/Components/1.022excludedirs += ../src/imports/Components/1.0
23excludedirs += ../src/Ubuntu/Components/1.123excludedirs += ../src/imports/Components/1.1
24excludedirs += ../src/Ubuntu/Components/1.224excludedirs += ../src/imports/Components/1.2
25excludedirs += ../src/Ubuntu/Components/ListItems/1.225excludedirs += ../src/imports/Components/ListItems/1.2
26excludedirs += ../src/Ubuntu/Components/Pickers/1.226excludedirs += ../src/imports/Components/Pickers/1.2
27excludedirs += ../src/Ubuntu/Components/Popups/1.227excludedirs += ../src/imports/Components/Popups/1.2
28excludedirs += ../src/Ubuntu/Components/Themes/Ambiance28excludedirs += ../src/imports/Components/Themes/Ambiance
29excludedirs += ../src/Ubuntu/Components/Themes/SuruDark29excludedirs += ../src/imports/Components/Themes/SuruDark
30excludedirs += ../documentation/autopilot-helpers/_build/html/_static30excludedirs += ../documentation/autopilot-helpers/_build/html/_static
31imagedirs = images31imagedirs = images
32sources.fileextensions = "*.qml *.qdoc *.cpp *.js"32sources.fileextensions = "*.qml *.qdoc *.cpp *.js"
33headers.fileextensions = "*.h"33headers.fileextensions = "*.h"
34# exclude qml files that have the component documented in a separate qdoc file34# exclude qml files that have the component documented in a separate qdoc file
35excludefiles += $BLD/../src/Ubuntu/Components/1.3/PageWrapperUtils.js35excludefiles += $BLD/../src/imports/Components/1.3/PageWrapperUtils.js
36excludefiles += ../src/Ubuntu/UbuntuToolkit/asyncloader.cpp36excludefiles += ../src/UbuntuToolkit/asyncloader.cpp
37outputdir = $BLD/html37outputdir = $BLD/html
38outputformats = HTML38outputformats = HTML
39version = 1.339version = 1.3
4040
=== modified file 'examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml'
--- examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml 2015-04-25 08:18:45 +0000
+++ examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml 2016-09-17 11:46:32 +0000
@@ -56,13 +56,13 @@
56 }56 }
5757
58 TemplateRow {58 TemplateRow {
59 title: i18n.tr("No label")59 title: progressTypeFlip.indeterminate ? i18n.tr("Infinite") : i18n.tr("Standard")
6060
61 ProgressBar {61 ProgressBar {
62 id: progressNoLabel62 id: progressTypeFlip
63 objectName: "progressbar_nolabel"63 objectName: "progressbar_nolabel"
64 width: parent.width64 anchors.verticalCenter: parent.verticalCenter
65 showProgressPercentage: false65 width: parent.width - (switchBox.width + label.width + 2 * parent.spacing)
6666
67 SequentialAnimation on value {67 SequentialAnimation on value {
68 loops: Animation.Infinite68 loops: Animation.Infinite
@@ -74,6 +74,15 @@
74 PauseAnimation {duration: 1000}74 PauseAnimation {duration: 1000}
75 }75 }
76 }76 }
77 Switch {
78 id: switchBox
79 checked: progressTypeFlip.indeterminate
80 onTriggered: progressTypeFlip.indeterminate = !progressTypeFlip.indeterminate
81 }
82 Label {
83 id: label
84 text: progressTypeFlip.indeterminate ? i18n.tr("to standard") : i18n.tr("to infinite")
85 }
77 }86 }
78 }87 }
7988
8089
=== modified file 'features/ubuntu_qt_module.prf'
--- features/ubuntu_qt_module.prf 2016-06-17 13:42:23 +0000
+++ features/ubuntu_qt_module.prf 2016-09-17 11:46:32 +0000
@@ -1,14 +1,18 @@
1!build_with_qt: {1# Enables the copy of private and public headers to an include directory at the
2 #enable autocreation of include directory2# root of the sources before compilation and the copy of the compiled libraries
3 CONFIG += git_build3# after compilation. Must be set before loading qt_module.
4}4CONFIG += git_build
55
6load(qt_module)6load(qt_module)
77
8# Disable CMake config file creation. Must be set after loading qt_module.
8CONFIG -= create_cmake9CONFIG -= create_cmake
910
10# when building against the system Qt we pick up the CXX_FLAGS for a release build11# Common config options.
11# reset them to the default debug build flags12CONFIG += dll no_keywords c++11
13
14# When building against the system Qt we pick up the CXX_FLAGS for a release
15# build reset them to the default debug build flags.
12!build_with_qt: {16!build_with_qt: {
13 CONFIG(debug, debug|release) {17 CONFIG(debug, debug|release) {
14 QMAKE_CFLAGS = $$QMAKE_CFLAGS_DEBUG18 QMAKE_CFLAGS = $$QMAKE_CFLAGS_DEBUG
@@ -16,8 +20,9 @@
16 }20 }
17}21}
1822
23# Make all warnings into errors.
19QMAKE_CXXFLAGS += -Werror24QMAKE_CXXFLAGS += -Werror
2025
21#do not warn for deprecated declarations26# Do not warn for deprecated declarations.
22QMAKE_CXXFLAGS -= -Werror=deprecated-declarations27QMAKE_CXXFLAGS -= -Werror=deprecated-declarations
23DEFINES -= QT_DEPRECATED_WARNINGS28DEFINES -= QT_DEPRECATED_WARNINGS
2429
=== removed directory 'src/Ubuntu/Components/ListItems/artwork'
=== renamed directory 'src/Ubuntu/UbuntuGestures' => 'src/UbuntuGestures'
=== modified file 'src/UbuntuGestures/UbuntuGestures.pro'
--- src/Ubuntu/UbuntuGestures/UbuntuGestures.pro 2016-07-06 11:27:11 +0000
+++ src/UbuntuGestures/UbuntuGestures.pro 2016-09-17 11:46:32 +0000
@@ -1,40 +1,33 @@
1TEMPLATE=lib1TARGET = UbuntuGestures
2TARGET=UbuntuGestures2QT = core-private gui-private qml-private quick-private
3
4QT *= core-private gui-private qml qml-private quick quick-private
5
6CONFIG += dll no_keywords c++11
7
8INCLUDEPATH+=$$PWD
93
10DEFINES += UBUNTUGESTURES_LIBRARY4DEFINES += UBUNTUGESTURES_LIBRARY
115
12load(qt_build_config)6HEADERS += \
7 $$PWD/candidateinactivitytimer_p.h \
8 $$PWD/damper_p.h \
9 $$PWD/debughelpers_p.h \
10 $$PWD/pool_p.h \
11 $$PWD/timer_p.h \
12 $$PWD/timesource_p.h \
13 $$PWD/touchownershipevent_p.h \
14 $$PWD/touchregistry_p.h \
15 $$PWD/ubuntugesturesglobal.h \
16 $$PWD/ubuntugesturesmodule.h \
17 $$PWD/ucswipearea_p.h \
18 $$PWD/ucswipearea_p_p.h \
19 $$PWD/unownedtouchevent_p.h
20
21SOURCES += \
22 $$PWD/candidateinactivitytimer.cpp \
23 $$PWD/damper.cpp \
24 $$PWD/debughelpers.cpp \
25 $$PWD/timer.cpp \
26 $$PWD/timesource.cpp \
27 $$PWD/touchownershipevent.cpp \
28 $$PWD/touchregistry.cpp \
29 $$PWD/ubuntugesturesmodule.cpp \
30 $$PWD/ucswipearea.cpp \
31 $$PWD/unownedtouchevent.cpp
32
13load(ubuntu_qt_module)33load(ubuntu_qt_module)
14
15HEADERS += candidateinactivitytimer_p.h \
16 debughelpers_p.h \
17 timer_p.h \
18 timesource_p.h \
19 touchownershipevent_p.h \
20 touchregistry_p.h \
21 unownedtouchevent_p.h \
22 ubuntugesturesglobal.h \
23 pool_p.h \
24 ucswipearea_p.h \
25 ucswipearea_p_p.h \
26 damper_p.h \
27 ubuntugesturesmodule.h
28
29
30SOURCES += candidateinactivitytimer.cpp \
31 debughelpers.cpp \
32 timer.cpp \
33 timesource.cpp \
34 touchownershipevent.cpp \
35 touchregistry.cpp \
36 unownedtouchevent.cpp \
37 ucswipearea.cpp \
38 damper.cpp \
39 ubuntugesturesmodule.cpp
40
4134
=== modified file 'src/UbuntuGestures/candidateinactivitytimer.cpp'
--- src/Ubuntu/UbuntuGestures/candidateinactivitytimer.cpp 2016-07-06 11:27:11 +0000
+++ src/UbuntuGestures/candidateinactivitytimer.cpp 2016-09-17 11:46:32 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include <UbuntuGestures/private/candidateinactivitytimer_p.h>17#include "candidateinactivitytimer_p.h"
1818
19UG_NAMESPACE_BEGIN19UG_NAMESPACE_BEGIN
2020
2121
=== modified file 'src/UbuntuGestures/candidateinactivitytimer_p.h'
--- src/Ubuntu/UbuntuGestures/candidateinactivitytimer_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/candidateinactivitytimer_p.h 2016-09-17 11:46:32 +0000
@@ -14,15 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H17#ifndef CANDIDATEINACTIVITYTIMER_P_H
18#define UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H18#define CANDIDATEINACTIVITYTIMER_P_H
1919
20#include <QObject>20#include <QtCore/QObject>
21
22#include <UbuntuGestures/private/timer_p.h>
2123
22class QQuickItem;24class QQuickItem;
2325
24#include <UbuntuGestures/private/timer_p.h>
25
26UG_NAMESPACE_BEGIN26UG_NAMESPACE_BEGIN
2727
28class UBUNTUGESTURES_EXPORT CandidateInactivityTimer : public QObject {28class UBUNTUGESTURES_EXPORT CandidateInactivityTimer : public QObject {
@@ -48,4 +48,4 @@
4848
49UG_NAMESPACE_END49UG_NAMESPACE_END
5050
51#endif // UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H51#endif // CANDIDATEINACTIVITYTIMER_P_H
5252
=== modified file 'src/UbuntuGestures/damper.cpp'
--- src/Ubuntu/UbuntuGestures/damper.cpp 2015-12-17 15:23:26 +0000
+++ src/UbuntuGestures/damper.cpp 2016-09-17 11:46:32 +0000
@@ -15,7 +15,8 @@
15 */15 */
1616
17#include "damper_p.h"17#include "damper_p.h"
18#include <QDebug>18
19#include <QtCore/QDebug>
1920
20QDebug operator<<(QDebug dbg, const DampedPointF &p)21QDebug operator<<(QDebug dbg, const DampedPointF &p)
21{22{
2223
=== modified file 'src/UbuntuGestures/damper_p.h'
--- src/Ubuntu/UbuntuGestures/damper_p.h 2015-12-17 15:23:26 +0000
+++ src/UbuntuGestures/damper_p.h 2016-09-17 11:46:32 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTU_GESTURES_DAMPER_H17#ifndef DAMPER_P_H
18#define UBUNTU_GESTURES_DAMPER_H18#define DAMPER_P_H
1919
20#include <QtCore/QPointF>20#include <QtCore/QPointF>
2121
@@ -86,4 +86,4 @@
8686
87QDebug operator<<(QDebug dbg, const DampedPointF &p);87QDebug operator<<(QDebug dbg, const DampedPointF &p);
8888
89#endif // UBUNTU_GESTURES_DAMPER_H89#endif // DAMPER_P_H
9090
=== modified file 'src/UbuntuGestures/debughelpers.cpp'
--- src/Ubuntu/UbuntuGestures/debughelpers.cpp 2016-07-06 11:27:11 +0000
+++ src/UbuntuGestures/debughelpers.cpp 2016-09-17 11:46:32 +0000
@@ -14,9 +14,10 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include <UbuntuGestures/private/debughelpers_p.h>17#include "debughelpers_p.h"
18#include <QTouchEvent>18
19#include <QMouseEvent>19#include <QtGui/QMouseEvent>
20#include <QtGui/QTouchEvent>
2021
21QString touchPointStateToString(Qt::TouchPointState state)22QString touchPointStateToString(Qt::TouchPointState state)
22{23{
2324
=== modified file 'src/UbuntuGestures/debughelpers_p.h'
--- src/Ubuntu/UbuntuGestures/debughelpers_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/debughelpers_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,10 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTUGESTURES_DEBUG_HELPER_H17#ifndef DEBUGHELPERS_P_H
18#define UBUNTUGESTURES_DEBUG_HELPER_H18#define DEBUGHELPERS_P_H
1919
20#include <QString>20#include <QtCore/QString>
21
22#include "ubuntugesturesglobal.h"
2321
24class QMouseEvent;22class QMouseEvent;
25class QTouchEvent;23class QTouchEvent;
@@ -28,4 +26,4 @@
28QString touchEventToString(const QTouchEvent *ev);26QString touchEventToString(const QTouchEvent *ev);
29QString mouseEventToString(const QMouseEvent *ev);27QString mouseEventToString(const QMouseEvent *ev);
3028
31#endif // UBUNTUGESTURES_DEBUG_HELPER_H29#endif // DEBUGHELPERS_P_H
3230
=== modified file 'src/UbuntuGestures/pool_p.h'
--- src/Ubuntu/UbuntuGestures/pool_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/pool_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTUGESTURES_POOL_H17#ifndef POOL_P_H
18#define UBUNTUGESTURES_POOL_H18#define POOL_P_H
1919
20#include <QVector>20#include <QtCore/QVector>
2121
22#include "ubuntugesturesglobal.h"22#include <UbuntuGestures/ubuntugesturesglobal.h>
2323
24/*24/*
25 An object pool.25 An object pool.
@@ -129,4 +129,4 @@
129 int m_lastUsedIndex;129 int m_lastUsedIndex;
130};130};
131131
132#endif // UBUNTUGESTURES_POOL_H132#endif // POOL_P_H
133133
=== modified file 'src/UbuntuGestures/timer.cpp'
--- src/Ubuntu/UbuntuGestures/timer.cpp 2016-07-25 14:02:18 +0000
+++ src/UbuntuGestures/timer.cpp 2016-09-17 11:46:32 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include <UbuntuGestures/private/timer_p.h>17#include "timer_p.h"
1818
19UG_NAMESPACE_BEGIN19UG_NAMESPACE_BEGIN
2020
2121
=== modified file 'src/UbuntuGestures/timer_p.h'
--- src/Ubuntu/UbuntuGestures/timer_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/timer_p.h 2016-09-17 11:46:32 +0000
@@ -14,16 +14,16 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTUGESTURES_TIMER_H17#ifndef TIMER_P_H
18#define UBUNTUGESTURES_TIMER_H18#define TIMER_P_H
1919
20#include "ubuntugesturesglobal.h"20#include <QtCore/QObject>
21#include <QtCore/QPointer>
22#include <QtCore/QTimer>
23
24#include <UbuntuGestures/ubuntugesturesglobal.h>
21#include <UbuntuGestures/private/timesource_p.h>25#include <UbuntuGestures/private/timesource_p.h>
2226
23#include <QObject>
24#include <QPointer>
25#include <QTimer>
26
27UG_NAMESPACE_BEGIN27UG_NAMESPACE_BEGIN
2828
29/* Defines an interface for a Timer. */29/* Defines an interface for a Timer. */
@@ -114,4 +114,4 @@
114114
115UG_NAMESPACE_END115UG_NAMESPACE_END
116116
117#endif // UBUNTUGESTURES_TIMER_H117#endif // TIMER_P_H
118118
=== modified file 'src/UbuntuGestures/timesource.cpp'
--- src/Ubuntu/UbuntuGestures/timesource.cpp 2016-07-25 14:02:18 +0000
+++ src/UbuntuGestures/timesource.cpp 2016-09-17 11:46:32 +0000
@@ -16,9 +16,9 @@
16 * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com>16 * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com>
17 */17 */
1818
19#include <UbuntuGestures/private/timesource_p.h>19#include "timesource_p.h"
2020
21#include <QElapsedTimer>21#include <QtCore/QElapsedTimer>
2222
23UG_NAMESPACE_BEGIN23UG_NAMESPACE_BEGIN
2424
2525
=== modified file 'src/UbuntuGestures/timesource_p.h'
--- src/Ubuntu/UbuntuGestures/timesource_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/timesource_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com>16 * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com>
17 */17 */
1818
19#ifndef UBUNTUGESTURES_TIMESOURCE_H19#ifndef TIMESOURCE_P_H
20#define UBUNTUGESTURES_TIMESOURCE_H20#define TIMESOURCE_P_H
2121
22#include "ubuntugesturesglobal.h"22#include <QtCore/QSharedPointer>
23#include <QSharedPointer>23
24#include <UbuntuGestures/ubuntugesturesglobal.h>
2425
25UG_NAMESPACE_BEGIN26UG_NAMESPACE_BEGIN
26/*27/*
@@ -59,4 +60,4 @@
5960
60UG_NAMESPACE_END61UG_NAMESPACE_END
6162
62#endif // UBUNTUGESTURES_TIMESOURCE_H63#endif // TIMESOURCE_P_H
6364
=== modified file 'src/UbuntuGestures/touchownershipevent.cpp'
--- src/Ubuntu/UbuntuGestures/touchownershipevent.cpp 2016-07-06 11:27:11 +0000
+++ src/UbuntuGestures/touchownershipevent.cpp 2016-09-17 11:46:32 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include <UbuntuGestures/private/touchownershipevent_p.h>17#include "touchownershipevent_p.h"
1818
19UG_NAMESPACE_BEGIN19UG_NAMESPACE_BEGIN
2020
2121
=== modified file 'src/UbuntuGestures/touchownershipevent_p.h'
--- src/Ubuntu/UbuntuGestures/touchownershipevent_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/touchownershipevent_p.h 2016-09-17 11:46:32 +0000
@@ -14,11 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTU_TOUCHOWNERSHIPEVENT_H17#ifndef TOUCHOWNERSHIPEVENT_P_H
18#define UBUNTU_TOUCHOWNERSHIPEVENT_H18#define TOUCHOWNERSHIPEVENT_P_H
1919
20#include <QEvent>20#include <QtCore/QEvent>
21#include "ubuntugesturesglobal.h"21
22#include <UbuntuGestures/ubuntugesturesglobal.h>
2223
23UG_NAMESPACE_BEGIN24UG_NAMESPACE_BEGIN
24/*25/*
@@ -50,4 +51,4 @@
5051
51UG_NAMESPACE_END52UG_NAMESPACE_END
5253
53#endif // UBUNTU_TOUCHOWNERSHIPEVENT_H54#endif // TOUCHOWNERSHIPEVENT_P_H
5455
=== modified file 'src/UbuntuGestures/touchregistry.cpp'
--- src/Ubuntu/UbuntuGestures/touchregistry.cpp 2016-07-06 11:27:11 +0000
+++ src/UbuntuGestures/touchregistry.cpp 2016-09-17 11:46:32 +0000
@@ -14,21 +14,20 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include <UbuntuGestures/private/touchregistry_p.h>17#include "touchregistry_p.h"
1818
19#include <QCoreApplication>19#include <QtCore/QCoreApplication>
20#include <QDebug>20#include <QtCore/QDebug>
2121#include <QtQuick/private/qquickitem_p.h>
22#include <private/qquickitem_p.h>22
2323#include "candidateinactivitytimer_p.h"
24#include <UbuntuGestures/private/candidateinactivitytimer_p.h>24#include "debughelpers_p.h"
25#include <UbuntuGestures/private/timer_p.h>25#include "timer_p.h"
26#include <UbuntuGestures/private/touchownershipevent_p.h>26#include "touchownershipevent_p.h"
27#include <UbuntuGestures/private/unownedtouchevent_p.h>27#include "unownedtouchevent_p.h"
2828
29Q_LOGGING_CATEGORY(ugTouchRegistry, "libubuntugestures.TouchRegistry", QtMsgType::QtWarningMsg)29Q_LOGGING_CATEGORY(ugTouchRegistry, "libubuntugestures.TouchRegistry", QtMsgType::QtWarningMsg)
3030
31#include <UbuntuGestures/private/debughelpers_p.h>
32#define UG_DEBUG qCDebug(ugTouchRegistry) << "[TouchRegistry]"31#define UG_DEBUG qCDebug(ugTouchRegistry) << "[TouchRegistry]"
3332
34UG_NAMESPACE_BEGIN33UG_NAMESPACE_BEGIN
3534
=== modified file 'src/UbuntuGestures/touchregistry_p.h'
--- src/Ubuntu/UbuntuGestures/touchregistry_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/touchregistry_p.h 2016-09-17 11:46:32 +0000
@@ -14,23 +14,21 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UNITY_TOUCHREGISTRY_H17#ifndef TOUCHREGISTRY_P_H
18#define UNITY_TOUCHREGISTRY_H18#define TOUCHREGISTRY_P_H
1919
20#include <QtCore/QLoggingCategory>
21#include <QtCore/QObject>
22#include <QtCore/QPointer>
23#include <QtCore/QVector>
24#include <QtGui/QTouchEvent>
20#include <QtQuick/QQuickItem>25#include <QtQuick/QQuickItem>
21#include <QObject>
22#include <QPointer>
23#include <QTouchEvent>
24#include <QVector>
2526
26#include "ubuntugesturesglobal.h"27#include <UbuntuGestures/ubuntugesturesglobal.h>
27#include <UbuntuGestures/private/candidateinactivitytimer_p.h>28#include <UbuntuGestures/private/candidateinactivitytimer_p.h>
28#include <UbuntuGestures/private/timer_p.h>29#include <UbuntuGestures/private/timer_p.h>
29#include <UbuntuGestures/private/pool_p.h>30#include <UbuntuGestures/private/pool_p.h>
3031
31// logging
32#include <QtCore/QLoggingCategory>
33
34UG_FORWARD_DECLARE_CLASS(AbstractTimerFactory)32UG_FORWARD_DECLARE_CLASS(AbstractTimerFactory)
3533
36/*34/*
@@ -206,4 +204,4 @@
206204
207Q_DECLARE_LOGGING_CATEGORY(ugTouchRegistry)205Q_DECLARE_LOGGING_CATEGORY(ugTouchRegistry)
208206
209#endif // UNITY_TOUCHREGISTRY_H207#endif // TOUCHREGISTRY_P_H
210208
=== modified file 'src/UbuntuGestures/ubuntugesturesmodule.cpp'
--- src/Ubuntu/UbuntuGestures/ubuntugesturesmodule.cpp 2016-06-21 14:21:46 +0000
+++ src/UbuntuGestures/ubuntugesturesmodule.cpp 2016-09-17 11:46:32 +0000
@@ -16,10 +16,11 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include <QtQml/QtQml>
19#include <QtQml/QQmlEngine>20#include <QtQml/QQmlEngine>
20#include <QtQml>21
21#include "ubuntugesturesmodule.h"22#include "ubuntugesturesmodule.h"
22#include <private/ucswipearea_p.h>23#include "ucswipearea_p.h"
2324
24UG_NAMESPACE_BEGIN25UG_NAMESPACE_BEGIN
2526
2627
=== modified file 'src/UbuntuGestures/ubuntugesturesmodule.h'
--- src/Ubuntu/UbuntuGestures/ubuntugesturesmodule.h 2016-07-06 09:51:06 +0000
+++ src/UbuntuGestures/ubuntugesturesmodule.h 2016-09-17 11:46:32 +0000
@@ -19,7 +19,7 @@
19#ifndef UBUNTUGESTURESMODULE_H19#ifndef UBUNTUGESTURESMODULE_H
20#define UBUNTUGESTURESMODULE_H20#define UBUNTUGESTURESMODULE_H
2121
22#include <ubuntugesturesglobal.h>22#include <UbuntuGestures/ubuntugesturesglobal.h>
2323
24UG_NAMESPACE_BEGIN24UG_NAMESPACE_BEGIN
2525
2626
=== modified file 'src/UbuntuGestures/ucswipearea.cpp'
--- src/Ubuntu/UbuntuGestures/ucswipearea.cpp 2016-07-25 14:02:18 +0000
+++ src/UbuntuGestures/ucswipearea.cpp 2016-09-17 11:46:32 +0000
@@ -12,22 +12,19 @@
12 *12 *
13 * You should have received a copy of the GNU General Public License13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#include "ucswipearea_p_p.h"17#include "ucswipearea_p_p.h"
1918
20#include <QQuickWindow>19#include <QtCore/QDebug>
21#include <QtCore/qmath.h>20#include <QtGui/QScreen>
22#include <QScreen>21#include <QtCore/QtMath>
23#include <QDebug>22#include <QtQuick/QQuickWindow>
2423#include <QtQuick/private/qquickwindow_p.h>
25#include <private/qquickwindow_p.h>24
2625#include "touchownershipevent_p.h"
27// local26#include "touchregistry_p.h"
28#include <UbuntuGestures/private/touchownershipevent_p.h>27#include "unownedtouchevent_p.h"
29#include <UbuntuGestures/private/touchregistry_p.h>
30#include <UbuntuGestures/private/unownedtouchevent_p.h>
3128
32UG_NAMESPACE_BEGIN29UG_NAMESPACE_BEGIN
3330
3431
=== modified file 'src/UbuntuGestures/ucswipearea_p.h'
--- src/Ubuntu/UbuntuGestures/ucswipearea_p.h 2016-07-06 11:27:11 +0000
+++ src/UbuntuGestures/ucswipearea_p.h 2016-09-17 11:46:32 +0000
@@ -12,22 +12,18 @@
12 *12 *
13 * You should have received a copy of the GNU General Public License13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef UCSWIPEAREA_H17#ifndef UCSWIPEAREA_P_H
19#define UCSWIPEAREA_H18#define UCSWIPEAREA_P_H
2019
20#include <QtCore/QLoggingCategory>
21#include <QtQuick/QQuickItem>21#include <QtQuick/QQuickItem>
22#include "ubuntugesturesglobal.h"
2322
24// lib UbuntuGestures23#include <UbuntuGestures/ubuntugesturesglobal.h>
25#include <UbuntuGestures/private/pool_p.h>24#include <UbuntuGestures/private/pool_p.h>
26#include <UbuntuGestures/private/timer_p.h>25#include <UbuntuGestures/private/timer_p.h>
2726
28// logging
29#include <QtCore/QLoggingCategory>
30
31UG_NAMESPACE_BEGIN27UG_NAMESPACE_BEGIN
3228
33class TouchOwnershipEvent;29class TouchOwnershipEvent;
@@ -106,4 +102,4 @@
106Q_DECLARE_LOGGING_CATEGORY(ucSwipeArea)102Q_DECLARE_LOGGING_CATEGORY(ucSwipeArea)
107Q_DECLARE_LOGGING_CATEGORY(ucActiveTouchInfo)103Q_DECLARE_LOGGING_CATEGORY(ucActiveTouchInfo)
108104
109#endif // UCSWIPEAREA_H105#endif // UCSWIPEAREA_P_H
110106
=== modified file 'src/UbuntuGestures/ucswipearea_p_p.h'
--- src/Ubuntu/UbuntuGestures/ucswipearea_p_p.h 2016-07-25 14:02:18 +0000
+++ src/UbuntuGestures/ucswipearea_p_p.h 2016-09-17 11:46:32 +0000
@@ -12,16 +12,16 @@
12 *12 *
13 * You should have received a copy of the GNU General Public License13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef UCSWIPEAREAPRIVATE_H17#ifndef UCSWIPEAREA_P_P_H
19#define UCSWIPEAREAPRIVATE_H18#define UCSWIPEAREA_P_P_H
2019
21#include "ucswipearea_p.h"20#include <UbuntuGestures/private/ucswipearea_p.h>
21
22#include <QtQuick/private/qquickitem_p.h>22#include <QtQuick/private/qquickitem_p.h>
2323
24#include "damper_p.h"24#include <UbuntuGestures/private/damper_p.h>
2525
26UG_NAMESPACE_BEGIN26UG_NAMESPACE_BEGIN
2727
@@ -175,4 +175,4 @@
175175
176UG_NAMESPACE_END176UG_NAMESPACE_END
177177
178#endif // UCSWIPEAREAPRIVATE_H178#endif // UCSWIPEAREA_P_P_H
179179
=== modified file 'src/UbuntuGestures/unownedtouchevent.cpp'
--- src/Ubuntu/UbuntuGestures/unownedtouchevent.cpp 2016-07-06 11:27:11 +0000
+++ src/UbuntuGestures/unownedtouchevent.cpp 2016-09-17 11:46:32 +0000
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include <UbuntuGestures/private/unownedtouchevent_p.h>17#include "unownedtouchevent_p.h"
1818
19UG_NAMESPACE_BEGIN19UG_NAMESPACE_BEGIN
2020
2121
=== modified file 'src/UbuntuGestures/unownedtouchevent_p.h'
--- src/Ubuntu/UbuntuGestures/unownedtouchevent_p.h 2016-08-09 07:12:07 +0000
+++ src/UbuntuGestures/unownedtouchevent_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,13 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTU_UNOWNEDTOUCHEVENT_H17#ifndef UNOWNEDTOUCHEVENT_P_H
18#define UBUNTU_UNOWNEDTOUCHEVENT_H18#define UNOWNEDTOUCHEVENT_P_H
1919
20#include <QTouchEvent>20#include <QtCore/QScopedPointer>
21#include <QScopedPointer>21#include <QtGui/QTouchEvent>
22#include "ubuntugesturesglobal.h"22
23#include <UbuntuGestures/ubuntugesturesglobal.h>
2324
24UG_NAMESPACE_BEGIN25UG_NAMESPACE_BEGIN
25/*26/*
@@ -45,4 +46,4 @@
4546
46UG_NAMESPACE_END47UG_NAMESPACE_END
4748
48#endif // UBUNTU_UNOWNEDTOUCHEVENT_H49#endif // UNOWNEDTOUCHEVENT_P_H
4950
=== renamed directory 'src/Ubuntu/UbuntuMetrics' => 'src/UbuntuMetrics'
=== modified file 'src/UbuntuMetrics/UbuntuMetrics.pro'
--- src/Ubuntu/UbuntuMetrics/UbuntuMetrics.pro 2016-08-04 22:54:21 +0000
+++ src/UbuntuMetrics/UbuntuMetrics.pro 2016-09-17 11:46:32 +0000
@@ -1,7 +1,5 @@
1TEMPLATE=lib1TARGET = UbuntuMetrics
2TARGET=UbuntuMetrics2QT = core-private gui-private quick-private
3QT += core-private gui-private quick-private
4CONFIG += dll no_keywords c++11
5LIBS += -ldl3LIBS += -ldl
64
7contains(QT_CONFIG, opengles2) {5contains(QT_CONFIG, opengles2) {
@@ -12,30 +10,26 @@
12DEFINES += LTTNG_PLUGIN_INSTALL_PATH=\\\"$$[QT_INSTALL_PLUGINS]/ubuntu/metrics/libumlttng.so\\\"10DEFINES += LTTNG_PLUGIN_INSTALL_PATH=\\\"$$[QT_INSTALL_PLUGINS]/ubuntu/metrics/libumlttng.so\\\"
13DEFINES += LTTNG_PLUGIN_BUILD_PATH=\\\"$$OUT_PWD/lttng/libumlttng.so\\\"11DEFINES += LTTNG_PLUGIN_BUILD_PATH=\\\"$$OUT_PWD/lttng/libumlttng.so\\\"
1412
15load(qt_build_config)
16load(ubuntu_qt_module)
17
18PUBLIC_HEADERS = \
19 $$PWD/ubuntumetricsglobal.h \
20 $$PWD/events.h \
21 $$PWD/logger.h \
22 $$PWD/applicationmonitor.h
23
24HEADERS += \13HEADERS += \
25 $${PUBLIC_HEADERS} \14 $$PWD/applicationmonitor.h \
26 $$PWD/ubuntumetricsglobal_p.h \15 $$PWD/applicationmonitor_p.h \
16 $$PWD/bitmaptext_p.h \
27 $$PWD/bitmaptextfont_p.h \17 $$PWD/bitmaptextfont_p.h \
18 $$PWD/events.h \
28 $$PWD/events_p.h \19 $$PWD/events_p.h \
20 $$PWD/gputimer_p.h \
21 $$PWD/logger.h \
29 $$PWD/logger_p.h \22 $$PWD/logger_p.h \
30 $$PWD/gputimer_p.h \
31 $$PWD/bitmaptext_p.h \
32 $$PWD/overlay_p.h \23 $$PWD/overlay_p.h \
33 $$PWD/applicationmonitor_p.h24 $$PWD/ubuntumetricsglobal.h \
25 $$PWD/ubuntumetricsglobal_p.h \
3426
35SOURCES += \27SOURCES += \
28 $$PWD/applicationmonitor.cpp \
29 $$PWD/bitmaptext.cpp \
36 $$PWD/events.cpp \30 $$PWD/events.cpp \
31 $$PWD/gputimer.cpp \
37 $$PWD/logger.cpp \32 $$PWD/logger.cpp \
38 $$PWD/gputimer.cpp \33 $$PWD/overlay.cpp
39 $$PWD/bitmaptext.cpp \34
40 $$PWD/overlay.cpp \35load(ubuntu_qt_module)
41 $$PWD/applicationmonitor.cpp
4236
=== modified file 'src/UbuntuMetrics/applicationmonitor.cpp'
--- src/Ubuntu/UbuntuMetrics/applicationmonitor.cpp 2016-08-22 06:18:26 +0000
+++ src/UbuntuMetrics/applicationmonitor.cpp 2016-09-17 11:46:32 +0000
@@ -16,6 +16,7 @@
16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
1717
18#include "applicationmonitor_p.h"18#include "applicationmonitor_p.h"
19
19#include <QtCore/QTimer>20#include <QtCore/QTimer>
20#include <QtGui/QGuiApplication>21#include <QtGui/QGuiApplication>
21#include <QtQuick/QQuickWindow>22#include <QtQuick/QQuickWindow>
2223
=== modified file 'src/UbuntuMetrics/applicationmonitor.h'
--- src/Ubuntu/UbuntuMetrics/applicationmonitor.h 2016-08-05 00:11:54 +0000
+++ src/UbuntuMetrics/applicationmonitor.h 2016-09-17 11:46:32 +0000
@@ -18,10 +18,11 @@
18#ifndef APPLICATIONMONITOR_H18#ifndef APPLICATIONMONITOR_H
19#define APPLICATIONMONITOR_H19#define APPLICATIONMONITOR_H
2020
21#include <UbuntuMetrics/ubuntumetricsglobal.h>21#include <QtCore/QList>
22
22#include <UbuntuMetrics/logger.h>23#include <UbuntuMetrics/logger.h>
23#include <UbuntuMetrics/events.h>24#include <UbuntuMetrics/events.h>
24#include <QtCore/QList>25#include <UbuntuMetrics/ubuntumetricsglobal.h>
2526
26class UMApplicationMonitorPrivate;27class UMApplicationMonitorPrivate;
2728
2829
=== modified file 'src/UbuntuMetrics/applicationmonitor_p.h'
--- src/Ubuntu/UbuntuMetrics/applicationmonitor_p.h 2016-08-05 15:07:39 +0000
+++ src/UbuntuMetrics/applicationmonitor_p.h 2016-09-17 11:46:32 +0000
@@ -18,10 +18,8 @@
18#ifndef APPLICATIONMONITOR_P_H18#ifndef APPLICATIONMONITOR_P_H
19#define APPLICATIONMONITOR_P_H19#define APPLICATIONMONITOR_P_H
2020
21#include "applicationmonitor.h"21#include <UbuntuMetrics/applicationmonitor.h>
22#include "overlay_p.h"22
23#include "gputimer_p.h"
24#include "ubuntumetricsglobal_p.h"
25#include <QtCore/QTimer>23#include <QtCore/QTimer>
26#include <QtCore/QThread>24#include <QtCore/QThread>
27#include <QtCore/QMutex>25#include <QtCore/QMutex>
@@ -30,6 +28,10 @@
30#include <QtCore/QRunnable>28#include <QtCore/QRunnable>
31#include <QtCore/QAtomicInteger>29#include <QtCore/QAtomicInteger>
3230
31#include <UbuntuMetrics/private/overlay_p.h>
32#include <UbuntuMetrics/private/gputimer_p.h>
33#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
34
33class LoggingThread;35class LoggingThread;
34class WindowMonitor;36class WindowMonitor;
35class QQuickWindow;37class QQuickWindow;
3638
=== modified file 'src/UbuntuMetrics/bitmaptext.cpp'
--- src/Ubuntu/UbuntuMetrics/bitmaptext.cpp 2016-08-19 03:35:49 +0000
+++ src/UbuntuMetrics/bitmaptext.cpp 2016-09-17 11:46:32 +0000
@@ -16,12 +16,14 @@
16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
1717
18#include <math.h>18#include <math.h>
19
20#include <QtCore/QtGlobal>
21#include <QtCore/QPoint>
22#include <QtCore/QSize>
23
19#include "bitmaptext_p.h"24#include "bitmaptext_p.h"
20#include "bitmaptextfont_p.h"25#include "bitmaptextfont_p.h"
21#include "ubuntumetricsglobal_p.h"26#include "ubuntumetricsglobal_p.h"
22#include <QtCore/QtGlobal>
23#include <QtCore/QSize>
24#include <QtCore/QPoint>
2527
26static const GLchar* bitmapTextVertexShaderSource =28static const GLchar* bitmapTextVertexShaderSource =
27#if !defined(QT_OPENGL_ES_2)29#if !defined(QT_OPENGL_ES_2)
2830
=== modified file 'src/UbuntuMetrics/bitmaptext_p.h'
--- src/Ubuntu/UbuntuMetrics/bitmaptext_p.h 2016-08-05 15:07:39 +0000
+++ src/UbuntuMetrics/bitmaptext_p.h 2016-09-17 11:46:32 +0000
@@ -18,9 +18,10 @@
18#ifndef BITMAPTEXT_P_H18#ifndef BITMAPTEXT_P_H
19#define BITMAPTEXT_P_H19#define BITMAPTEXT_P_H
2020
21#include "ubuntumetricsglobal_p.h"
22#include <QtGui/QOpenGLFunctions>21#include <QtGui/QOpenGLFunctions>
2322
23#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
24
24// BitmapText renders a monospaced bitmap Latin-1 encoded text (128 characters)25// BitmapText renders a monospaced bitmap Latin-1 encoded text (128 characters)
25// stored in a single texture atlas using OpenGL. The font is generated by26// stored in a single texture atlas using OpenGL. The font is generated by
26// bitmap-text-builder and stored in the bitmaptextfont_p.h header.27// bitmap-text-builder and stored in the bitmaptextfont_p.h header.
2728
=== modified file 'src/UbuntuMetrics/events.cpp'
--- src/Ubuntu/UbuntuMetrics/events.cpp 2016-08-18 17:42:55 +0000
+++ src/UbuntuMetrics/events.cpp 2016-09-17 11:46:32 +0000
@@ -16,12 +16,15 @@
16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
1717
18#include "events_p.h"18#include "events_p.h"
19#include "ubuntumetricsglobal_p.h"19
20#include <QtCore/QElapsedTimer>
21#include <string.h>20#include <string.h>
22#include <unistd.h>21#include <unistd.h>
23#include <fcntl.h>22#include <fcntl.h>
24#include <cstdio>23#include <stdio.h>
24
25#include <QtCore/QElapsedTimer>
26
27#include "ubuntumetricsglobal_p.h"
2528
26const int bufferSize = 128;29const int bufferSize = 128;
27const int bufferAlignment = 64;30const int bufferAlignment = 64;
2831
=== modified file 'src/UbuntuMetrics/events_p.h'
--- src/Ubuntu/UbuntuMetrics/events_p.h 2016-08-05 15:07:39 +0000
+++ src/UbuntuMetrics/events_p.h 2016-09-17 11:46:32 +0000
@@ -18,10 +18,13 @@
18#ifndef EVENTS_P_H18#ifndef EVENTS_P_H
19#define EVENTS_P_H19#define EVENTS_P_H
2020
21#include "events.h"21#include <UbuntuMetrics/events.h>
22#include "ubuntumetricsglobal_p.h"22
23#include <sys/times.h>
24
23#include <QtCore/QElapsedTimer>25#include <QtCore/QElapsedTimer>
24#include <sys/times.h>26
27#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
2528
26class UBUNTU_METRICS_PRIVATE_EXPORT EventUtilsPrivate29class UBUNTU_METRICS_PRIVATE_EXPORT EventUtilsPrivate
27{30{
2831
=== modified file 'src/UbuntuMetrics/gputimer.cpp'
--- src/Ubuntu/UbuntuMetrics/gputimer.cpp 2016-07-26 13:41:18 +0000
+++ src/UbuntuMetrics/gputimer.cpp 2016-09-17 11:46:32 +0000
@@ -16,8 +16,10 @@
16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
1717
18#include "gputimer_p.h"18#include "gputimer_p.h"
19
20#include <QtCore/QElapsedTimer>
21
19#include "ubuntumetricsglobal_p.h"22#include "ubuntumetricsglobal_p.h"
20#include <QtCore/QElapsedTimer>
2123
22#if !defined(QT_OPENGL_ES) && !defined(GL_TIME_ELAPSED)24#if !defined(QT_OPENGL_ES) && !defined(GL_TIME_ELAPSED)
23#define GL_TIME_ELAPSED 0x88BF // For GL_EXT_timer_query.25#define GL_TIME_ELAPSED 0x88BF // For GL_EXT_timer_query.
2426
=== modified file 'src/UbuntuMetrics/gputimer_p.h'
--- src/Ubuntu/UbuntuMetrics/gputimer_p.h 2016-08-05 15:07:39 +0000
+++ src/UbuntuMetrics/gputimer_p.h 2016-09-17 11:46:32 +0000
@@ -18,13 +18,15 @@
18#ifndef GPUTIMER_P_H18#ifndef GPUTIMER_P_H
19#define GPUTIMER_P_H19#define GPUTIMER_P_H
2020
21#include "ubuntumetricsglobal_p.h"
22#include <QtGui/QOpenGLFunctions>21#include <QtGui/QOpenGLFunctions>
22
23#if defined(QT_OPENGL_ES)23#if defined(QT_OPENGL_ES)
24#include <EGL/egl.h>24#include <EGL/egl.h>
25#include <EGL/eglext.h>25#include <EGL/eglext.h>
26#endif26#endif
2727
28#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
29
28// GPUTimer is used to measure the amount of time taken by the GPU to fully30// GPUTimer is used to measure the amount of time taken by the GPU to fully
29// complete a set of graphics commands. As opposed to a basic timer which would31// complete a set of graphics commands. As opposed to a basic timer which would
30// determine the time taken by the graphics driver to push the graphics commands32// determine the time taken by the graphics driver to push the graphics commands
3133
=== modified file 'src/UbuntuMetrics/logger.cpp'
--- src/Ubuntu/UbuntuMetrics/logger.cpp 2016-08-06 00:54:30 +0000
+++ src/UbuntuMetrics/logger.cpp 2016-09-17 11:46:32 +0000
@@ -16,13 +16,14 @@
16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
1717
18#include "logger_p.h"18#include "logger_p.h"
19#include "ubuntumetricsglobal_p.h"19
20#include "events.h"20#include <dlfcn.h>
21
21#include <QtCore/QDir>22#include <QtCore/QDir>
22#include <QtCore/QTime>23#include <QtCore/QTime>
2324
24// LTTng shared object runtime loading.25#include "events.h"
25#include <dlfcn.h>26#include "ubuntumetricsglobal_p.h"
26#define TRACEPOINT_DEFINE27#define TRACEPOINT_DEFINE
27#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE28#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
28#include "lttng/lttng_p.h"29#include "lttng/lttng_p.h"
2930
=== modified file 'src/UbuntuMetrics/logger.h'
--- src/Ubuntu/UbuntuMetrics/logger.h 2016-08-04 22:54:21 +0000
+++ src/UbuntuMetrics/logger.h 2016-09-17 11:46:32 +0000
@@ -18,8 +18,9 @@
18#ifndef LOGGER_H18#ifndef LOGGER_H
19#define LOGGER_H19#define LOGGER_H
2020
21#include <QtCore/QFile>
22
21#include <UbuntuMetrics/ubuntumetricsglobal.h>23#include <UbuntuMetrics/ubuntumetricsglobal.h>
22#include <QtCore/QFile>
2324
24class UMEvent;25class UMEvent;
25class UMFileLoggerPrivate;26class UMFileLoggerPrivate;
2627
=== modified file 'src/UbuntuMetrics/logger_p.h'
--- src/Ubuntu/UbuntuMetrics/logger_p.h 2016-08-05 15:07:39 +0000
+++ src/UbuntuMetrics/logger_p.h 2016-09-17 11:46:32 +0000
@@ -18,12 +18,14 @@
18#ifndef LOGGER_P_H18#ifndef LOGGER_P_H
19#define LOGGER_P_H19#define LOGGER_P_H
2020
21#include "logger.h"21#include <UbuntuMetrics/logger.h>
22#include "ubuntumetricsglobal_p.h"22
23#include "events.h"
24#include <QtCore/QFile>23#include <QtCore/QFile>
25#include <QtCore/QTextStream>24#include <QtCore/QTextStream>
2625
26#include <UbuntuMetrics/events.h>
27#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
28
27class UBUNTU_METRICS_PRIVATE_EXPORT UMFileLoggerPrivate29class UBUNTU_METRICS_PRIVATE_EXPORT UMFileLoggerPrivate
28{30{
29public:31public:
3032
=== modified file 'src/UbuntuMetrics/overlay.cpp'
--- src/Ubuntu/UbuntuMetrics/overlay.cpp 2016-07-26 13:41:18 +0000
+++ src/UbuntuMetrics/overlay.cpp 2016-09-17 11:46:32 +0000
@@ -16,11 +16,14 @@
16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.16// along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
1717
18#include "overlay_p.h"18#include "overlay_p.h"
19#include "ubuntumetricsglobal_p.h"19
20#include <unistd.h>
21#include <fcntl.h>
22
20#include <QtCore/QSysInfo>23#include <QtCore/QSysInfo>
21#include <QtGui/QGuiApplication>24#include <QtGui/QGuiApplication>
22#include <unistd.h>25
23#include <fcntl.h>26#include "ubuntumetricsglobal_p.h"
2427
25static const QPointF position = QPointF(5.0f, 5.0f);28static const QPointF position = QPointF(5.0f, 5.0f);
26static const float opacity = 0.85f;29static const float opacity = 0.85f;
2730
=== modified file 'src/UbuntuMetrics/overlay_p.h'
--- src/Ubuntu/UbuntuMetrics/overlay_p.h 2016-08-05 15:07:39 +0000
+++ src/UbuntuMetrics/overlay_p.h 2016-09-17 11:46:32 +0000
@@ -18,11 +18,12 @@
18#ifndef OVERLAY_P_H18#ifndef OVERLAY_P_H
19#define OVERLAY_P_H19#define OVERLAY_P_H
2020
21#include "ubuntumetricsglobal_p.h"
22#include "bitmaptext_p.h"
23#include "events.h"
24#include <QtCore/QSize>21#include <QtCore/QSize>
2522
23#include <UbuntuMetrics/events.h>
24#include <UbuntuMetrics/private/bitmaptext_p.h>
25#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
26
26#if !defined QT_NO_DEBUG27#if !defined QT_NO_DEBUG
27class QOpenGLContext;28class QOpenGLContext;
28#endif29#endif
2930
=== modified file 'src/UbuntuMetrics/ubuntumetricsglobal.h'
--- src/Ubuntu/UbuntuMetrics/ubuntumetricsglobal.h 2016-07-22 10:47:24 +0000
+++ src/UbuntuMetrics/ubuntumetricsglobal.h 2016-09-17 11:46:32 +0000
@@ -18,7 +18,7 @@
18#ifndef UBUNTUMETRICSGLOBAL_H18#ifndef UBUNTUMETRICSGLOBAL_H
19#define UBUNTUMETRICSGLOBAL_H19#define UBUNTUMETRICSGLOBAL_H
2020
21#include <QtCore/qglobal.h>21#include <QtCore/QtGlobal>
2222
23#if defined(QT_BUILD_UBUNTUMETRICS_LIB)23#if defined(QT_BUILD_UBUNTUMETRICS_LIB)
24#define UBUNTU_METRICS_EXPORT Q_DECL_EXPORT24#define UBUNTU_METRICS_EXPORT Q_DECL_EXPORT
2525
=== modified file 'src/UbuntuMetrics/ubuntumetricsglobal_p.h'
--- src/Ubuntu/UbuntuMetrics/ubuntumetricsglobal_p.h 2016-08-04 16:50:30 +0000
+++ src/UbuntuMetrics/ubuntumetricsglobal_p.h 2016-09-17 11:46:32 +0000
@@ -18,7 +18,7 @@
18#ifndef UBUNTUMETRICSGLOBAL_P_H18#ifndef UBUNTUMETRICSGLOBAL_P_H
19#define UBUNTUMETRICSGLOBAL_P_H19#define UBUNTUMETRICSGLOBAL_P_H
2020
21#include "ubuntumetricsglobal.h"21#include <UbuntuMetrics/ubuntumetricsglobal.h>
2222
23// Logging macros, debug macros are compiled out for release builds.23// Logging macros, debug macros are compiled out for release builds.
24#define LOG(...) qDebug(__VA_ARGS__)24#define LOG(...) qDebug(__VA_ARGS__)
2525
=== renamed directory 'src/Ubuntu/UbuntuToolkit' => 'src/UbuntuToolkit'
=== modified file 'src/UbuntuToolkit/UbuntuToolkit.pro'
--- src/Ubuntu/UbuntuToolkit/UbuntuToolkit.pro 2016-08-26 12:03:35 +0000
+++ src/UbuntuToolkit/UbuntuToolkit.pro 2016-09-17 11:46:32 +0000
@@ -1,255 +1,231 @@
1TEMPLATE=lib1TARGET = UbuntuToolkit
2TARGET=UbuntuToolkit2QT = core-private gui-private qml-private quick-private testlib dbus svg organizer \
33 UbuntuGestures-private UbuntuMetrics
4QT *= core-private gui-private qml qml-private quick quick-private testlib
54
6unix {5unix {
7 CONFIG += link_pkgconfig6 CONFIG += link_pkgconfig
8 PKGCONFIG += gio-2.0 dbus-1 libnih libnih-dbus7 PKGCONFIG += gio-2.0 dbus-1 libnih libnih-dbus
9}8}
10QT *= dbus svg UbuntuGestures UbuntuGestures_private UbuntuMetrics
11
12# QOrganizer for Alarm API
13QT *= organizer
149
15!contains(QT_ARCH, arm) {10!contains(QT_ARCH, arm) {
16 DEFINES += UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION11 DEFINES += UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION
17 LIBS += -lX11 -lxcb -lXi12 LIBS += -lX11 -lxcb -lXi
18
19 SOURCES += mousetouchadaptor_x11.cpp13 SOURCES += mousetouchadaptor_x11.cpp
20}14}
2115
22CONFIG += dll no_keywords c++11
23
24INCLUDEPATH+=$$PWD
25
26DEFINES += UBUNTUTOOLKIT_LIBRARY16DEFINES += UBUNTUTOOLKIT_LIBRARY
27#comment in the following line to disable traces17
28#DEFINES += QT_NO_DEBUG_OUTPUT18# Uncomment to compile out qDebug() calls.
29DEFINES += QT_USE_QSTRINGBUILDER19# DEFINES += QT_NO_DEBUG_OUTPUT
3020
31load(qt_build_config)21HEADERS += \
32load(ubuntu_qt_module)22 $$PWD/actionlist_p.h \
3323 $$PWD/adapters/actionsproxy_p.h \
34QMAKE_CXXFLAGS -= -Werror=deprecated-declarations24 $$PWD/adapters/alarmsadapter_p.h \
35DEFINES -= QT_DEPRECATED_WARNINGS25 $$PWD/adapters/dbuspropertywatcher_p.h \
36DEFINES -= QT_ASCII_CAST_WARNINGS26 $$PWD/alarmmanager_p.h \
3727 $$PWD/alarmmanager_p_p.h \
38HEADERS += \28 $$PWD/asyncloader_p.h \
39 colorutils_p.h \29 $$PWD/asyncloader_p_p.h \
40 ubuntutoolkitglobal.h \30 $$PWD/colorutils_p.h \
41 tree_p.h \31 $$PWD/exclusivegroup_p.h \
42 asyncloader_p.h \32 $$PWD/filterbehavior_p.h \
43 asyncloader_p_p.h \33 $$PWD/i18n_p.h \
44 mousetouchadaptor_p.h \34 $$PWD/inversemouseareatype_p.h \
45 mousetouchadaptor_p_p.h \35 $$PWD/label_p.h \
46 propertychange_p.h \36 $$PWD/listener_p.h \
47 ubuntutoolkitmodule.h \37 $$PWD/livetimer_p.h \
48 splitview_p.h \38 $$PWD/livetimer_p_p.h \
49 splitview_p_p.h \39 $$PWD/menu_p.h \
50 privates/splitviewhandler_p_p.h \40 $$PWD/menu_p_p.h \
51 menu_p_p.h \41 $$PWD/menubar_p.h \
52 menubar_p_p.h \42 $$PWD/menubar_p_p.h \
53 menu_p.h \43 $$PWD/menugroup_p.h \
54 menubar_p.h \44 $$PWD/mousetouchadaptor_p.h \
55 menugroup_p.h45 $$PWD/mousetouchadaptor_p_p.h \
5646 $$PWD/privates/appheaderbase_p.h \
57SOURCES += \ 47 $$PWD/privates/frame_p.h \
58 colorutils.cpp \48 $$PWD/privates/listitemdragarea_p.h \
59 tree.cpp \49 $$PWD/privates/listitemdraghandler_p.h \
60 asyncloader.cpp \50 $$PWD/privates/listitemselection_p.h \
61 mousetouchadaptor.cpp \51 $$PWD/privates/listviewextensions_p.h \
62 propertychange.cpp \52 $$PWD/privates/splitviewhandler_p.h \
63 ubuntutoolkitmodule.cpp \53 $$PWD/privates/threelabelsslot_p.h \
64 splitview.cpp \54 $$PWD/privates/ucpagewrapper_p.h \
65 privates/splitviewhandler.cpp \55 $$PWD/privates/ucpagewrapper_p_p.h \
66 splitviewlayout.cpp \56 $$PWD/privates/ucpagewrapperincubator_p.h \
67 menu.cpp \57 $$PWD/privates/ucscrollbarutils_p.h \
68 menubar.cpp \58 $$PWD/propertychange_p.h \
69 menugroup.cpp59 $$PWD/qquickclipboard_p.h \
7060 $$PWD/qquickclipboard_p_p.h \
71HEADERS += \61 $$PWD/qquickmimedata_p.h \
72 uctheme_p.h \62 $$PWD/quickutils_p.h \
73 i18n_p.h \63 $$PWD/sortbehavior_p.h \
74 listener_p.h \64 $$PWD/sortfiltermodel_p.h \
75 ucscalingimageprovider_p.h \65 $$PWD/splitview_p.h \
76 ucunits_p.h \66 $$PWD/splitview_p_p.h \
77 ucqquickimageextension_p.h \67 $$PWD/statesaverbackend_p.h \
78 quickutils_p.h \68 $$PWD/timeutils_p.h \
79 ucubuntushapetextures_p.h \69 $$PWD/tree_p.h \
80 ucubuntushape_p.h \70 $$PWD/ubuntutoolkitglobal.h \
81 ucubuntushapeoverlay_p.h \71 $$PWD/ubuntutoolkitmodule.h \
82 ucproportionalshape_p.h \72 $$PWD/ucabstractbutton_p.h \
83 inversemouseareatype_p.h \73 $$PWD/ucabstractbutton_p_p.h \
84 qquickclipboard_p.h \74 $$PWD/ucaction_p.h \
85 qquickmimedata_p.h \75 $$PWD/ucactioncontext_p.h \
86 qquickclipboard_p_p.h \76 $$PWD/ucactionitem_p.h \
87 ucubuntuanimation_p.h \77 $$PWD/ucactionitem_p_p.h \
88 ucfontutils_p.h \78 $$PWD/ucactionmanager_p.h \
89 ucapplication_p.h \79 $$PWD/ucalarm_p.h \
90 ucarguments_p.h \80 $$PWD/ucalarm_p_p.h \
91 ucargument_p.h \81 $$PWD/ucalarmmodel_p.h \
92 ucalarm_p.h \82 $$PWD/ucapplication_p.h \
93 ucalarm_p_p.h \83 $$PWD/ucargument_p.h \
94 alarmmanager_p_p.h \84 $$PWD/ucarguments_p.h \
95 alarmmanager_p.h \85 $$PWD/ucbottomedge_p.h \
96 ucalarmmodel_p.h \86 $$PWD/ucbottomedge_p_p.h \
97 unitythemeiconprovider_p.h \87 $$PWD/ucbottomedgehint_p.h \
98 adapters/alarmsadapter_p.h \88 $$PWD/ucbottomedgehint_p_p.h \
99 ucstatesaver_p.h \89 $$PWD/ucbottomedgeregion_p.h \
100 sortbehavior_p.h \90 $$PWD/ucbottomedgeregion_p_p.h \
101 filterbehavior_p.h \91 $$PWD/ucbottomedgestyle_p.h \
102 sortfiltermodel_p.h \92 $$PWD/ucdefaulttheme_p.h \
103 statesaverbackend_p.h \93 $$PWD/ucdeprecatedtheme_p.h \
104 ucstatesaver_p_p.h \94 $$PWD/ucfontutils_p.h \
105 ucurihandler_p.h \95 $$PWD/uchaptics_p.h \
106 ucinversemouse_p.h \96 $$PWD/ucheader_p.h \
107 ucmouse_p.h \97 $$PWD/ucimportversionchecker_p.h \
108 unixsignalhandler_p.h \98 $$PWD/ucinversemouse_p.h \
109 ucstyleditembase_p.h \99 $$PWD/uclabel_p.h \
110 ucstyleditembase_p_p.h \100 $$PWD/uclistitem_p.h \
111 ucaction_p.h \101 $$PWD/uclistitem_p_p.h \
112 ucactioncontext_p.h \102 $$PWD/uclistitemactions_p.h \
113 ucactionmanager_p.h \103 $$PWD/uclistitemactions_p_p.h \
114 adapters/actionsproxy_p.h \104 $$PWD/uclistitemlayout_p.h \
115 adapters/dbuspropertywatcher_p.h \105 $$PWD/uclistitemstyle_p.h \
116 uclistitem_p.h \106 $$PWD/ucmainviewbase_p.h \
117 uclistitem_p_p.h \107 $$PWD/ucmainviewbase_p_p.h \
118 uclistitemactions_p.h \108 $$PWD/ucmargins_p.h \
119 uclistitemactions_p_p.h \109 $$PWD/ucmathutils_p.h \
120 uclistitemstyle_p.h \110 $$PWD/ucmouse_p.h \
121 ucserviceproperties_p.h \111 $$PWD/ucpagetreenode_p.h \
122 ucserviceproperties_p_p.h \112 $$PWD/ucpagetreenode_p_p.h \
123 privates/listitemdragarea_p.h \113 $$PWD/ucperformancemonitor_p.h \
124 privates/listitemdraghandler_p.h \114 $$PWD/ucproportionalshape_p.h \
125 privates/listitemselection_p.h \115 $$PWD/ucqquickimageextension_p.h \
126 ucdeprecatedtheme_p.h \116 $$PWD/ucscalingimageprovider_p.h \
127 ucdefaulttheme_p.h \117 $$PWD/ucserviceproperties_p.h \
128 ucstylehints_p.h \118 $$PWD/ucserviceproperties_p_p.h \
129 ucslotslayout_p.h \119 $$PWD/ucslotslayout_p.h \
130 ucslotslayout_p_p.h \120 $$PWD/ucslotslayout_p_p.h \
131 livetimer_p.h \121 $$PWD/ucstatesaver_p.h \
132 livetimer_p_p.h \122 $$PWD/ucstatesaver_p_p.h \
133 timeutils_p.h \123 $$PWD/ucstyleditembase_p.h \
134 ucactionitem_p.h \124 $$PWD/ucstyleditembase_p_p.h \
135 ucactionitem_p_p.h \125 $$PWD/ucstylehints_p.h \
136 uchaptics_p.h \126 $$PWD/uctheme_p.h \
137 ucabstractbutton_p.h \127 $$PWD/ucthemingextension_p.h \
138 ucabstractbutton_p_p.h \128 $$PWD/ucubuntuanimation_p.h \
139 ucmargins_p.h \129 $$PWD/ucubuntushape_p.h \
140 ucthemingextension_p.h \130 $$PWD/ucubuntushapeoverlay_p.h \
141 ucheader_p.h \131 $$PWD/ucubuntushapetextures_p.h \
142 uclabel_p.h \132 $$PWD/ucunits_p.h \
143 uclistitemlayout_p.h \133 $$PWD/ucurihandler_p.h \
144 privates/threelabelsslot_p.h \134 $$PWD/unitythemeiconprovider_p.h \
145 ucimportversionchecker_p.h \135 $$PWD/unixsignalhandler_p.h
146 ucbottomedgehint_p.h \
147 ucbottomedgehint_p_p.h \
148 ucmathutils_p.h \
149 ucbottomedge_p.h \
150 ucbottomedge_p_p.h \
151 ucbottomedgestyle_p.h \
152 ucbottomedgeregion_p.h \
153 ucpagetreenode_p.h \
154 ucpagetreenode_p_p.h \
155 ucmainviewbase_p.h \
156 ucmainviewbase_p_p.h \
157 ucperformancemonitor_p.h \
158 privates/listviewextensions_p.h \
159 privates/frame_p.h \
160 privates/ucpagewrapper_p.h \
161 privates/ucpagewrapper_p_p.h \
162 privates/ucpagewrapperincubator_p.h \
163 privates/appheaderbase_p.h \
164 label_p.h \
165 ucbottomedgeregion_p_p.h \
166 privates/ucscrollbarutils_p.h \
167 actionlist_p.h \
168 exclusivegroup_p.h
169136
170SOURCES += \137SOURCES += \
171 uctheme.cpp \138 $$PWD/actionlist.cpp \
172 i18n.cpp \139 $$PWD/adapters/actionsproxy_p.cpp \
173 listener.cpp \140 $$PWD/adapters/alarmsadapter_organizer.cpp \
174 ucscalingimageprovider.cpp \141 $$PWD/adapters/dbuspropertywatcher_p.cpp \
175 ucunits.cpp \142 $$PWD/alarmmanager_p.cpp \
176 ucqquickimageextension.cpp \143 $$PWD/asyncloader.cpp \
177 quickutils.cpp \144 $$PWD/colorutils.cpp \
178 ucubuntushapetextures.cpp \145 $$PWD/exclusivegroup.cpp \
179 ucubuntushape.cpp \146 $$PWD/filterbehavior.cpp \
180 ucubuntushapeoverlay.cpp \147 $$PWD/i18n.cpp \
181 ucproportionalshape.cpp \148 $$PWD/inversemouseareatype.cpp \
182 inversemouseareatype.cpp \149 $$PWD/listener.cpp \
183 qquickclipboard.cpp \150 $$PWD/livetimer.cpp \
184 qquickmimedata.cpp \151 $$PWD/livetimer_p.cpp \
185 ucubuntuanimation.cpp \152 $$PWD/menu.cpp \
186 ucfontutils.cpp \153 $$PWD/menubar.cpp \
187 ucapplication.cpp \154 $$PWD/menugroup.cpp \
188 ucarguments.cpp \155 $$PWD/mousetouchadaptor.cpp \
189 ucargument.cpp \156 $$PWD/privates/appheaderbase.cpp \
190 ucalarm.cpp \157 $$PWD/privates/frame.cpp \
191 alarmmanager_p.cpp \158 $$PWD/privates/listitemdragarea.cpp \
192 ucalarmmodel.cpp \159 $$PWD/privates/listitemdraghandler.cpp \
193 unitythemeiconprovider.cpp \160 $$PWD/privates/listitemexpansion.cpp \
194 ucstatesaver.cpp \161 $$PWD/privates/listitemselection.cpp \
195 sortbehavior.cpp \162 $$PWD/privates/listviewextensions.cpp \
196 filterbehavior.cpp \163 $$PWD/privates/splitviewhandler.cpp \
197 sortfiltermodel.cpp \164 $$PWD/privates/threelabelsslot_p.cpp \
198 statesaverbackend_p.cpp \165 $$PWD/privates/ucpagewrapper.cpp \
199 ucurihandler.cpp \166 $$PWD/privates/ucpagewrapperincubator.cpp \
200 ucmousefilters.cpp \167 $$PWD/privates/ucscrollbarutils.cpp \
201 unixsignalhandler_p.cpp \168 $$PWD/propertychange.cpp \
202 ucstyleditembase.cpp \169 $$PWD/qquickclipboard.cpp \
203 ucaction.cpp \170 $$PWD/qquickmimedata.cpp \
204 ucactioncontext.cpp \171 $$PWD/quickutils.cpp \
205 ucactionmanager.cpp \172 $$PWD/sortbehavior.cpp \
206 adapters/actionsproxy_p.cpp \173 $$PWD/sortfiltermodel.cpp \
207 adapters/dbuspropertywatcher_p.cpp \174 $$PWD/splitview.cpp \
208 uclistitem.cpp \175 $$PWD/splitviewlayout.cpp \
209 uclistitemactions.cpp \176 $$PWD/statesaverbackend_p.cpp \
210 uclistitemstyle.cpp \177 $$PWD/tree.cpp \
211 ucviewitemsattached.cpp \178 $$PWD/ubuntutoolkitmodule.cpp \
212 ucserviceproperties.cpp \179 $$PWD/ucabstractbutton.cpp \
213 privates/listitemdragarea.cpp \180 $$PWD/ucaction.cpp \
214 privates/listitemdraghandler.cpp \181 $$PWD/ucactioncontext.cpp \
215 privates/listitemexpansion.cpp \182 $$PWD/ucactionitem.cpp \
216 privates/listitemselection.cpp \183 $$PWD/ucactionmanager.cpp \
217 ucdeprecatedtheme.cpp \184 $$PWD/ucalarm.cpp \
218 ucdefaulttheme.cpp \185 $$PWD/ucalarmmodel.cpp \
219 ucstylehints.cpp \186 $$PWD/ucapplication.cpp \
220 ucslotslayout.cpp \187 $$PWD/ucargument.cpp \
221 livetimer.cpp \188 $$PWD/ucarguments.cpp \
222 livetimer_p.cpp \189 $$PWD/ucbottomedge.cpp \
223 ucactionitem.cpp \190 $$PWD/ucbottomedgehint.cpp \
224 uchaptics.cpp \191 $$PWD/ucbottomedgeregion.cpp \
225 ucabstractbutton.cpp \192 $$PWD/ucbottomedgestyle.cpp \
226 ucthemingextension.cpp \193 $$PWD/ucdefaulttheme.cpp \
227 ucheader.cpp \194 $$PWD/ucdeprecatedtheme.cpp \
228 uclabel.cpp \195 $$PWD/ucfontutils.cpp \
229 uclistitemlayout.cpp \196 $$PWD/uchaptics.cpp \
230 privates/threelabelsslot_p.cpp \197 $$PWD/ucheader.cpp \
231 ucimportversionchecker_p.cpp \198 $$PWD/ucimportversionchecker_p.cpp \
232 ucbottomedgehint.cpp \199 $$PWD/uclabel.cpp \
233 ucmathutils.cpp \200 $$PWD/uclistitem.cpp \
234 ucbottomedge.cpp \201 $$PWD/uclistitemactions.cpp \
235 ucbottomedgestyle.cpp \202 $$PWD/uclistitemlayout.cpp \
236 ucbottomedgeregion.cpp \203 $$PWD/uclistitemstyle.cpp \
237 ucpagetreenode.cpp \204 $$PWD/ucmainviewbase.cpp \
238 ucmainviewbase.cpp \205 $$PWD/ucmathutils.cpp \
239 ucperformancemonitor.cpp \206 $$PWD/ucmousefilters.cpp \
240 privates/listviewextensions.cpp \207 $$PWD/ucpagetreenode.cpp \
241 privates/frame.cpp \208 $$PWD/ucperformancemonitor.cpp \
242 privates/ucpagewrapper.cpp \209 $$PWD/ucproportionalshape.cpp \
243 privates/ucpagewrapperincubator.cpp \210 $$PWD/ucqquickimageextension.cpp \
244 privates/appheaderbase.cpp \211 $$PWD/ucscalingimageprovider.cpp \
245 privates/ucscrollbarutils.cpp \212 $$PWD/ucserviceproperties.cpp \
246 actionlist.cpp \213 $$PWD/ucslotslayout.cpp \
247 exclusivegroup.cpp214 $$PWD/ucstatesaver.cpp \
248215 $$PWD/ucstyleditembase.cpp \
249# adapters216 $$PWD/ucstylehints.cpp \
250SOURCES += $$PWD/adapters/alarmsadapter_organizer.cpp217 $$PWD/uctheme.cpp \
251218 $$PWD/ucthemingextension.cpp \
252#resources219 $$PWD/ucubuntuanimation.cpp \
220 $$PWD/ucubuntushape.cpp \
221 $$PWD/ucubuntushapeoverlay.cpp \
222 $$PWD/ucubuntushapetextures.cpp \
223 $$PWD/ucunits.cpp \
224 $$PWD/ucurihandler.cpp \
225 $$PWD/ucviewitemsattached.cpp \
226 $$PWD/unitythemeiconprovider.cpp \
227 $$PWD/unixsignalhandler_p.cpp
228
253RESOURCES += \229RESOURCES += \
254 $$PWD/resources.qrc230 $$PWD/resources.qrc
255231
@@ -262,3 +238,8 @@
262 $$PWD/shaders/shapeoverlay_no_dfdy.frag \238 $$PWD/shaders/shapeoverlay_no_dfdy.frag \
263 $$PWD/privates/shaders/frame.vert \239 $$PWD/privates/shaders/frame.vert \
264 $$PWD/privates/shaders/frame.frag240 $$PWD/privates/shaders/frame.frag
241
242load(ubuntu_qt_module)
243
244# Remove the ASCII cast warnings added by qt_module.
245DEFINES -= QT_ASCII_CAST_WARNINGS
265246
=== modified file 'src/UbuntuToolkit/actionlist.cpp'
--- src/Ubuntu/UbuntuToolkit/actionlist.cpp 2016-09-15 15:10:46 +0000
+++ src/UbuntuToolkit/actionlist.cpp 2016-09-17 11:46:32 +0000
@@ -15,6 +15,7 @@
15 */15 */
1616
17#include "actionlist_p.h"17#include "actionlist_p.h"
18
18#include "ucaction_p.h"19#include "ucaction_p.h"
1920
20UT_NAMESPACE_BEGIN21UT_NAMESPACE_BEGIN
2122
=== modified file 'src/UbuntuToolkit/actionlist_p.h'
--- src/Ubuntu/UbuntuToolkit/actionlist_p.h 2016-09-15 15:10:46 +0000
+++ src/UbuntuToolkit/actionlist_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,13 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef ACTIONLIST_H17#ifndef ACTIONLIST_P_H
18#define ACTIONLIST_H18#define ACTIONLIST_P_H
1919
20#include <QObject>20#include <QtCore/QObject>
21#include <QtQml/QQmlListProperty>21#include <QtQml/QQmlListProperty>
22#include "ubuntutoolkitglobal.h"22
23#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2324
24UT_NAMESPACE_BEGIN25UT_NAMESPACE_BEGIN
2526
@@ -58,4 +59,4 @@
5859
59UT_NAMESPACE_END60UT_NAMESPACE_END
6061
61#endif // ACTIONLIST_H62#endif // ACTIONLIST_P_H
6263
=== modified file 'src/UbuntuToolkit/adapters/actionsproxy_p.cpp'
--- src/Ubuntu/UbuntuToolkit/adapters/actionsproxy_p.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/adapters/actionsproxy_p.cpp 2016-09-17 11:46:32 +0000
@@ -14,11 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "actionsproxy_p.h"17#include "adapters/actionsproxy_p.h"
18
19#include <QtCore/QDebug>
20
18#include "ucactioncontext_p.h"21#include "ucactioncontext_p.h"
1922
20#include <QDebug>
21
22Q_LOGGING_CATEGORY(ucActionProxy, "ubuntu.components.ActionProxy", QtMsgType::QtWarningMsg)23Q_LOGGING_CATEGORY(ucActionProxy, "ubuntu.components.ActionProxy", QtMsgType::QtWarningMsg)
2324
24#define AP_TRACE(params) qCDebug(ucActionProxy) << params25#define AP_TRACE(params) qCDebug(ucActionProxy) << params
2526
=== modified file 'src/UbuntuToolkit/adapters/actionsproxy_p.h'
--- src/Ubuntu/UbuntuToolkit/adapters/actionsproxy_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/adapters/actionsproxy_p.h 2016-09-17 11:46:32 +0000
@@ -20,7 +20,8 @@
20#include <QtCore/QObject>20#include <QtCore/QObject>
21#include <QtCore/QSet>21#include <QtCore/QSet>
22#include <QtCore/QPointer>22#include <QtCore/QPointer>
23#include "ucaction_p.h"23
24#include <UbuntuToolkit/private/ucaction_p.h>
2425
25UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2627
2728
=== modified file 'src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp'
--- src/Ubuntu/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp 2016-09-17 11:46:32 +0000
@@ -16,11 +16,7 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include "ucalarm_p.h"19#include "adapters/alarmsadapter_p.h"
20#include "ucalarm_p_p.h"
21#include "alarmmanager_p_p.h"
22#include "alarmsadapter_p.h"
23#include <qorganizertodooccurrence.h>
2420
25#include <QtCore/QFile>21#include <QtCore/QFile>
26#include <QtCore/QDir>22#include <QtCore/QDir>
@@ -30,6 +26,10 @@
30#include <QtCore/QJsonObject>26#include <QtCore/QJsonObject>
31#include <QtCore/QJsonArray>27#include <QtCore/QJsonArray>
32#include <QtCore/QDebug>28#include <QtCore/QDebug>
29#include <QtOrganizer/QtOrganizer>
30
31#include "alarmmanager_p_p.h"
32#include "ucalarm_p_p.h"
3333
34#define ALARM_DATABASE "%1/alarms.json"34#define ALARM_DATABASE "%1/alarms.json"
35/*35/*
3636
=== modified file 'src/UbuntuToolkit/adapters/alarmsadapter_p.h'
--- src/Ubuntu/UbuntuToolkit/adapters/alarmsadapter_p.h 2016-07-07 15:33:34 +0000
+++ src/UbuntuToolkit/adapters/alarmsadapter_p.h 2016-09-17 11:46:32 +0000
@@ -19,13 +19,14 @@
19#ifndef ALARMSADAPTER_P_H19#ifndef ALARMSADAPTER_P_H
20#define ALARMSADAPTER_P_H20#define ALARMSADAPTER_P_H
2121
22#include "private/ucalarm_p_p.h"22#include <QtOrganizer/QOrganizerManager>
23#include "private/alarmmanager_p_p.h"23#include <QtOrganizer/QOrganizerAbstractRequest>
24#include <QtOrganizer/QOrganizerItemFetchRequest>
25#include <QtOrganizer/QOrganizerTodo>
2426
25#include <qorganizer.h>27#include <UbuntuToolkit/ubuntutoolkitglobal.h>
26#include <qorganizermanager.h>28#include <UbuntuToolkit/private/ucalarm_p_p.h>
27#include <qorganizertodo.h>29#include <UbuntuToolkit/private/alarmmanager_p_p.h>
28#include <ubuntutoolkitglobal.h>
2930
30QTORGANIZER_USE_NAMESPACE31QTORGANIZER_USE_NAMESPACE
3132
3233
=== modified file 'src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp'
--- src/Ubuntu/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp 2016-09-17 11:46:32 +0000
@@ -14,12 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "dbuspropertywatcher_p.h"17#include "adapters/dbuspropertywatcher_p.h"
18
19#include <sys/types.h>
20#include <unistd.h>
21
18#include <QtDBus/QDBusReply>22#include <QtDBus/QDBusReply>
19#include <unistd.h>23#include <QtQml/QQmlInfo>
20#include <sys/types.h>24
21#include "i18n_p.h"25#include "i18n_p.h"
22#include <QtQml/QQmlInfo>
2326
24#define DYNAMIC_PROPERTY "__q_property"27#define DYNAMIC_PROPERTY "__q_property"
2528
2629
=== modified file 'src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h'
--- src/Ubuntu/UbuntuToolkit/adapters/dbuspropertywatcher_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h 2016-09-17 11:46:32 +0000
@@ -22,7 +22,7 @@
22#include <QtDBus/QDBusServiceWatcher>22#include <QtDBus/QDBusServiceWatcher>
23#include <QtDBus/QDBusInterface>23#include <QtDBus/QDBusInterface>
2424
25#include "ucserviceproperties_p_p.h"25#include <UbuntuToolkit/private/ucserviceproperties_p_p.h>
2626
27class QDBusPendingCallWatcher;27class QDBusPendingCallWatcher;
2828
2929
=== modified file 'src/UbuntuToolkit/alarmmanager_p.cpp'
--- src/Ubuntu/UbuntuToolkit/alarmmanager_p.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/alarmmanager_p.cpp 2016-09-17 11:46:32 +0000
@@ -17,6 +17,7 @@
17 */17 */
1818
19#include "alarmmanager_p_p.h"19#include "alarmmanager_p_p.h"
20
20#include "ucalarm_p_p.h"21#include "ucalarm_p_p.h"
2122
22UT_NAMESPACE_BEGIN23UT_NAMESPACE_BEGIN
2324
=== modified file 'src/UbuntuToolkit/alarmmanager_p.h'
--- src/Ubuntu/UbuntuToolkit/alarmmanager_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/alarmmanager_p.h 2016-09-17 11:46:32 +0000
@@ -16,14 +16,14 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef ALARMMANAGER_H19#ifndef ALARMMANAGER_P_H
20#define ALARMMANAGER_H20#define ALARMMANAGER_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <QtCore/QSet>
23#include <QtQml/QQmlListProperty>24#include <QtQml/QQmlListProperty>
24#include <QtCore/QSet>
2525
26#include "ucalarm_p.h"26#include <UbuntuToolkit/private/ucalarm_p.h>
2727
28UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2929
@@ -126,4 +126,4 @@
126126
127UT_NAMESPACE_END127UT_NAMESPACE_END
128128
129#endif // ALARMMANAGER_H129#endif // ALARMMANAGER_P_H
130130
=== modified file 'src/UbuntuToolkit/alarmmanager_p_p.h'
--- src/Ubuntu/UbuntuToolkit/alarmmanager_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/alarmmanager_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,15 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef ALARMMANAGER_P_H19#ifndef ALARMMANAGER_P_P_H
20#define ALARMMANAGER_P_H20#define ALARMMANAGER_P_P_H
2121
22#include "ucalarm_p.h"22#include <UbuntuToolkit/private/alarmmanager_p.h>
23#include "alarmmanager_p.h"23
24#include <QtCore/QUrl>24#include <QtCore/QUrl>
2525
26#include <UbuntuToolkit/private/ucalarm_p.h>
27
26UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2729
28class UBUNTUTOOLKIT_EXPORT AlarmManagerPrivate30class UBUNTUTOOLKIT_EXPORT AlarmManagerPrivate
@@ -61,4 +63,4 @@
6163
62UT_NAMESPACE_END64UT_NAMESPACE_END
6365
64#endif // ALARMMANAGER_P_H66#endif // ALARMMANAGER_P_P_H
6567
=== modified file 'src/UbuntuToolkit/asyncloader_p.h'
--- src/Ubuntu/UbuntuToolkit/asyncloader_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/asyncloader_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef ASYNCLOADER_H19#ifndef ASYNCLOADER_P_H
20#define ASYNCLOADER_H20#define ASYNCLOADER_P_H
2121
22#include <QtQml/QQmlComponent>22#include <QtQml/QQmlComponent>
23#include <ubuntutoolkitglobal.h>23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2425
25class QQuickItem;26class QQuickItem;
26class QQmlContext;27class QQmlContext;
@@ -60,4 +61,4 @@
6061
61UT_NAMESPACE_END62UT_NAMESPACE_END
6263
63#endif // ASYNCLOADER_H64#endif // ASYNCLOADER_P_H
6465
=== modified file 'src/UbuntuToolkit/asyncloader_p_p.h'
--- src/Ubuntu/UbuntuToolkit/asyncloader_p_p.h 2016-07-07 15:33:34 +0000
+++ src/UbuntuToolkit/asyncloader_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,14 +16,15 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef ASYNCLOADER_P_H19#ifndef ASYNCLOADER_P_P_H
20#define ASYNCLOADER_P_H20#define ASYNCLOADER_P_P_H
21
22#include <UbuntuToolkit/private/asyncloader_p.h>
2123
22#include <QtCore/private/qobject_p.h>24#include <QtCore/private/qobject_p.h>
23#include <QtQml/QQmlIncubator>25#include <QtQml/QQmlIncubator>
24#include <ubuntutoolkitglobal.h>26
25#include <UbuntuToolkit/private/asyncloader_p.h>27#include <UbuntuToolkit/ubuntutoolkitglobal.h>
26#include <UbuntuToolkit/private/asyncloader_p_p.h>
2728
28UT_NAMESPACE_BEGIN29UT_NAMESPACE_BEGIN
2930
@@ -52,4 +53,4 @@
5253
53UT_NAMESPACE_END54UT_NAMESPACE_END
5455
55#endif // ASYNCLOADER_P_H56#endif // ASYNCLOADER_P_P_H
5657
=== modified file 'src/UbuntuToolkit/colorutils.cpp'
--- src/Ubuntu/UbuntuToolkit/colorutils.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/colorutils.cpp 2016-09-17 11:46:32 +0000
@@ -15,7 +15,8 @@
15 */15 */
1616
17#include "colorutils_p.h"17#include "colorutils_p.h"
18#include <QColor>18
19#include <QtGui/QColor>
1920
20UT_NAMESPACE_BEGIN21UT_NAMESPACE_BEGIN
2122
2223
=== modified file 'src/UbuntuToolkit/colorutils_p.h'
--- src/Ubuntu/UbuntuToolkit/colorutils_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/colorutils_p.h 2016-09-17 11:46:32 +0000
@@ -13,11 +13,13 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16#ifndef COLORUTILS_H16
17#define COLORUTILS_H17#ifndef COLORUTILS_P_H
1818#define COLORUTILS_P_H
19#include <QObject>19
20#include "ubuntutoolkitglobal.h"20#include <QtCore/QObject>
21
22#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2123
22UT_NAMESPACE_BEGIN24UT_NAMESPACE_BEGIN
2325
@@ -31,4 +33,4 @@
3133
32UT_NAMESPACE_END34UT_NAMESPACE_END
3335
34#endif // COLORUTILS_H36#endif // COLORUTILS_P_H
3537
=== modified file 'src/UbuntuToolkit/exclusivegroup.cpp'
--- src/Ubuntu/UbuntuToolkit/exclusivegroup.cpp 2016-07-18 14:54:46 +0000
+++ src/UbuntuToolkit/exclusivegroup.cpp 2016-09-17 11:46:32 +0000
@@ -12,14 +12,14 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#include "exclusivegroup_p.h"17#include "exclusivegroup_p.h"
18
19#include <QtCore/QSignalMapper>
20
19#include "ucaction_p.h"21#include "ucaction_p.h"
2022
21#include <QSignalMapper>
22
23#define CHECKED_PROPERTY "checked"23#define CHECKED_PROPERTY "checked"
2424
25UT_NAMESPACE_BEGIN25UT_NAMESPACE_BEGIN
2626
=== modified file 'src/UbuntuToolkit/exclusivegroup_p.h'
--- src/Ubuntu/UbuntuToolkit/exclusivegroup_p.h 2016-08-22 08:23:50 +0000
+++ src/UbuntuToolkit/exclusivegroup_p.h 2016-09-17 11:46:32 +0000
@@ -12,17 +12,16 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef EXCLUSIVEGROUP_H17#ifndef EXCLUSIVEGROUP_P_H
19#define EXCLUSIVEGROUP_H18#define EXCLUSIVEGROUP_P_H
2019
21#include "actionlist_p.h"20#include <QtCore/QMetaMethod>
22#include "ubuntutoolkitglobal.h"21#include <QtCore/QPointer>
2322
24#include <QMetaMethod>23#include <UbuntuToolkit/ubuntutoolkitglobal.h>
25#include <QPointer>24#include <UbuntuToolkit/private/actionlist_p.h>
2625
27class QSignalMapper;26class QSignalMapper;
2827
@@ -59,4 +58,4 @@
5958
60UT_NAMESPACE_END59UT_NAMESPACE_END
6160
62#endif // EXCLUSIVEGROUP_H61#endif // EXCLUSIVEGROUP_P_H
6362
=== modified file 'src/UbuntuToolkit/filterbehavior_p.h'
--- src/Ubuntu/UbuntuToolkit/filterbehavior_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/filterbehavior_p.h 2016-09-17 11:46:32 +0000
@@ -17,11 +17,12 @@
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */18 */
1919
20#ifndef FILTERBEHAVIOR_H20#ifndef FILTERBEHAVIOR_P_H
21#define FILTERBEHAVIOR_H21#define FILTERBEHAVIOR_P_H
2222
23#include <QSortFilterProxyModel>23#include <QtCore/QSortFilterProxyModel>
24#include <ubuntutoolkitglobal.h>24
25#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2526
26UT_NAMESPACE_BEGIN27UT_NAMESPACE_BEGIN
2728
@@ -50,4 +51,4 @@
5051
51UT_NAMESPACE_END52UT_NAMESPACE_END
5253
53#endif // FILTERBEHAVIOR_H54#endif // FILTERBEHAVIOR_P_H
5455
=== modified file 'src/UbuntuToolkit/i18n.cpp'
--- src/Ubuntu/UbuntuToolkit/i18n.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/i18n.cpp 2016-09-17 11:46:32 +0000
@@ -17,18 +17,19 @@
17 */17 */
1818
19#include "i18n_p.h"19#include "i18n_p.h"
20#include "timeutils_p.h"
21#include <QtCore/QDir>
2220
23namespace C {21namespace C {
24#include <libintl.h>22#include <libintl.h>
25#include <glib.h>23#include <glib.h>
26#include <glib/gi18n.h>24#include <glib/gi18n.h>
27}25}
28
29#include <stdlib.h>26#include <stdlib.h>
30#include <locale.h>27#include <locale.h>
3128
29#include <QtCore/QDir>
30
31#include "timeutils_p.h"
32
32UT_NAMESPACE_BEGIN33UT_NAMESPACE_BEGIN
33/*!34/*!
34 * \qmltype i18n35 * \qmltype i18n
3536
=== modified file 'src/UbuntuToolkit/i18n_p.h'
--- src/Ubuntu/UbuntuToolkit/i18n_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/i18n_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Author: Tim Peeters <tim.peeters@canonical.com>16 * Author: Tim Peeters <tim.peeters@canonical.com>
17 */17 */
1818
19#ifndef UBUNTU_COMPONENTS_I18N_H19#ifndef I18N_P_H
20#define UBUNTU_COMPONENTS_I18N_H20#define I18N_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <ubuntutoolkitglobal.h>23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2425
25class QQmlContext;26class QQmlContext;
26class QQmlEngine;27class QQmlEngine;
@@ -80,4 +81,4 @@
8081
81UT_NAMESPACE_END82UT_NAMESPACE_END
8283
83#endif // UBUNTU_COMPONENTS_I18N_H84#endif // I18N_P_H
8485
=== modified file 'src/UbuntuToolkit/inversemouseareatype.cpp'
--- src/Ubuntu/UbuntuToolkit/inversemouseareatype.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/inversemouseareatype.cpp 2016-09-17 11:46:32 +0000
@@ -15,7 +15,9 @@
15 */15 */
1616
17#include "inversemouseareatype_p.h"17#include "inversemouseareatype_p.h"
18
18#include <QtGui/QGuiApplication>19#include <QtGui/QGuiApplication>
20
19#include "quickutils_p.h"21#include "quickutils_p.h"
2022
21UT_NAMESPACE_BEGIN23UT_NAMESPACE_BEGIN
2224
=== modified file 'src/UbuntuToolkit/inversemouseareatype_p.h'
--- src/Ubuntu/UbuntuToolkit/inversemouseareatype_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/inversemouseareatype_p.h 2016-09-17 11:46:32 +0000
@@ -13,12 +13,14 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16#ifndef INVERSEMOUSEAREATYPE_H16
17#define INVERSEMOUSEAREATYPE_H17#ifndef INVERSEMOUSEAREATYPE_P_H
1818#define INVERSEMOUSEAREATYPE_P_H
19#include <private/qquickmousearea_p.h>19
20#include <QtCore/QPointer>20#include <QtCore/QPointer>
21#include <ubuntutoolkitglobal.h>21#include <QtQuick/private/qquickmousearea_p.h>
22
23#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2224
23class QQuickItem;25class QQuickItem;
2426
@@ -73,4 +75,4 @@
7375
74UT_NAMESPACE_END76UT_NAMESPACE_END
7577
76#endif // INVERSEMOUSEAREATYPE_H78#endif // INVERSEMOUSEAREATYPE_P_H
7779
=== modified file 'src/UbuntuToolkit/label_p.h'
--- src/Ubuntu/UbuntuToolkit/label_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/label_p.h 2016-09-17 11:46:32 +0000
@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef LABEL_P17#ifndef LABEL_P_H
18#define LABEL_P18#define LABEL_P_H
1919
20#include "uclabel_p.h"20#include "uclabel_p.h"
2121
@@ -59,4 +59,4 @@
5959
60UT_NAMESPACE_END60UT_NAMESPACE_END
6161
62#endif // LABEL_P62#endif // LABEL_P_H
6363
=== modified file 'src/UbuntuToolkit/listener.cpp'
--- src/Ubuntu/UbuntuToolkit/listener.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/listener.cpp 2016-09-17 11:46:32 +0000
@@ -16,7 +16,7 @@
1616
17#include "listener_p.h"17#include "listener_p.h"
1818
19#include <QQmlContext>19#include <QtQml/QQmlContext>
2020
21UT_NAMESPACE_BEGIN21UT_NAMESPACE_BEGIN
2222
2323
=== modified file 'src/UbuntuToolkit/listener_p.h'
--- src/Ubuntu/UbuntuToolkit/listener_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/listener_p.h 2016-09-17 11:46:32 +0000
@@ -14,11 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UBUNTU_COMPONENTS_LISTENER_H17#ifndef LISTENER_P_H
18#define UBUNTU_COMPONENTS_LISTENER_H18#define LISTENER_P_H
1919
20#include <QtCore/QObject>20#include <QtCore/QObject>
21#include <ubuntutoolkitglobal.h>21
22#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2223
23class QQmlContext;24class QQmlContext;
2425
@@ -36,4 +37,4 @@
3637
37UT_NAMESPACE_END38UT_NAMESPACE_END
3839
39#endif // UBUNTU_COMPONENTS_PLUGIN_H40#endif // LISTENER_P_H
4041
=== modified file 'src/UbuntuToolkit/livetimer_p.cpp'
--- src/Ubuntu/UbuntuToolkit/livetimer_p.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/livetimer_p.cpp 2016-09-17 11:46:32 +0000
@@ -15,10 +15,11 @@
15 */15 */
1616
17#include "livetimer_p_p.h"17#include "livetimer_p_p.h"
18
19#include <QtDBus/QDBusConnection>
20
18#include "timeutils_p.h"21#include "timeutils_p.h"
1922
20#include <QDBusConnection>
21
22UT_NAMESPACE_BEGIN23UT_NAMESPACE_BEGIN
2324
24SharedLiveTimer::SharedLiveTimer(QObject* parent)25SharedLiveTimer::SharedLiveTimer(QObject* parent)
2526
=== modified file 'src/UbuntuToolkit/livetimer_p.h'
--- src/Ubuntu/UbuntuToolkit/livetimer_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/livetimer_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,13 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef LIVETIMER_H17#ifndef LIVETIMER_P_H
18#define LIVETIMER_H18#define LIVETIMER_P_H
1919
20#include <QObject>20#include <QtCore/QDateTime>
21#include <QDateTime>21#include <QtCore/QObject>
22#include <ubuntutoolkitglobal.h>22
23#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2324
24UT_NAMESPACE_BEGIN25UT_NAMESPACE_BEGIN
2526
@@ -70,4 +71,4 @@
7071
71UT_NAMESPACE_END72UT_NAMESPACE_END
7273
73#endif // LIVETIMER_H74#endif // LIVETIMER_P_H
7475
=== modified file 'src/UbuntuToolkit/livetimer_p_p.h'
--- src/Ubuntu/UbuntuToolkit/livetimer_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/livetimer_p_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef LIVETIMER_P_H17#ifndef LIVETIMER_P_P_H
18#define LIVETIMER_P_H18#define LIVETIMER_P_P_H
1919
20#include "livetimer_p.h"20#include <UbuntuToolkit/private/livetimer_p.h>
2121
22#include <QTimer>22#include <QtCore/QTimer>
2323
24UT_NAMESPACE_BEGIN24UT_NAMESPACE_BEGIN
2525
@@ -59,4 +59,4 @@
5959
60UT_NAMESPACE_END60UT_NAMESPACE_END
6161
62#endif // LIVETIMER_P_H62#endif // LIVETIMER_P_P_H
6363
=== modified file 'src/UbuntuToolkit/menu.cpp'
--- src/Ubuntu/UbuntuToolkit/menu.cpp 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menu.cpp 2016-09-17 11:46:32 +0000
@@ -14,23 +14,22 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "menu_p.h"
18#include "menu_p_p.h"17#include "menu_p_p.h"
18
19#include <functional>
20
21#include <QtCore/QPointer>
22#include <QtCore/QLoggingCategory>
23#include <QtGui/qpa/qplatformtheme.h>
24#include <QtGui/qpa/qplatformmenu.h>
25#include <QtGui/private/qguiapplication_p.h>
26#include <QtQuick/QQuickItem>
27#include <QtQuick/private/qquickitem_p.h>
28
19#include "menubar_p.h"29#include "menubar_p.h"
20#include "actionlist_p.h"30#include "actionlist_p.h"
21#include "menugroup_p.h"31#include "menugroup_p.h"
2232
23// Qt
24#include <QPointer>
25#include <QQuickItem>
26#include <QLoggingCategory>
27#include <QtGui/qpa/qplatformtheme.h>
28#include <QtGui/qpa/qplatformmenu.h>
29#include <private/qguiapplication_p.h>
30#include <private/qquickitem_p.h>
31
32#include <functional>
33
34Q_LOGGING_CATEGORY(ucMenu, "ubuntu.components.Menu", QtMsgType::QtWarningMsg)33Q_LOGGING_CATEGORY(ucMenu, "ubuntu.components.Menu", QtMsgType::QtWarningMsg)
3534
36UT_NAMESPACE_BEGIN35UT_NAMESPACE_BEGIN
@@ -350,8 +349,6 @@
350 : UCAction(parent)349 : UCAction(parent)
351 , d_ptr(new MenuPrivate(this))350 , d_ptr(new MenuPrivate(this))
352{351{
353 Q_D(Menu);
354
355 connect(this, SIGNAL(enabledChanged()), this, SLOT(_q_updateEnabled()));352 connect(this, SIGNAL(enabledChanged()), this, SLOT(_q_updateEnabled()));
356 connect(this, SIGNAL(textChanged()), this, SLOT(_q_updateText()));353 connect(this, SIGNAL(textChanged()), this, SLOT(_q_updateText()));
357 connect(this, SIGNAL(iconNameChanged()), this, SLOT(_q_updateIcon()));354 connect(this, SIGNAL(iconNameChanged()), this, SLOT(_q_updateIcon()));
358355
=== modified file 'src/UbuntuToolkit/menu_p.h'
--- src/Ubuntu/UbuntuToolkit/menu_p.h 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menu_p.h 2016-09-17 11:46:32 +0000
@@ -12,18 +12,17 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef MENU_P_H17#ifndef MENU_P_H
19#define MENU_P_H18#define MENU_P_H
2019
21#include <QQmlListProperty>20#include <QtCore/QLoggingCategory>
22#include <QLoggingCategory>21#include <QtCore/QPointer>
23#include <QPointer>22#include <QtQml/QQmlListProperty>
24#include <ubuntutoolkitglobal.h>
2523
26#include "ucaction_p.h"24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
25#include <UbuntuToolkit/private/ucaction_p.h>
2726
28Q_DECLARE_LOGGING_CATEGORY(ucMenu);27Q_DECLARE_LOGGING_CATEGORY(ucMenu);
2928
3029
=== modified file 'src/UbuntuToolkit/menu_p_p.h'
--- src/Ubuntu/UbuntuToolkit/menu_p_p.h 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menu_p_p.h 2016-09-17 11:46:32 +0000
@@ -12,14 +12,14 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef MENU_P_P_H17#ifndef MENU_P_P_H
19#define MENU_P_P_H18#define MENU_P_P_H
2019
21#include "menu_p.h"20#include <UbuntuToolkit/private/menu_p.h>
22#include <ubuntutoolkitglobal.h>21
22#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2323
24class QObject;24class QObject;
25class QQmlComponent;25class QQmlComponent;
2626
=== modified file 'src/UbuntuToolkit/menubar.cpp'
--- src/Ubuntu/UbuntuToolkit/menubar.cpp 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menubar.cpp 2016-09-17 11:46:32 +0000
@@ -12,19 +12,16 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#include "menubar_p.h"
19#include "menubar_p_p.h"17#include "menubar_p_p.h"
2018
21// Qt19#include <QtCore/QLoggingCategory>
22#include <QQuickItem>20#include <QtQuick/QQuickItem>
23#include <QQuickWindow>21#include <QtQuick/QQuickWindow>
24#include <QLoggingCategory>
25#include <private/qguiapplication_p.h>
26#include <QtGui/qpa/qplatformtheme.h>22#include <QtGui/qpa/qplatformtheme.h>
27#include <QtGui/qpa/qplatformmenu.h>23#include <QtGui/qpa/qplatformmenu.h>
24#include <QtGui/private/qguiapplication_p.h>
2825
29UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
3027
3128
=== modified file 'src/UbuntuToolkit/menubar_p.h'
--- src/Ubuntu/UbuntuToolkit/menubar_p.h 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menubar_p.h 2016-09-17 11:46:32 +0000
@@ -12,16 +12,15 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef MENUBAR_P_H17#ifndef MENUBAR_P_H
19#define MENUBAR_P_H18#define MENUBAR_P_H
2019
21#include "menu_p.h"20#include <QtQml/QQmlParserStatus>
22#include <ubuntutoolkitglobal.h>
2321
24#include <QQmlParserStatus>22#include <UbuntuToolkit/ubuntutoolkitglobal.h>
23#include <UbuntuToolkit/private/menu_p.h>
2524
26class QPlatformMenuBar;25class QPlatformMenuBar;
2726
2827
=== modified file 'src/UbuntuToolkit/menubar_p_p.h'
--- src/Ubuntu/UbuntuToolkit/menubar_p_p.h 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menubar_p_p.h 2016-09-17 11:46:32 +0000
@@ -12,14 +12,14 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef MENUBAR_P_P_H17#ifndef MENUBAR_P_P_H
19#define MENUBAR_P_P_H18#define MENUBAR_P_P_H
2019
21#include "menubar_p.h"20#include <UbuntuToolkit/private/menubar_p.h>
22#include <ubuntutoolkitglobal.h>21
22#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2323
24class QPlatformMenuBar;24class QPlatformMenuBar;
2525
2626
=== modified file 'src/UbuntuToolkit/menugroup.cpp'
--- src/Ubuntu/UbuntuToolkit/menugroup.cpp 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menugroup.cpp 2016-09-17 11:46:32 +0000
@@ -15,6 +15,7 @@
15 */15 */
1616
17#include "menugroup_p.h"17#include "menugroup_p.h"
18
18#include "actionlist_p.h"19#include "actionlist_p.h"
19#include "ucaction_p.h"20#include "ucaction_p.h"
2021
2122
=== modified file 'src/UbuntuToolkit/menugroup_p.h'
--- src/Ubuntu/UbuntuToolkit/menugroup_p.h 2016-08-25 14:06:06 +0000
+++ src/UbuntuToolkit/menugroup_p.h 2016-09-17 11:46:32 +0000
@@ -17,11 +17,11 @@
17#ifndef MENUGROUP_P_H17#ifndef MENUGROUP_P_H
18#define MENUGROUP_P_H18#define MENUGROUP_P_H
1919
20#include <ubuntutoolkitglobal.h>20#include <QtCore/QObject>
21#include <QtCore/QVector>
22#include <QtQml/QQmlListProperty>
2123
22#include <QObject>24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
23#include <QVector>
24#include <QQmlListProperty>
2525
26UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2727
2828
=== modified file 'src/UbuntuToolkit/mousetouchadaptor.cpp'
--- src/Ubuntu/UbuntuToolkit/mousetouchadaptor.cpp 2016-07-07 07:56:34 +0000
+++ src/UbuntuToolkit/mousetouchadaptor.cpp 2016-09-17 11:46:32 +0000
@@ -19,12 +19,11 @@
1919
20#include "mousetouchadaptor_p_p.h"20#include "mousetouchadaptor_p_p.h"
2121
22#include <qpa/qplatformnativeinterface.h>22#include <QtCore/QDebug>
23#include <qpa/qwindowsysteminterface.h>23#include <QtGui/QGuiApplication>
2424#include <QtGui/QMouseEvent>
25#include <QCoreApplication>25#include <QtGui/qpa/qplatformnativeinterface.h>
26#include <QMouseEvent>26#include <QtGui/qpa/qwindowsysteminterface.h>
27#include <QTest>
2827
29#ifdef UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION28#ifdef UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION
30 #define ENABLE_TOUCH_EMULATION29 #define ENABLE_TOUCH_EMULATION
3130
=== modified file 'src/UbuntuToolkit/mousetouchadaptor_p.h'
--- src/Ubuntu/UbuntuToolkit/mousetouchadaptor_p.h 2016-07-07 18:17:56 +0000
+++ src/UbuntuToolkit/mousetouchadaptor_p.h 2016-09-17 11:46:32 +0000
@@ -17,13 +17,13 @@
17 * Zsombor Egri <zsomboir.egri@canonical.com>17 * Zsombor Egri <zsomboir.egri@canonical.com>
18 */18 */
1919
20#ifndef MOUSE_TOUCH_ADAPTOR_H20#ifndef MOUSETOUCHADAPTOR_P_H
21#define MOUSE_TOUCH_ADAPTOR_H21#define MOUSETOUCHADAPTOR_P_H
22
23#include "ubuntutoolkitglobal.h"
2422
25#include <QtCore/QObject>23#include <QtCore/QObject>
2624
25#include <UbuntuToolkit/ubuntutoolkitglobal.h>
26
27class QMouseEvent;27class QMouseEvent;
28class QTouchDevice;28class QTouchDevice;
29class QQmlEngine;29class QQmlEngine;
@@ -60,4 +60,4 @@
6060
61UT_NAMESPACE_END61UT_NAMESPACE_END
6262
63#endif // MOUSE_TOUCH_ADAPTOR_H63#endif // MOUSETOUCHADAPTOR_P_H
6464
=== modified file 'src/UbuntuToolkit/mousetouchadaptor_p_p.h'
--- src/Ubuntu/UbuntuToolkit/mousetouchadaptor_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/mousetouchadaptor_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,15 @@
16 * Authored by: Zsombor Egri <zsombor.egri@canonical.com>16 * Authored by: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef MOUSETOUCHADAPTOR_P19#ifndef MOUSETOUCHADAPTOR_P_P_H
20#define MOUSETOUCHADAPTOR_P20#define MOUSETOUCHADAPTOR_P_P_H
2121
22#include "mousetouchadaptor_p.h"22#include <UbuntuToolkit/private/mousetouchadaptor_p.h>
23
24#include <QtCore/QAbstractNativeEventFilter>
23#include <QtCore/private/qobject_p.h>25#include <QtCore/private/qobject_p.h>
24#include <QtCore/QAbstractNativeEventFilter>26#include <QtGui/QWindow>
25#include <QWindow>27
26#include <xcb/xcb.h>28#include <xcb/xcb.h>
2729
28UT_NAMESPACE_BEGIN30UT_NAMESPACE_BEGIN
@@ -73,5 +75,4 @@
7375
74UT_NAMESPACE_END76UT_NAMESPACE_END
7577
76#endif // MOUSETOUCHADAPTOR_P78#endif // MOUSETOUCHADAPTOR_P_P_H
77
7879
=== modified file 'src/UbuntuToolkit/mousetouchadaptor_x11.cpp'
--- src/Ubuntu/UbuntuToolkit/mousetouchadaptor_x11.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/mousetouchadaptor_x11.cpp 2016-09-17 11:46:32 +0000
@@ -55,11 +55,10 @@
5555
56#include "mousetouchadaptor_p_p.h"56#include "mousetouchadaptor_p_p.h"
5757
58#include <qpa/qplatformnativeinterface.h>58#include <QtGui/QGuiApplication>
5959#include <QtGui/QMouseEvent>
60#include <QCoreApplication>60#include <QtGui/qpa/qplatformnativeinterface.h>
61#include <QMouseEvent>61#include <QtTest/qtesttouch.h>
62#include <QTest>
6362
64#include <X11/extensions/XInput2.h>63#include <X11/extensions/XInput2.h>
65#include <X11/extensions/XI2proto.h>64#include <X11/extensions/XI2proto.h>
6665
=== modified file 'src/UbuntuToolkit/privates/appheaderbase.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/appheaderbase.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/appheaderbase.cpp 2016-09-17 11:46:32 +0000
@@ -15,6 +15,7 @@
15 */15 */
1616
17#include "appheaderbase_p.h"17#include "appheaderbase_p.h"
18
18#include "ucstyleditembase_p_p.h"19#include "ucstyleditembase_p_p.h"
1920
20UT_NAMESPACE_BEGIN21UT_NAMESPACE_BEGIN
2122
=== modified file 'src/UbuntuToolkit/privates/appheaderbase_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/appheaderbase_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/appheaderbase_p.h 2016-09-17 11:46:32 +0000
@@ -14,10 +14,10 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef APPHEADERBASE_H17#ifndef APPHEADERBASE_P_H
18#define APPHEADERBASE_H18#define APPHEADERBASE_P_H
1919
20#include "ucheader_p.h"20#include <UbuntuToolkit/private/ucheader_p.h>
2121
22UT_NAMESPACE_BEGIN22UT_NAMESPACE_BEGIN
2323
@@ -62,4 +62,4 @@
6262
63UT_NAMESPACE_END63UT_NAMESPACE_END
6464
65#endif // APPHEADERBASE_H65#endif // APPHEADERBASE_P_H
6666
=== modified file 'src/UbuntuToolkit/privates/frame.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/frame.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/frame.cpp 2016-09-17 11:46:32 +0000
@@ -16,11 +16,13 @@
16 * Author: Loïc Molinari <loic.molinari@canonical.com>16 * Author: Loïc Molinari <loic.molinari@canonical.com>
17 */17 */
1818
19#include "frame_p.h"19#include "privates/frame_p.h"
20#include "textures_p.h"20
21#include <QtGui/QOpenGLContext>21#include <QtGui/QOpenGLContext>
22#include <QtGui/QOpenGLFunctions>22#include <QtGui/QOpenGLFunctions>
2323
24#include "privates/textures_p.h"
25
24UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2527
26const QRgb defaultColor = qRgba(255, 255, 255, 255);28const QRgb defaultColor = qRgba(255, 255, 255, 255);
2729
=== modified file 'src/UbuntuToolkit/privates/frame_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/frame_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/frame_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,14 @@
16 * Author: Loïc Molinari <loic.molinari@canonical.com>16 * Author: Loïc Molinari <loic.molinari@canonical.com>
17 */17 */
1818
19#ifndef FRAME_H19#ifndef FRAME_P_H
20#define FRAME_H20#define FRAME_P_H
2121
22#include <QtQuick/QQuickItem>22#include <QtQuick/QQuickItem>
23#include <QtQuick/QSGMaterial>23#include <QtQuick/QSGMaterial>
24#include <QtQuick/QSGNode>24#include <QtQuick/QSGNode>
25#include <ubuntutoolkitglobal.h>25
26#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2627
27UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2829
@@ -101,4 +102,4 @@
101102
102UT_NAMESPACE_END103UT_NAMESPACE_END
103104
104#endif // FRAME_H105#endif // FRAME_P_H
105106
=== modified file 'src/UbuntuToolkit/privates/listitemdragarea.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/listitemdragarea.cpp 2016-08-14 09:06:34 +0000
+++ src/UbuntuToolkit/privates/listitemdragarea.cpp 2016-09-17 11:46:32 +0000
@@ -15,15 +15,17 @@
15 */15 */
1616
17#include "listitemdragarea_p.h"17#include "listitemdragarea_p.h"
18#include "listitemdraghandler_p.h"18
19#include "uclistitem_p_p.h"
20#include "ucunits_p.h"
21#include "i18n_p.h"
22#include <QtCore/QtMath>19#include <QtCore/QtMath>
23#include <QtQml/QQmlInfo>20#include <QtQml/QQmlInfo>
24#include <QtQuick/private/qquickitem_p.h>21#include <QtQuick/private/qquickitem_p.h>
25#include <QtQuick/private/qquickflickable_p.h>22#include <QtQuick/private/qquickflickable_p.h>
2623
24#include "privates/listitemdraghandler_p.h"
25#include "uclistitem_p_p.h"
26#include "ucunits_p.h"
27#include "i18n_p.h"
28
27#define IMPLICIT_DRAG_WIDTH_GU 529#define IMPLICIT_DRAG_WIDTH_GU 5
28#define DRAG_SCROLL_TIMEOUT 1530#define DRAG_SCROLL_TIMEOUT 15
2931
3032
=== modified file 'src/UbuntuToolkit/privates/listitemdragarea_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/listitemdragarea_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/listitemdragarea_p.h 2016-09-17 11:46:32 +0000
@@ -14,14 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef LISTITEMDRAGAREA_H17#ifndef LISTITEMDRAGAREA_P_H
18#define LISTITEMDRAGAREA_H18#define LISTITEMDRAGAREA_P_H
1919
20#include <ubuntutoolkitglobal.h>
21#include "uclistitem_p.h"
22#include <QtCore/QBasicTimer>20#include <QtCore/QBasicTimer>
23#include <QtCore/QPointer>21#include <QtCore/QPointer>
2422
23#include <UbuntuToolkit/private/uclistitem_p.h>
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
25
25class QQuickFlickable;26class QQuickFlickable;
2627
27UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
@@ -58,4 +59,4 @@
5859
59UT_NAMESPACE_END60UT_NAMESPACE_END
6061
61#endif // LISTITEMDRAGAREA_H62#endif // LISTITEMDRAGAREA_P_H
6263
=== modified file 'src/UbuntuToolkit/privates/listitemdraghandler.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/listitemdraghandler.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/listitemdraghandler.cpp 2016-09-17 11:46:32 +0000
@@ -14,11 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "listitemdraghandler_p.h"17#include "privates/listitemdraghandler_p.h"
18#include "uclistitem_p.h"18
19#include <QtQuick/private/qquickanimation_p.h>
20
19#include "uclistitem_p_p.h"21#include "uclistitem_p_p.h"
20#include <propertychange_p.h>22#include "propertychange_p.h"
21#include <QtQuick/private/qquickanimation_p.h>
2223
23UT_NAMESPACE_BEGIN24UT_NAMESPACE_BEGIN
2425
2526
=== modified file 'src/UbuntuToolkit/privates/listitemdraghandler_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/listitemdraghandler_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/listitemdraghandler_p.h 2016-09-17 11:46:32 +0000
@@ -14,13 +14,14 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef LISTITEMDRAGHANDLER_H17#ifndef LISTITEMDRAGHANDLER_P_H
18#define LISTITEMDRAGHANDLER_H18#define LISTITEMDRAGHANDLER_P_H
1919
20#include <QtCore/QObject>20#include <QtCore/QObject>
21#include <QtCore/QPointer>21#include <QtCore/QPointer>
22#include <QtCore/QPointF>22#include <QtCore/QPointF>
23#include <ubuntutoolkitglobal.h>23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2425
25UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2627
@@ -49,4 +50,4 @@
4950
50UT_NAMESPACE_END51UT_NAMESPACE_END
5152
52#endif // LISTITEMDRAGHANDLER_H53#endif // LISTITEMDRAGHANDLER_P_H
5354
=== modified file 'src/UbuntuToolkit/privates/listitemselection.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/listitemselection.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/listitemselection.cpp 2016-09-17 11:46:32 +0000
@@ -14,7 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "listitemselection_p.h"17#include "privates/listitemselection_p.h"
18
18#include "uclistitem_p_p.h"19#include "uclistitem_p_p.h"
1920
20UT_NAMESPACE_BEGIN21UT_NAMESPACE_BEGIN
2122
=== modified file 'src/UbuntuToolkit/privates/listitemselection_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/listitemselection_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/listitemselection_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,13 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef LISTITEMSELECTION_H17#ifndef LISTITEMSELECTION_P_H
18#define LISTITEMSELECTION_H18#define LISTITEMSELECTION_P_H
1919
20#include <QtCore/QObject>20#include <QtCore/QObject>
21#include <QtCore/QPointer>21#include <QtCore/QPointer>
22#include <ubuntutoolkitglobal.h>22
23#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2324
24UT_NAMESPACE_BEGIN25UT_NAMESPACE_BEGIN
2526
@@ -58,4 +59,4 @@
5859
59UT_NAMESPACE_END60UT_NAMESPACE_END
6061
61#endif // LISTITEMSELECTION_H62#endif // LISTITEMSELECTION_P_H
6263
=== modified file 'src/UbuntuToolkit/privates/listviewextensions.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/listviewextensions.cpp 2016-08-01 13:19:05 +0000
+++ src/UbuntuToolkit/privates/listviewextensions.cpp 2016-09-17 11:46:32 +0000
@@ -16,19 +16,24 @@
16 * Author Zsombor Egri <zsombor.egri@canonical.com>16 * Author Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include "listviewextensions_p.h"19#include "privates/listviewextensions_p.h"
20#include "uclistitem_p_p.h"20
21#include "quickutils_p.h"
22#include <QtQuick/QQuickItem>21#include <QtQuick/QQuickItem>
23#include <QtQuick/private/qquickflickable_p.h>22#include <QtQuick/private/qquickflickable_p.h>
24#include <QtQuick/private/qquickitemview_p.h> // for QQuickItemView::BottomToTop23#include <QtQuick/private/qquickitemview_p.h> // for QQuickItemView::BottomToTop
2524
25#include "uclistitem_p_p.h"
26#include "quickutils_p.h"
27
26UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2729
28ListViewProxy::ListViewProxy(QQuickFlickable *listView, QObject *parent)30ListViewProxy::ListViewProxy(QQuickFlickable *listView, QObject *parent)
29 : QObject(parent)31 : QObject(parent)
30 , listView(listView)32 , listView(listView)
33 , _currentItem(Q_NULLPTR)
31{34{
35 connect(listView, SIGNAL(currentItemChanged()), this, SLOT(onCurrentItemChanged()), Qt::DirectConnection);
36 onCurrentItemChanged();
32}37}
33ListViewProxy::~ListViewProxy()38ListViewProxy::~ListViewProxy()
34{39{
@@ -51,7 +56,7 @@
5156
52QQuickItem *ListViewProxy::currentItem()57QQuickItem *ListViewProxy::currentItem()
53{58{
54 return listView->property("currentItem").value<QQuickItem*>();59 return _currentItem;
55}60}
5661
57int ListViewProxy::currentIndex()62int ListViewProxy::currentIndex()
@@ -100,7 +105,7 @@
100105
101void ListViewProxy::setKeyNavigationForListView(bool value)106void ListViewProxy::setKeyNavigationForListView(bool value)
102{107{
103 UCListItem *listItem = qobject_cast<UCListItem*>(currentItem());108 UCListItem *listItem = qobject_cast<UCListItem*>(_currentItem);
104 if (listItem) {109 if (listItem) {
105 UCListItemPrivate::get(listItem)->setListViewKeyNavigation(value);110 UCListItemPrivate::get(listItem)->setListViewKeyNavigation(value);
106 listItem->update();111 listItem->update();
@@ -114,8 +119,7 @@
114 case Qt::TabFocusReason:119 case Qt::TabFocusReason:
115 case Qt::BacktabFocusReason:120 case Qt::BacktabFocusReason:
116 {121 {
117 QQuickItem *currentItem = this->currentItem();122 if (!_currentItem && count() > 0) {
118 if (!currentItem && count() > 0) {
119 // set the first one to be the focus123 // set the first one to be the focus
120 setCurrentIndex(0);124 setCurrentIndex(0);
121 setKeyNavigationForListView(true);125 setKeyNavigationForListView(true);
@@ -135,25 +139,22 @@
135 int key = event->key();139 int key = event->key();
136 Qt::Orientation orientation = this->orientation();140 Qt::Orientation orientation = this->orientation();
137141
138 if ((orientation == Qt::Vertical && key != Qt::Key_Up && key != Qt::Key_Down)142 if ((orientation == Qt::Vertical && (key == Qt::Key_Up || key == Qt::Key_Down))
139 || (orientation == Qt::Horizontal && key != Qt::Key_Left && key != Qt::Key_Right)) {143 || (orientation == Qt::Horizontal && (key == Qt::Key_Left || key == Qt::Key_Right))) {
140 return false;144 keyNavigation = true;
141 }145 }
142 // effectiveLayoutDirection takes into account effectiveLayoutMirror and layoutDirection.146
143 bool isRtl = (Qt::RightToLeft == listView->property("effectiveLayoutDirection").toInt());147 return false;
144 bool isBtt = (QQuickItemView::BottomToTop == listView->property("verticalLayoutDirection").toInt());148}
145 bool forwards = (isBtt ? key == Qt::Key_Up : key == Qt::Key_Down) || (isRtl ? key == Qt::Key_Left : key == Qt::Key_Right);149
146 int oldIndex = this->currentIndex();150void ListViewProxy::onCurrentItemChanged()
147 int currentIndex = this->currentIndex();151{
148 int count = this->count();152 setKeyNavigationForListView(false);
149153 _currentItem = listView->property("currentItem").value<QQuickItem*>();
150 if (currentIndex >= 0 && count > 0) {154 if (_currentItem && _currentItem->isEnabled()) {
151 currentIndex = qBound<int>(0, forwards ? currentIndex + 1 : currentIndex - 1, count - 1);155 setKeyNavigationForListView(keyNavigation);
152 setCurrentIndex(currentIndex);156 keyNavigation = false;
153 setKeyNavigationForListView(true);157 }
154 }
155
156 return (oldIndex != currentIndex);
157}158}
158159
159UT_NAMESPACE_END160UT_NAMESPACE_END
160161
=== modified file 'src/UbuntuToolkit/privates/listviewextensions_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/listviewextensions_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/listviewextensions_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,13 @@
16 * Author Zsombor Egri <zsombor.egri@canonical.com>16 * Author Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef LISTVIEWEXTENSIONS_H19#ifndef LISTVIEWEXTENSIONS_P_H
20#define LISTVIEWEXTENSIONS_H20#define LISTVIEWEXTENSIONS_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <ubuntutoolkitglobal.h>23#include <QtCore/QPointer>
24
25#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2426
25class QQuickFlickable;27class QQuickFlickable;
26class QQuickItem;28class QQuickItem;
@@ -56,11 +58,14 @@
56 bool focusInEvent(QFocusEvent *event);58 bool focusInEvent(QFocusEvent *event);
57 bool keyPressEvent(QKeyEvent *event);59 bool keyPressEvent(QKeyEvent *event);
58 void setKeyNavigationForListView(bool value);60 void setKeyNavigationForListView(bool value);
61 Q_SLOT void onCurrentItemChanged();
59private:62private:
60 QQuickFlickable *listView;63 QQuickFlickable *listView;
64 QPointer<QQuickItem> _currentItem;
61 bool isEventFilter:1;65 bool isEventFilter:1;
66 bool keyNavigation:1;
62};67};
6368
64UT_NAMESPACE_END69UT_NAMESPACE_END
6570
66#endif // LISTVIEWEXTENSIONS_H71#endif // LISTVIEWEXTENSIONS_P_H
6772
=== modified file 'src/UbuntuToolkit/privates/splitviewhandler.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/splitviewhandler.cpp 2016-08-26 05:40:23 +0000
+++ src/UbuntuToolkit/privates/splitviewhandler.cpp 2016-09-17 11:46:32 +0000
@@ -16,13 +16,15 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include "splitviewhandler_p_p.h"19#include "privates/splitviewhandler_p.h"
20
21#include <QtQml/QQmlEngine>
22#include <QtQml/QQmlInfo>
20#include <QtQuick/private/qquickanchors_p.h>23#include <QtQuick/private/qquickanchors_p.h>
21#include <QtQuick/private/qquickitem_p.h>24#include <QtQuick/private/qquickitem_p.h>
22#include <QtQuick/private/qquickevents_p_p.h>25#include <QtQuick/private/qquickevents_p_p.h>
23#include <QtQml/QQmlEngine>26
24#include <QtQml/QQmlInfo>27#include "splitview_p_p.h"
25#include <splitview_p_p.h>
2628
27UT_NAMESPACE_BEGIN29UT_NAMESPACE_BEGIN
2830
2931
=== renamed file 'src/Ubuntu/UbuntuToolkit/privates/splitviewhandler_p_p.h' => 'src/UbuntuToolkit/privates/splitviewhandler_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/splitviewhandler_p_p.h 2016-08-26 05:40:23 +0000
+++ src/UbuntuToolkit/privates/splitviewhandler_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,14 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef SPLITVIEWHANDLER_H19#ifndef SPLITVIEWHANDLER_P_H
20#define SPLITVIEWHANDLER_H20#define SPLITVIEWHANDLER_P_H
2121
22#include <QtCore/QPointer>
22#include <QtQuick/QQuickItem>23#include <QtQuick/QQuickItem>
23#include <QtCore/QPointer>
24#include <QtQuick/private/qquickmousearea_p.h>24#include <QtQuick/private/qquickmousearea_p.h>
25#include <ubuntutoolkitglobal.h>25
26#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2627
27UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2829
@@ -49,4 +50,4 @@
4950
50UT_NAMESPACE_END51UT_NAMESPACE_END
5152
52#endif // SPLITVIEWHANDLER_H53#endif // SPLITVIEWHANDLER_P_H
5354
=== modified file 'src/UbuntuToolkit/privates/threelabelsslot_p.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/threelabelsslot_p.cpp 2016-07-18 17:18:13 +0000
+++ src/UbuntuToolkit/privates/threelabelsslot_p.cpp 2016-09-17 11:46:32 +0000
@@ -14,7 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "threelabelsslot_p.h"17#include "privates/threelabelsslot_p.h"
18
18#include "label_p.h"19#include "label_p.h"
19#include "ucunits_p.h"20#include "ucunits_p.h"
20#include "ucfontutils_p.h"21#include "ucfontutils_p.h"
2122
=== modified file 'src/UbuntuToolkit/privates/threelabelsslot_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/threelabelsslot_p.h 2016-06-21 13:16:07 +0000
+++ src/UbuntuToolkit/privates/threelabelsslot_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef THREELABELSSLOT_H17#ifndef THREELABELSSLOT_P_H
18#define THREELABELSSLOT_H18#define THREELABELSSLOT_P_H
1919
20#include <QQuickItem>20#include <QtQuick/private/qquickitem_p.h>
21#include <private/qquickitem_p.h>21
22#include <ubuntutoolkitglobal.h>22#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2323
24//The padding between title and the string below it (i.e. subtitle, or24//The padding between title and the string below it (i.e. subtitle, or
25//summary, when subtitle is empty)25//summary, when subtitle is empty)
@@ -89,4 +89,4 @@
8989
90UT_NAMESPACE_END90UT_NAMESPACE_END
9191
92#endif // THREELABELSSLOT_H92#endif // THREELABELSSLOT_P_H
9393
=== modified file 'src/UbuntuToolkit/privates/ucpagewrapper.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapper.cpp 2016-08-08 11:51:22 +0000
+++ src/UbuntuToolkit/privates/ucpagewrapper.cpp 2016-09-17 11:46:32 +0000
@@ -14,11 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "ucpagewrapper_p_p.h"17#include "privates/ucpagewrapper_p_p.h"
18#include "ucpagewrapperincubator_p.h"18
1919#include <QtQml/QQmlEngine>
20#include <QQmlEngine>20#include <QtQml/QQmlContext>
21#include <QQmlContext>21
22#include "privates/ucpagewrapperincubator_p.h"
2223
23UT_NAMESPACE_BEGIN24UT_NAMESPACE_BEGIN
2425
2526
=== modified file 'src/UbuntuToolkit/privates/ucpagewrapper_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapper_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/ucpagewrapper_p.h 2016-09-17 11:46:32 +0000
@@ -14,11 +14,11 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCPAGEWRAPPER_H17#ifndef UCPAGEWRAPPER_P_H
18#define UCPAGEWRAPPER_H18#define UCPAGEWRAPPER_P_H
1919
20#include <ubuntutoolkitglobal.h>20#include <UbuntuToolkit/private/ucpagetreenode_p.h>
21#include "ucpagetreenode_p.h"21#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2222
23UT_NAMESPACE_BEGIN23UT_NAMESPACE_BEGIN
2424
2525
=== modified file 'src/UbuntuToolkit/privates/ucpagewrapper_p_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapper_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/privates/ucpagewrapper_p_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,13 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCPAGEWRAPPER_P_H17#ifndef UCPAGEWRAPPER_P_P_H
18#define UCPAGEWRAPPER_P_H18#define UCPAGEWRAPPER_P_P_H
1919
20#include <ubuntutoolkitglobal.h>20#include <UbuntuToolkit/private/ucpagewrapper_p.h>
21#include "ucpagetreenode_p_p.h"21
22#include "ucpagewrapper_p.h"22#include <UbuntuToolkit/ubuntutoolkitglobal.h>
23#include <UbuntuToolkit/private/ucpagetreenode_p_p.h>
2324
24UT_NAMESPACE_BEGIN25UT_NAMESPACE_BEGIN
2526
@@ -80,4 +81,4 @@
8081
81UT_NAMESPACE_END82UT_NAMESPACE_END
8283
83#endif // UCPAGEWRAPPER_P_H84#endif // UCPAGEWRAPPER_P_P_H
8485
=== modified file 'src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapperincubator.cpp 2016-06-17 11:26:12 +0000
+++ src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp 2016-09-17 11:46:32 +0000
@@ -14,9 +14,10 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#include "ucpagewrapperincubator_p.h"17#include "privates/ucpagewrapperincubator_p.h"
18#include <QVariantMap>18
19#include <QQmlInfo>19#include <QtCore/QVariantMap>
20#include <QtQml/QQmlInfo>
2021
21UT_NAMESPACE_BEGIN22UT_NAMESPACE_BEGIN
2223
2324
=== modified file 'src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapperincubator_p.h 2016-06-17 11:26:12 +0000
+++ src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h 2016-09-17 11:46:32 +0000
@@ -14,14 +14,15 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCPAGEWRAPPERINCUBATOR_H17#ifndef UCPAGEWRAPPERINCUBATOR_P_H
18#define UCPAGEWRAPPERINCUBATOR_H18#define UCPAGEWRAPPERINCUBATOR_P_H
1919
20#include <QObject>20#include <QtCore/QObject>
21#include <QQmlIncubator>21#include <QtCore/QVariant>
22#include <QJSValue>22#include <QtQml/QQmlIncubator>
23#include <QVariant>23#include <QtQml/QJSValue>
24#include <ubuntutoolkitglobal.h>24
25#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2526
26UT_NAMESPACE_BEGIN27UT_NAMESPACE_BEGIN
2728
@@ -61,4 +62,4 @@
6162
62UT_NAMESPACE_END63UT_NAMESPACE_END
6364
64#endif // UCPAGEWRAPPERINCUBATOR_H65#endif // UCPAGEWRAPPERINCUBATOR_P_H
6566
=== modified file 'src/UbuntuToolkit/privates/ucscrollbarutils.cpp'
--- src/Ubuntu/UbuntuToolkit/privates/ucscrollbarutils.cpp 2016-08-01 13:48:02 +0000
+++ src/UbuntuToolkit/privates/ucscrollbarutils.cpp 2016-09-17 11:46:32 +0000
@@ -16,7 +16,8 @@
16 * Author: Andrea Bernabei <andrea.bernabei@canonical.com>16 * Author: Andrea Bernabei <andrea.bernabei@canonical.com>
17 */17 */
1818
19#include "ucscrollbarutils_p.h"19#include "privates/ucscrollbarutils_p.h"
20
20#include <QtQuick/private/qquickitem_p.h>21#include <QtQuick/private/qquickitem_p.h>
2122
22UT_NAMESPACE_BEGIN23UT_NAMESPACE_BEGIN
2324
=== modified file 'src/UbuntuToolkit/privates/ucscrollbarutils_p.h'
--- src/Ubuntu/UbuntuToolkit/privates/ucscrollbarutils_p.h 2016-08-01 13:48:02 +0000
+++ src/UbuntuToolkit/privates/ucscrollbarutils_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Author: Andrea Bernabei <andrea.bernabei@canonical.com>16 * Author: Andrea Bernabei <andrea.bernabei@canonical.com>
17 */17 */
1818
19#ifndef UCSCROLLBARUTILS_H19#ifndef UCSCROLLBARUTILS_P_H
20#define UCSCROLLBARUTILS_H20#define UCSCROLLBARUTILS_P_H
2121
22#include <QObject>22#include <QtCore/QObject>
23#include <ubuntutoolkitglobal.h>23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2425
25class QQuickItem;26class QQuickItem;
2627
@@ -38,4 +39,4 @@
3839
39UT_NAMESPACE_END40UT_NAMESPACE_END
4041
41#endif // UCSCROLLBARUTILS_H42#endif // UCSCROLLBARUTILS_P_H
4243
=== modified file 'src/UbuntuToolkit/propertychange_p.h'
--- src/Ubuntu/UbuntuToolkit/propertychange_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/propertychange_p.h 2016-09-17 11:46:32 +0000
@@ -17,14 +17,14 @@
17#ifndef PROPERTYCHANGE_P_H17#ifndef PROPERTYCHANGE_P_H
18#define PROPERTYCHANGE_P_H18#define PROPERTYCHANGE_P_H
1919
20#include <QtCore/QObject>
20#include <QtCore/QVariant>21#include <QtCore/QVariant>
21#include <QtCore/QObject>22#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
23#include <QtCore/QExplicitlySharedDataPointer>
24#endif
22#include <QtQml/QQmlProperty>25#include <QtQml/QQmlProperty>
2326
24#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)27#include <UbuntuToolkit/ubuntutoolkitglobal.h>
25#include <QtCore/QExplicitlySharedDataPointer>
26#endif
27#include <ubuntutoolkitglobal.h>
2828
29class QQmlAbstractBinding;29class QQmlAbstractBinding;
3030
3131
=== modified file 'src/UbuntuToolkit/qquickclipboard.cpp'
--- src/Ubuntu/UbuntuToolkit/qquickclipboard.cpp 2016-07-07 18:17:56 +0000
+++ src/UbuntuToolkit/qquickclipboard.cpp 2016-09-17 11:46:32 +0000
@@ -16,10 +16,11 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include "qquickclipboard_p_p.h"
20
19#include <QtGui/QClipboard>21#include <QtGui/QClipboard>
20#include <QtGui/QGuiApplication>22#include <QtGui/QGuiApplication>
2123
22#include "qquickclipboard_p_p.h"
23#include "qquickmimedata_p.h"24#include "qquickmimedata_p.h"
2425
25UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2627
=== modified file 'src/UbuntuToolkit/qquickclipboard_p.h'
--- src/Ubuntu/UbuntuToolkit/qquickclipboard_p.h 2016-07-07 18:17:56 +0000
+++ src/UbuntuToolkit/qquickclipboard_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,14 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef QQUICKCLIPBOARD_H19#ifndef QQUICKCLIPBOARD_P_H
20#define QQUICKCLIPBOARD_H20#define QQUICKCLIPBOARD_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <QtQml/QJSEngine>23#include <QtQml/QJSEngine>
24#include <QtQml/QQmlEngine>24#include <QtQml/QQmlEngine>
25#include <ubuntutoolkitglobal.h>25
26#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2627
27class QQmlEngine;28class QQmlEngine;
28class QJSEngine;29class QJSEngine;
@@ -60,4 +61,4 @@
6061
61UT_NAMESPACE_END62UT_NAMESPACE_END
6263
63#endif // QQUICKCLIPBOARD_H64#endif // QQUICKCLIPBOARD_P_H
6465
=== modified file 'src/UbuntuToolkit/qquickclipboard_p_p.h'
--- src/Ubuntu/UbuntuToolkit/qquickclipboard_p_p.h 2016-07-07 18:17:56 +0000
+++ src/UbuntuToolkit/qquickclipboard_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,12 +16,13 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef QQUICKCLIPBOARD_P_H19#ifndef QQUICKCLIPBOARD_P_P_H
20#define QQUICKCLIPBOARD_P_H20#define QQUICKCLIPBOARD_P_P_H
2121
22#include "qquickclipboard_p.h"22#include <UbuntuToolkit/private/qquickclipboard_p.h>
23
24#include <QtCore/private/qobject_p.h>
23#include <QtGui/QClipboard>25#include <QtGui/QClipboard>
24#include <QtCore/private/qobject_p.h>
2526
26UT_NAMESPACE_BEGIN27UT_NAMESPACE_BEGIN
2728
@@ -41,4 +42,4 @@
4142
42UT_NAMESPACE_END43UT_NAMESPACE_END
4344
44#endif // QQUICKCLIPBOARD_P_H45#endif // QQUICKCLIPBOARD_P_P_H
4546
=== modified file 'src/UbuntuToolkit/qquickmimedata.cpp'
--- src/Ubuntu/UbuntuToolkit/qquickmimedata.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/qquickmimedata.cpp 2016-09-17 11:46:32 +0000
@@ -16,14 +16,14 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include <QtGui/QClipboard>19#include "qquickmimedata_p.h"
20#include <QtGui/QGuiApplication>20
21#include <QtCore/QMimeData>21#include <QtCore/QMimeData>
22#include <QtCore/QMimeDatabase>22#include <QtCore/QMimeDatabase>
23#include <QtCore/QMimeType>23#include <QtCore/QMimeType>
24#include "qquickmimedata_p.h"24#include <QtCore/QDebug>
2525#include <QtGui/QClipboard>
26#include <QDebug>26#include <QtGui/QGuiApplication>
2727
28UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2929
3030
=== modified file 'src/UbuntuToolkit/qquickmimedata_p.h'
--- src/Ubuntu/UbuntuToolkit/qquickmimedata_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/qquickmimedata_p.h 2016-09-17 11:46:32 +0000
@@ -16,14 +16,15 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef QQUICKMIMEDATA_H19#ifndef QQUICKMIMEDATA_P_H
20#define QQUICKMIMEDATA_H20#define QQUICKMIMEDATA_P_H
2121
22#include <QtCore/QMimeData>22#include <QtCore/QMimeData>
23#include <QtCore/QStringList>23#include <QtCore/QStringList>
24#include <QtCore/QUrl>
24#include <QtGui/QColor>25#include <QtGui/QColor>
25#include <QtCore/QUrl>26
26#include "qquickclipboard_p.h"27#include <UbuntuToolkit/private/qquickclipboard_p.h>
2728
28UT_NAMESPACE_BEGIN29UT_NAMESPACE_BEGIN
2930
@@ -74,4 +75,4 @@
7475
75UT_NAMESPACE_END76UT_NAMESPACE_END
7677
77#endif // QQUICKMIMEDATA_H78#endif // QQUICKMIMEDATA_P_H
7879
=== modified file 'src/UbuntuToolkit/quickutils.cpp'
--- src/Ubuntu/UbuntuToolkit/quickutils.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/quickutils.cpp 2016-09-17 11:46:32 +0000
@@ -12,23 +12,21 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#include "quickutils_p.h"17#include "quickutils_p.h"
1918
20#include <QGuiApplication>
21#include <QtQuick/QQuickView>
22#include <QtQuick/QQuickItem>
23#include <QtQml/QQmlContext>
24#include <QtCore/QAbstractListModel>19#include <QtCore/QAbstractListModel>
25#include <QtCore/QAbstractProxyModel>20#include <QtCore/QAbstractProxyModel>
21#include <QtGui/QGuiApplication>
22#include <QtQml/QQmlContext>
26#include <QtQml/QQmlPropertyMap>23#include <QtQml/QQmlPropertyMap>
27#include <QtQml/QQmlInfo>24#include <QtQml/QQmlInfo>
28#include <QtQml/QQmlEngine>25#include <QtQml/QQmlEngine>
2926#include <QtQuick/QQuickView>
30#include <private/qquicktextinput_p.h>27#include <QtQuick/QQuickItem>
31#include <private/qquicktextedit_p.h>28#include <QtQuick/private/qquicktextinput_p.h>
29#include <QtQuick/private/qquicktextedit_p.h>
3230
33UT_NAMESPACE_BEGIN31UT_NAMESPACE_BEGIN
3432
@@ -36,6 +34,7 @@
3634
37QuickUtils::QuickUtils(QObject *parent) :35QuickUtils::QuickUtils(QObject *parent) :
38 QObject(parent),36 QObject(parent),
37 m_rootWindow(0),
39 m_rootView(0),38 m_rootView(0),
40 m_mouseAttached(false),39 m_mouseAttached(false),
41 m_keyboardAttached(false)40 m_keyboardAttached(false)
@@ -86,7 +85,7 @@
86 // make sure we have the m_rootView updated85 // make sure we have the m_rootView updated
87 lookupQuickView();86 lookupQuickView();
88 if (!object) {87 if (!object) {
89 return (m_rootView) ? m_rootView->rootObject() : 0;88 return m_rootView ? m_rootView->rootObject() : (m_rootWindow ? m_rootWindow->contentItem() : 0);
90 }89 }
9190
92 QQuickItem *item = qobject_cast<QQuickItem*>(object);91 QQuickItem *item = qobject_cast<QQuickItem*>(object);
@@ -175,9 +174,10 @@
175 */174 */
176void QuickUtils::lookupQuickView()175void QuickUtils::lookupQuickView()
177{176{
178 if (m_rootView)177 if (m_rootWindow)
179 return;178 return;
180 Q_FOREACH (QWindow *w, QGuiApplication::topLevelWindows()) {179 Q_FOREACH (QWindow *w, QGuiApplication::topLevelWindows()) {
180 m_rootWindow = qobject_cast<QQuickWindow*>(w);
181 m_rootView = qobject_cast<QQuickView*>(w);181 m_rootView = qobject_cast<QQuickView*>(w);
182 if (m_rootView) {182 if (m_rootView) {
183 // connect in case we get the root object changed183 // connect in case we get the root object changed
184184
=== modified file 'src/UbuntuToolkit/quickutils_p.h'
--- src/Ubuntu/UbuntuToolkit/quickutils_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/quickutils_p.h 2016-09-17 11:46:32 +0000
@@ -12,7 +12,6 @@
12 *12 *
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */15 */
1716
18#ifndef QUICKUTILS_P_H17#ifndef QUICKUTILS_P_H
@@ -21,7 +20,8 @@
21#include <QtCore/QObject>20#include <QtCore/QObject>
22#include <QtCore/QPointer>21#include <QtCore/QPointer>
23#include <QtQuick/QQuickView>22#include <QtQuick/QQuickView>
24#include <ubuntutoolkitglobal.h>23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2525
26class QQuickItem;26class QQuickItem;
27class QQmlEngine;27class QQmlEngine;
@@ -85,6 +85,7 @@
8585
86private:86private:
87 explicit QuickUtils(QObject *parent = 0);87 explicit QuickUtils(QObject *parent = 0);
88 QPointer<QQuickWindow> m_rootWindow;
88 QPointer<QQuickView> m_rootView;89 QPointer<QQuickView> m_rootView;
89 QStringList m_omitIM;90 QStringList m_omitIM;
90 bool m_mouseAttached;91 bool m_mouseAttached;
9192
=== modified file 'src/UbuntuToolkit/sortbehavior_p.h'
--- src/Ubuntu/UbuntuToolkit/sortbehavior_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/sortbehavior_p.h 2016-09-17 11:46:32 +0000
@@ -17,11 +17,12 @@
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */18 */
1919
20#ifndef SORTBEHAVIOR_H20#ifndef SORTBEHAVIOR_P_H
21#define SORTBEHAVIOR_H21#define SORTBEHAVIOR_P_H
2222
23#include <QSortFilterProxyModel>23#include <QtCore/QSortFilterProxyModel>
24#include <ubuntutoolkitglobal.h>24
25#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2526
26UT_NAMESPACE_BEGIN27UT_NAMESPACE_BEGIN
2728
@@ -50,4 +51,4 @@
5051
51UT_NAMESPACE_END52UT_NAMESPACE_END
5253
53#endif // SORTBEHAVIOR_H54#endif // SORTBEHAVIOR_P_H
5455
=== modified file 'src/UbuntuToolkit/sortfiltermodel_p.h'
--- src/Ubuntu/UbuntuToolkit/sortfiltermodel_p.h 2016-08-16 08:43:28 +0000
+++ src/UbuntuToolkit/sortfiltermodel_p.h 2016-09-17 11:46:32 +0000
@@ -18,12 +18,13 @@
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */19 */
2020
21#ifndef QSORTFILTERPROXYMODELQML_H21#ifndef SORTFILTERMODEL_P_H
22#define QSORTFILTERPROXYMODELQML_H22#define SORTFILTERMODEL_P_H
2323
24#include <QSortFilterProxyModel>24#include <QtCore/QSortFilterProxyModel>
25#include "sortbehavior_p.h"25
26#include "filterbehavior_p.h"26#include <UbuntuToolkit/private/sortbehavior_p.h>
27#include <UbuntuToolkit/private/filterbehavior_p.h>
2728
28UT_NAMESPACE_BEGIN29UT_NAMESPACE_BEGIN
2930
@@ -73,4 +74,4 @@
7374
74UT_NAMESPACE_END75UT_NAMESPACE_END
7576
76#endif // QSORTFILTERPROXYMODELQML_H77#endif // SORTFILTERMODEL_P_H
7778
=== modified file 'src/UbuntuToolkit/splitview.cpp'
--- src/Ubuntu/UbuntuToolkit/splitview.cpp 2016-08-11 14:47:05 +0000
+++ src/UbuntuToolkit/splitview.cpp 2016-09-17 11:46:32 +0000
@@ -16,16 +16,15 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include "splitview_p_p.h"
20
21#include <QtQml/QQmlInfo>
22#include <QtQuick/private/qquickanchors_p.h>
19#include <QtQuick/private/qquickitem_p.h>23#include <QtQuick/private/qquickitem_p.h>
20#include <QtQuick/private/qquickanchors_p.h>
21#include <QtQml/QQmlInfo>
2224
23#include "splitview_p.h"
24#include "splitview_p_p.h"
25#include "ucunits_p.h"25#include "ucunits_p.h"
26#include "ucpagetreenode_p.h"26#include "ucpagetreenode_p.h"
2727#include "privates/splitviewhandler_p.h"
28#include "privates/splitviewhandler_p_p.h"
2928
30#define DEFAULT_SPACING_DP 429#define DEFAULT_SPACING_DP 4
3130
3231
=== modified file 'src/UbuntuToolkit/splitview_p.h'
--- src/Ubuntu/UbuntuToolkit/splitview_p.h 2016-08-09 13:23:04 +0000
+++ src/UbuntuToolkit/splitview_p.h 2016-09-17 11:46:32 +0000
@@ -21,7 +21,7 @@
2121
22#include <QtQuick/private/qquickpositioners_p.h>22#include <QtQuick/private/qquickpositioners_p.h>
2323
24#include "ubuntutoolkitglobal.h"24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2525
26UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2727
2828
=== modified file 'src/UbuntuToolkit/splitview_p_p.h'
--- src/Ubuntu/UbuntuToolkit/splitview_p_p.h 2016-08-10 07:34:04 +0000
+++ src/UbuntuToolkit/splitview_p_p.h 2016-09-17 11:46:32 +0000
@@ -19,7 +19,8 @@
19#ifndef SPLITVIEW_P_P_H19#ifndef SPLITVIEW_P_P_H
20#define SPLITVIEW_P_P_H20#define SPLITVIEW_P_P_H
2121
22#include "splitview_p.h"22#include <UbuntuToolkit/private/splitview_p.h>
23
23#include <QtCore/private/qobject_p.h>24#include <QtCore/private/qobject_p.h>
2425
25UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2627
=== modified file 'src/UbuntuToolkit/splitviewlayout.cpp'
--- src/Ubuntu/UbuntuToolkit/splitviewlayout.cpp 2016-08-11 14:07:52 +0000
+++ src/UbuntuToolkit/splitviewlayout.cpp 2016-09-17 11:46:32 +0000
@@ -15,12 +15,12 @@
15 * Author: Zsombor Egri <zsombor.egri@canonical.com>15 * Author: Zsombor Egri <zsombor.egri@canonical.com>
16 */16 */
1717
18#include "splitview_p_p.h"
19
20#include <QtQuick/private/qquickanchors_p.h>
18#include <QtQuick/private/qquickitem_p.h>21#include <QtQuick/private/qquickitem_p.h>
19#include <QtQuick/private/qquickanchors_p.h>
20#include <QtQml/QQmlInfo>22#include <QtQml/QQmlInfo>
2123
22#include "splitview_p.h"
23#include "splitview_p_p.h"
24#include "ucmathutils_p.h"24#include "ucmathutils_p.h"
2525
26UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2727
=== modified file 'src/UbuntuToolkit/statesaverbackend_p.cpp'
--- src/Ubuntu/UbuntuToolkit/statesaverbackend_p.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/statesaverbackend_p.cpp 2016-09-17 11:46:32 +0000
@@ -17,18 +17,19 @@
17 */17 */
1818
19#include "statesaverbackend_p.h"19#include "statesaverbackend_p.h"
20#include "ucapplication_p.h"20
21#include <QtQml/QQmlContext>
22#include <QtQml/QQmlProperty>
23#include <QtQml/qqmlinfo.h>
24#include <QtQml/qqml.h>
25#include <QtCore/QCoreApplication>21#include <QtCore/QCoreApplication>
26#include <QtCore/QFile>22#include <QtCore/QFile>
23#include <QtCore/QStandardPaths>
27#include <QtCore/QStringList>24#include <QtCore/QStringList>
25#include <QtQml/QtQml>
26#include <QtQml/QQmlContext>
27#include <QtQml/QQmlInfo>
28#include <QtQml/QQmlProperty>
29
28#include "i18n_p.h"30#include "i18n_p.h"
29#include "quickutils_p.h"31#include "quickutils_p.h"
30#include <QtCore/QStandardPaths>32#include "ucapplication_p.h"
31
32#include "unixsignalhandler_p.h"33#include "unixsignalhandler_p.h"
3334
34UT_NAMESPACE_BEGIN35UT_NAMESPACE_BEGIN
3536
=== modified file 'src/UbuntuToolkit/statesaverbackend_p.h'
--- src/Ubuntu/UbuntuToolkit/statesaverbackend_p.h 2016-07-06 09:51:06 +0000
+++ src/UbuntuToolkit/statesaverbackend_p.h 2016-09-17 11:46:32 +0000
@@ -20,12 +20,13 @@
20#define STATESAVERBACKEND_P_H20#define STATESAVERBACKEND_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <QtCore/QSettings>
24#include <QtCore/QPointer>23#include <QtCore/QPointer>
25#include <QtCore/QSet>24#include <QtCore/QSet>
25#include <QtCore/QSettings>
26#include <QtCore/QStack>
26#include <QtCore/QTimer>27#include <QtCore/QTimer>
27#include <QtCore/QStack>28
28#include <ubuntutoolkitglobal.h>29#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2930
30UT_NAMESPACE_BEGIN31UT_NAMESPACE_BEGIN
3132
3233
=== modified file 'src/UbuntuToolkit/timeutils_p.h'
--- src/Ubuntu/UbuntuToolkit/timeutils_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/timeutils_p.h 2016-09-17 11:46:32 +0000
@@ -17,12 +17,12 @@
17#ifndef TIMEUTILS_P_H17#ifndef TIMEUTILS_P_H
18#define TIMEUTILS_P_H18#define TIMEUTILS_P_H
1919
20#include "livetimer_p.h"20#include <QtCore/QDateTime>
21#include <QtCore/QLocale>
22#include <QtCore/QObject>
23#include <QtCore/QTimer>
2124
22#include <QDateTime>25#include <UbuntuToolkit/private/livetimer_p.h>
23#include <QLocale>
24#include <QObject>
25#include <QTimer>
2626
27UT_NAMESPACE_BEGIN27UT_NAMESPACE_BEGIN
2828
2929
=== renamed directory 'src/Ubuntu/Components/tools' => 'src/UbuntuToolkit/tools'
=== modified file 'src/UbuntuToolkit/tree.cpp'
--- src/Ubuntu/UbuntuToolkit/tree.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/tree.cpp 2016-09-17 11:46:32 +0000
@@ -16,8 +16,8 @@
1616
17#include "tree_p.h"17#include "tree_p.h"
1818
19#include <private/qobject_p.h>19#include <QtCore/private/qobject_p.h>
20#include <QQmlEngine>20#include <QtQml/QQmlEngine>
2121
22UT_NAMESPACE_BEGIN22UT_NAMESPACE_BEGIN
2323
2424
=== modified file 'src/UbuntuToolkit/tree_p.h'
--- src/Ubuntu/UbuntuToolkit/tree_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/tree_p.h 2016-09-17 11:46:32 +0000
@@ -14,12 +14,13 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef TREE_H17#ifndef TREE_P_H
18#define TREE_H18#define TREE_P_H
1919
20#include <QObject>20#include <QtCore/QObject>
21#include <QVariant>21#include <QtCore/QVariant>
22#include "ubuntutoolkitglobal.h"22
23#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2324
24UT_NAMESPACE_BEGIN25UT_NAMESPACE_BEGIN
2526
@@ -45,4 +46,4 @@
4546
46UT_NAMESPACE_END47UT_NAMESPACE_END
4748
48#endif // TREE_H49#endif // TREE_P_H
4950
=== modified file 'src/UbuntuToolkit/ubuntutoolkitglobal.h'
--- src/Ubuntu/UbuntuToolkit/ubuntutoolkitglobal.h 2016-07-08 14:28:48 +0000
+++ src/UbuntuToolkit/ubuntutoolkitglobal.h 2016-09-17 11:46:32 +0000
@@ -13,6 +13,7 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16
16#ifndef UBUNTUTOOLKITGLOBAL_H17#ifndef UBUNTUTOOLKITGLOBAL_H
17#define UBUNTUTOOLKITGLOBAL_H18#define UBUNTUTOOLKITGLOBAL_H
1819
@@ -54,4 +55,3 @@
54#endif55#endif
5556
56#endif // UBUNTUTOOLKITGLOBAL_H57#endif // UBUNTUTOOLKITGLOBAL_H
57
5858
=== modified file 'src/UbuntuToolkit/ubuntutoolkitmodule.cpp'
--- src/Ubuntu/UbuntuToolkit/ubuntutoolkitmodule.cpp 2016-08-26 12:03:35 +0000
+++ src/UbuntuToolkit/ubuntutoolkitmodule.cpp 2016-09-17 11:46:32 +0000
@@ -17,91 +17,89 @@
17 */17 */
1818
19#include "ubuntutoolkitmodule.h"19#include "ubuntutoolkitmodule.h"
20
21#include <sys/types.h>
22#include <unistd.h>
23
24#include <stdexcept>
25
26#include <QtQml/QQmlContext>
20#include <QtQml/QQmlEngine>27#include <QtQml/QQmlEngine>
21#include <QtQml/QQmlContext>
22#include <QtQml/QQmlExtensionPlugin>28#include <QtQml/QQmlExtensionPlugin>
23#include <QtQuick/private/qquickimagebase_p.h>29#include <QtQuick/private/qquickimagebase_p.h>
24#include <QDBusConnection>30#include <QtDBus/QDBusConnection>
25#include <QtGui/QGuiApplication>31#include <QtGui/QGuiApplication>
26#include <QtGui/QScreen>32#include <QtGui/QScreen>
27
28#include <sys/types.h>
29#include <unistd.h>
30#include <stdexcept>
31
32#include <ucunits_p.h>
33#include <quickutils_p.h>
34#include <i18n_p.h>
35#include <ucapplication_p.h>
36#include <ucfontutils_p.h>
37#include <uctheme_p.h>
38#include <ucdeprecatedtheme_p.h>
39#include <listener_p.h>
40#include <ucfontutils_p.h>
41#include <ucmathutils_p.h>
42#include <ucmargins_p.h>
43#include <ucmainviewbase_p.h>
44#include <ucabstractbutton_p.h>
45#include <ucaction_p.h>
46#include <ucactioncontext_p.h>
47#include <ucactionitem_p.h>
48#include <ucactionmanager_p.h>
49#include <ucalarm_p.h>
50#include <ucalarmmodel_p.h>
51#include <ucarguments_p.h>
52#include <ucargument_p.h>
53#include <ucbottomedgehint_p.h>
54#include <ucbottomedgeregion_p.h>
55#include <ucbottomedge_p.h>
56#include <uchaptics_p.h>
57#include <ucheader_p.h>
58#include <ucinversemouse_p.h>
59#include <ucmouse_p.h>
60#include <uclistitem_p.h>
61#include <uclistitemactions_p.h>
62#include <uclistitemlayout_p.h>
63#include <uclabel_p.h>
64#include <ucpagetreenode_p.h>
65#include <ucperformancemonitor_p.h>
66#include <ucproportionalshape_p.h>
67#include <ucscalingimageprovider_p.h>
68#include <ucserviceproperties_p.h>
69#include <ucslotslayout_p.h>
70#include <ucstatesaver_p.h>
71#include <ucstyleditembase_p.h>
72#include <ucstylehints_p.h>
73#include <uctheme_p.h>
74#include <ucubuntuanimation_p.h>
75#include <ucubuntushapeoverlay_p.h>
76#include <ucubuntushape_p.h>
77#include <ucurihandler_p.h>
78#include <ucqquickimageextension_p.h>
79#include <inversemouseareatype_p.h>
80#include <qquickclipboard_p.h>
81#include <qquickmimedata_p.h>
82#include <colorutils_p.h>
83#include <tree_p.h>
84#include <unitythemeiconprovider_p.h>
85#include <sortbehavior_p.h>
86#include <sortfiltermodel_p.h>
87#include <livetimer_p.h>
88#include <privates/frame_p.h>
89#include <privates/ucpagewrapper_p.h>
90#include <privates/appheaderbase_p.h>
91#include <privates/ucscrollbarutils_p.h>
92#include <actionlist_p.h>
93#include <exclusivegroup_p.h>
94#include <menu_p.h>
95#include <menubar_p.h>
96#include <menugroup_p.h>
97
98#include <splitview_p.h>
99
100// styles
101#include <ucbottomedgestyle_p.h>
102
103#include <UbuntuMetrics/applicationmonitor.h>33#include <UbuntuMetrics/applicationmonitor.h>
10434
35#include "actionlist_p.h"
36#include "colorutils_p.h"
37#include "exclusivegroup_p.h"
38#include "i18n_p.h"
39#include "inversemouseareatype_p.h"
40#include "listener_p.h"
41#include "livetimer_p.h"
42#include "menu_p.h"
43#include "menubar_p.h"
44#include "menugroup_p.h"
45#include "privates/appheaderbase_p.h"
46#include "privates/frame_p.h"
47#include "privates/ucpagewrapper_p.h"
48#include "privates/ucscrollbarutils_p.h"
49#include "qquickclipboard_p.h"
50#include "qquickmimedata_p.h"
51#include "quickutils_p.h"
52#include "sortbehavior_p.h"
53#include "sortfiltermodel_p.h"
54#include "splitview_p.h"
55#include "tree_p.h"
56#include "ucabstractbutton_p.h"
57#include "ucaction_p.h"
58#include "ucactioncontext_p.h"
59#include "ucactionitem_p.h"
60#include "ucactionmanager_p.h"
61#include "ucalarm_p.h"
62#include "ucalarmmodel_p.h"
63#include "ucapplication_p.h"
64#include "ucargument_p.h"
65#include "ucarguments_p.h"
66#include "ucbottomedge_p.h"
67#include "ucbottomedgehint_p.h"
68#include "ucbottomedgeregion_p.h"
69#include "ucbottomedgestyle_p.h"
70#include "ucdeprecatedtheme_p.h"
71#include "ucfontutils_p.h"
72#include "ucfontutils_p.h"
73#include "uchaptics_p.h"
74#include "ucheader_p.h"
75#include "ucinversemouse_p.h"
76#include "uclabel_p.h"
77#include "uclistitem_p.h"
78#include "uclistitemactions_p.h"
79#include "uclistitemlayout_p.h"
80#include "ucmainviewbase_p.h"
81#include "ucmargins_p.h"
82#include "ucmathutils_p.h"
83#include "ucmouse_p.h"
84#include "ucpagetreenode_p.h"
85#include "ucperformancemonitor_p.h"
86#include "ucproportionalshape_p.h"
87#include "ucqquickimageextension_p.h"
88#include "ucscalingimageprovider_p.h"
89#include "ucserviceproperties_p.h"
90#include "ucslotslayout_p.h"
91#include "ucstatesaver_p.h"
92#include "ucstyleditembase_p.h"
93#include "ucstylehints_p.h"
94#include "uctheme_p.h"
95#include "uctheme_p.h"
96#include "ucubuntuanimation_p.h"
97#include "ucubuntushape_p.h"
98#include "ucubuntushapeoverlay_p.h"
99#include "ucunits_p.h"
100#include "ucurihandler_p.h"
101#include "unitythemeiconprovider_p.h"
102
105UT_NAMESPACE_BEGIN103UT_NAMESPACE_BEGIN
106104
107const char *EngineProperty("__ubuntu_toolkit_plugin_data");105const char *EngineProperty("__ubuntu_toolkit_plugin_data");
108106
=== modified file 'src/UbuntuToolkit/ubuntutoolkitmodule.h'
--- src/Ubuntu/UbuntuToolkit/ubuntutoolkitmodule.h 2016-07-06 09:51:06 +0000
+++ src/UbuntuToolkit/ubuntutoolkitmodule.h 2016-09-17 11:46:32 +0000
@@ -20,10 +20,11 @@
20#define UBUNTUTOOLKITMODULE_H20#define UBUNTUTOOLKITMODULE_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <QtQml/QtQml>
24#include <QtQml/QJSEngine>
23#include <QtQml/QQmlEngine>25#include <QtQml/QQmlEngine>
24#include <QtQml/QJSEngine>26
25#include <qqml.h>27#include <UbuntuToolkit/ubuntutoolkitglobal.h>
26#include <ubuntutoolkitglobal.h>
2728
28class QQmlEngine;29class QQmlEngine;
29class QWindow;30class QWindow;
3031
=== modified file 'src/UbuntuToolkit/ucabstractbutton.cpp'
--- src/Ubuntu/UbuntuToolkit/ucabstractbutton.cpp 2016-08-17 10:06:06 +0000
+++ src/UbuntuToolkit/ucabstractbutton.cpp 2016-09-17 11:46:32 +0000
@@ -15,12 +15,14 @@
15 */15 */
1616
17#include "ucabstractbutton_p_p.h"17#include "ucabstractbutton_p_p.h"
18
19#include <QtQml/private/qqmlglobal_p.h>
20#include <QtQuick/private/qquickitem_p.h>
21#include <QtQuick/private/qquickmousearea_p.h>
22
23#include "ucaction_p.h"
18#include "uchaptics_p.h"24#include "uchaptics_p.h"
19#include "ucunits_p.h"25#include "ucunits_p.h"
20#include "ucaction_p.h"
21#include <QtQuick/private/qquickitem_p.h>
22#include <QtQuick/private/qquickmousearea_p.h>
23#include <QtQml/private/qqmlglobal_p.h>
2426
25#define MIN_SENSING_WIDTH_GU 427#define MIN_SENSING_WIDTH_GU 4
26#define MIN_SENSING_HEIGHT_GU 428#define MIN_SENSING_HEIGHT_GU 4
2729
=== modified file 'src/UbuntuToolkit/ucabstractbutton_p.h'
--- src/Ubuntu/UbuntuToolkit/ucabstractbutton_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucabstractbutton_p.h 2016-09-17 11:46:32 +0000
@@ -14,13 +14,14 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCABSTRACTBUTTON_H17#ifndef UCABSTRACTBUTTON_P_H
18#define UCABSTRACTBUTTON_H18#define UCABSTRACTBUTTON_P_H
1919
20#include "ucactionitem_p.h"
21#include "ucmargins_p.h"
22#include <QtQuick/private/qquickevents_p_p.h>20#include <QtQuick/private/qquickevents_p_p.h>
2321
22#include <UbuntuToolkit/private/ucactionitem_p.h>
23#include <UbuntuToolkit/private/ucmargins_p.h>
24
24class QQuickMouseArea;25class QQuickMouseArea;
25class QQuickMouseEvent;26class QQuickMouseEvent;
2627
@@ -84,4 +85,4 @@
8485
85QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCMargins))86QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCMargins))
8687
87#endif // UCABSTRACTBUTTON_H88#endif // UCABSTRACTBUTTON_P_H
8889
=== modified file 'src/UbuntuToolkit/ucabstractbutton_p_p.h'
--- src/Ubuntu/UbuntuToolkit/ucabstractbutton_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucabstractbutton_p_p.h 2016-09-17 11:46:32 +0000
@@ -14,11 +14,12 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCABSTRACTBUTTON_P17#ifndef UCABSTRACTBUTTON_P_P_H
18#define UCABSTRACTBUTTON_P18#define UCABSTRACTBUTTON_P_P_H
1919
20#include "ucabstractbutton_p.h"20#include <UbuntuToolkit/private/ucabstractbutton_p.h>
21#include "ucactionitem_p_p.h"21
22#include <UbuntuToolkit/private/ucactionitem_p_p.h>
2223
23UT_NAMESPACE_BEGIN24UT_NAMESPACE_BEGIN
2425
@@ -54,4 +55,4 @@
5455
55UT_NAMESPACE_END56UT_NAMESPACE_END
5657
57#endif // UCABSTRACTBUTTON_P58#endif // UCABSTRACTBUTTON_P_P_H
5859
=== modified file 'src/UbuntuToolkit/ucaction.cpp'
--- src/Ubuntu/UbuntuToolkit/ucaction.cpp 2016-08-25 14:00:43 +0000
+++ src/UbuntuToolkit/ucaction.cpp 2016-09-17 11:46:32 +0000
@@ -15,15 +15,16 @@
15 */15 */
1616
17#include "ucaction_p.h"17#include "ucaction_p.h"
18
19#include <QtCore/QtDebug>
20#include <QtGui/private/qguiapplication_p.h>
21#include <QtQml/QQmlInfo>
22#include <QtQuick/QQuickItem>
23#include <QtQuick/QQuickWindow>
24
25#include "exclusivegroup_p.h"
18#include "quickutils_p.h"26#include "quickutils_p.h"
19#include "ucactioncontext_p.h"27#include "ucactioncontext_p.h"
20#include "exclusivegroup_p.h"
21
22#include <QtDebug>
23#include <QtQml/QQmlInfo>
24#include <QtQuick/qquickitem.h>
25#include <QtQuick/qquickwindow.h>
26#include <private/qguiapplication_p.h>
2728
28Q_LOGGING_CATEGORY(ucAction, "ubuntu.components.Action", QtMsgType::QtWarningMsg)29Q_LOGGING_CATEGORY(ucAction, "ubuntu.components.Action", QtMsgType::QtWarningMsg)
2930
@@ -364,6 +365,14 @@
364 if (m_iconSource == url) {365 if (m_iconSource == url) {
365 return;366 return;
366 }367 }
368 if (url.isEmpty() && m_factoryIconSource) {
369 // Prevent overriding iconSource when it is a binding to a property with
370 // an empty value at initialization, and the value of iconName is initialized
371 // before iconSource is initialized which would cause first iconSource to be set,
372 // and after that iconSource to be reset to the empty value of the binding.
373 // Fixes bug #1616858.
374 return;
375 }
367 m_iconSource = url;376 m_iconSource = url;
368 m_factoryIconSource = false;377 m_factoryIconSource = false;
369 Q_EMIT iconSourceChanged();378 Q_EMIT iconSourceChanged();
370379
=== modified file 'src/UbuntuToolkit/ucaction_p.h'
--- src/Ubuntu/UbuntuToolkit/ucaction_p.h 2016-08-25 14:00:43 +0000
+++ src/UbuntuToolkit/ucaction_p.h 2016-09-17 11:46:32 +0000
@@ -14,17 +14,18 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCACTION_H17#ifndef UCACTION_P_H
18#define UCACTION_H18#define UCACTION_P_H
1919
20#include <QtCore/QObject>20#include <QtCore/QObject>
21#include <QtCore/QUrl>
21#include <QtCore/QVariant>22#include <QtCore/QVariant>
22#include <QtCore/QUrl>
23#include <QtGui/QKeySequence>23#include <QtGui/QKeySequence>
24#include <QtQml>24#include <QtQml/QtQml>
25#include <QtQml/QQmlListProperty>25#include <QtQml/QQmlListProperty>
26#include <QtQml/private/qpodvector_p.h>26#include <QtQml/private/qpodvector_p.h>
27#include "ubuntutoolkitglobal.h"27
28#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2829
29class QQmlComponent;30class QQmlComponent;
30class QQuickItem;31class QQuickItem;
@@ -191,4 +192,4 @@
191192
192QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCAction))193QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCAction))
193194
194#endif // UCACTION_H195#endif // UCACTION_P_H
195196
=== modified file 'src/UbuntuToolkit/ucactioncontext.cpp'
--- src/Ubuntu/UbuntuToolkit/ucactioncontext.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucactioncontext.cpp 2016-09-17 11:46:32 +0000
@@ -15,9 +15,11 @@
15 */15 */
1616
17#include "ucactioncontext_p.h"17#include "ucactioncontext_p.h"
18
19#include <QtQuick/QQuickItem>
20
21#include "adapters/actionsproxy_p.h"
18#include "ucaction_p.h"22#include "ucaction_p.h"
19#include "adapters/actionsproxy_p.h"
20#include <QtQuick/QQuickItem>
2123
22Q_LOGGING_CATEGORY(ucActionContext, "ubuntu.components.ActionContext", QtMsgType::QtWarningMsg)24Q_LOGGING_CATEGORY(ucActionContext, "ubuntu.components.ActionContext", QtMsgType::QtWarningMsg)
2325
2426
=== modified file 'src/UbuntuToolkit/ucactioncontext_p.h'
--- src/Ubuntu/UbuntuToolkit/ucactioncontext_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucactioncontext_p.h 2016-09-17 11:46:32 +0000
@@ -14,15 +14,16 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCACTIONCONTEXT_H17#ifndef UCACTIONCONTEXT_P_H
18#define UCACTIONCONTEXT_H18#define UCACTIONCONTEXT_P_H
1919
20#include <QtCore/QObject>20#include <QtCore/QObject>
21#include <QtCore/QSet>
22#include <QtQml/QtQml>
21#include <QtQml/QQmlListProperty>23#include <QtQml/QQmlListProperty>
22#include <QtQml/QQmlParserStatus>24#include <QtQml/QQmlParserStatus>
23#include <QtCore/QSet>25
24#include <QtQml>26#include <UbuntuToolkit/ubuntutoolkitglobal.h>
25#include "ubuntutoolkitglobal.h"
2627
27class QQuickItem;28class QQuickItem;
2829
@@ -111,4 +112,4 @@
111QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCActionContext))112QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCActionContext))
112QML_DECLARE_TYPEINFO(UT_PREPEND_NAMESPACE(UCActionContext), QML_HAS_ATTACHED_PROPERTIES)113QML_DECLARE_TYPEINFO(UT_PREPEND_NAMESPACE(UCActionContext), QML_HAS_ATTACHED_PROPERTIES)
113114
114#endif // UCACTIONCONTEXT_H115#endif // UCACTIONCONTEXT_P_H
115116
=== modified file 'src/UbuntuToolkit/ucactionitem.cpp'
--- src/Ubuntu/UbuntuToolkit/ucactionitem.cpp 2016-07-07 08:42:42 +0000
+++ src/UbuntuToolkit/ucactionitem.cpp 2016-09-17 11:46:32 +0000
@@ -15,12 +15,14 @@
15 */15 */
1616
17#include "ucactionitem_p_p.h"17#include "ucactionitem_p_p.h"
18#include "ucaction_p.h"18
19#include "ucstyleditembase_p_p.h"
20#define foreach Q_FOREACH19#define foreach Q_FOREACH
21#include <QtQml/private/qqmlbinding_p.h>20#include <QtQml/private/qqmlbinding_p.h>
22#undef foreach21#undef foreach
2322
23#include "ucaction_p.h"
24#include "ucstyleditembase_p_p.h"
25
24UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2527
26UCActionItemPrivate::UCActionItemPrivate()28UCActionItemPrivate::UCActionItemPrivate()
2729
=== modified file 'src/UbuntuToolkit/ucactionitem_p.h'
--- src/Ubuntu/UbuntuToolkit/ucactionitem_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucactionitem_p.h 2016-09-17 11:46:32 +0000
@@ -13,10 +13,11 @@
13 * You should have received a copy of the GNU Lesser General Public License13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
16#ifndef UCACTIONITEM_H16
17#define UCACTIONITEM_H17#ifndef UCACTIONITEM_P_H
1818#define UCACTIONITEM_P_H
19#include "ucstyleditembase_p.h"19
20#include <UbuntuToolkit/private/ucstyleditembase_p.h>
2021
21UT_NAMESPACE_BEGIN22UT_NAMESPACE_BEGIN
2223
@@ -79,4 +80,4 @@
7980
80UT_NAMESPACE_END81UT_NAMESPACE_END
8182
82#endif // UCACTIONITEM_H83#endif // UCACTIONITEM_P_H
8384
=== modified file 'src/UbuntuToolkit/ucactionitem_p_p.h'
--- src/Ubuntu/UbuntuToolkit/ucactionitem_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucactionitem_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCACTIONITEM_P19#ifndef UCACTIONITEM_P_P_H
20#define UCACTIONITEM_P20#define UCACTIONITEM_P_P_H
2121
22#include "ucactionitem_p.h"22#include <UbuntuToolkit/private/ucactionitem_p.h>
23#include "ucstyleditembase_p_p.h"23
24#include <UbuntuToolkit/private/ucstyleditembase_p_p.h>
2425
25UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2627
@@ -61,5 +62,5 @@
6162
62UT_NAMESPACE_END63UT_NAMESPACE_END
6364
64#endif // UCACTIONITEM_P65#endif // UCACTIONITEM_P_P_H
6566
6667
=== modified file 'src/UbuntuToolkit/ucactionmanager.cpp'
--- src/Ubuntu/UbuntuToolkit/ucactionmanager.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucactionmanager.cpp 2016-09-17 11:46:32 +0000
@@ -15,9 +15,10 @@
15 */15 */
1616
17#include "ucactionmanager_p.h"17#include "ucactionmanager_p.h"
18
18#include "adapters/actionsproxy_p.h"19#include "adapters/actionsproxy_p.h"
20#include "ucaction_p.h"
19#include "ucactioncontext_p.h"21#include "ucactioncontext_p.h"
20#include "ucaction_p.h"
2122
22UT_NAMESPACE_BEGIN23UT_NAMESPACE_BEGIN
2324
2425
=== modified file 'src/UbuntuToolkit/ucactionmanager_p.h'
--- src/Ubuntu/UbuntuToolkit/ucactionmanager_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucactionmanager_p.h 2016-09-17 11:46:32 +0000
@@ -14,13 +14,14 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */15 */
1616
17#ifndef UCACTIONMANAGER_H17#ifndef UCACTIONMANAGER_P_H
18#define UCACTIONMANAGER_H18#define UCACTIONMANAGER_P_H
1919
20#include <QtCore/QObject>20#include <QtCore/QObject>
21#include <QtQml/QQmlListProperty>21#include <QtQml/QQmlListProperty>
22#include <QtQml/QQmlParserStatus>22#include <QtQml/QQmlParserStatus>
23#include "ubuntutoolkitglobal.h"23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2425
25UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2627
@@ -65,4 +66,4 @@
6566
66UT_NAMESPACE_END67UT_NAMESPACE_END
6768
68#endif // UCACTIONMANAGER_H69#endif // UCACTIONMANAGER_P_H
6970
=== modified file 'src/UbuntuToolkit/ucalarm.cpp'
--- src/Ubuntu/UbuntuToolkit/ucalarm.cpp 2016-07-07 07:56:34 +0000
+++ src/UbuntuToolkit/ucalarm.cpp 2016-09-17 11:46:32 +0000
@@ -17,9 +17,11 @@
17 */17 */
1818
19#include "ucalarm_p_p.h"19#include "ucalarm_p_p.h"
20
21#include <QtQml/QQmlInfo>
22
20#include "alarmmanager_p_p.h"23#include "alarmmanager_p_p.h"
21#include "i18n_p.h"24#include "i18n_p.h"
22#include <QtQml/QQmlInfo>
2325
24UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2527
2628
=== modified file 'src/UbuntuToolkit/ucalarm_p.h'
--- src/Ubuntu/UbuntuToolkit/ucalarm_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucalarm_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,14 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCALARM_H19#ifndef UCALARM_P_H
20#define UCALARM_H20#define UCALARM_P_H
2121
22#include <QtCore/QDateTime>
22#include <QtCore/QObject>23#include <QtCore/QObject>
23#include <QtCore/QDateTime>
24#include <QtCore/QUrl>24#include <QtCore/QUrl>
25#include "ubuntutoolkitglobal.h"25
26#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2627
27UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2829
@@ -143,4 +144,4 @@
143144
144UT_NAMESPACE_END145UT_NAMESPACE_END
145146
146#endif // UUALARM_H147#endif // UUALARM_P_H
147148
=== modified file 'src/UbuntuToolkit/ucalarm_p_p.h'
--- src/Ubuntu/UbuntuToolkit/ucalarm_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucalarm_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,15 +16,17 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCALARM_P_H19#ifndef UCALARM_P_P_H
20#define UCALARM_P_H20#define UCALARM_P_P_H
2121
22#include "ucalarm_p.h"22#include <UbuntuToolkit/private/ucalarm_p.h>
23#include "alarmmanager_p_p.h"23
24#include <QtCore/QDateTime>24#include <QtCore/QDateTime>
25#include <QtCore/QPointer>25#include <QtCore/QPointer>
26#include <QtQml/QQmlListProperty>26#include <QtQml/QQmlListProperty>
2727
28#include <UbuntuToolkit/private/alarmmanager_p_p.h>
29
28UT_NAMESPACE_BEGIN30UT_NAMESPACE_BEGIN
2931
30class UBUNTUTOOLKIT_EXPORT UCAlarmPrivate32class UBUNTUTOOLKIT_EXPORT UCAlarmPrivate
3133
=== modified file 'src/UbuntuToolkit/ucalarmmodel.cpp'
--- src/Ubuntu/UbuntuToolkit/ucalarmmodel.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucalarmmodel.cpp 2016-09-17 11:46:32 +0000
@@ -17,11 +17,13 @@
17 */17 */
1818
19#include "ucalarmmodel_p.h"19#include "ucalarmmodel_p.h"
20
21#include <QtQml/QQmlEngine>
22#include <QtQml/QQmlInfo>
23#include <QtQml/QQmlPropertyMap>
24
25#include "alarmmanager_p_p.h"
20#include "ucalarm_p_p.h"26#include "ucalarm_p_p.h"
21#include "alarmmanager_p_p.h"
22#include <QtQml/QQmlPropertyMap>
23#include <QtQml/QQmlInfo>
24#include <QtQml/QQmlEngine>
2527
26UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2729
2830
=== modified file 'src/UbuntuToolkit/ucalarmmodel_p.h'
--- src/Ubuntu/UbuntuToolkit/ucalarmmodel_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucalarmmodel_p.h 2016-09-17 11:46:32 +0000
@@ -16,12 +16,13 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCALARMSMODEL_H19#ifndef UCALARMSMODEL_P_H
20#define UCALARMSMODEL_H20#define UCALARMSMODEL_P_H
2121
22#include <QtCore/QAbstractListModel>22#include <QtCore/QAbstractListModel>
23#include <QtQml/QQmlParserStatus>23#include <QtQml/QQmlParserStatus>
24#include "ucalarm_p_p.h"24
25#include <UbuntuToolkit/private/ucalarm_p_p.h>
2526
26UT_NAMESPACE_BEGIN27UT_NAMESPACE_BEGIN
2728
@@ -72,4 +73,4 @@
7273
73UT_NAMESPACE_END74UT_NAMESPACE_END
7475
75#endif // UCALARMSMODEL_H76#endif // UCALARMSMODEL_P_H
7677
=== modified file 'src/UbuntuToolkit/ucapplication.cpp'
--- src/Ubuntu/UbuntuToolkit/ucapplication.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucapplication.cpp 2016-09-17 11:46:32 +0000
@@ -19,11 +19,11 @@
19#include "ucapplication_p.h"19#include "ucapplication_p.h"
2020
21#include <QtCore/QCoreApplication>21#include <QtCore/QCoreApplication>
22#include <QDebug>22#include <QtCore/QDebug>
23#include <QtCore/QStandardPaths>
24#include <QtGui/QGuiApplication>
23#include <QtQml/QQmlContext>25#include <QtQml/QQmlContext>
24#include <QtQml/QQmlEngine>26#include <QtQml/QQmlEngine>
25#include <QtCore/QStandardPaths>
26#include <QtGui/QGuiApplication>
2727
28UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2929
3030
=== modified file 'src/UbuntuToolkit/ucapplication_p.h'
--- src/Ubuntu/UbuntuToolkit/ucapplication_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucapplication_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Author: Christian Dywan <christian.dywan@canonical.om>16 * Author: Christian Dywan <christian.dywan@canonical.om>
17 */17 */
1818
19#ifndef UBUNTU_COMPONENTS_APPLICATION_H19#ifndef UCAPPLICATION_P_H
20#define UBUNTU_COMPONENTS_APPLICATION_H20#define UCAPPLICATION_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include "ubuntutoolkitglobal.h"23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2425
25class QQmlContext;26class QQmlContext;
26class QQmlEngine;27class QQmlEngine;
@@ -70,4 +71,4 @@
7071
71UT_NAMESPACE_END72UT_NAMESPACE_END
7273
73#endif // UBUNTU_COMPONENTS_I18N_H74#endif // UCAPPLICATION_P_H
7475
=== modified file 'src/UbuntuToolkit/ucargument_p.h'
--- src/Ubuntu/UbuntuToolkit/ucargument_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucargument_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,14 @@
16 * Author: Florian Boucault <florian.boucault@canonical.com>16 * Author: Florian Boucault <florian.boucault@canonical.com>
17 */17 */
1818
19#ifndef UCARGUMENT_H19#ifndef UCARGUMENT_P_H
20#define UCARGUMENT_H20#define UCARGUMENT_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <QtCore/QStringList>23#include <QtCore/QStringList>
24#include <QtCore/QVariant>24#include <QtCore/QVariant>
25#include "ubuntutoolkitglobal.h"25
26#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2627
27UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2829
@@ -75,4 +76,4 @@
7576
76UT_NAMESPACE_END77UT_NAMESPACE_END
7778
78#endif // UCARGUMENT_H79#endif // UCARGUMENT_P_H
7980
=== modified file 'src/UbuntuToolkit/ucarguments.cpp'
--- src/Ubuntu/UbuntuToolkit/ucarguments.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucarguments.cpp 2016-09-17 11:46:32 +0000
@@ -17,13 +17,15 @@
17 */17 */
1818
19#include "ucarguments_p.h"19#include "ucarguments_p.h"
20#include "i18n_p.h"20
21#include <QtCore/QCoreApplication>21#include <QtCore/QCoreApplication>
22#include <QtCore/QDebug>22#include <QtCore/QDebug>
23#include <QtCore/QFileInfo>
23#include <QtCore/QTextStream>24#include <QtCore/QTextStream>
24#include <QtCore/QFileInfo>25#include <QtQml/QtQml>
25#include <QtQml/QQmlProperty>26#include <QtQml/QQmlProperty>
26#include <QtQml/qqml.h>27
28#include "i18n_p.h"
2729
28UT_NAMESPACE_BEGIN30UT_NAMESPACE_BEGIN
2931
3032
=== modified file 'src/UbuntuToolkit/ucarguments_p.h'
--- src/Ubuntu/UbuntuToolkit/ucarguments_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucarguments_p.h 2016-09-17 11:46:32 +0000
@@ -16,17 +16,18 @@
16 * Author: Florian Boucault <florian.boucault@canonical.com>16 * Author: Florian Boucault <florian.boucault@canonical.com>
17 */17 */
1818
19#ifndef UCARGUMENTS_H19#ifndef UCARGUMENTS_P_H
20#define UCARGUMENTS_H20#define UCARGUMENTS_P_H
2121
22#include "ucargument_p.h"22#include <QtCore/QHash>
23#include <QtCore/QList>
23#include <QtCore/QObject>24#include <QtCore/QObject>
24#include <QtCore/QList>
25#include <QtCore/QStringList>25#include <QtCore/QStringList>
26#include <QtCore/QHash>
27#include <QtQml/QQmlPropertyMap>
28#include <QtQml/QQmlListProperty>26#include <QtQml/QQmlListProperty>
29#include <QtQml/QQmlParserStatus>27#include <QtQml/QQmlParserStatus>
28#include <QtQml/QQmlPropertyMap>
29
30#include <UbuntuToolkit/private/ucargument_p.h>
3031
31UT_NAMESPACE_BEGIN32UT_NAMESPACE_BEGIN
3233
3334
=== modified file 'src/UbuntuToolkit/ucbottomedge.cpp'
--- src/Ubuntu/UbuntuToolkit/ucbottomedge.cpp 2016-08-14 09:06:34 +0000
+++ src/UbuntuToolkit/ucbottomedge.cpp 2016-09-17 11:46:32 +0000
@@ -17,24 +17,25 @@
17 */17 */
1818
19#include "ucbottomedge_p_p.h"19#include "ucbottomedge_p_p.h"
20
21#include <QtCore/QtMath>
22#include <QtGui/QGuiApplication>
23#include <QtGui/QScreen>
24#include <QtGui/QStyleHints>
25#include <QtQml/QQmlEngine>
26#include <QtQml/QQmlProperty>
27#include <QtQuick/private/qquickanimation_p.h>
28#include <QtQuick/private/qquickflickable_p.h>
29#include <QtQuick/private/qquickitem_p.h>
30#include <UbuntuGestures/private/ucswipearea_p_p.h>
31
20#include "ucbottomedgestyle_p.h"32#include "ucbottomedgestyle_p.h"
21#include "ucbottomedgeregion_p_p.h"33#include "ucbottomedgeregion_p_p.h"
22#include "ucbottomedgehint_p_p.h"34#include "ucbottomedgehint_p_p.h"
23#include "ucstyleditembase_p_p.h"35#include "ucstyleditembase_p_p.h"
24#include <QtCore/QtMath>
25#include <QtQml/QQmlEngine>
26#include <QtGui/QScreen>
27#include <QtQml/QQmlProperty>
28#include <QtGui/QGuiApplication>
29#include <QtGui/QStyleHints>
30#include <QtQuick/private/qquickitem_p.h>
31#include <QtQuick/private/qquickflickable_p.h>
32
33#include "ucheader_p.h"36#include "ucheader_p.h"
34#include "ucaction_p.h"37#include "ucaction_p.h"
35#include "quickutils_p.h"38#include "quickutils_p.h"
36#include "private/ucswipearea_p_p.h"
37#include <QtQuick/private/qquickanimation_p.h>
3839
39Q_LOGGING_CATEGORY(ucBottomEdge, "ubuntu.components.BottomEdge", QtMsgType::QtWarningMsg)40Q_LOGGING_CATEGORY(ucBottomEdge, "ubuntu.components.BottomEdge", QtMsgType::QtWarningMsg)
4041
4142
=== modified file 'src/UbuntuToolkit/ucbottomedge_p.h'
--- src/Ubuntu/UbuntuToolkit/ucbottomedge_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedge_p.h 2016-09-17 11:46:32 +0000
@@ -16,13 +16,14 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCBOTTOMEDGE_H19#ifndef UCBOTTOMEDGE_P_H
20#define UCBOTTOMEDGE_H20#define UCBOTTOMEDGE_P_H
2121
22#include "ucstyleditembase_p.h"22#include <QtCore/QLoggingCategory>
23#include <QtCore/QPointer>23#include <QtCore/QPointer>
24#include <QtQuick/private/qquickitemchangelistener_p.h>24#include <QtQuick/private/qquickitemchangelistener_p.h>
25#include <QtCore/QLoggingCategory>25
26#include <UbuntuToolkit/private/ucstyleditembase_p.h>
2627
27class QQuickAbstractAnimation;28class QQuickAbstractAnimation;
2829
@@ -129,4 +130,4 @@
129130
130#define LOG qCDebug(ucBottomEdge) << "[BottomEdge]"131#define LOG qCDebug(ucBottomEdge) << "[BottomEdge]"
131132
132#endif // UCBOTTOMEDGE_H133#endif // UCBOTTOMEDGE_P_H
133134
=== modified file 'src/UbuntuToolkit/ucbottomedge_p_p.h'
--- src/Ubuntu/UbuntuToolkit/ucbottomedge_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedge_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,12 +16,13 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCBOTTOMEDGE_P_H19#ifndef UCBOTTOMEDGE_P_P_H
20#define UCBOTTOMEDGE_P_H20#define UCBOTTOMEDGE_P_P_H
2121
22#include "ucbottomedge_p.h"22#include <UbuntuToolkit/private/ucbottomedge_p.h>
23#include "ucstyleditembase_p_p.h"23
24#include "ucaction_p.h"24#include <UbuntuToolkit/private/ucstyleditembase_p_p.h>
25#include <UbuntuToolkit/private/ucaction_p.h>
2526
26UT_NAMESPACE_BEGIN27UT_NAMESPACE_BEGIN
2728
@@ -116,4 +117,4 @@
116117
117UT_NAMESPACE_END118UT_NAMESPACE_END
118119
119#endif // UCBOTTOMEDGE_P_H120#endif // UCBOTTOMEDGE_P_P_H
120121
=== modified file 'src/UbuntuToolkit/ucbottomedgehint.cpp'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgehint.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedgehint.cpp 2016-09-17 11:46:32 +0000
@@ -17,14 +17,16 @@
17 */17 */
1818
19#include "ucbottomedgehint_p_p.h"19#include "ucbottomedgehint_p_p.h"
20
21#include <QtQml/private/qqmlproperty_p.h>
22#include <QtQuick/private/qquickflickable_p.h>
23#include <UbuntuGestures/private/ucswipearea_p_p.h>
24
25#include "propertychange_p.h"
26#include "quickutils_p.h"
27#include "ucaction_p.h"
20#include "ucstyleditembase_p_p.h"28#include "ucstyleditembase_p_p.h"
21#include "quickutils_p.h"
22#include "ucunits_p.h"29#include "ucunits_p.h"
23#include "ucaction_p.h"
24#include "private/ucswipearea_p_p.h"
25#include <propertychange_p.h>
26#include <QtQml/private/qqmlproperty_p.h>
27#include <QtQuick/private/qquickflickable_p.h>
2830
29#define SWIPE_AREA_HEIGHT_GU 331#define SWIPE_AREA_HEIGHT_GU 3
3032
3133
=== modified file 'src/UbuntuToolkit/ucbottomedgehint_p.h'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgehint_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedgehint_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Authors: Zsombor Egri <zsombor.egri@canonical.com>16 * Authors: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCBOTTOMEDGEHINT_H19#ifndef UCBOTTOMEDGEHINT_P_H
20#define UCBOTTOMEDGEHINT_H20#define UCBOTTOMEDGEHINT_P_H
2121
22#include "ucactionitem_p.h"22#include <UbuntuGestures/ubuntugesturesglobal.h>
23#include <ubuntugesturesglobal.h>23
24#include <UbuntuToolkit/private/ucactionitem_p.h>
2425
25class QQuickFlickable;26class QQuickFlickable;
26UG_FORWARD_DECLARE_CLASS(UCSwipeArea)27UG_FORWARD_DECLARE_CLASS(UCSwipeArea)
@@ -102,4 +103,4 @@
102103
103UT_NAMESPACE_END104UT_NAMESPACE_END
104105
105#endif // UCBOTTOMEDGEHINT_H106#endif // UCBOTTOMEDGEHINT_P_H
106107
=== modified file 'src/UbuntuToolkit/ucbottomedgehint_p_p.h'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgehint_p_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedgehint_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,12 +16,12 @@
16 * Authors: Zsombor Egri <zsombor.egri@canonical.com>16 * Authors: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCBOTTOMEDGEHINT_P19#ifndef UCBOTTOMEDGEHINT_P_P_H
20#define UCBOTTOMEDGEHINT_P20#define UCBOTTOMEDGEHINT_P_P_H
2121
22#include "ucbottomedgehint_p.h"22#include <UbuntuToolkit/private/ucbottomedgehint_p.h>
23#include "ucactionitem_p_p.h"23
24#include <ubuntugesturesglobal.h>24#include <UbuntuToolkit/private/ucactionitem_p_p.h>
2525
26UG_FORWARD_DECLARE_CLASS(UCSwipeArea)26UG_FORWARD_DECLARE_CLASS(UCSwipeArea)
2727
@@ -50,4 +50,4 @@
5050
51UT_NAMESPACE_END51UT_NAMESPACE_END
5252
53#endif // UCBOTTOMEDGEHINT_P53#endif // UCBOTTOMEDGEHINT_P_P_H
5454
=== modified file 'src/UbuntuToolkit/ucbottomedgeregion.cpp'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgeregion.cpp 2016-07-19 18:12:33 +0000
+++ src/UbuntuToolkit/ucbottomedgeregion.cpp 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#include "ucbottomedge_p_p.h"
20#include "ucbottomedgeregion_p_p.h"19#include "ucbottomedgeregion_p_p.h"
21#include <propertychange_p.h>20
22#include <QtQml/private/qqmlproperty_p.h>21#include <QtQml/private/qqmlproperty_p.h>
2322
23#include "propertychange_p.h"
24#include "ucbottomedge_p_p.h"
2425
25UT_NAMESPACE_BEGIN26UT_NAMESPACE_BEGIN
2627
2728
=== modified file 'src/UbuntuToolkit/ucbottomedgeregion_p.h'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgeregion_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedgeregion_p.h 2016-09-17 11:46:32 +0000
@@ -16,15 +16,16 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCBOTTOMEDGEREGION_H19#ifndef UCBOTTOMEDGEREGION_P_H
20#define UCBOTTOMEDGEREGION_H20#define UCBOTTOMEDGEREGION_P_H
2121
22#include <QtCore/QObject>22#include <QtCore/QObject>
23#include <QtQml/QQmlParserStatus>23#include <QtCore/QPointer>
24#include <QtCore/QUrl>24#include <QtCore/QUrl>
25#include <QtCore/QPointer>
26#include <QtQml/QQmlIncubator>25#include <QtQml/QQmlIncubator>
27#include <ubuntutoolkitglobal.h>26#include <QtQml/QQmlParserStatus>
27
28#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2829
29class QQmlComponent;30class QQmlComponent;
3031
@@ -85,4 +86,4 @@
8586
86UT_NAMESPACE_END87UT_NAMESPACE_END
8788
88#endif // UCBOTTOMEDGEREGION_H89#endif // UCBOTTOMEDGEREGION_P_H
8990
=== modified file 'src/UbuntuToolkit/ucbottomedgeregion_p_p.h'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgeregion_p_p.h 2016-07-07 15:33:34 +0000
+++ src/UbuntuToolkit/ucbottomedgeregion_p_p.h 2016-09-17 11:46:32 +0000
@@ -16,12 +16,14 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCBOTTOMEDGEREGION_P19#ifndef UCBOTTOMEDGEREGION_P_P_H
20#define UCBOTTOMEDGEREGION_P20#define UCBOTTOMEDGEREGION_P_P_H
2121
22#include "ucbottomedgeregion_p.h"22#include <UbuntuToolkit/private/ucbottomedgeregion_p.h>
23
24#include <QtCore/private/qobject_p.h>
25
23#include <UbuntuToolkit/private/asyncloader_p_p.h>26#include <UbuntuToolkit/private/asyncloader_p_p.h>
24#include <QtCore/private/qobject_p.h>
2527
26UT_NAMESPACE_BEGIN28UT_NAMESPACE_BEGIN
2729
@@ -82,4 +84,4 @@
8284
83UT_NAMESPACE_END85UT_NAMESPACE_END
8486
85#endif // UCBOTTOMEDGEREGION_P87#endif // UCBOTTOMEDGEREGION_P_P_H
8688
=== modified file 'src/UbuntuToolkit/ucbottomedgestyle.cpp'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgestyle.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedgestyle.cpp 2016-09-17 11:46:32 +0000
@@ -17,6 +17,7 @@
17 */17 */
1818
19#include "ucbottomedgestyle_p.h"19#include "ucbottomedgestyle_p.h"
20
20#include "ucbottomedge_p_p.h"21#include "ucbottomedge_p_p.h"
2122
22UT_NAMESPACE_BEGIN23UT_NAMESPACE_BEGIN
2324
=== modified file 'src/UbuntuToolkit/ucbottomedgestyle_p.h'
--- src/Ubuntu/UbuntuToolkit/ucbottomedgestyle_p.h 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucbottomedgestyle_p.h 2016-09-17 11:46:32 +0000
@@ -16,11 +16,12 @@
16 * Author: Zsombor Egri <zsombor.egri@canonical.com>16 * Author: Zsombor Egri <zsombor.egri@canonical.com>
17 */17 */
1818
19#ifndef UCBOTTOMEDGESTYLE_H19#ifndef UCBOTTOMEDGESTYLE_P_H
20#define UCBOTTOMEDGESTYLE_H20#define UCBOTTOMEDGESTYLE_P_H
2121
22#include <QtQuick/QQuickItem>22#include <QtQuick/QQuickItem>
23#include "ubuntutoolkitglobal.h"23
24#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2425
25class QQuickItem;26class QQuickItem;
26class QQuickAbstractAnimation;27class QQuickAbstractAnimation;
@@ -63,4 +64,4 @@
6364
64UT_NAMESPACE_END65UT_NAMESPACE_END
6566
66#endif // UCBOTTOMEDGESTYLE_H67#endif // UCBOTTOMEDGESTYLE_P_H
6768
=== modified file 'src/UbuntuToolkit/ucdefaulttheme.cpp'
--- src/Ubuntu/UbuntuToolkit/ucdefaulttheme.cpp 2016-07-07 07:21:48 +0000
+++ src/UbuntuToolkit/ucdefaulttheme.cpp 2016-09-17 11:46:32 +0000
@@ -18,13 +18,14 @@
18 */18 */
1919
20#include "ucdefaulttheme_p.h"20#include "ucdefaulttheme_p.h"
21#include "uctheme_p.h"
2221
23#include <QDebug>22#include <QtCore/QDebug>
24#include <QtCore/QDir>23#include <QtCore/QDir>
25#include <QtCore/QFile>24#include <QtCore/QFile>
26#include <QtCore/QStandardPaths>25#include <QtCore/QStandardPaths>
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to status/vote changes: