Merge lp:~faenil/ubuntu-ui-toolkit/fix_expandables_units_tests_qt56 into lp:ubuntu-ui-toolkit
- fix_expandables_units_tests_qt56
- Merge into trunk
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 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cris Dywan | Pending | ||
Review via email: mp+306023@code.launchpad.net |
Commit message
Qt5.6: Fix expandablescolu
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 expandablescolu
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
1 | === modified file '.qmake.conf' | |||
2 | --- .qmake.conf 2016-07-25 14:02:18 +0000 | |||
3 | +++ .qmake.conf 2016-09-17 11:46:32 +0000 | |||
4 | @@ -15,13 +15,10 @@ | |||
5 | 15 | 15 | ||
6 | 16 | exists($$PWD/../qt.pro) { | 16 | exists($$PWD/../qt.pro) { |
7 | 17 | CONFIG += build_with_qt | 17 | CONFIG += build_with_qt |
15 | 18 | } | 18 | } else { |
16 | 19 | 19 | # When built as a Qt submodule, -Wsuggest-override breaks the build. That's | |
17 | 20 | *-g++* { | 20 | # fixed in Qt 5.6. See https://codereview.qt-project.org/#/c/169969/ |
18 | 21 | GCC4 = $$system( gcc -dumpversion | grep "^4.[0-9]" ) | 21 | gcc:greaterThan(QT_GCC_MAJOR_VERSION, 4): QMAKE_CXXFLAGS += -Wsuggest-override |
12 | 22 | if (isEmpty(GCC4)) { | ||
13 | 23 | QMAKE_CXXFLAGS += -Wsuggest-override | ||
14 | 24 | } | ||
19 | 25 | } | 22 | } |
20 | 26 | 23 | ||
21 | 27 | # FIXME: Fix bug 1606247 and enable the UbuntuToolkit namespace. | 24 | # FIXME: Fix bug 1606247 and enable the UbuntuToolkit namespace. |
22 | 28 | 25 | ||
23 | === added file 'CODING' | |||
24 | --- CODING 1970-01-01 00:00:00 +0000 | |||
25 | +++ CODING 2016-09-17 11:46:32 +0000 | |||
26 | @@ -0,0 +1,63 @@ | |||
27 | 1 | C++ coding style | ||
28 | 2 | ================ | ||
29 | 3 | |||
30 | 4 | The Ubuntu UI Toolkit follows the Qt conventions, see: | ||
31 | 5 | |||
32 | 6 | - https://wiki.qt.io/Coding_Conventions | ||
33 | 7 | - https://wiki.qt.io/Qt_Coding_Style | ||
34 | 8 | |||
35 | 9 | On top of it we add the few clarifications listed below. | ||
36 | 10 | |||
37 | 11 | |||
38 | 12 | Header inclusion | ||
39 | 13 | ---------------- | ||
40 | 14 | |||
41 | 15 | 1/ When including Qt or UITK headers, always prefix with the project name. Use: | ||
42 | 16 | |||
43 | 17 | #include <QtCore/QMap> | ||
44 | 18 | #include <UbuntuMetrics/applicationmonitor.h> | ||
45 | 19 | |||
46 | 20 | not | ||
47 | 21 | |||
48 | 22 | #include <QMap> | ||
49 | 23 | #include <applicationmonitor.h> | ||
50 | 24 | |||
51 | 25 | 2/ For readability reasons and to avoid hidden dependencies, headers should be | ||
52 | 26 | included in ordered sections, separated by an empty line, as follows: | ||
53 | 27 | |||
54 | 28 | // The project's related header (for instance here for foo.cpp). | ||
55 | 29 | #include "foo.h" | ||
56 | 30 | |||
57 | 31 | // C standard library headers. | ||
58 | 32 | #include <sys/types.h> | ||
59 | 33 | #include <unistd.h> | ||
60 | 34 | |||
61 | 35 | // C++ standard library headers. | ||
62 | 36 | #include <functional> | ||
63 | 37 | #include <hash_map> | ||
64 | 38 | #include <vector> | ||
65 | 39 | |||
66 | 40 | // Qt and UITK headers. Try to first list QtCore and QtGui headers. Private | ||
67 | 41 | // headers come right after public headers of the same project. | ||
68 | 42 | #include <QtCore/QDebug> | ||
69 | 43 | #include <QtCore/QHash> | ||
70 | 44 | #include <QtCore/private/qobject_p.h> | ||
71 | 45 | #include <QtGui/QWindow> | ||
72 | 46 | #include <QtGui/private/qcolor_p.h> | ||
73 | 47 | #include <UbuntuMetrics/applicationmonitor.h> | ||
74 | 48 | |||
75 | 49 | // Other libraries headers. | ||
76 | 50 | #include <gst/gst.h> | ||
77 | 51 | #include <boost/call_traits.hpp> | ||
78 | 52 | |||
79 | 53 | // The project's headers. | ||
80 | 54 | #include "bar.h" | ||
81 | 55 | #include "baz_p.h" | ||
82 | 56 | |||
83 | 57 | 3/ For libraries, the "foo" inclusion variant must be used in C++ | ||
84 | 58 | source files for the project's headers. The <Project/foo.h> and | ||
85 | 59 | <Project/private/foo_p.h> inclusion variant must be used for the | ||
86 | 60 | project's headers in private and public headers, wherever the | ||
87 | 61 | header is located in the source tree. That ensures the inclusion of | ||
88 | 62 | private headers by external projects (or by our unit tests) won't | ||
89 | 63 | break. | ||
90 | 0 | 64 | ||
91 | === modified file 'debian/control' | |||
92 | --- debian/control 2016-08-22 05:35:24 +0000 | |||
93 | +++ debian/control 2016-09-17 11:46:32 +0000 | |||
94 | @@ -55,7 +55,7 @@ | |||
95 | 55 | qtsvg5-doc-html, | 55 | qtsvg5-doc-html, |
96 | 56 | qttools5-dev-tools, | 56 | qttools5-dev-tools, |
97 | 57 | qtwebkit5-doc-html, | 57 | qtwebkit5-doc-html, |
99 | 58 | suru-icon-theme, | 58 | suru-icon-theme (>= 14.04+16.10.20160720), |
100 | 59 | unity-action-doc, | 59 | unity-action-doc, |
101 | 60 | uuid-runtime, | 60 | uuid-runtime, |
102 | 61 | xvfb, | 61 | xvfb, |
103 | @@ -80,7 +80,7 @@ | |||
104 | 80 | qml-module-ubuntu-components-labs, | 80 | qml-module-ubuntu-components-labs, |
105 | 81 | qml-module-ubuntu-performancemetrics, | 81 | qml-module-ubuntu-performancemetrics, |
106 | 82 | qtdeclarative5-unity-action-plugin (>= 1.1.0), | 82 | qtdeclarative5-unity-action-plugin (>= 1.1.0), |
108 | 83 | suru-icon-theme, | 83 | suru-icon-theme (>= 14.04+16.10.20160720), |
109 | 84 | ttf-ubuntu-font-family, | 84 | ttf-ubuntu-font-family, |
110 | 85 | ubuntu-ui-toolkit-theme (= ${binary:Version}), | 85 | ubuntu-ui-toolkit-theme (= ${binary:Version}), |
111 | 86 | ${misc:Depends}, | 86 | ${misc:Depends}, |
112 | 87 | 87 | ||
113 | === modified file 'debian/copyright' | |||
114 | --- debian/copyright 2016-03-04 11:59:46 +0000 | |||
115 | +++ debian/copyright 2016-09-17 11:46:32 +0000 | |||
116 | @@ -6,9 +6,10 @@ | |||
117 | 6 | Copyright: 2012-2013 Canonical Ltd. | 6 | Copyright: 2012-2013 Canonical Ltd. |
118 | 7 | License: LGPL-3.0 | 7 | License: LGPL-3.0 |
119 | 8 | 8 | ||
123 | 9 | Files: modules/Ubuntu/Components/Themes/Ambiance/artwork/* | 9 | Files: src/imports/Components/artwork/* |
124 | 10 | modules/Ubuntu/Components/artwork/* | 10 | src/imports/Components/Themes/Ambiance/artwork/* |
125 | 11 | modules/Ubuntu/Components/ListItems/artwork/* | 11 | src/imports/Components/Themes/SuruDark/artwork/* |
126 | 12 | src/imports/Components/Themes/SuruGradient/artwork/* | ||
127 | 12 | Copyright: 2004-2013, Canonical Ltd. | 13 | Copyright: 2004-2013, Canonical Ltd. |
128 | 13 | License: CC-BY-SA-3.0 | 14 | License: CC-BY-SA-3.0 |
129 | 14 | Unless otherwise indicated, artwork is available under the Creative | 15 | Unless otherwise indicated, artwork is available under the Creative |
130 | @@ -335,7 +336,7 @@ | |||
131 | 335 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 336 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
132 | 336 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 337 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
133 | 337 | 338 | ||
135 | 338 | Files: modules/Ubuntu/Components/tools/3rd_party/edtaa3func.c | 339 | Files: src/UbuntuToolkit/tools/3rd_party/edtaa3func.c |
136 | 339 | Copyright: 2009-2012, Stefan Gustavson <stefan.gustavson@gmail.com> | 340 | Copyright: 2009-2012, Stefan Gustavson <stefan.gustavson@gmail.com> |
137 | 340 | License: MIT | 341 | License: MIT |
138 | 341 | 342 | ||
139 | 342 | 343 | ||
140 | === modified file 'debian/rules' | |||
141 | --- debian/rules 2016-08-30 14:25:49 +0000 | |||
142 | +++ debian/rules 2016-09-17 11:46:32 +0000 | |||
143 | @@ -13,7 +13,7 @@ | |||
144 | 13 | 13 | ||
145 | 14 | # Skip tests on the archs they are known to be flaky with current configuration | 14 | # Skip tests on the archs they are known to be flaky with current configuration |
146 | 15 | testskip_architectures := powerpc arm64 ppc64el s390x | 15 | testskip_architectures := powerpc arm64 ppc64el s390x |
148 | 16 | testskip_series := yakkety xenial | 16 | testskip_series := |
149 | 17 | 17 | ||
150 | 18 | override_dh_auto_configure: | 18 | override_dh_auto_configure: |
151 | 19 | qmake -r | 19 | qmake -r |
152 | 20 | 20 | ||
153 | === modified file 'documentation/docs.sh' | |||
154 | --- documentation/docs.sh 2016-07-18 11:39:59 +0000 | |||
155 | +++ documentation/docs.sh 2016-09-17 11:46:32 +0000 | |||
156 | @@ -13,7 +13,15 @@ | |||
157 | 13 | # | 13 | # |
158 | 14 | # You should have received a copy of the GNU Lesser General Public License | 14 | # You should have received a copy of the GNU Lesser General Public License |
159 | 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/>. |
161 | 16 | # | 16 | |
162 | 17 | # FIXME(loicm) | ||
163 | 18 | # Since the new src/ layout (src/imports/ for QML modules and src/ for libs), | ||
164 | 19 | # the parsing order of the source files has changed. qdoc first stores all the | ||
165 | 20 | # file names and then does a sort (QMap iteration) which makes | ||
166 | 21 | # ucmainviewbase.cpp parsed before MainView.qml (UbuntuToolkit is sorted before | ||
167 | 22 | # imports ASCII-wise). The result is that qdoc is unable to link to properties | ||
168 | 23 | # inherited from UCMainViewBase like applicationName, so constructs like that | ||
169 | 24 | # don't work: \l MainView::applicationName... | ||
170 | 17 | 25 | ||
171 | 18 | QDOC=$1 | 26 | QDOC=$1 |
172 | 19 | QHELPGENERATOR=$2 | 27 | QHELPGENERATOR=$2 |
173 | 20 | 28 | ||
174 | === modified file 'documentation/statesaving.qdoc' | |||
175 | --- documentation/statesaving.qdoc 2016-01-22 14:58:16 +0000 | |||
176 | +++ documentation/statesaving.qdoc 2016-09-17 11:46:32 +0000 | |||
177 | @@ -53,7 +53,7 @@ | |||
178 | 53 | for the application. However runtime application name change would require | 53 | for the application. However runtime application name change would require |
179 | 54 | application restart. | 54 | application restart. |
180 | 55 | 55 | ||
182 | 56 | Having these preconditions, we can deduct that \l MainView::applicationName | 56 | Having these preconditions, we can deduct that \l {MainView}'s applicationName |
183 | 57 | property is one of the properties which cannot be serialized. | 57 | property is one of the properties which cannot be serialized. |
184 | 58 | 58 | ||
185 | 59 | \section1 IDs | 59 | \section1 IDs |
186 | 60 | 60 | ||
187 | === modified file 'documentation/ubuntu-theming.qdoc' | |||
188 | --- documentation/ubuntu-theming.qdoc 2016-03-17 17:43:14 +0000 | |||
189 | +++ documentation/ubuntu-theming.qdoc 2016-09-17 11:46:32 +0000 | |||
190 | @@ -127,7 +127,7 @@ | |||
191 | 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: |
192 | 128 | * \snippet Styles/1.2/PullToRefreshStyle.qml 0 | 128 | * \snippet Styles/1.2/PullToRefreshStyle.qml 0 |
193 | 129 | * The default style implementation can be found under Ubuntu.Components.Themes.Ambiance | 129 | * The default style implementation can be found under Ubuntu.Components.Themes.Ambiance |
195 | 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} |
196 | 131 | * {PullToRefreshStyle.qml}. | 131 | * {PullToRefreshStyle.qml}. |
197 | 132 | * | 132 | * |
198 | 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, |
199 | 134 | 134 | ||
200 | === modified file 'documentation/ubuntu-ui-toolkit-common.qdocconf' | |||
201 | --- documentation/ubuntu-ui-toolkit-common.qdocconf 2016-06-21 14:21:46 +0000 | |||
202 | +++ documentation/ubuntu-ui-toolkit-common.qdocconf 2016-09-17 11:46:32 +0000 | |||
203 | @@ -4,36 +4,36 @@ | |||
204 | 4 | defines = Q_QDOC | 4 | defines = Q_QDOC |
205 | 5 | sourcedirs = ./ | 5 | sourcedirs = ./ |
206 | 6 | headerdirs = ../include | 6 | headerdirs = ../include |
219 | 7 | sourcedirs += ../src/Ubuntu/Components | 7 | sourcedirs += ../src/imports/Components |
220 | 8 | headerdirs += ../src/Ubuntu/Components/plugin | 8 | headerdirs += ../src/imports/Components/plugin |
221 | 9 | sourcedirs += ../src/Ubuntu/UbuntuToolkit | 9 | sourcedirs += ../src/UbuntuToolkit |
222 | 10 | headerdirs += ../src/Ubuntu/UbuntuToolkit | 10 | headerdirs += ../src/UbuntuToolkit |
223 | 11 | sourcedirs += ../src/Ubuntu/UbuntuGestures | 11 | sourcedirs += ../src/UbuntuGestures |
224 | 12 | headerdirs += ../src/Ubuntu/UbuntuGestures | 12 | headerdirs += ../src/UbuntuGestures |
225 | 13 | sourcedirs += ../src/Ubuntu/Layouts | 13 | sourcedirs += ../src/imports/Layouts |
226 | 14 | headerdirs += ../src/Ubuntu/Layouts/plugin | 14 | headerdirs += ../src/imports/Layouts/plugin |
227 | 15 | sourcedirs += ../src/Ubuntu/PerformanceMetrics | 15 | sourcedirs += ../src/imports/PerformanceMetrics |
228 | 16 | headerdirs += ../src/Ubuntu/PerformanceMetrics/plugin | 16 | headerdirs += ../src/imports/PerformanceMetrics/plugin |
229 | 17 | sourcedirs += ../src/Ubuntu/Test | 17 | sourcedirs += ../src/imports/Test |
230 | 18 | headerdirs += ../src/Ubuntu/Test/plugin | 18 | headerdirs += ../src/imports/Test/plugin |
231 | 19 | exampledirs += snippets | 19 | exampledirs += snippets |
232 | 20 | exampledirs += ../examples | 20 | exampledirs += ../examples |
242 | 21 | exampledirs += ../src/Ubuntu/Components | 21 | exampledirs += ../src/imports/Components |
243 | 22 | excludedirs += ../src/Ubuntu/Components/1.0 | 22 | excludedirs += ../src/imports/Components/1.0 |
244 | 23 | excludedirs += ../src/Ubuntu/Components/1.1 | 23 | excludedirs += ../src/imports/Components/1.1 |
245 | 24 | excludedirs += ../src/Ubuntu/Components/1.2 | 24 | excludedirs += ../src/imports/Components/1.2 |
246 | 25 | excludedirs += ../src/Ubuntu/Components/ListItems/1.2 | 25 | excludedirs += ../src/imports/Components/ListItems/1.2 |
247 | 26 | excludedirs += ../src/Ubuntu/Components/Pickers/1.2 | 26 | excludedirs += ../src/imports/Components/Pickers/1.2 |
248 | 27 | excludedirs += ../src/Ubuntu/Components/Popups/1.2 | 27 | excludedirs += ../src/imports/Components/Popups/1.2 |
249 | 28 | excludedirs += ../src/Ubuntu/Components/Themes/Ambiance | 28 | excludedirs += ../src/imports/Components/Themes/Ambiance |
250 | 29 | excludedirs += ../src/Ubuntu/Components/Themes/SuruDark | 29 | excludedirs += ../src/imports/Components/Themes/SuruDark |
251 | 30 | excludedirs += ../documentation/autopilot-helpers/_build/html/_static | 30 | excludedirs += ../documentation/autopilot-helpers/_build/html/_static |
252 | 31 | imagedirs = images | 31 | imagedirs = images |
253 | 32 | sources.fileextensions = "*.qml *.qdoc *.cpp *.js" | 32 | sources.fileextensions = "*.qml *.qdoc *.cpp *.js" |
254 | 33 | headers.fileextensions = "*.h" | 33 | headers.fileextensions = "*.h" |
255 | 34 | # exclude qml files that have the component documented in a separate qdoc file | 34 | # exclude qml files that have the component documented in a separate qdoc file |
258 | 35 | excludefiles += $BLD/../src/Ubuntu/Components/1.3/PageWrapperUtils.js | 35 | excludefiles += $BLD/../src/imports/Components/1.3/PageWrapperUtils.js |
259 | 36 | excludefiles += ../src/Ubuntu/UbuntuToolkit/asyncloader.cpp | 36 | excludefiles += ../src/UbuntuToolkit/asyncloader.cpp |
260 | 37 | outputdir = $BLD/html | 37 | outputdir = $BLD/html |
261 | 38 | outputformats = HTML | 38 | outputformats = HTML |
262 | 39 | version = 1.3 | 39 | version = 1.3 |
263 | 40 | 40 | ||
264 | === modified file 'examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml' | |||
265 | --- examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml 2015-04-25 08:18:45 +0000 | |||
266 | +++ examples/ubuntu-ui-toolkit-gallery/ProgressBars.qml 2016-09-17 11:46:32 +0000 | |||
267 | @@ -56,13 +56,13 @@ | |||
268 | 56 | } | 56 | } |
269 | 57 | 57 | ||
270 | 58 | TemplateRow { | 58 | TemplateRow { |
272 | 59 | title: i18n.tr("No label") | 59 | title: progressTypeFlip.indeterminate ? i18n.tr("Infinite") : i18n.tr("Standard") |
273 | 60 | 60 | ||
274 | 61 | ProgressBar { | 61 | ProgressBar { |
276 | 62 | id: progressNoLabel | 62 | id: progressTypeFlip |
277 | 63 | objectName: "progressbar_nolabel" | 63 | objectName: "progressbar_nolabel" |
280 | 64 | width: parent.width | 64 | anchors.verticalCenter: parent.verticalCenter |
281 | 65 | showProgressPercentage: false | 65 | width: parent.width - (switchBox.width + label.width + 2 * parent.spacing) |
282 | 66 | 66 | ||
283 | 67 | SequentialAnimation on value { | 67 | SequentialAnimation on value { |
284 | 68 | loops: Animation.Infinite | 68 | loops: Animation.Infinite |
285 | @@ -74,6 +74,15 @@ | |||
286 | 74 | PauseAnimation {duration: 1000} | 74 | PauseAnimation {duration: 1000} |
287 | 75 | } | 75 | } |
288 | 76 | } | 76 | } |
289 | 77 | Switch { | ||
290 | 78 | id: switchBox | ||
291 | 79 | checked: progressTypeFlip.indeterminate | ||
292 | 80 | onTriggered: progressTypeFlip.indeterminate = !progressTypeFlip.indeterminate | ||
293 | 81 | } | ||
294 | 82 | Label { | ||
295 | 83 | id: label | ||
296 | 84 | text: progressTypeFlip.indeterminate ? i18n.tr("to standard") : i18n.tr("to infinite") | ||
297 | 85 | } | ||
298 | 77 | } | 86 | } |
299 | 78 | } | 87 | } |
300 | 79 | 88 | ||
301 | 80 | 89 | ||
302 | === modified file 'features/ubuntu_qt_module.prf' | |||
303 | --- features/ubuntu_qt_module.prf 2016-06-17 13:42:23 +0000 | |||
304 | +++ features/ubuntu_qt_module.prf 2016-09-17 11:46:32 +0000 | |||
305 | @@ -1,14 +1,18 @@ | |||
310 | 1 | !build_with_qt: { | 1 | # Enables the copy of private and public headers to an include directory at the |
311 | 2 | #enable autocreation of include directory | 2 | # root of the sources before compilation and the copy of the compiled libraries |
312 | 3 | CONFIG += git_build | 3 | # after compilation. Must be set before loading qt_module. |
313 | 4 | } | 4 | CONFIG += git_build |
314 | 5 | 5 | ||
315 | 6 | load(qt_module) | 6 | load(qt_module) |
316 | 7 | 7 | ||
317 | 8 | # Disable CMake config file creation. Must be set after loading qt_module. | ||
318 | 8 | CONFIG -= create_cmake | 9 | CONFIG -= create_cmake |
319 | 9 | 10 | ||
322 | 10 | # when building against the system Qt we pick up the CXX_FLAGS for a release build | 11 | # Common config options. |
323 | 11 | # reset them to the default debug build flags | 12 | CONFIG += dll no_keywords c++11 |
324 | 13 | |||
325 | 14 | # When building against the system Qt we pick up the CXX_FLAGS for a release | ||
326 | 15 | # build reset them to the default debug build flags. | ||
327 | 12 | !build_with_qt: { | 16 | !build_with_qt: { |
328 | 13 | CONFIG(debug, debug|release) { | 17 | CONFIG(debug, debug|release) { |
329 | 14 | QMAKE_CFLAGS = $$QMAKE_CFLAGS_DEBUG | 18 | QMAKE_CFLAGS = $$QMAKE_CFLAGS_DEBUG |
330 | @@ -16,8 +20,9 @@ | |||
331 | 16 | } | 20 | } |
332 | 17 | } | 21 | } |
333 | 18 | 22 | ||
334 | 23 | # Make all warnings into errors. | ||
335 | 19 | QMAKE_CXXFLAGS += -Werror | 24 | QMAKE_CXXFLAGS += -Werror |
336 | 20 | 25 | ||
338 | 21 | #do not warn for deprecated declarations | 26 | # Do not warn for deprecated declarations. |
339 | 22 | QMAKE_CXXFLAGS -= -Werror=deprecated-declarations | 27 | QMAKE_CXXFLAGS -= -Werror=deprecated-declarations |
340 | 23 | DEFINES -= QT_DEPRECATED_WARNINGS | 28 | DEFINES -= QT_DEPRECATED_WARNINGS |
341 | 24 | 29 | ||
342 | === removed directory 'src/Ubuntu/Components/ListItems/artwork' | |||
343 | === renamed directory 'src/Ubuntu/UbuntuGestures' => 'src/UbuntuGestures' | |||
344 | === modified file 'src/UbuntuGestures/UbuntuGestures.pro' | |||
345 | --- src/Ubuntu/UbuntuGestures/UbuntuGestures.pro 2016-07-06 11:27:11 +0000 | |||
346 | +++ src/UbuntuGestures/UbuntuGestures.pro 2016-09-17 11:46:32 +0000 | |||
347 | @@ -1,40 +1,33 @@ | |||
356 | 1 | TEMPLATE=lib | 1 | TARGET = UbuntuGestures |
357 | 2 | TARGET=UbuntuGestures | 2 | QT = core-private gui-private qml-private quick-private |
350 | 3 | |||
351 | 4 | QT *= core-private gui-private qml qml-private quick quick-private | ||
352 | 5 | |||
353 | 6 | CONFIG += dll no_keywords c++11 | ||
354 | 7 | |||
355 | 8 | INCLUDEPATH+=$$PWD | ||
358 | 9 | 3 | ||
359 | 10 | DEFINES += UBUNTUGESTURES_LIBRARY | 4 | DEFINES += UBUNTUGESTURES_LIBRARY |
360 | 11 | 5 | ||
362 | 12 | load(qt_build_config) | 6 | HEADERS += \ |
363 | 7 | $$PWD/candidateinactivitytimer_p.h \ | ||
364 | 8 | $$PWD/damper_p.h \ | ||
365 | 9 | $$PWD/debughelpers_p.h \ | ||
366 | 10 | $$PWD/pool_p.h \ | ||
367 | 11 | $$PWD/timer_p.h \ | ||
368 | 12 | $$PWD/timesource_p.h \ | ||
369 | 13 | $$PWD/touchownershipevent_p.h \ | ||
370 | 14 | $$PWD/touchregistry_p.h \ | ||
371 | 15 | $$PWD/ubuntugesturesglobal.h \ | ||
372 | 16 | $$PWD/ubuntugesturesmodule.h \ | ||
373 | 17 | $$PWD/ucswipearea_p.h \ | ||
374 | 18 | $$PWD/ucswipearea_p_p.h \ | ||
375 | 19 | $$PWD/unownedtouchevent_p.h | ||
376 | 20 | |||
377 | 21 | SOURCES += \ | ||
378 | 22 | $$PWD/candidateinactivitytimer.cpp \ | ||
379 | 23 | $$PWD/damper.cpp \ | ||
380 | 24 | $$PWD/debughelpers.cpp \ | ||
381 | 25 | $$PWD/timer.cpp \ | ||
382 | 26 | $$PWD/timesource.cpp \ | ||
383 | 27 | $$PWD/touchownershipevent.cpp \ | ||
384 | 28 | $$PWD/touchregistry.cpp \ | ||
385 | 29 | $$PWD/ubuntugesturesmodule.cpp \ | ||
386 | 30 | $$PWD/ucswipearea.cpp \ | ||
387 | 31 | $$PWD/unownedtouchevent.cpp | ||
388 | 32 | |||
389 | 13 | load(ubuntu_qt_module) | 33 | load(ubuntu_qt_module) |
390 | 14 | |||
391 | 15 | HEADERS += candidateinactivitytimer_p.h \ | ||
392 | 16 | debughelpers_p.h \ | ||
393 | 17 | timer_p.h \ | ||
394 | 18 | timesource_p.h \ | ||
395 | 19 | touchownershipevent_p.h \ | ||
396 | 20 | touchregistry_p.h \ | ||
397 | 21 | unownedtouchevent_p.h \ | ||
398 | 22 | ubuntugesturesglobal.h \ | ||
399 | 23 | pool_p.h \ | ||
400 | 24 | ucswipearea_p.h \ | ||
401 | 25 | ucswipearea_p_p.h \ | ||
402 | 26 | damper_p.h \ | ||
403 | 27 | ubuntugesturesmodule.h | ||
404 | 28 | |||
405 | 29 | |||
406 | 30 | SOURCES += candidateinactivitytimer.cpp \ | ||
407 | 31 | debughelpers.cpp \ | ||
408 | 32 | timer.cpp \ | ||
409 | 33 | timesource.cpp \ | ||
410 | 34 | touchownershipevent.cpp \ | ||
411 | 35 | touchregistry.cpp \ | ||
412 | 36 | unownedtouchevent.cpp \ | ||
413 | 37 | ucswipearea.cpp \ | ||
414 | 38 | damper.cpp \ | ||
415 | 39 | ubuntugesturesmodule.cpp | ||
416 | 40 | |||
417 | 41 | 34 | ||
418 | === modified file 'src/UbuntuGestures/candidateinactivitytimer.cpp' | |||
419 | --- src/Ubuntu/UbuntuGestures/candidateinactivitytimer.cpp 2016-07-06 11:27:11 +0000 | |||
420 | +++ src/UbuntuGestures/candidateinactivitytimer.cpp 2016-09-17 11:46:32 +0000 | |||
421 | @@ -14,7 +14,7 @@ | |||
422 | 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/>. |
423 | 15 | */ | 15 | */ |
424 | 16 | 16 | ||
426 | 17 | #include <UbuntuGestures/private/candidateinactivitytimer_p.h> | 17 | #include "candidateinactivitytimer_p.h" |
427 | 18 | 18 | ||
428 | 19 | UG_NAMESPACE_BEGIN | 19 | UG_NAMESPACE_BEGIN |
429 | 20 | 20 | ||
430 | 21 | 21 | ||
431 | === modified file 'src/UbuntuGestures/candidateinactivitytimer_p.h' | |||
432 | --- src/Ubuntu/UbuntuGestures/candidateinactivitytimer_p.h 2016-08-09 07:12:07 +0000 | |||
433 | +++ src/UbuntuGestures/candidateinactivitytimer_p.h 2016-09-17 11:46:32 +0000 | |||
434 | @@ -14,15 +14,15 @@ | |||
435 | 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/>. |
436 | 15 | */ | 15 | */ |
437 | 16 | 16 | ||
442 | 17 | #ifndef UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H | 17 | #ifndef CANDIDATEINACTIVITYTIMER_P_H |
443 | 18 | #define UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H | 18 | #define CANDIDATEINACTIVITYTIMER_P_H |
444 | 19 | 19 | ||
445 | 20 | #include <QObject> | 20 | #include <QtCore/QObject> |
446 | 21 | |||
447 | 22 | #include <UbuntuGestures/private/timer_p.h> | ||
448 | 21 | 23 | ||
449 | 22 | class QQuickItem; | 24 | class QQuickItem; |
450 | 23 | 25 | ||
451 | 24 | #include <UbuntuGestures/private/timer_p.h> | ||
452 | 25 | |||
453 | 26 | UG_NAMESPACE_BEGIN | 26 | UG_NAMESPACE_BEGIN |
454 | 27 | 27 | ||
455 | 28 | class UBUNTUGESTURES_EXPORT CandidateInactivityTimer : public QObject { | 28 | class UBUNTUGESTURES_EXPORT CandidateInactivityTimer : public QObject { |
456 | @@ -48,4 +48,4 @@ | |||
457 | 48 | 48 | ||
458 | 49 | UG_NAMESPACE_END | 49 | UG_NAMESPACE_END |
459 | 50 | 50 | ||
461 | 51 | #endif // UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H | 51 | #endif // CANDIDATEINACTIVITYTIMER_P_H |
462 | 52 | 52 | ||
463 | === modified file 'src/UbuntuGestures/damper.cpp' | |||
464 | --- src/Ubuntu/UbuntuGestures/damper.cpp 2015-12-17 15:23:26 +0000 | |||
465 | +++ src/UbuntuGestures/damper.cpp 2016-09-17 11:46:32 +0000 | |||
466 | @@ -15,7 +15,8 @@ | |||
467 | 15 | */ | 15 | */ |
468 | 16 | 16 | ||
469 | 17 | #include "damper_p.h" | 17 | #include "damper_p.h" |
471 | 18 | #include <QDebug> | 18 | |
472 | 19 | #include <QtCore/QDebug> | ||
473 | 19 | 20 | ||
474 | 20 | QDebug operator<<(QDebug dbg, const DampedPointF &p) | 21 | QDebug operator<<(QDebug dbg, const DampedPointF &p) |
475 | 21 | { | 22 | { |
476 | 22 | 23 | ||
477 | === modified file 'src/UbuntuGestures/damper_p.h' | |||
478 | --- src/Ubuntu/UbuntuGestures/damper_p.h 2015-12-17 15:23:26 +0000 | |||
479 | +++ src/UbuntuGestures/damper_p.h 2016-09-17 11:46:32 +0000 | |||
480 | @@ -14,8 +14,8 @@ | |||
481 | 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/>. |
482 | 15 | */ | 15 | */ |
483 | 16 | 16 | ||
486 | 17 | #ifndef UBUNTU_GESTURES_DAMPER_H | 17 | #ifndef DAMPER_P_H |
487 | 18 | #define UBUNTU_GESTURES_DAMPER_H | 18 | #define DAMPER_P_H |
488 | 19 | 19 | ||
489 | 20 | #include <QtCore/QPointF> | 20 | #include <QtCore/QPointF> |
490 | 21 | 21 | ||
491 | @@ -86,4 +86,4 @@ | |||
492 | 86 | 86 | ||
493 | 87 | QDebug operator<<(QDebug dbg, const DampedPointF &p); | 87 | QDebug operator<<(QDebug dbg, const DampedPointF &p); |
494 | 88 | 88 | ||
496 | 89 | #endif // UBUNTU_GESTURES_DAMPER_H | 89 | #endif // DAMPER_P_H |
497 | 90 | 90 | ||
498 | === modified file 'src/UbuntuGestures/debughelpers.cpp' | |||
499 | --- src/Ubuntu/UbuntuGestures/debughelpers.cpp 2016-07-06 11:27:11 +0000 | |||
500 | +++ src/UbuntuGestures/debughelpers.cpp 2016-09-17 11:46:32 +0000 | |||
501 | @@ -14,9 +14,10 @@ | |||
502 | 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/>. |
503 | 15 | */ | 15 | */ |
504 | 16 | 16 | ||
508 | 17 | #include <UbuntuGestures/private/debughelpers_p.h> | 17 | #include "debughelpers_p.h" |
509 | 18 | #include <QTouchEvent> | 18 | |
510 | 19 | #include <QMouseEvent> | 19 | #include <QtGui/QMouseEvent> |
511 | 20 | #include <QtGui/QTouchEvent> | ||
512 | 20 | 21 | ||
513 | 21 | QString touchPointStateToString(Qt::TouchPointState state) | 22 | QString touchPointStateToString(Qt::TouchPointState state) |
514 | 22 | { | 23 | { |
515 | 23 | 24 | ||
516 | === modified file 'src/UbuntuGestures/debughelpers_p.h' | |||
517 | --- src/Ubuntu/UbuntuGestures/debughelpers_p.h 2016-08-09 07:12:07 +0000 | |||
518 | +++ src/UbuntuGestures/debughelpers_p.h 2016-09-17 11:46:32 +0000 | |||
519 | @@ -14,12 +14,10 @@ | |||
520 | 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/>. |
521 | 15 | */ | 15 | */ |
522 | 16 | 16 | ||
529 | 17 | #ifndef UBUNTUGESTURES_DEBUG_HELPER_H | 17 | #ifndef DEBUGHELPERS_P_H |
530 | 18 | #define UBUNTUGESTURES_DEBUG_HELPER_H | 18 | #define DEBUGHELPERS_P_H |
531 | 19 | 19 | ||
532 | 20 | #include <QString> | 20 | #include <QtCore/QString> |
527 | 21 | |||
528 | 22 | #include "ubuntugesturesglobal.h" | ||
533 | 23 | 21 | ||
534 | 24 | class QMouseEvent; | 22 | class QMouseEvent; |
535 | 25 | class QTouchEvent; | 23 | class QTouchEvent; |
536 | @@ -28,4 +26,4 @@ | |||
537 | 28 | QString touchEventToString(const QTouchEvent *ev); | 26 | QString touchEventToString(const QTouchEvent *ev); |
538 | 29 | QString mouseEventToString(const QMouseEvent *ev); | 27 | QString mouseEventToString(const QMouseEvent *ev); |
539 | 30 | 28 | ||
541 | 31 | #endif // UBUNTUGESTURES_DEBUG_HELPER_H | 29 | #endif // DEBUGHELPERS_P_H |
542 | 32 | 30 | ||
543 | === modified file 'src/UbuntuGestures/pool_p.h' | |||
544 | --- src/Ubuntu/UbuntuGestures/pool_p.h 2016-08-09 07:12:07 +0000 | |||
545 | +++ src/UbuntuGestures/pool_p.h 2016-09-17 11:46:32 +0000 | |||
546 | @@ -14,12 +14,12 @@ | |||
547 | 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/>. |
548 | 15 | */ | 15 | */ |
549 | 16 | 16 | ||
556 | 17 | #ifndef UBUNTUGESTURES_POOL_H | 17 | #ifndef POOL_P_H |
557 | 18 | #define UBUNTUGESTURES_POOL_H | 18 | #define POOL_P_H |
558 | 19 | 19 | ||
559 | 20 | #include <QVector> | 20 | #include <QtCore/QVector> |
560 | 21 | 21 | ||
561 | 22 | #include "ubuntugesturesglobal.h" | 22 | #include <UbuntuGestures/ubuntugesturesglobal.h> |
562 | 23 | 23 | ||
563 | 24 | /* | 24 | /* |
564 | 25 | An object pool. | 25 | An object pool. |
565 | @@ -129,4 +129,4 @@ | |||
566 | 129 | int m_lastUsedIndex; | 129 | int m_lastUsedIndex; |
567 | 130 | }; | 130 | }; |
568 | 131 | 131 | ||
570 | 132 | #endif // UBUNTUGESTURES_POOL_H | 132 | #endif // POOL_P_H |
571 | 133 | 133 | ||
572 | === modified file 'src/UbuntuGestures/timer.cpp' | |||
573 | --- src/Ubuntu/UbuntuGestures/timer.cpp 2016-07-25 14:02:18 +0000 | |||
574 | +++ src/UbuntuGestures/timer.cpp 2016-09-17 11:46:32 +0000 | |||
575 | @@ -14,7 +14,7 @@ | |||
576 | 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/>. |
577 | 15 | */ | 15 | */ |
578 | 16 | 16 | ||
580 | 17 | #include <UbuntuGestures/private/timer_p.h> | 17 | #include "timer_p.h" |
581 | 18 | 18 | ||
582 | 19 | UG_NAMESPACE_BEGIN | 19 | UG_NAMESPACE_BEGIN |
583 | 20 | 20 | ||
584 | 21 | 21 | ||
585 | === modified file 'src/UbuntuGestures/timer_p.h' | |||
586 | --- src/Ubuntu/UbuntuGestures/timer_p.h 2016-08-09 07:12:07 +0000 | |||
587 | +++ src/UbuntuGestures/timer_p.h 2016-09-17 11:46:32 +0000 | |||
588 | @@ -14,16 +14,16 @@ | |||
589 | 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/>. |
590 | 15 | */ | 15 | */ |
591 | 16 | 16 | ||
596 | 17 | #ifndef UBUNTUGESTURES_TIMER_H | 17 | #ifndef TIMER_P_H |
597 | 18 | #define UBUNTUGESTURES_TIMER_H | 18 | #define TIMER_P_H |
598 | 19 | 19 | ||
599 | 20 | #include "ubuntugesturesglobal.h" | 20 | #include <QtCore/QObject> |
600 | 21 | #include <QtCore/QPointer> | ||
601 | 22 | #include <QtCore/QTimer> | ||
602 | 23 | |||
603 | 24 | #include <UbuntuGestures/ubuntugesturesglobal.h> | ||
604 | 21 | #include <UbuntuGestures/private/timesource_p.h> | 25 | #include <UbuntuGestures/private/timesource_p.h> |
605 | 22 | 26 | ||
606 | 23 | #include <QObject> | ||
607 | 24 | #include <QPointer> | ||
608 | 25 | #include <QTimer> | ||
609 | 26 | |||
610 | 27 | UG_NAMESPACE_BEGIN | 27 | UG_NAMESPACE_BEGIN |
611 | 28 | 28 | ||
612 | 29 | /* Defines an interface for a Timer. */ | 29 | /* Defines an interface for a Timer. */ |
613 | @@ -114,4 +114,4 @@ | |||
614 | 114 | 114 | ||
615 | 115 | UG_NAMESPACE_END | 115 | UG_NAMESPACE_END |
616 | 116 | 116 | ||
618 | 117 | #endif // UBUNTUGESTURES_TIMER_H | 117 | #endif // TIMER_P_H |
619 | 118 | 118 | ||
620 | === modified file 'src/UbuntuGestures/timesource.cpp' | |||
621 | --- src/Ubuntu/UbuntuGestures/timesource.cpp 2016-07-25 14:02:18 +0000 | |||
622 | +++ src/UbuntuGestures/timesource.cpp 2016-09-17 11:46:32 +0000 | |||
623 | @@ -16,9 +16,9 @@ | |||
624 | 16 | * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com> | 16 | * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com> |
625 | 17 | */ | 17 | */ |
626 | 18 | 18 | ||
628 | 19 | #include <UbuntuGestures/private/timesource_p.h> | 19 | #include "timesource_p.h" |
629 | 20 | 20 | ||
631 | 21 | #include <QElapsedTimer> | 21 | #include <QtCore/QElapsedTimer> |
632 | 22 | 22 | ||
633 | 23 | UG_NAMESPACE_BEGIN | 23 | UG_NAMESPACE_BEGIN |
634 | 24 | 24 | ||
635 | 25 | 25 | ||
636 | === modified file 'src/UbuntuGestures/timesource_p.h' | |||
637 | --- src/Ubuntu/UbuntuGestures/timesource_p.h 2016-08-09 07:12:07 +0000 | |||
638 | +++ src/UbuntuGestures/timesource_p.h 2016-09-17 11:46:32 +0000 | |||
639 | @@ -16,11 +16,12 @@ | |||
640 | 16 | * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com> | 16 | * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com> |
641 | 17 | */ | 17 | */ |
642 | 18 | 18 | ||
648 | 19 | #ifndef UBUNTUGESTURES_TIMESOURCE_H | 19 | #ifndef TIMESOURCE_P_H |
649 | 20 | #define UBUNTUGESTURES_TIMESOURCE_H | 20 | #define TIMESOURCE_P_H |
650 | 21 | 21 | ||
651 | 22 | #include "ubuntugesturesglobal.h" | 22 | #include <QtCore/QSharedPointer> |
652 | 23 | #include <QSharedPointer> | 23 | |
653 | 24 | #include <UbuntuGestures/ubuntugesturesglobal.h> | ||
654 | 24 | 25 | ||
655 | 25 | UG_NAMESPACE_BEGIN | 26 | UG_NAMESPACE_BEGIN |
656 | 26 | /* | 27 | /* |
657 | @@ -59,4 +60,4 @@ | |||
658 | 59 | 60 | ||
659 | 60 | UG_NAMESPACE_END | 61 | UG_NAMESPACE_END |
660 | 61 | 62 | ||
662 | 62 | #endif // UBUNTUGESTURES_TIMESOURCE_H | 63 | #endif // TIMESOURCE_P_H |
663 | 63 | 64 | ||
664 | === modified file 'src/UbuntuGestures/touchownershipevent.cpp' | |||
665 | --- src/Ubuntu/UbuntuGestures/touchownershipevent.cpp 2016-07-06 11:27:11 +0000 | |||
666 | +++ src/UbuntuGestures/touchownershipevent.cpp 2016-09-17 11:46:32 +0000 | |||
667 | @@ -14,7 +14,7 @@ | |||
668 | 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/>. |
669 | 15 | */ | 15 | */ |
670 | 16 | 16 | ||
672 | 17 | #include <UbuntuGestures/private/touchownershipevent_p.h> | 17 | #include "touchownershipevent_p.h" |
673 | 18 | 18 | ||
674 | 19 | UG_NAMESPACE_BEGIN | 19 | UG_NAMESPACE_BEGIN |
675 | 20 | 20 | ||
676 | 21 | 21 | ||
677 | === modified file 'src/UbuntuGestures/touchownershipevent_p.h' | |||
678 | --- src/Ubuntu/UbuntuGestures/touchownershipevent_p.h 2016-08-09 07:12:07 +0000 | |||
679 | +++ src/UbuntuGestures/touchownershipevent_p.h 2016-09-17 11:46:32 +0000 | |||
680 | @@ -14,11 +14,12 @@ | |||
681 | 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/>. |
682 | 15 | */ | 15 | */ |
683 | 16 | 16 | ||
689 | 17 | #ifndef UBUNTU_TOUCHOWNERSHIPEVENT_H | 17 | #ifndef TOUCHOWNERSHIPEVENT_P_H |
690 | 18 | #define UBUNTU_TOUCHOWNERSHIPEVENT_H | 18 | #define TOUCHOWNERSHIPEVENT_P_H |
691 | 19 | 19 | ||
692 | 20 | #include <QEvent> | 20 | #include <QtCore/QEvent> |
693 | 21 | #include "ubuntugesturesglobal.h" | 21 | |
694 | 22 | #include <UbuntuGestures/ubuntugesturesglobal.h> | ||
695 | 22 | 23 | ||
696 | 23 | UG_NAMESPACE_BEGIN | 24 | UG_NAMESPACE_BEGIN |
697 | 24 | /* | 25 | /* |
698 | @@ -50,4 +51,4 @@ | |||
699 | 50 | 51 | ||
700 | 51 | UG_NAMESPACE_END | 52 | UG_NAMESPACE_END |
701 | 52 | 53 | ||
703 | 53 | #endif // UBUNTU_TOUCHOWNERSHIPEVENT_H | 54 | #endif // TOUCHOWNERSHIPEVENT_P_H |
704 | 54 | 55 | ||
705 | === modified file 'src/UbuntuGestures/touchregistry.cpp' | |||
706 | --- src/Ubuntu/UbuntuGestures/touchregistry.cpp 2016-07-06 11:27:11 +0000 | |||
707 | +++ src/UbuntuGestures/touchregistry.cpp 2016-09-17 11:46:32 +0000 | |||
708 | @@ -14,21 +14,20 @@ | |||
709 | 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/>. |
710 | 15 | */ | 15 | */ |
711 | 16 | 16 | ||
723 | 17 | #include <UbuntuGestures/private/touchregistry_p.h> | 17 | #include "touchregistry_p.h" |
724 | 18 | 18 | ||
725 | 19 | #include <QCoreApplication> | 19 | #include <QtCore/QCoreApplication> |
726 | 20 | #include <QDebug> | 20 | #include <QtCore/QDebug> |
727 | 21 | 21 | #include <QtQuick/private/qquickitem_p.h> | |
728 | 22 | #include <private/qquickitem_p.h> | 22 | |
729 | 23 | 23 | #include "candidateinactivitytimer_p.h" | |
730 | 24 | #include <UbuntuGestures/private/candidateinactivitytimer_p.h> | 24 | #include "debughelpers_p.h" |
731 | 25 | #include <UbuntuGestures/private/timer_p.h> | 25 | #include "timer_p.h" |
732 | 26 | #include <UbuntuGestures/private/touchownershipevent_p.h> | 26 | #include "touchownershipevent_p.h" |
733 | 27 | #include <UbuntuGestures/private/unownedtouchevent_p.h> | 27 | #include "unownedtouchevent_p.h" |
734 | 28 | 28 | ||
735 | 29 | Q_LOGGING_CATEGORY(ugTouchRegistry, "libubuntugestures.TouchRegistry", QtMsgType::QtWarningMsg) | 29 | Q_LOGGING_CATEGORY(ugTouchRegistry, "libubuntugestures.TouchRegistry", QtMsgType::QtWarningMsg) |
736 | 30 | 30 | ||
737 | 31 | #include <UbuntuGestures/private/debughelpers_p.h> | ||
738 | 32 | #define UG_DEBUG qCDebug(ugTouchRegistry) << "[TouchRegistry]" | 31 | #define UG_DEBUG qCDebug(ugTouchRegistry) << "[TouchRegistry]" |
739 | 33 | 32 | ||
740 | 34 | UG_NAMESPACE_BEGIN | 33 | UG_NAMESPACE_BEGIN |
741 | 35 | 34 | ||
742 | === modified file 'src/UbuntuGestures/touchregistry_p.h' | |||
743 | --- src/Ubuntu/UbuntuGestures/touchregistry_p.h 2016-08-09 07:12:07 +0000 | |||
744 | +++ src/UbuntuGestures/touchregistry_p.h 2016-09-17 11:46:32 +0000 | |||
745 | @@ -14,23 +14,21 @@ | |||
746 | 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/>. |
747 | 15 | */ | 15 | */ |
748 | 16 | 16 | ||
751 | 17 | #ifndef UNITY_TOUCHREGISTRY_H | 17 | #ifndef TOUCHREGISTRY_P_H |
752 | 18 | #define UNITY_TOUCHREGISTRY_H | 18 | #define TOUCHREGISTRY_P_H |
753 | 19 | 19 | ||
754 | 20 | #include <QtCore/QLoggingCategory> | ||
755 | 21 | #include <QtCore/QObject> | ||
756 | 22 | #include <QtCore/QPointer> | ||
757 | 23 | #include <QtCore/QVector> | ||
758 | 24 | #include <QtGui/QTouchEvent> | ||
759 | 20 | #include <QtQuick/QQuickItem> | 25 | #include <QtQuick/QQuickItem> |
760 | 21 | #include <QObject> | ||
761 | 22 | #include <QPointer> | ||
762 | 23 | #include <QTouchEvent> | ||
763 | 24 | #include <QVector> | ||
764 | 25 | 26 | ||
766 | 26 | #include "ubuntugesturesglobal.h" | 27 | #include <UbuntuGestures/ubuntugesturesglobal.h> |
767 | 27 | #include <UbuntuGestures/private/candidateinactivitytimer_p.h> | 28 | #include <UbuntuGestures/private/candidateinactivitytimer_p.h> |
768 | 28 | #include <UbuntuGestures/private/timer_p.h> | 29 | #include <UbuntuGestures/private/timer_p.h> |
769 | 29 | #include <UbuntuGestures/private/pool_p.h> | 30 | #include <UbuntuGestures/private/pool_p.h> |
770 | 30 | 31 | ||
771 | 31 | // logging | ||
772 | 32 | #include <QtCore/QLoggingCategory> | ||
773 | 33 | |||
774 | 34 | UG_FORWARD_DECLARE_CLASS(AbstractTimerFactory) | 32 | UG_FORWARD_DECLARE_CLASS(AbstractTimerFactory) |
775 | 35 | 33 | ||
776 | 36 | /* | 34 | /* |
777 | @@ -206,4 +204,4 @@ | |||
778 | 206 | 204 | ||
779 | 207 | Q_DECLARE_LOGGING_CATEGORY(ugTouchRegistry) | 205 | Q_DECLARE_LOGGING_CATEGORY(ugTouchRegistry) |
780 | 208 | 206 | ||
782 | 209 | #endif // UNITY_TOUCHREGISTRY_H | 207 | #endif // TOUCHREGISTRY_P_H |
783 | 210 | 208 | ||
784 | === modified file 'src/UbuntuGestures/ubuntugesturesmodule.cpp' | |||
785 | --- src/Ubuntu/UbuntuGestures/ubuntugesturesmodule.cpp 2016-06-21 14:21:46 +0000 | |||
786 | +++ src/UbuntuGestures/ubuntugesturesmodule.cpp 2016-09-17 11:46:32 +0000 | |||
787 | @@ -16,10 +16,11 @@ | |||
788 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
789 | 17 | */ | 17 | */ |
790 | 18 | 18 | ||
791 | 19 | #include <QtQml/QtQml> | ||
792 | 19 | #include <QtQml/QQmlEngine> | 20 | #include <QtQml/QQmlEngine> |
794 | 20 | #include <QtQml> | 21 | |
795 | 21 | #include "ubuntugesturesmodule.h" | 22 | #include "ubuntugesturesmodule.h" |
797 | 22 | #include <private/ucswipearea_p.h> | 23 | #include "ucswipearea_p.h" |
798 | 23 | 24 | ||
799 | 24 | UG_NAMESPACE_BEGIN | 25 | UG_NAMESPACE_BEGIN |
800 | 25 | 26 | ||
801 | 26 | 27 | ||
802 | === modified file 'src/UbuntuGestures/ubuntugesturesmodule.h' | |||
803 | --- src/Ubuntu/UbuntuGestures/ubuntugesturesmodule.h 2016-07-06 09:51:06 +0000 | |||
804 | +++ src/UbuntuGestures/ubuntugesturesmodule.h 2016-09-17 11:46:32 +0000 | |||
805 | @@ -19,7 +19,7 @@ | |||
806 | 19 | #ifndef UBUNTUGESTURESMODULE_H | 19 | #ifndef UBUNTUGESTURESMODULE_H |
807 | 20 | #define UBUNTUGESTURESMODULE_H | 20 | #define UBUNTUGESTURESMODULE_H |
808 | 21 | 21 | ||
810 | 22 | #include <ubuntugesturesglobal.h> | 22 | #include <UbuntuGestures/ubuntugesturesglobal.h> |
811 | 23 | 23 | ||
812 | 24 | UG_NAMESPACE_BEGIN | 24 | UG_NAMESPACE_BEGIN |
813 | 25 | 25 | ||
814 | 26 | 26 | ||
815 | === modified file 'src/UbuntuGestures/ucswipearea.cpp' | |||
816 | --- src/Ubuntu/UbuntuGestures/ucswipearea.cpp 2016-07-25 14:02:18 +0000 | |||
817 | +++ src/UbuntuGestures/ucswipearea.cpp 2016-09-17 11:46:32 +0000 | |||
818 | @@ -12,22 +12,19 @@ | |||
819 | 12 | * | 12 | * |
820 | 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
821 | 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/>. |
822 | 15 | * | ||
823 | 16 | */ | 15 | */ |
824 | 17 | 16 | ||
825 | 18 | #include "ucswipearea_p_p.h" | 17 | #include "ucswipearea_p_p.h" |
826 | 19 | 18 | ||
838 | 20 | #include <QQuickWindow> | 19 | #include <QtCore/QDebug> |
839 | 21 | #include <QtCore/qmath.h> | 20 | #include <QtGui/QScreen> |
840 | 22 | #include <QScreen> | 21 | #include <QtCore/QtMath> |
841 | 23 | #include <QDebug> | 22 | #include <QtQuick/QQuickWindow> |
842 | 24 | 23 | #include <QtQuick/private/qquickwindow_p.h> | |
843 | 25 | #include <private/qquickwindow_p.h> | 24 | |
844 | 26 | 25 | #include "touchownershipevent_p.h" | |
845 | 27 | // local | 26 | #include "touchregistry_p.h" |
846 | 28 | #include <UbuntuGestures/private/touchownershipevent_p.h> | 27 | #include "unownedtouchevent_p.h" |
836 | 29 | #include <UbuntuGestures/private/touchregistry_p.h> | ||
837 | 30 | #include <UbuntuGestures/private/unownedtouchevent_p.h> | ||
847 | 31 | 28 | ||
848 | 32 | UG_NAMESPACE_BEGIN | 29 | UG_NAMESPACE_BEGIN |
849 | 33 | 30 | ||
850 | 34 | 31 | ||
851 | === modified file 'src/UbuntuGestures/ucswipearea_p.h' | |||
852 | --- src/Ubuntu/UbuntuGestures/ucswipearea_p.h 2016-07-06 11:27:11 +0000 | |||
853 | +++ src/UbuntuGestures/ucswipearea_p.h 2016-09-17 11:46:32 +0000 | |||
854 | @@ -12,22 +12,18 @@ | |||
855 | 12 | * | 12 | * |
856 | 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
857 | 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/>. |
858 | 15 | * | ||
859 | 16 | */ | 15 | */ |
860 | 17 | 16 | ||
863 | 18 | #ifndef UCSWIPEAREA_H | 17 | #ifndef UCSWIPEAREA_P_H |
864 | 19 | #define UCSWIPEAREA_H | 18 | #define UCSWIPEAREA_P_H |
865 | 20 | 19 | ||
866 | 20 | #include <QtCore/QLoggingCategory> | ||
867 | 21 | #include <QtQuick/QQuickItem> | 21 | #include <QtQuick/QQuickItem> |
868 | 22 | #include "ubuntugesturesglobal.h" | ||
869 | 23 | 22 | ||
871 | 24 | // lib UbuntuGestures | 23 | #include <UbuntuGestures/ubuntugesturesglobal.h> |
872 | 25 | #include <UbuntuGestures/private/pool_p.h> | 24 | #include <UbuntuGestures/private/pool_p.h> |
873 | 26 | #include <UbuntuGestures/private/timer_p.h> | 25 | #include <UbuntuGestures/private/timer_p.h> |
874 | 27 | 26 | ||
875 | 28 | // logging | ||
876 | 29 | #include <QtCore/QLoggingCategory> | ||
877 | 30 | |||
878 | 31 | UG_NAMESPACE_BEGIN | 27 | UG_NAMESPACE_BEGIN |
879 | 32 | 28 | ||
880 | 33 | class TouchOwnershipEvent; | 29 | class TouchOwnershipEvent; |
881 | @@ -106,4 +102,4 @@ | |||
882 | 106 | Q_DECLARE_LOGGING_CATEGORY(ucSwipeArea) | 102 | Q_DECLARE_LOGGING_CATEGORY(ucSwipeArea) |
883 | 107 | Q_DECLARE_LOGGING_CATEGORY(ucActiveTouchInfo) | 103 | Q_DECLARE_LOGGING_CATEGORY(ucActiveTouchInfo) |
884 | 108 | 104 | ||
886 | 109 | #endif // UCSWIPEAREA_H | 105 | #endif // UCSWIPEAREA_P_H |
887 | 110 | 106 | ||
888 | === modified file 'src/UbuntuGestures/ucswipearea_p_p.h' | |||
889 | --- src/Ubuntu/UbuntuGestures/ucswipearea_p_p.h 2016-07-25 14:02:18 +0000 | |||
890 | +++ src/UbuntuGestures/ucswipearea_p_p.h 2016-09-17 11:46:32 +0000 | |||
891 | @@ -12,16 +12,16 @@ | |||
892 | 12 | * | 12 | * |
893 | 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
894 | 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/>. |
895 | 15 | * | ||
896 | 16 | */ | 15 | */ |
897 | 17 | 16 | ||
902 | 18 | #ifndef UCSWIPEAREAPRIVATE_H | 17 | #ifndef UCSWIPEAREA_P_P_H |
903 | 19 | #define UCSWIPEAREAPRIVATE_H | 18 | #define UCSWIPEAREA_P_P_H |
904 | 20 | 19 | ||
905 | 21 | #include "ucswipearea_p.h" | 20 | #include <UbuntuGestures/private/ucswipearea_p.h> |
906 | 21 | |||
907 | 22 | #include <QtQuick/private/qquickitem_p.h> | 22 | #include <QtQuick/private/qquickitem_p.h> |
908 | 23 | 23 | ||
910 | 24 | #include "damper_p.h" | 24 | #include <UbuntuGestures/private/damper_p.h> |
911 | 25 | 25 | ||
912 | 26 | UG_NAMESPACE_BEGIN | 26 | UG_NAMESPACE_BEGIN |
913 | 27 | 27 | ||
914 | @@ -175,4 +175,4 @@ | |||
915 | 175 | 175 | ||
916 | 176 | UG_NAMESPACE_END | 176 | UG_NAMESPACE_END |
917 | 177 | 177 | ||
919 | 178 | #endif // UCSWIPEAREAPRIVATE_H | 178 | #endif // UCSWIPEAREA_P_P_H |
920 | 179 | 179 | ||
921 | === modified file 'src/UbuntuGestures/unownedtouchevent.cpp' | |||
922 | --- src/Ubuntu/UbuntuGestures/unownedtouchevent.cpp 2016-07-06 11:27:11 +0000 | |||
923 | +++ src/UbuntuGestures/unownedtouchevent.cpp 2016-09-17 11:46:32 +0000 | |||
924 | @@ -14,7 +14,7 @@ | |||
925 | 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/>. |
926 | 15 | */ | 15 | */ |
927 | 16 | 16 | ||
929 | 17 | #include <UbuntuGestures/private/unownedtouchevent_p.h> | 17 | #include "unownedtouchevent_p.h" |
930 | 18 | 18 | ||
931 | 19 | UG_NAMESPACE_BEGIN | 19 | UG_NAMESPACE_BEGIN |
932 | 20 | 20 | ||
933 | 21 | 21 | ||
934 | === modified file 'src/UbuntuGestures/unownedtouchevent_p.h' | |||
935 | --- src/Ubuntu/UbuntuGestures/unownedtouchevent_p.h 2016-08-09 07:12:07 +0000 | |||
936 | +++ src/UbuntuGestures/unownedtouchevent_p.h 2016-09-17 11:46:32 +0000 | |||
937 | @@ -14,12 +14,13 @@ | |||
938 | 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/>. |
939 | 15 | */ | 15 | */ |
940 | 16 | 16 | ||
947 | 17 | #ifndef UBUNTU_UNOWNEDTOUCHEVENT_H | 17 | #ifndef UNOWNEDTOUCHEVENT_P_H |
948 | 18 | #define UBUNTU_UNOWNEDTOUCHEVENT_H | 18 | #define UNOWNEDTOUCHEVENT_P_H |
949 | 19 | 19 | ||
950 | 20 | #include <QTouchEvent> | 20 | #include <QtCore/QScopedPointer> |
951 | 21 | #include <QScopedPointer> | 21 | #include <QtGui/QTouchEvent> |
952 | 22 | #include "ubuntugesturesglobal.h" | 22 | |
953 | 23 | #include <UbuntuGestures/ubuntugesturesglobal.h> | ||
954 | 23 | 24 | ||
955 | 24 | UG_NAMESPACE_BEGIN | 25 | UG_NAMESPACE_BEGIN |
956 | 25 | /* | 26 | /* |
957 | @@ -45,4 +46,4 @@ | |||
958 | 45 | 46 | ||
959 | 46 | UG_NAMESPACE_END | 47 | UG_NAMESPACE_END |
960 | 47 | 48 | ||
962 | 48 | #endif // UBUNTU_UNOWNEDTOUCHEVENT_H | 49 | #endif // UNOWNEDTOUCHEVENT_P_H |
963 | 49 | 50 | ||
964 | === renamed directory 'src/Ubuntu/UbuntuMetrics' => 'src/UbuntuMetrics' | |||
965 | === modified file 'src/UbuntuMetrics/UbuntuMetrics.pro' | |||
966 | --- src/Ubuntu/UbuntuMetrics/UbuntuMetrics.pro 2016-08-04 22:54:21 +0000 | |||
967 | +++ src/UbuntuMetrics/UbuntuMetrics.pro 2016-09-17 11:46:32 +0000 | |||
968 | @@ -1,7 +1,5 @@ | |||
973 | 1 | TEMPLATE=lib | 1 | TARGET = UbuntuMetrics |
974 | 2 | TARGET=UbuntuMetrics | 2 | QT = core-private gui-private quick-private |
971 | 3 | QT += core-private gui-private quick-private | ||
972 | 4 | CONFIG += dll no_keywords c++11 | ||
975 | 5 | LIBS += -ldl | 3 | LIBS += -ldl |
976 | 6 | 4 | ||
977 | 7 | contains(QT_CONFIG, opengles2) { | 5 | contains(QT_CONFIG, opengles2) { |
978 | @@ -12,30 +10,26 @@ | |||
979 | 12 | DEFINES += LTTNG_PLUGIN_INSTALL_PATH=\\\"$$[QT_INSTALL_PLUGINS]/ubuntu/metrics/libumlttng.so\\\" | 10 | DEFINES += LTTNG_PLUGIN_INSTALL_PATH=\\\"$$[QT_INSTALL_PLUGINS]/ubuntu/metrics/libumlttng.so\\\" |
980 | 13 | DEFINES += LTTNG_PLUGIN_BUILD_PATH=\\\"$$OUT_PWD/lttng/libumlttng.so\\\" | 11 | DEFINES += LTTNG_PLUGIN_BUILD_PATH=\\\"$$OUT_PWD/lttng/libumlttng.so\\\" |
981 | 14 | 12 | ||
982 | 15 | load(qt_build_config) | ||
983 | 16 | load(ubuntu_qt_module) | ||
984 | 17 | |||
985 | 18 | PUBLIC_HEADERS = \ | ||
986 | 19 | $$PWD/ubuntumetricsglobal.h \ | ||
987 | 20 | $$PWD/events.h \ | ||
988 | 21 | $$PWD/logger.h \ | ||
989 | 22 | $$PWD/applicationmonitor.h | ||
990 | 23 | |||
991 | 24 | HEADERS += \ | 13 | HEADERS += \ |
994 | 25 | $${PUBLIC_HEADERS} \ | 14 | $$PWD/applicationmonitor.h \ |
995 | 26 | $$PWD/ubuntumetricsglobal_p.h \ | 15 | $$PWD/applicationmonitor_p.h \ |
996 | 16 | $$PWD/bitmaptext_p.h \ | ||
997 | 27 | $$PWD/bitmaptextfont_p.h \ | 17 | $$PWD/bitmaptextfont_p.h \ |
998 | 18 | $$PWD/events.h \ | ||
999 | 28 | $$PWD/events_p.h \ | 19 | $$PWD/events_p.h \ |
1000 | 20 | $$PWD/gputimer_p.h \ | ||
1001 | 21 | $$PWD/logger.h \ | ||
1002 | 29 | $$PWD/logger_p.h \ | 22 | $$PWD/logger_p.h \ |
1003 | 30 | $$PWD/gputimer_p.h \ | ||
1004 | 31 | $$PWD/bitmaptext_p.h \ | ||
1005 | 32 | $$PWD/overlay_p.h \ | 23 | $$PWD/overlay_p.h \ |
1007 | 33 | $$PWD/applicationmonitor_p.h | 24 | $$PWD/ubuntumetricsglobal.h \ |
1008 | 25 | $$PWD/ubuntumetricsglobal_p.h \ | ||
1009 | 34 | 26 | ||
1010 | 35 | SOURCES += \ | 27 | SOURCES += \ |
1011 | 28 | $$PWD/applicationmonitor.cpp \ | ||
1012 | 29 | $$PWD/bitmaptext.cpp \ | ||
1013 | 36 | $$PWD/events.cpp \ | 30 | $$PWD/events.cpp \ |
1014 | 31 | $$PWD/gputimer.cpp \ | ||
1015 | 37 | $$PWD/logger.cpp \ | 32 | $$PWD/logger.cpp \ |
1020 | 38 | $$PWD/gputimer.cpp \ | 33 | $$PWD/overlay.cpp |
1021 | 39 | $$PWD/bitmaptext.cpp \ | 34 | |
1022 | 40 | $$PWD/overlay.cpp \ | 35 | load(ubuntu_qt_module) |
1019 | 41 | $$PWD/applicationmonitor.cpp | ||
1023 | 42 | 36 | ||
1024 | === modified file 'src/UbuntuMetrics/applicationmonitor.cpp' | |||
1025 | --- src/Ubuntu/UbuntuMetrics/applicationmonitor.cpp 2016-08-22 06:18:26 +0000 | |||
1026 | +++ src/UbuntuMetrics/applicationmonitor.cpp 2016-09-17 11:46:32 +0000 | |||
1027 | @@ -16,6 +16,7 @@ | |||
1028 | 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/>. |
1029 | 17 | 17 | ||
1030 | 18 | #include "applicationmonitor_p.h" | 18 | #include "applicationmonitor_p.h" |
1031 | 19 | |||
1032 | 19 | #include <QtCore/QTimer> | 20 | #include <QtCore/QTimer> |
1033 | 20 | #include <QtGui/QGuiApplication> | 21 | #include <QtGui/QGuiApplication> |
1034 | 21 | #include <QtQuick/QQuickWindow> | 22 | #include <QtQuick/QQuickWindow> |
1035 | 22 | 23 | ||
1036 | === modified file 'src/UbuntuMetrics/applicationmonitor.h' | |||
1037 | --- src/Ubuntu/UbuntuMetrics/applicationmonitor.h 2016-08-05 00:11:54 +0000 | |||
1038 | +++ src/UbuntuMetrics/applicationmonitor.h 2016-09-17 11:46:32 +0000 | |||
1039 | @@ -18,10 +18,11 @@ | |||
1040 | 18 | #ifndef APPLICATIONMONITOR_H | 18 | #ifndef APPLICATIONMONITOR_H |
1041 | 19 | #define APPLICATIONMONITOR_H | 19 | #define APPLICATIONMONITOR_H |
1042 | 20 | 20 | ||
1044 | 21 | #include <UbuntuMetrics/ubuntumetricsglobal.h> | 21 | #include <QtCore/QList> |
1045 | 22 | |||
1046 | 22 | #include <UbuntuMetrics/logger.h> | 23 | #include <UbuntuMetrics/logger.h> |
1047 | 23 | #include <UbuntuMetrics/events.h> | 24 | #include <UbuntuMetrics/events.h> |
1049 | 24 | #include <QtCore/QList> | 25 | #include <UbuntuMetrics/ubuntumetricsglobal.h> |
1050 | 25 | 26 | ||
1051 | 26 | class UMApplicationMonitorPrivate; | 27 | class UMApplicationMonitorPrivate; |
1052 | 27 | 28 | ||
1053 | 28 | 29 | ||
1054 | === modified file 'src/UbuntuMetrics/applicationmonitor_p.h' | |||
1055 | --- src/Ubuntu/UbuntuMetrics/applicationmonitor_p.h 2016-08-05 15:07:39 +0000 | |||
1056 | +++ src/UbuntuMetrics/applicationmonitor_p.h 2016-09-17 11:46:32 +0000 | |||
1057 | @@ -18,10 +18,8 @@ | |||
1058 | 18 | #ifndef APPLICATIONMONITOR_P_H | 18 | #ifndef APPLICATIONMONITOR_P_H |
1059 | 19 | #define APPLICATIONMONITOR_P_H | 19 | #define APPLICATIONMONITOR_P_H |
1060 | 20 | 20 | ||
1065 | 21 | #include "applicationmonitor.h" | 21 | #include <UbuntuMetrics/applicationmonitor.h> |
1066 | 22 | #include "overlay_p.h" | 22 | |
1063 | 23 | #include "gputimer_p.h" | ||
1064 | 24 | #include "ubuntumetricsglobal_p.h" | ||
1067 | 25 | #include <QtCore/QTimer> | 23 | #include <QtCore/QTimer> |
1068 | 26 | #include <QtCore/QThread> | 24 | #include <QtCore/QThread> |
1069 | 27 | #include <QtCore/QMutex> | 25 | #include <QtCore/QMutex> |
1070 | @@ -30,6 +28,10 @@ | |||
1071 | 30 | #include <QtCore/QRunnable> | 28 | #include <QtCore/QRunnable> |
1072 | 31 | #include <QtCore/QAtomicInteger> | 29 | #include <QtCore/QAtomicInteger> |
1073 | 32 | 30 | ||
1074 | 31 | #include <UbuntuMetrics/private/overlay_p.h> | ||
1075 | 32 | #include <UbuntuMetrics/private/gputimer_p.h> | ||
1076 | 33 | #include <UbuntuMetrics/private/ubuntumetricsglobal_p.h> | ||
1077 | 34 | |||
1078 | 33 | class LoggingThread; | 35 | class LoggingThread; |
1079 | 34 | class WindowMonitor; | 36 | class WindowMonitor; |
1080 | 35 | class QQuickWindow; | 37 | class QQuickWindow; |
1081 | 36 | 38 | ||
1082 | === modified file 'src/UbuntuMetrics/bitmaptext.cpp' | |||
1083 | --- src/Ubuntu/UbuntuMetrics/bitmaptext.cpp 2016-08-19 03:35:49 +0000 | |||
1084 | +++ src/UbuntuMetrics/bitmaptext.cpp 2016-09-17 11:46:32 +0000 | |||
1085 | @@ -16,12 +16,14 @@ | |||
1086 | 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/>. |
1087 | 17 | 17 | ||
1088 | 18 | #include <math.h> | 18 | #include <math.h> |
1089 | 19 | |||
1090 | 20 | #include <QtCore/QtGlobal> | ||
1091 | 21 | #include <QtCore/QPoint> | ||
1092 | 22 | #include <QtCore/QSize> | ||
1093 | 23 | |||
1094 | 19 | #include "bitmaptext_p.h" | 24 | #include "bitmaptext_p.h" |
1095 | 20 | #include "bitmaptextfont_p.h" | 25 | #include "bitmaptextfont_p.h" |
1096 | 21 | #include "ubuntumetricsglobal_p.h" | 26 | #include "ubuntumetricsglobal_p.h" |
1097 | 22 | #include <QtCore/QtGlobal> | ||
1098 | 23 | #include <QtCore/QSize> | ||
1099 | 24 | #include <QtCore/QPoint> | ||
1100 | 25 | 27 | ||
1101 | 26 | static const GLchar* bitmapTextVertexShaderSource = | 28 | static const GLchar* bitmapTextVertexShaderSource = |
1102 | 27 | #if !defined(QT_OPENGL_ES_2) | 29 | #if !defined(QT_OPENGL_ES_2) |
1103 | 28 | 30 | ||
1104 | === modified file 'src/UbuntuMetrics/bitmaptext_p.h' | |||
1105 | --- src/Ubuntu/UbuntuMetrics/bitmaptext_p.h 2016-08-05 15:07:39 +0000 | |||
1106 | +++ src/UbuntuMetrics/bitmaptext_p.h 2016-09-17 11:46:32 +0000 | |||
1107 | @@ -18,9 +18,10 @@ | |||
1108 | 18 | #ifndef BITMAPTEXT_P_H | 18 | #ifndef BITMAPTEXT_P_H |
1109 | 19 | #define BITMAPTEXT_P_H | 19 | #define BITMAPTEXT_P_H |
1110 | 20 | 20 | ||
1111 | 21 | #include "ubuntumetricsglobal_p.h" | ||
1112 | 22 | #include <QtGui/QOpenGLFunctions> | 21 | #include <QtGui/QOpenGLFunctions> |
1113 | 23 | 22 | ||
1114 | 23 | #include <UbuntuMetrics/private/ubuntumetricsglobal_p.h> | ||
1115 | 24 | |||
1116 | 24 | // BitmapText renders a monospaced bitmap Latin-1 encoded text (128 characters) | 25 | // BitmapText renders a monospaced bitmap Latin-1 encoded text (128 characters) |
1117 | 25 | // stored in a single texture atlas using OpenGL. The font is generated by | 26 | // stored in a single texture atlas using OpenGL. The font is generated by |
1118 | 26 | // bitmap-text-builder and stored in the bitmaptextfont_p.h header. | 27 | // bitmap-text-builder and stored in the bitmaptextfont_p.h header. |
1119 | 27 | 28 | ||
1120 | === modified file 'src/UbuntuMetrics/events.cpp' | |||
1121 | --- src/Ubuntu/UbuntuMetrics/events.cpp 2016-08-18 17:42:55 +0000 | |||
1122 | +++ src/UbuntuMetrics/events.cpp 2016-09-17 11:46:32 +0000 | |||
1123 | @@ -16,12 +16,15 @@ | |||
1124 | 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/>. |
1125 | 17 | 17 | ||
1126 | 18 | #include "events_p.h" | 18 | #include "events_p.h" |
1129 | 19 | #include "ubuntumetricsglobal_p.h" | 19 | |
1128 | 20 | #include <QtCore/QElapsedTimer> | ||
1130 | 21 | #include <string.h> | 20 | #include <string.h> |
1131 | 22 | #include <unistd.h> | 21 | #include <unistd.h> |
1132 | 23 | #include <fcntl.h> | 22 | #include <fcntl.h> |
1134 | 24 | #include <cstdio> | 23 | #include <stdio.h> |
1135 | 24 | |||
1136 | 25 | #include <QtCore/QElapsedTimer> | ||
1137 | 26 | |||
1138 | 27 | #include "ubuntumetricsglobal_p.h" | ||
1139 | 25 | 28 | ||
1140 | 26 | const int bufferSize = 128; | 29 | const int bufferSize = 128; |
1141 | 27 | const int bufferAlignment = 64; | 30 | const int bufferAlignment = 64; |
1142 | 28 | 31 | ||
1143 | === modified file 'src/UbuntuMetrics/events_p.h' | |||
1144 | --- src/Ubuntu/UbuntuMetrics/events_p.h 2016-08-05 15:07:39 +0000 | |||
1145 | +++ src/UbuntuMetrics/events_p.h 2016-09-17 11:46:32 +0000 | |||
1146 | @@ -18,10 +18,13 @@ | |||
1147 | 18 | #ifndef EVENTS_P_H | 18 | #ifndef EVENTS_P_H |
1148 | 19 | #define EVENTS_P_H | 19 | #define EVENTS_P_H |
1149 | 20 | 20 | ||
1152 | 21 | #include "events.h" | 21 | #include <UbuntuMetrics/events.h> |
1153 | 22 | #include "ubuntumetricsglobal_p.h" | 22 | |
1154 | 23 | #include <sys/times.h> | ||
1155 | 24 | |||
1156 | 23 | #include <QtCore/QElapsedTimer> | 25 | #include <QtCore/QElapsedTimer> |
1158 | 24 | #include <sys/times.h> | 26 | |
1159 | 27 | #include <UbuntuMetrics/private/ubuntumetricsglobal_p.h> | ||
1160 | 25 | 28 | ||
1161 | 26 | class UBUNTU_METRICS_PRIVATE_EXPORT EventUtilsPrivate | 29 | class UBUNTU_METRICS_PRIVATE_EXPORT EventUtilsPrivate |
1162 | 27 | { | 30 | { |
1163 | 28 | 31 | ||
1164 | === modified file 'src/UbuntuMetrics/gputimer.cpp' | |||
1165 | --- src/Ubuntu/UbuntuMetrics/gputimer.cpp 2016-07-26 13:41:18 +0000 | |||
1166 | +++ src/UbuntuMetrics/gputimer.cpp 2016-09-17 11:46:32 +0000 | |||
1167 | @@ -16,8 +16,10 @@ | |||
1168 | 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/>. |
1169 | 17 | 17 | ||
1170 | 18 | #include "gputimer_p.h" | 18 | #include "gputimer_p.h" |
1171 | 19 | |||
1172 | 20 | #include <QtCore/QElapsedTimer> | ||
1173 | 21 | |||
1174 | 19 | #include "ubuntumetricsglobal_p.h" | 22 | #include "ubuntumetricsglobal_p.h" |
1175 | 20 | #include <QtCore/QElapsedTimer> | ||
1176 | 21 | 23 | ||
1177 | 22 | #if !defined(QT_OPENGL_ES) && !defined(GL_TIME_ELAPSED) | 24 | #if !defined(QT_OPENGL_ES) && !defined(GL_TIME_ELAPSED) |
1178 | 23 | #define GL_TIME_ELAPSED 0x88BF // For GL_EXT_timer_query. | 25 | #define GL_TIME_ELAPSED 0x88BF // For GL_EXT_timer_query. |
1179 | 24 | 26 | ||
1180 | === modified file 'src/UbuntuMetrics/gputimer_p.h' | |||
1181 | --- src/Ubuntu/UbuntuMetrics/gputimer_p.h 2016-08-05 15:07:39 +0000 | |||
1182 | +++ src/UbuntuMetrics/gputimer_p.h 2016-09-17 11:46:32 +0000 | |||
1183 | @@ -18,13 +18,15 @@ | |||
1184 | 18 | #ifndef GPUTIMER_P_H | 18 | #ifndef GPUTIMER_P_H |
1185 | 19 | #define GPUTIMER_P_H | 19 | #define GPUTIMER_P_H |
1186 | 20 | 20 | ||
1187 | 21 | #include "ubuntumetricsglobal_p.h" | ||
1188 | 22 | #include <QtGui/QOpenGLFunctions> | 21 | #include <QtGui/QOpenGLFunctions> |
1189 | 22 | |||
1190 | 23 | #if defined(QT_OPENGL_ES) | 23 | #if defined(QT_OPENGL_ES) |
1191 | 24 | #include <EGL/egl.h> | 24 | #include <EGL/egl.h> |
1192 | 25 | #include <EGL/eglext.h> | 25 | #include <EGL/eglext.h> |
1193 | 26 | #endif | 26 | #endif |
1194 | 27 | 27 | ||
1195 | 28 | #include <UbuntuMetrics/private/ubuntumetricsglobal_p.h> | ||
1196 | 29 | |||
1197 | 28 | // GPUTimer is used to measure the amount of time taken by the GPU to fully | 30 | // GPUTimer is used to measure the amount of time taken by the GPU to fully |
1198 | 29 | // complete a set of graphics commands. As opposed to a basic timer which would | 31 | // complete a set of graphics commands. As opposed to a basic timer which would |
1199 | 30 | // determine the time taken by the graphics driver to push the graphics commands | 32 | // determine the time taken by the graphics driver to push the graphics commands |
1200 | 31 | 33 | ||
1201 | === modified file 'src/UbuntuMetrics/logger.cpp' | |||
1202 | --- src/Ubuntu/UbuntuMetrics/logger.cpp 2016-08-06 00:54:30 +0000 | |||
1203 | +++ src/UbuntuMetrics/logger.cpp 2016-09-17 11:46:32 +0000 | |||
1204 | @@ -16,13 +16,14 @@ | |||
1205 | 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/>. |
1206 | 17 | 17 | ||
1207 | 18 | #include "logger_p.h" | 18 | #include "logger_p.h" |
1210 | 19 | #include "ubuntumetricsglobal_p.h" | 19 | |
1211 | 20 | #include "events.h" | 20 | #include <dlfcn.h> |
1212 | 21 | |||
1213 | 21 | #include <QtCore/QDir> | 22 | #include <QtCore/QDir> |
1214 | 22 | #include <QtCore/QTime> | 23 | #include <QtCore/QTime> |
1215 | 23 | 24 | ||
1218 | 24 | // LTTng shared object runtime loading. | 25 | #include "events.h" |
1219 | 25 | #include <dlfcn.h> | 26 | #include "ubuntumetricsglobal_p.h" |
1220 | 26 | #define TRACEPOINT_DEFINE | 27 | #define TRACEPOINT_DEFINE |
1221 | 27 | #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE | 28 | #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE |
1222 | 28 | #include "lttng/lttng_p.h" | 29 | #include "lttng/lttng_p.h" |
1223 | 29 | 30 | ||
1224 | === modified file 'src/UbuntuMetrics/logger.h' | |||
1225 | --- src/Ubuntu/UbuntuMetrics/logger.h 2016-08-04 22:54:21 +0000 | |||
1226 | +++ src/UbuntuMetrics/logger.h 2016-09-17 11:46:32 +0000 | |||
1227 | @@ -18,8 +18,9 @@ | |||
1228 | 18 | #ifndef LOGGER_H | 18 | #ifndef LOGGER_H |
1229 | 19 | #define LOGGER_H | 19 | #define LOGGER_H |
1230 | 20 | 20 | ||
1231 | 21 | #include <QtCore/QFile> | ||
1232 | 22 | |||
1233 | 21 | #include <UbuntuMetrics/ubuntumetricsglobal.h> | 23 | #include <UbuntuMetrics/ubuntumetricsglobal.h> |
1234 | 22 | #include <QtCore/QFile> | ||
1235 | 23 | 24 | ||
1236 | 24 | class UMEvent; | 25 | class UMEvent; |
1237 | 25 | class UMFileLoggerPrivate; | 26 | class UMFileLoggerPrivate; |
1238 | 26 | 27 | ||
1239 | === modified file 'src/UbuntuMetrics/logger_p.h' | |||
1240 | --- src/Ubuntu/UbuntuMetrics/logger_p.h 2016-08-05 15:07:39 +0000 | |||
1241 | +++ src/UbuntuMetrics/logger_p.h 2016-09-17 11:46:32 +0000 | |||
1242 | @@ -18,12 +18,14 @@ | |||
1243 | 18 | #ifndef LOGGER_P_H | 18 | #ifndef LOGGER_P_H |
1244 | 19 | #define LOGGER_P_H | 19 | #define LOGGER_P_H |
1245 | 20 | 20 | ||
1249 | 21 | #include "logger.h" | 21 | #include <UbuntuMetrics/logger.h> |
1250 | 22 | #include "ubuntumetricsglobal_p.h" | 22 | |
1248 | 23 | #include "events.h" | ||
1251 | 24 | #include <QtCore/QFile> | 23 | #include <QtCore/QFile> |
1252 | 25 | #include <QtCore/QTextStream> | 24 | #include <QtCore/QTextStream> |
1253 | 26 | 25 | ||
1254 | 26 | #include <UbuntuMetrics/events.h> | ||
1255 | 27 | #include <UbuntuMetrics/private/ubuntumetricsglobal_p.h> | ||
1256 | 28 | |||
1257 | 27 | class UBUNTU_METRICS_PRIVATE_EXPORT UMFileLoggerPrivate | 29 | class UBUNTU_METRICS_PRIVATE_EXPORT UMFileLoggerPrivate |
1258 | 28 | { | 30 | { |
1259 | 29 | public: | 31 | public: |
1260 | 30 | 32 | ||
1261 | === modified file 'src/UbuntuMetrics/overlay.cpp' | |||
1262 | --- src/Ubuntu/UbuntuMetrics/overlay.cpp 2016-07-26 13:41:18 +0000 | |||
1263 | +++ src/UbuntuMetrics/overlay.cpp 2016-09-17 11:46:32 +0000 | |||
1264 | @@ -16,11 +16,14 @@ | |||
1265 | 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/>. |
1266 | 17 | 17 | ||
1267 | 18 | #include "overlay_p.h" | 18 | #include "overlay_p.h" |
1269 | 19 | #include "ubuntumetricsglobal_p.h" | 19 | |
1270 | 20 | #include <unistd.h> | ||
1271 | 21 | #include <fcntl.h> | ||
1272 | 22 | |||
1273 | 20 | #include <QtCore/QSysInfo> | 23 | #include <QtCore/QSysInfo> |
1274 | 21 | #include <QtGui/QGuiApplication> | 24 | #include <QtGui/QGuiApplication> |
1277 | 22 | #include <unistd.h> | 25 | |
1278 | 23 | #include <fcntl.h> | 26 | #include "ubuntumetricsglobal_p.h" |
1279 | 24 | 27 | ||
1280 | 25 | static const QPointF position = QPointF(5.0f, 5.0f); | 28 | static const QPointF position = QPointF(5.0f, 5.0f); |
1281 | 26 | static const float opacity = 0.85f; | 29 | static const float opacity = 0.85f; |
1282 | 27 | 30 | ||
1283 | === modified file 'src/UbuntuMetrics/overlay_p.h' | |||
1284 | --- src/Ubuntu/UbuntuMetrics/overlay_p.h 2016-08-05 15:07:39 +0000 | |||
1285 | +++ src/UbuntuMetrics/overlay_p.h 2016-09-17 11:46:32 +0000 | |||
1286 | @@ -18,11 +18,12 @@ | |||
1287 | 18 | #ifndef OVERLAY_P_H | 18 | #ifndef OVERLAY_P_H |
1288 | 19 | #define OVERLAY_P_H | 19 | #define OVERLAY_P_H |
1289 | 20 | 20 | ||
1290 | 21 | #include "ubuntumetricsglobal_p.h" | ||
1291 | 22 | #include "bitmaptext_p.h" | ||
1292 | 23 | #include "events.h" | ||
1293 | 24 | #include <QtCore/QSize> | 21 | #include <QtCore/QSize> |
1294 | 25 | 22 | ||
1295 | 23 | #include <UbuntuMetrics/events.h> | ||
1296 | 24 | #include <UbuntuMetrics/private/bitmaptext_p.h> | ||
1297 | 25 | #include <UbuntuMetrics/private/ubuntumetricsglobal_p.h> | ||
1298 | 26 | |||
1299 | 26 | #if !defined QT_NO_DEBUG | 27 | #if !defined QT_NO_DEBUG |
1300 | 27 | class QOpenGLContext; | 28 | class QOpenGLContext; |
1301 | 28 | #endif | 29 | #endif |
1302 | 29 | 30 | ||
1303 | === modified file 'src/UbuntuMetrics/ubuntumetricsglobal.h' | |||
1304 | --- src/Ubuntu/UbuntuMetrics/ubuntumetricsglobal.h 2016-07-22 10:47:24 +0000 | |||
1305 | +++ src/UbuntuMetrics/ubuntumetricsglobal.h 2016-09-17 11:46:32 +0000 | |||
1306 | @@ -18,7 +18,7 @@ | |||
1307 | 18 | #ifndef UBUNTUMETRICSGLOBAL_H | 18 | #ifndef UBUNTUMETRICSGLOBAL_H |
1308 | 19 | #define UBUNTUMETRICSGLOBAL_H | 19 | #define UBUNTUMETRICSGLOBAL_H |
1309 | 20 | 20 | ||
1311 | 21 | #include <QtCore/qglobal.h> | 21 | #include <QtCore/QtGlobal> |
1312 | 22 | 22 | ||
1313 | 23 | #if defined(QT_BUILD_UBUNTUMETRICS_LIB) | 23 | #if defined(QT_BUILD_UBUNTUMETRICS_LIB) |
1314 | 24 | #define UBUNTU_METRICS_EXPORT Q_DECL_EXPORT | 24 | #define UBUNTU_METRICS_EXPORT Q_DECL_EXPORT |
1315 | 25 | 25 | ||
1316 | === modified file 'src/UbuntuMetrics/ubuntumetricsglobal_p.h' | |||
1317 | --- src/Ubuntu/UbuntuMetrics/ubuntumetricsglobal_p.h 2016-08-04 16:50:30 +0000 | |||
1318 | +++ src/UbuntuMetrics/ubuntumetricsglobal_p.h 2016-09-17 11:46:32 +0000 | |||
1319 | @@ -18,7 +18,7 @@ | |||
1320 | 18 | #ifndef UBUNTUMETRICSGLOBAL_P_H | 18 | #ifndef UBUNTUMETRICSGLOBAL_P_H |
1321 | 19 | #define UBUNTUMETRICSGLOBAL_P_H | 19 | #define UBUNTUMETRICSGLOBAL_P_H |
1322 | 20 | 20 | ||
1324 | 21 | #include "ubuntumetricsglobal.h" | 21 | #include <UbuntuMetrics/ubuntumetricsglobal.h> |
1325 | 22 | 22 | ||
1326 | 23 | // Logging macros, debug macros are compiled out for release builds. | 23 | // Logging macros, debug macros are compiled out for release builds. |
1327 | 24 | #define LOG(...) qDebug(__VA_ARGS__) | 24 | #define LOG(...) qDebug(__VA_ARGS__) |
1328 | 25 | 25 | ||
1329 | === renamed directory 'src/Ubuntu/UbuntuToolkit' => 'src/UbuntuToolkit' | |||
1330 | === modified file 'src/UbuntuToolkit/UbuntuToolkit.pro' | |||
1331 | --- src/Ubuntu/UbuntuToolkit/UbuntuToolkit.pro 2016-08-26 12:03:35 +0000 | |||
1332 | +++ src/UbuntuToolkit/UbuntuToolkit.pro 2016-09-17 11:46:32 +0000 | |||
1333 | @@ -1,255 +1,231 @@ | |||
1338 | 1 | TEMPLATE=lib | 1 | TARGET = UbuntuToolkit |
1339 | 2 | TARGET=UbuntuToolkit | 2 | QT = core-private gui-private qml-private quick-private testlib dbus svg organizer \ |
1340 | 3 | 3 | UbuntuGestures-private UbuntuMetrics | |
1337 | 4 | QT *= core-private gui-private qml qml-private quick quick-private testlib | ||
1341 | 5 | 4 | ||
1342 | 6 | unix { | 5 | unix { |
1343 | 7 | CONFIG += link_pkgconfig | 6 | CONFIG += link_pkgconfig |
1344 | 8 | PKGCONFIG += gio-2.0 dbus-1 libnih libnih-dbus | 7 | PKGCONFIG += gio-2.0 dbus-1 libnih libnih-dbus |
1345 | 9 | } | 8 | } |
1346 | 10 | QT *= dbus svg UbuntuGestures UbuntuGestures_private UbuntuMetrics | ||
1347 | 11 | |||
1348 | 12 | # QOrganizer for Alarm API | ||
1349 | 13 | QT *= organizer | ||
1350 | 14 | 9 | ||
1351 | 15 | !contains(QT_ARCH, arm) { | 10 | !contains(QT_ARCH, arm) { |
1352 | 16 | DEFINES += UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION | 11 | DEFINES += UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION |
1353 | 17 | LIBS += -lX11 -lxcb -lXi | 12 | LIBS += -lX11 -lxcb -lXi |
1354 | 18 | |||
1355 | 19 | SOURCES += mousetouchadaptor_x11.cpp | 13 | SOURCES += mousetouchadaptor_x11.cpp |
1356 | 20 | } | 14 | } |
1357 | 21 | 15 | ||
1358 | 22 | CONFIG += dll no_keywords c++11 | ||
1359 | 23 | |||
1360 | 24 | INCLUDEPATH+=$$PWD | ||
1361 | 25 | |||
1362 | 26 | DEFINES += UBUNTUTOOLKIT_LIBRARY | 16 | DEFINES += UBUNTUTOOLKIT_LIBRARY |
1505 | 27 | #comment in the following line to disable traces | 17 | |
1506 | 28 | #DEFINES += QT_NO_DEBUG_OUTPUT | 18 | # Uncomment to compile out qDebug() calls. |
1507 | 29 | DEFINES += QT_USE_QSTRINGBUILDER | 19 | # DEFINES += QT_NO_DEBUG_OUTPUT |
1508 | 30 | 20 | ||
1509 | 31 | load(qt_build_config) | 21 | HEADERS += \ |
1510 | 32 | load(ubuntu_qt_module) | 22 | $$PWD/actionlist_p.h \ |
1511 | 33 | 23 | $$PWD/adapters/actionsproxy_p.h \ | |
1512 | 34 | QMAKE_CXXFLAGS -= -Werror=deprecated-declarations | 24 | $$PWD/adapters/alarmsadapter_p.h \ |
1513 | 35 | DEFINES -= QT_DEPRECATED_WARNINGS | 25 | $$PWD/adapters/dbuspropertywatcher_p.h \ |
1514 | 36 | DEFINES -= QT_ASCII_CAST_WARNINGS | 26 | $$PWD/alarmmanager_p.h \ |
1515 | 37 | 27 | $$PWD/alarmmanager_p_p.h \ | |
1516 | 38 | HEADERS += \ | 28 | $$PWD/asyncloader_p.h \ |
1517 | 39 | colorutils_p.h \ | 29 | $$PWD/asyncloader_p_p.h \ |
1518 | 40 | ubuntutoolkitglobal.h \ | 30 | $$PWD/colorutils_p.h \ |
1519 | 41 | tree_p.h \ | 31 | $$PWD/exclusivegroup_p.h \ |
1520 | 42 | asyncloader_p.h \ | 32 | $$PWD/filterbehavior_p.h \ |
1521 | 43 | asyncloader_p_p.h \ | 33 | $$PWD/i18n_p.h \ |
1522 | 44 | mousetouchadaptor_p.h \ | 34 | $$PWD/inversemouseareatype_p.h \ |
1523 | 45 | mousetouchadaptor_p_p.h \ | 35 | $$PWD/label_p.h \ |
1524 | 46 | propertychange_p.h \ | 36 | $$PWD/listener_p.h \ |
1525 | 47 | ubuntutoolkitmodule.h \ | 37 | $$PWD/livetimer_p.h \ |
1526 | 48 | splitview_p.h \ | 38 | $$PWD/livetimer_p_p.h \ |
1527 | 49 | splitview_p_p.h \ | 39 | $$PWD/menu_p.h \ |
1528 | 50 | privates/splitviewhandler_p_p.h \ | 40 | $$PWD/menu_p_p.h \ |
1529 | 51 | menu_p_p.h \ | 41 | $$PWD/menubar_p.h \ |
1530 | 52 | menubar_p_p.h \ | 42 | $$PWD/menubar_p_p.h \ |
1531 | 53 | menu_p.h \ | 43 | $$PWD/menugroup_p.h \ |
1532 | 54 | menubar_p.h \ | 44 | $$PWD/mousetouchadaptor_p.h \ |
1533 | 55 | menugroup_p.h | 45 | $$PWD/mousetouchadaptor_p_p.h \ |
1534 | 56 | 46 | $$PWD/privates/appheaderbase_p.h \ | |
1535 | 57 | SOURCES += \ | 47 | $$PWD/privates/frame_p.h \ |
1536 | 58 | colorutils.cpp \ | 48 | $$PWD/privates/listitemdragarea_p.h \ |
1537 | 59 | tree.cpp \ | 49 | $$PWD/privates/listitemdraghandler_p.h \ |
1538 | 60 | asyncloader.cpp \ | 50 | $$PWD/privates/listitemselection_p.h \ |
1539 | 61 | mousetouchadaptor.cpp \ | 51 | $$PWD/privates/listviewextensions_p.h \ |
1540 | 62 | propertychange.cpp \ | 52 | $$PWD/privates/splitviewhandler_p.h \ |
1541 | 63 | ubuntutoolkitmodule.cpp \ | 53 | $$PWD/privates/threelabelsslot_p.h \ |
1542 | 64 | splitview.cpp \ | 54 | $$PWD/privates/ucpagewrapper_p.h \ |
1543 | 65 | privates/splitviewhandler.cpp \ | 55 | $$PWD/privates/ucpagewrapper_p_p.h \ |
1544 | 66 | splitviewlayout.cpp \ | 56 | $$PWD/privates/ucpagewrapperincubator_p.h \ |
1545 | 67 | menu.cpp \ | 57 | $$PWD/privates/ucscrollbarutils_p.h \ |
1546 | 68 | menubar.cpp \ | 58 | $$PWD/propertychange_p.h \ |
1547 | 69 | menugroup.cpp | 59 | $$PWD/qquickclipboard_p.h \ |
1548 | 70 | 60 | $$PWD/qquickclipboard_p_p.h \ | |
1549 | 71 | HEADERS += \ | 61 | $$PWD/qquickmimedata_p.h \ |
1550 | 72 | uctheme_p.h \ | 62 | $$PWD/quickutils_p.h \ |
1551 | 73 | i18n_p.h \ | 63 | $$PWD/sortbehavior_p.h \ |
1552 | 74 | listener_p.h \ | 64 | $$PWD/sortfiltermodel_p.h \ |
1553 | 75 | ucscalingimageprovider_p.h \ | 65 | $$PWD/splitview_p.h \ |
1554 | 76 | ucunits_p.h \ | 66 | $$PWD/splitview_p_p.h \ |
1555 | 77 | ucqquickimageextension_p.h \ | 67 | $$PWD/statesaverbackend_p.h \ |
1556 | 78 | quickutils_p.h \ | 68 | $$PWD/timeutils_p.h \ |
1557 | 79 | ucubuntushapetextures_p.h \ | 69 | $$PWD/tree_p.h \ |
1558 | 80 | ucubuntushape_p.h \ | 70 | $$PWD/ubuntutoolkitglobal.h \ |
1559 | 81 | ucubuntushapeoverlay_p.h \ | 71 | $$PWD/ubuntutoolkitmodule.h \ |
1560 | 82 | ucproportionalshape_p.h \ | 72 | $$PWD/ucabstractbutton_p.h \ |
1561 | 83 | inversemouseareatype_p.h \ | 73 | $$PWD/ucabstractbutton_p_p.h \ |
1562 | 84 | qquickclipboard_p.h \ | 74 | $$PWD/ucaction_p.h \ |
1563 | 85 | qquickmimedata_p.h \ | 75 | $$PWD/ucactioncontext_p.h \ |
1564 | 86 | qquickclipboard_p_p.h \ | 76 | $$PWD/ucactionitem_p.h \ |
1565 | 87 | ucubuntuanimation_p.h \ | 77 | $$PWD/ucactionitem_p_p.h \ |
1566 | 88 | ucfontutils_p.h \ | 78 | $$PWD/ucactionmanager_p.h \ |
1567 | 89 | ucapplication_p.h \ | 79 | $$PWD/ucalarm_p.h \ |
1568 | 90 | ucarguments_p.h \ | 80 | $$PWD/ucalarm_p_p.h \ |
1569 | 91 | ucargument_p.h \ | 81 | $$PWD/ucalarmmodel_p.h \ |
1570 | 92 | ucalarm_p.h \ | 82 | $$PWD/ucapplication_p.h \ |
1571 | 93 | ucalarm_p_p.h \ | 83 | $$PWD/ucargument_p.h \ |
1572 | 94 | alarmmanager_p_p.h \ | 84 | $$PWD/ucarguments_p.h \ |
1573 | 95 | alarmmanager_p.h \ | 85 | $$PWD/ucbottomedge_p.h \ |
1574 | 96 | ucalarmmodel_p.h \ | 86 | $$PWD/ucbottomedge_p_p.h \ |
1575 | 97 | unitythemeiconprovider_p.h \ | 87 | $$PWD/ucbottomedgehint_p.h \ |
1576 | 98 | adapters/alarmsadapter_p.h \ | 88 | $$PWD/ucbottomedgehint_p_p.h \ |
1577 | 99 | ucstatesaver_p.h \ | 89 | $$PWD/ucbottomedgeregion_p.h \ |
1578 | 100 | sortbehavior_p.h \ | 90 | $$PWD/ucbottomedgeregion_p_p.h \ |
1579 | 101 | filterbehavior_p.h \ | 91 | $$PWD/ucbottomedgestyle_p.h \ |
1580 | 102 | sortfiltermodel_p.h \ | 92 | $$PWD/ucdefaulttheme_p.h \ |
1581 | 103 | statesaverbackend_p.h \ | 93 | $$PWD/ucdeprecatedtheme_p.h \ |
1582 | 104 | ucstatesaver_p_p.h \ | 94 | $$PWD/ucfontutils_p.h \ |
1583 | 105 | ucurihandler_p.h \ | 95 | $$PWD/uchaptics_p.h \ |
1584 | 106 | ucinversemouse_p.h \ | 96 | $$PWD/ucheader_p.h \ |
1585 | 107 | ucmouse_p.h \ | 97 | $$PWD/ucimportversionchecker_p.h \ |
1586 | 108 | unixsignalhandler_p.h \ | 98 | $$PWD/ucinversemouse_p.h \ |
1587 | 109 | ucstyleditembase_p.h \ | 99 | $$PWD/uclabel_p.h \ |
1588 | 110 | ucstyleditembase_p_p.h \ | 100 | $$PWD/uclistitem_p.h \ |
1589 | 111 | ucaction_p.h \ | 101 | $$PWD/uclistitem_p_p.h \ |
1590 | 112 | ucactioncontext_p.h \ | 102 | $$PWD/uclistitemactions_p.h \ |
1591 | 113 | ucactionmanager_p.h \ | 103 | $$PWD/uclistitemactions_p_p.h \ |
1592 | 114 | adapters/actionsproxy_p.h \ | 104 | $$PWD/uclistitemlayout_p.h \ |
1593 | 115 | adapters/dbuspropertywatcher_p.h \ | 105 | $$PWD/uclistitemstyle_p.h \ |
1594 | 116 | uclistitem_p.h \ | 106 | $$PWD/ucmainviewbase_p.h \ |
1595 | 117 | uclistitem_p_p.h \ | 107 | $$PWD/ucmainviewbase_p_p.h \ |
1596 | 118 | uclistitemactions_p.h \ | 108 | $$PWD/ucmargins_p.h \ |
1597 | 119 | uclistitemactions_p_p.h \ | 109 | $$PWD/ucmathutils_p.h \ |
1598 | 120 | uclistitemstyle_p.h \ | 110 | $$PWD/ucmouse_p.h \ |
1599 | 121 | ucserviceproperties_p.h \ | 111 | $$PWD/ucpagetreenode_p.h \ |
1600 | 122 | ucserviceproperties_p_p.h \ | 112 | $$PWD/ucpagetreenode_p_p.h \ |
1601 | 123 | privates/listitemdragarea_p.h \ | 113 | $$PWD/ucperformancemonitor_p.h \ |
1602 | 124 | privates/listitemdraghandler_p.h \ | 114 | $$PWD/ucproportionalshape_p.h \ |
1603 | 125 | privates/listitemselection_p.h \ | 115 | $$PWD/ucqquickimageextension_p.h \ |
1604 | 126 | ucdeprecatedtheme_p.h \ | 116 | $$PWD/ucscalingimageprovider_p.h \ |
1605 | 127 | ucdefaulttheme_p.h \ | 117 | $$PWD/ucserviceproperties_p.h \ |
1606 | 128 | ucstylehints_p.h \ | 118 | $$PWD/ucserviceproperties_p_p.h \ |
1607 | 129 | ucslotslayout_p.h \ | 119 | $$PWD/ucslotslayout_p.h \ |
1608 | 130 | ucslotslayout_p_p.h \ | 120 | $$PWD/ucslotslayout_p_p.h \ |
1609 | 131 | livetimer_p.h \ | 121 | $$PWD/ucstatesaver_p.h \ |
1610 | 132 | livetimer_p_p.h \ | 122 | $$PWD/ucstatesaver_p_p.h \ |
1611 | 133 | timeutils_p.h \ | 123 | $$PWD/ucstyleditembase_p.h \ |
1612 | 134 | ucactionitem_p.h \ | 124 | $$PWD/ucstyleditembase_p_p.h \ |
1613 | 135 | ucactionitem_p_p.h \ | 125 | $$PWD/ucstylehints_p.h \ |
1614 | 136 | uchaptics_p.h \ | 126 | $$PWD/uctheme_p.h \ |
1615 | 137 | ucabstractbutton_p.h \ | 127 | $$PWD/ucthemingextension_p.h \ |
1616 | 138 | ucabstractbutton_p_p.h \ | 128 | $$PWD/ucubuntuanimation_p.h \ |
1617 | 139 | ucmargins_p.h \ | 129 | $$PWD/ucubuntushape_p.h \ |
1618 | 140 | ucthemingextension_p.h \ | 130 | $$PWD/ucubuntushapeoverlay_p.h \ |
1619 | 141 | ucheader_p.h \ | 131 | $$PWD/ucubuntushapetextures_p.h \ |
1620 | 142 | uclabel_p.h \ | 132 | $$PWD/ucunits_p.h \ |
1621 | 143 | uclistitemlayout_p.h \ | 133 | $$PWD/ucurihandler_p.h \ |
1622 | 144 | privates/threelabelsslot_p.h \ | 134 | $$PWD/unitythemeiconprovider_p.h \ |
1623 | 145 | ucimportversionchecker_p.h \ | 135 | $$PWD/unixsignalhandler_p.h |
1482 | 146 | ucbottomedgehint_p.h \ | ||
1483 | 147 | ucbottomedgehint_p_p.h \ | ||
1484 | 148 | ucmathutils_p.h \ | ||
1485 | 149 | ucbottomedge_p.h \ | ||
1486 | 150 | ucbottomedge_p_p.h \ | ||
1487 | 151 | ucbottomedgestyle_p.h \ | ||
1488 | 152 | ucbottomedgeregion_p.h \ | ||
1489 | 153 | ucpagetreenode_p.h \ | ||
1490 | 154 | ucpagetreenode_p_p.h \ | ||
1491 | 155 | ucmainviewbase_p.h \ | ||
1492 | 156 | ucmainviewbase_p_p.h \ | ||
1493 | 157 | ucperformancemonitor_p.h \ | ||
1494 | 158 | privates/listviewextensions_p.h \ | ||
1495 | 159 | privates/frame_p.h \ | ||
1496 | 160 | privates/ucpagewrapper_p.h \ | ||
1497 | 161 | privates/ucpagewrapper_p_p.h \ | ||
1498 | 162 | privates/ucpagewrapperincubator_p.h \ | ||
1499 | 163 | privates/appheaderbase_p.h \ | ||
1500 | 164 | label_p.h \ | ||
1501 | 165 | ucbottomedgeregion_p_p.h \ | ||
1502 | 166 | privates/ucscrollbarutils_p.h \ | ||
1503 | 167 | actionlist_p.h \ | ||
1504 | 168 | exclusivegroup_p.h | ||
1624 | 169 | 136 | ||
1625 | 170 | SOURCES += \ | 137 | SOURCES += \ |
1708 | 171 | uctheme.cpp \ | 138 | $$PWD/actionlist.cpp \ |
1709 | 172 | i18n.cpp \ | 139 | $$PWD/adapters/actionsproxy_p.cpp \ |
1710 | 173 | listener.cpp \ | 140 | $$PWD/adapters/alarmsadapter_organizer.cpp \ |
1711 | 174 | ucscalingimageprovider.cpp \ | 141 | $$PWD/adapters/dbuspropertywatcher_p.cpp \ |
1712 | 175 | ucunits.cpp \ | 142 | $$PWD/alarmmanager_p.cpp \ |
1713 | 176 | ucqquickimageextension.cpp \ | 143 | $$PWD/asyncloader.cpp \ |
1714 | 177 | quickutils.cpp \ | 144 | $$PWD/colorutils.cpp \ |
1715 | 178 | ucubuntushapetextures.cpp \ | 145 | $$PWD/exclusivegroup.cpp \ |
1716 | 179 | ucubuntushape.cpp \ | 146 | $$PWD/filterbehavior.cpp \ |
1717 | 180 | ucubuntushapeoverlay.cpp \ | 147 | $$PWD/i18n.cpp \ |
1718 | 181 | ucproportionalshape.cpp \ | 148 | $$PWD/inversemouseareatype.cpp \ |
1719 | 182 | inversemouseareatype.cpp \ | 149 | $$PWD/listener.cpp \ |
1720 | 183 | qquickclipboard.cpp \ | 150 | $$PWD/livetimer.cpp \ |
1721 | 184 | qquickmimedata.cpp \ | 151 | $$PWD/livetimer_p.cpp \ |
1722 | 185 | ucubuntuanimation.cpp \ | 152 | $$PWD/menu.cpp \ |
1723 | 186 | ucfontutils.cpp \ | 153 | $$PWD/menubar.cpp \ |
1724 | 187 | ucapplication.cpp \ | 154 | $$PWD/menugroup.cpp \ |
1725 | 188 | ucarguments.cpp \ | 155 | $$PWD/mousetouchadaptor.cpp \ |
1726 | 189 | ucargument.cpp \ | 156 | $$PWD/privates/appheaderbase.cpp \ |
1727 | 190 | ucalarm.cpp \ | 157 | $$PWD/privates/frame.cpp \ |
1728 | 191 | alarmmanager_p.cpp \ | 158 | $$PWD/privates/listitemdragarea.cpp \ |
1729 | 192 | ucalarmmodel.cpp \ | 159 | $$PWD/privates/listitemdraghandler.cpp \ |
1730 | 193 | unitythemeiconprovider.cpp \ | 160 | $$PWD/privates/listitemexpansion.cpp \ |
1731 | 194 | ucstatesaver.cpp \ | 161 | $$PWD/privates/listitemselection.cpp \ |
1732 | 195 | sortbehavior.cpp \ | 162 | $$PWD/privates/listviewextensions.cpp \ |
1733 | 196 | filterbehavior.cpp \ | 163 | $$PWD/privates/splitviewhandler.cpp \ |
1734 | 197 | sortfiltermodel.cpp \ | 164 | $$PWD/privates/threelabelsslot_p.cpp \ |
1735 | 198 | statesaverbackend_p.cpp \ | 165 | $$PWD/privates/ucpagewrapper.cpp \ |
1736 | 199 | ucurihandler.cpp \ | 166 | $$PWD/privates/ucpagewrapperincubator.cpp \ |
1737 | 200 | ucmousefilters.cpp \ | 167 | $$PWD/privates/ucscrollbarutils.cpp \ |
1738 | 201 | unixsignalhandler_p.cpp \ | 168 | $$PWD/propertychange.cpp \ |
1739 | 202 | ucstyleditembase.cpp \ | 169 | $$PWD/qquickclipboard.cpp \ |
1740 | 203 | ucaction.cpp \ | 170 | $$PWD/qquickmimedata.cpp \ |
1741 | 204 | ucactioncontext.cpp \ | 171 | $$PWD/quickutils.cpp \ |
1742 | 205 | ucactionmanager.cpp \ | 172 | $$PWD/sortbehavior.cpp \ |
1743 | 206 | adapters/actionsproxy_p.cpp \ | 173 | $$PWD/sortfiltermodel.cpp \ |
1744 | 207 | adapters/dbuspropertywatcher_p.cpp \ | 174 | $$PWD/splitview.cpp \ |
1745 | 208 | uclistitem.cpp \ | 175 | $$PWD/splitviewlayout.cpp \ |
1746 | 209 | uclistitemactions.cpp \ | 176 | $$PWD/statesaverbackend_p.cpp \ |
1747 | 210 | uclistitemstyle.cpp \ | 177 | $$PWD/tree.cpp \ |
1748 | 211 | ucviewitemsattached.cpp \ | 178 | $$PWD/ubuntutoolkitmodule.cpp \ |
1749 | 212 | ucserviceproperties.cpp \ | 179 | $$PWD/ucabstractbutton.cpp \ |
1750 | 213 | privates/listitemdragarea.cpp \ | 180 | $$PWD/ucaction.cpp \ |
1751 | 214 | privates/listitemdraghandler.cpp \ | 181 | $$PWD/ucactioncontext.cpp \ |
1752 | 215 | privates/listitemexpansion.cpp \ | 182 | $$PWD/ucactionitem.cpp \ |
1753 | 216 | privates/listitemselection.cpp \ | 183 | $$PWD/ucactionmanager.cpp \ |
1754 | 217 | ucdeprecatedtheme.cpp \ | 184 | $$PWD/ucalarm.cpp \ |
1755 | 218 | ucdefaulttheme.cpp \ | 185 | $$PWD/ucalarmmodel.cpp \ |
1756 | 219 | ucstylehints.cpp \ | 186 | $$PWD/ucapplication.cpp \ |
1757 | 220 | ucslotslayout.cpp \ | 187 | $$PWD/ucargument.cpp \ |
1758 | 221 | livetimer.cpp \ | 188 | $$PWD/ucarguments.cpp \ |
1759 | 222 | livetimer_p.cpp \ | 189 | $$PWD/ucbottomedge.cpp \ |
1760 | 223 | ucactionitem.cpp \ | 190 | $$PWD/ucbottomedgehint.cpp \ |
1761 | 224 | uchaptics.cpp \ | 191 | $$PWD/ucbottomedgeregion.cpp \ |
1762 | 225 | ucabstractbutton.cpp \ | 192 | $$PWD/ucbottomedgestyle.cpp \ |
1763 | 226 | ucthemingextension.cpp \ | 193 | $$PWD/ucdefaulttheme.cpp \ |
1764 | 227 | ucheader.cpp \ | 194 | $$PWD/ucdeprecatedtheme.cpp \ |
1765 | 228 | uclabel.cpp \ | 195 | $$PWD/ucfontutils.cpp \ |
1766 | 229 | uclistitemlayout.cpp \ | 196 | $$PWD/uchaptics.cpp \ |
1767 | 230 | privates/threelabelsslot_p.cpp \ | 197 | $$PWD/ucheader.cpp \ |
1768 | 231 | ucimportversionchecker_p.cpp \ | 198 | $$PWD/ucimportversionchecker_p.cpp \ |
1769 | 232 | ucbottomedgehint.cpp \ | 199 | $$PWD/uclabel.cpp \ |
1770 | 233 | ucmathutils.cpp \ | 200 | $$PWD/uclistitem.cpp \ |
1771 | 234 | ucbottomedge.cpp \ | 201 | $$PWD/uclistitemactions.cpp \ |
1772 | 235 | ucbottomedgestyle.cpp \ | 202 | $$PWD/uclistitemlayout.cpp \ |
1773 | 236 | ucbottomedgeregion.cpp \ | 203 | $$PWD/uclistitemstyle.cpp \ |
1774 | 237 | ucpagetreenode.cpp \ | 204 | $$PWD/ucmainviewbase.cpp \ |
1775 | 238 | ucmainviewbase.cpp \ | 205 | $$PWD/ucmathutils.cpp \ |
1776 | 239 | ucperformancemonitor.cpp \ | 206 | $$PWD/ucmousefilters.cpp \ |
1777 | 240 | privates/listviewextensions.cpp \ | 207 | $$PWD/ucpagetreenode.cpp \ |
1778 | 241 | privates/frame.cpp \ | 208 | $$PWD/ucperformancemonitor.cpp \ |
1779 | 242 | privates/ucpagewrapper.cpp \ | 209 | $$PWD/ucproportionalshape.cpp \ |
1780 | 243 | privates/ucpagewrapperincubator.cpp \ | 210 | $$PWD/ucqquickimageextension.cpp \ |
1781 | 244 | privates/appheaderbase.cpp \ | 211 | $$PWD/ucscalingimageprovider.cpp \ |
1782 | 245 | privates/ucscrollbarutils.cpp \ | 212 | $$PWD/ucserviceproperties.cpp \ |
1783 | 246 | actionlist.cpp \ | 213 | $$PWD/ucslotslayout.cpp \ |
1784 | 247 | exclusivegroup.cpp | 214 | $$PWD/ucstatesaver.cpp \ |
1785 | 248 | 215 | $$PWD/ucstyleditembase.cpp \ | |
1786 | 249 | # adapters | 216 | $$PWD/ucstylehints.cpp \ |
1787 | 250 | SOURCES += $$PWD/adapters/alarmsadapter_organizer.cpp | 217 | $$PWD/uctheme.cpp \ |
1788 | 251 | 218 | $$PWD/ucthemingextension.cpp \ | |
1789 | 252 | #resources | 219 | $$PWD/ucubuntuanimation.cpp \ |
1790 | 220 | $$PWD/ucubuntushape.cpp \ | ||
1791 | 221 | $$PWD/ucubuntushapeoverlay.cpp \ | ||
1792 | 222 | $$PWD/ucubuntushapetextures.cpp \ | ||
1793 | 223 | $$PWD/ucunits.cpp \ | ||
1794 | 224 | $$PWD/ucurihandler.cpp \ | ||
1795 | 225 | $$PWD/ucviewitemsattached.cpp \ | ||
1796 | 226 | $$PWD/unitythemeiconprovider.cpp \ | ||
1797 | 227 | $$PWD/unixsignalhandler_p.cpp | ||
1798 | 228 | |||
1799 | 253 | RESOURCES += \ | 229 | RESOURCES += \ |
1800 | 254 | $$PWD/resources.qrc | 230 | $$PWD/resources.qrc |
1801 | 255 | 231 | ||
1802 | @@ -262,3 +238,8 @@ | |||
1803 | 262 | $$PWD/shaders/shapeoverlay_no_dfdy.frag \ | 238 | $$PWD/shaders/shapeoverlay_no_dfdy.frag \ |
1804 | 263 | $$PWD/privates/shaders/frame.vert \ | 239 | $$PWD/privates/shaders/frame.vert \ |
1805 | 264 | $$PWD/privates/shaders/frame.frag | 240 | $$PWD/privates/shaders/frame.frag |
1806 | 241 | |||
1807 | 242 | load(ubuntu_qt_module) | ||
1808 | 243 | |||
1809 | 244 | # Remove the ASCII cast warnings added by qt_module. | ||
1810 | 245 | DEFINES -= QT_ASCII_CAST_WARNINGS | ||
1811 | 265 | 246 | ||
1812 | === modified file 'src/UbuntuToolkit/actionlist.cpp' | |||
1813 | --- src/Ubuntu/UbuntuToolkit/actionlist.cpp 2016-09-15 15:10:46 +0000 | |||
1814 | +++ src/UbuntuToolkit/actionlist.cpp 2016-09-17 11:46:32 +0000 | |||
1815 | @@ -15,6 +15,7 @@ | |||
1816 | 15 | */ | 15 | */ |
1817 | 16 | 16 | ||
1818 | 17 | #include "actionlist_p.h" | 17 | #include "actionlist_p.h" |
1819 | 18 | |||
1820 | 18 | #include "ucaction_p.h" | 19 | #include "ucaction_p.h" |
1821 | 19 | 20 | ||
1822 | 20 | UT_NAMESPACE_BEGIN | 21 | UT_NAMESPACE_BEGIN |
1823 | 21 | 22 | ||
1824 | === modified file 'src/UbuntuToolkit/actionlist_p.h' | |||
1825 | --- src/Ubuntu/UbuntuToolkit/actionlist_p.h 2016-09-15 15:10:46 +0000 | |||
1826 | +++ src/UbuntuToolkit/actionlist_p.h 2016-09-17 11:46:32 +0000 | |||
1827 | @@ -14,12 +14,13 @@ | |||
1828 | 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/>. |
1829 | 15 | */ | 15 | */ |
1830 | 16 | 16 | ||
1833 | 17 | #ifndef ACTIONLIST_H | 17 | #ifndef ACTIONLIST_P_H |
1834 | 18 | #define ACTIONLIST_H | 18 | #define ACTIONLIST_P_H |
1835 | 19 | 19 | ||
1837 | 20 | #include <QObject> | 20 | #include <QtCore/QObject> |
1838 | 21 | #include <QtQml/QQmlListProperty> | 21 | #include <QtQml/QQmlListProperty> |
1840 | 22 | #include "ubuntutoolkitglobal.h" | 22 | |
1841 | 23 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
1842 | 23 | 24 | ||
1843 | 24 | UT_NAMESPACE_BEGIN | 25 | UT_NAMESPACE_BEGIN |
1844 | 25 | 26 | ||
1845 | @@ -58,4 +59,4 @@ | |||
1846 | 58 | 59 | ||
1847 | 59 | UT_NAMESPACE_END | 60 | UT_NAMESPACE_END |
1848 | 60 | 61 | ||
1850 | 61 | #endif // ACTIONLIST_H | 62 | #endif // ACTIONLIST_P_H |
1851 | 62 | 63 | ||
1852 | === modified file 'src/UbuntuToolkit/adapters/actionsproxy_p.cpp' | |||
1853 | --- src/Ubuntu/UbuntuToolkit/adapters/actionsproxy_p.cpp 2016-07-07 07:21:48 +0000 | |||
1854 | +++ src/UbuntuToolkit/adapters/actionsproxy_p.cpp 2016-09-17 11:46:32 +0000 | |||
1855 | @@ -14,11 +14,12 @@ | |||
1856 | 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/>. |
1857 | 15 | */ | 15 | */ |
1858 | 16 | 16 | ||
1860 | 17 | #include "actionsproxy_p.h" | 17 | #include "adapters/actionsproxy_p.h" |
1861 | 18 | |||
1862 | 19 | #include <QtCore/QDebug> | ||
1863 | 20 | |||
1864 | 18 | #include "ucactioncontext_p.h" | 21 | #include "ucactioncontext_p.h" |
1865 | 19 | 22 | ||
1866 | 20 | #include <QDebug> | ||
1867 | 21 | |||
1868 | 22 | Q_LOGGING_CATEGORY(ucActionProxy, "ubuntu.components.ActionProxy", QtMsgType::QtWarningMsg) | 23 | Q_LOGGING_CATEGORY(ucActionProxy, "ubuntu.components.ActionProxy", QtMsgType::QtWarningMsg) |
1869 | 23 | 24 | ||
1870 | 24 | #define AP_TRACE(params) qCDebug(ucActionProxy) << params | 25 | #define AP_TRACE(params) qCDebug(ucActionProxy) << params |
1871 | 25 | 26 | ||
1872 | === modified file 'src/UbuntuToolkit/adapters/actionsproxy_p.h' | |||
1873 | --- src/Ubuntu/UbuntuToolkit/adapters/actionsproxy_p.h 2016-07-07 07:21:48 +0000 | |||
1874 | +++ src/UbuntuToolkit/adapters/actionsproxy_p.h 2016-09-17 11:46:32 +0000 | |||
1875 | @@ -20,7 +20,8 @@ | |||
1876 | 20 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
1877 | 21 | #include <QtCore/QSet> | 21 | #include <QtCore/QSet> |
1878 | 22 | #include <QtCore/QPointer> | 22 | #include <QtCore/QPointer> |
1880 | 23 | #include "ucaction_p.h" | 23 | |
1881 | 24 | #include <UbuntuToolkit/private/ucaction_p.h> | ||
1882 | 24 | 25 | ||
1883 | 25 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
1884 | 26 | 27 | ||
1885 | 27 | 28 | ||
1886 | === modified file 'src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp' | |||
1887 | --- src/Ubuntu/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp 2016-07-07 07:21:48 +0000 | |||
1888 | +++ src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp 2016-09-17 11:46:32 +0000 | |||
1889 | @@ -16,11 +16,7 @@ | |||
1890 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
1891 | 17 | */ | 17 | */ |
1892 | 18 | 18 | ||
1898 | 19 | #include "ucalarm_p.h" | 19 | #include "adapters/alarmsadapter_p.h" |
1894 | 20 | #include "ucalarm_p_p.h" | ||
1895 | 21 | #include "alarmmanager_p_p.h" | ||
1896 | 22 | #include "alarmsadapter_p.h" | ||
1897 | 23 | #include <qorganizertodooccurrence.h> | ||
1899 | 24 | 20 | ||
1900 | 25 | #include <QtCore/QFile> | 21 | #include <QtCore/QFile> |
1901 | 26 | #include <QtCore/QDir> | 22 | #include <QtCore/QDir> |
1902 | @@ -30,6 +26,10 @@ | |||
1903 | 30 | #include <QtCore/QJsonObject> | 26 | #include <QtCore/QJsonObject> |
1904 | 31 | #include <QtCore/QJsonArray> | 27 | #include <QtCore/QJsonArray> |
1905 | 32 | #include <QtCore/QDebug> | 28 | #include <QtCore/QDebug> |
1906 | 29 | #include <QtOrganizer/QtOrganizer> | ||
1907 | 30 | |||
1908 | 31 | #include "alarmmanager_p_p.h" | ||
1909 | 32 | #include "ucalarm_p_p.h" | ||
1910 | 33 | 33 | ||
1911 | 34 | #define ALARM_DATABASE "%1/alarms.json" | 34 | #define ALARM_DATABASE "%1/alarms.json" |
1912 | 35 | /* | 35 | /* |
1913 | 36 | 36 | ||
1914 | === modified file 'src/UbuntuToolkit/adapters/alarmsadapter_p.h' | |||
1915 | --- src/Ubuntu/UbuntuToolkit/adapters/alarmsadapter_p.h 2016-07-07 15:33:34 +0000 | |||
1916 | +++ src/UbuntuToolkit/adapters/alarmsadapter_p.h 2016-09-17 11:46:32 +0000 | |||
1917 | @@ -19,13 +19,14 @@ | |||
1918 | 19 | #ifndef ALARMSADAPTER_P_H | 19 | #ifndef ALARMSADAPTER_P_H |
1919 | 20 | #define ALARMSADAPTER_P_H | 20 | #define ALARMSADAPTER_P_H |
1920 | 21 | 21 | ||
1923 | 22 | #include "private/ucalarm_p_p.h" | 22 | #include <QtOrganizer/QOrganizerManager> |
1924 | 23 | #include "private/alarmmanager_p_p.h" | 23 | #include <QtOrganizer/QOrganizerAbstractRequest> |
1925 | 24 | #include <QtOrganizer/QOrganizerItemFetchRequest> | ||
1926 | 25 | #include <QtOrganizer/QOrganizerTodo> | ||
1927 | 24 | 26 | ||
1932 | 25 | #include <qorganizer.h> | 27 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
1933 | 26 | #include <qorganizermanager.h> | 28 | #include <UbuntuToolkit/private/ucalarm_p_p.h> |
1934 | 27 | #include <qorganizertodo.h> | 29 | #include <UbuntuToolkit/private/alarmmanager_p_p.h> |
1931 | 28 | #include <ubuntutoolkitglobal.h> | ||
1935 | 29 | 30 | ||
1936 | 30 | QTORGANIZER_USE_NAMESPACE | 31 | QTORGANIZER_USE_NAMESPACE |
1937 | 31 | 32 | ||
1938 | 32 | 33 | ||
1939 | === modified file 'src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp' | |||
1940 | --- src/Ubuntu/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp 2016-07-07 07:21:48 +0000 | |||
1941 | +++ src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp 2016-09-17 11:46:32 +0000 | |||
1942 | @@ -14,12 +14,15 @@ | |||
1943 | 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/>. |
1944 | 15 | */ | 15 | */ |
1945 | 16 | 16 | ||
1947 | 17 | #include "dbuspropertywatcher_p.h" | 17 | #include "adapters/dbuspropertywatcher_p.h" |
1948 | 18 | |||
1949 | 19 | #include <sys/types.h> | ||
1950 | 20 | #include <unistd.h> | ||
1951 | 21 | |||
1952 | 18 | #include <QtDBus/QDBusReply> | 22 | #include <QtDBus/QDBusReply> |
1955 | 19 | #include <unistd.h> | 23 | #include <QtQml/QQmlInfo> |
1956 | 20 | #include <sys/types.h> | 24 | |
1957 | 21 | #include "i18n_p.h" | 25 | #include "i18n_p.h" |
1958 | 22 | #include <QtQml/QQmlInfo> | ||
1959 | 23 | 26 | ||
1960 | 24 | #define DYNAMIC_PROPERTY "__q_property" | 27 | #define DYNAMIC_PROPERTY "__q_property" |
1961 | 25 | 28 | ||
1962 | 26 | 29 | ||
1963 | === modified file 'src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h' | |||
1964 | --- src/Ubuntu/UbuntuToolkit/adapters/dbuspropertywatcher_p.h 2016-07-07 07:21:48 +0000 | |||
1965 | +++ src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h 2016-09-17 11:46:32 +0000 | |||
1966 | @@ -22,7 +22,7 @@ | |||
1967 | 22 | #include <QtDBus/QDBusServiceWatcher> | 22 | #include <QtDBus/QDBusServiceWatcher> |
1968 | 23 | #include <QtDBus/QDBusInterface> | 23 | #include <QtDBus/QDBusInterface> |
1969 | 24 | 24 | ||
1971 | 25 | #include "ucserviceproperties_p_p.h" | 25 | #include <UbuntuToolkit/private/ucserviceproperties_p_p.h> |
1972 | 26 | 26 | ||
1973 | 27 | class QDBusPendingCallWatcher; | 27 | class QDBusPendingCallWatcher; |
1974 | 28 | 28 | ||
1975 | 29 | 29 | ||
1976 | === modified file 'src/UbuntuToolkit/alarmmanager_p.cpp' | |||
1977 | --- src/Ubuntu/UbuntuToolkit/alarmmanager_p.cpp 2016-07-07 07:21:48 +0000 | |||
1978 | +++ src/UbuntuToolkit/alarmmanager_p.cpp 2016-09-17 11:46:32 +0000 | |||
1979 | @@ -17,6 +17,7 @@ | |||
1980 | 17 | */ | 17 | */ |
1981 | 18 | 18 | ||
1982 | 19 | #include "alarmmanager_p_p.h" | 19 | #include "alarmmanager_p_p.h" |
1983 | 20 | |||
1984 | 20 | #include "ucalarm_p_p.h" | 21 | #include "ucalarm_p_p.h" |
1985 | 21 | 22 | ||
1986 | 22 | UT_NAMESPACE_BEGIN | 23 | UT_NAMESPACE_BEGIN |
1987 | 23 | 24 | ||
1988 | === modified file 'src/UbuntuToolkit/alarmmanager_p.h' | |||
1989 | --- src/Ubuntu/UbuntuToolkit/alarmmanager_p.h 2016-07-07 07:21:48 +0000 | |||
1990 | +++ src/UbuntuToolkit/alarmmanager_p.h 2016-09-17 11:46:32 +0000 | |||
1991 | @@ -16,14 +16,14 @@ | |||
1992 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
1993 | 17 | */ | 17 | */ |
1994 | 18 | 18 | ||
1997 | 19 | #ifndef ALARMMANAGER_H | 19 | #ifndef ALARMMANAGER_P_H |
1998 | 20 | #define ALARMMANAGER_H | 20 | #define ALARMMANAGER_P_H |
1999 | 21 | 21 | ||
2000 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
2001 | 23 | #include <QtCore/QSet> | ||
2002 | 23 | #include <QtQml/QQmlListProperty> | 24 | #include <QtQml/QQmlListProperty> |
2003 | 24 | #include <QtCore/QSet> | ||
2004 | 25 | 25 | ||
2006 | 26 | #include "ucalarm_p.h" | 26 | #include <UbuntuToolkit/private/ucalarm_p.h> |
2007 | 27 | 27 | ||
2008 | 28 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
2009 | 29 | 29 | ||
2010 | @@ -126,4 +126,4 @@ | |||
2011 | 126 | 126 | ||
2012 | 127 | UT_NAMESPACE_END | 127 | UT_NAMESPACE_END |
2013 | 128 | 128 | ||
2015 | 129 | #endif // ALARMMANAGER_H | 129 | #endif // ALARMMANAGER_P_H |
2016 | 130 | 130 | ||
2017 | === modified file 'src/UbuntuToolkit/alarmmanager_p_p.h' | |||
2018 | --- src/Ubuntu/UbuntuToolkit/alarmmanager_p_p.h 2016-07-07 07:21:48 +0000 | |||
2019 | +++ src/UbuntuToolkit/alarmmanager_p_p.h 2016-09-17 11:46:32 +0000 | |||
2020 | @@ -16,13 +16,15 @@ | |||
2021 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
2022 | 17 | */ | 17 | */ |
2023 | 18 | 18 | ||
2029 | 19 | #ifndef ALARMMANAGER_P_H | 19 | #ifndef ALARMMANAGER_P_P_H |
2030 | 20 | #define ALARMMANAGER_P_H | 20 | #define ALARMMANAGER_P_P_H |
2031 | 21 | 21 | ||
2032 | 22 | #include "ucalarm_p.h" | 22 | #include <UbuntuToolkit/private/alarmmanager_p.h> |
2033 | 23 | #include "alarmmanager_p.h" | 23 | |
2034 | 24 | #include <QtCore/QUrl> | 24 | #include <QtCore/QUrl> |
2035 | 25 | 25 | ||
2036 | 26 | #include <UbuntuToolkit/private/ucalarm_p.h> | ||
2037 | 27 | |||
2038 | 26 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
2039 | 27 | 29 | ||
2040 | 28 | class UBUNTUTOOLKIT_EXPORT AlarmManagerPrivate | 30 | class UBUNTUTOOLKIT_EXPORT AlarmManagerPrivate |
2041 | @@ -61,4 +63,4 @@ | |||
2042 | 61 | 63 | ||
2043 | 62 | UT_NAMESPACE_END | 64 | UT_NAMESPACE_END |
2044 | 63 | 65 | ||
2046 | 64 | #endif // ALARMMANAGER_P_H | 66 | #endif // ALARMMANAGER_P_P_H |
2047 | 65 | 67 | ||
2048 | === modified file 'src/UbuntuToolkit/asyncloader_p.h' | |||
2049 | --- src/Ubuntu/UbuntuToolkit/asyncloader_p.h 2016-07-07 07:21:48 +0000 | |||
2050 | +++ src/UbuntuToolkit/asyncloader_p.h 2016-09-17 11:46:32 +0000 | |||
2051 | @@ -16,11 +16,12 @@ | |||
2052 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
2053 | 17 | */ | 17 | */ |
2054 | 18 | 18 | ||
2057 | 19 | #ifndef ASYNCLOADER_H | 19 | #ifndef ASYNCLOADER_P_H |
2058 | 20 | #define ASYNCLOADER_H | 20 | #define ASYNCLOADER_P_H |
2059 | 21 | 21 | ||
2060 | 22 | #include <QtQml/QQmlComponent> | 22 | #include <QtQml/QQmlComponent> |
2062 | 23 | #include <ubuntutoolkitglobal.h> | 23 | |
2063 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2064 | 24 | 25 | ||
2065 | 25 | class QQuickItem; | 26 | class QQuickItem; |
2066 | 26 | class QQmlContext; | 27 | class QQmlContext; |
2067 | @@ -60,4 +61,4 @@ | |||
2068 | 60 | 61 | ||
2069 | 61 | UT_NAMESPACE_END | 62 | UT_NAMESPACE_END |
2070 | 62 | 63 | ||
2072 | 63 | #endif // ASYNCLOADER_H | 64 | #endif // ASYNCLOADER_P_H |
2073 | 64 | 65 | ||
2074 | === modified file 'src/UbuntuToolkit/asyncloader_p_p.h' | |||
2075 | --- src/Ubuntu/UbuntuToolkit/asyncloader_p_p.h 2016-07-07 15:33:34 +0000 | |||
2076 | +++ src/UbuntuToolkit/asyncloader_p_p.h 2016-09-17 11:46:32 +0000 | |||
2077 | @@ -16,14 +16,15 @@ | |||
2078 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
2079 | 17 | */ | 17 | */ |
2080 | 18 | 18 | ||
2083 | 19 | #ifndef ASYNCLOADER_P_H | 19 | #ifndef ASYNCLOADER_P_P_H |
2084 | 20 | #define ASYNCLOADER_P_H | 20 | #define ASYNCLOADER_P_P_H |
2085 | 21 | |||
2086 | 22 | #include <UbuntuToolkit/private/asyncloader_p.h> | ||
2087 | 21 | 23 | ||
2088 | 22 | #include <QtCore/private/qobject_p.h> | 24 | #include <QtCore/private/qobject_p.h> |
2089 | 23 | #include <QtQml/QQmlIncubator> | 25 | #include <QtQml/QQmlIncubator> |
2093 | 24 | #include <ubuntutoolkitglobal.h> | 26 | |
2094 | 25 | #include <UbuntuToolkit/private/asyncloader_p.h> | 27 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
2092 | 26 | #include <UbuntuToolkit/private/asyncloader_p_p.h> | ||
2095 | 27 | 28 | ||
2096 | 28 | UT_NAMESPACE_BEGIN | 29 | UT_NAMESPACE_BEGIN |
2097 | 29 | 30 | ||
2098 | @@ -52,4 +53,4 @@ | |||
2099 | 52 | 53 | ||
2100 | 53 | UT_NAMESPACE_END | 54 | UT_NAMESPACE_END |
2101 | 54 | 55 | ||
2103 | 55 | #endif // ASYNCLOADER_P_H | 56 | #endif // ASYNCLOADER_P_P_H |
2104 | 56 | 57 | ||
2105 | === modified file 'src/UbuntuToolkit/colorutils.cpp' | |||
2106 | --- src/Ubuntu/UbuntuToolkit/colorutils.cpp 2016-07-07 07:21:48 +0000 | |||
2107 | +++ src/UbuntuToolkit/colorutils.cpp 2016-09-17 11:46:32 +0000 | |||
2108 | @@ -15,7 +15,8 @@ | |||
2109 | 15 | */ | 15 | */ |
2110 | 16 | 16 | ||
2111 | 17 | #include "colorutils_p.h" | 17 | #include "colorutils_p.h" |
2113 | 18 | #include <QColor> | 18 | |
2114 | 19 | #include <QtGui/QColor> | ||
2115 | 19 | 20 | ||
2116 | 20 | UT_NAMESPACE_BEGIN | 21 | UT_NAMESPACE_BEGIN |
2117 | 21 | 22 | ||
2118 | 22 | 23 | ||
2119 | === modified file 'src/UbuntuToolkit/colorutils_p.h' | |||
2120 | --- src/Ubuntu/UbuntuToolkit/colorutils_p.h 2016-07-07 07:21:48 +0000 | |||
2121 | +++ src/UbuntuToolkit/colorutils_p.h 2016-09-17 11:46:32 +0000 | |||
2122 | @@ -13,11 +13,13 @@ | |||
2123 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2124 | 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/>. |
2125 | 15 | */ | 15 | */ |
2131 | 16 | #ifndef COLORUTILS_H | 16 | |
2132 | 17 | #define COLORUTILS_H | 17 | #ifndef COLORUTILS_P_H |
2133 | 18 | 18 | #define COLORUTILS_P_H | |
2134 | 19 | #include <QObject> | 19 | |
2135 | 20 | #include "ubuntutoolkitglobal.h" | 20 | #include <QtCore/QObject> |
2136 | 21 | |||
2137 | 22 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2138 | 21 | 23 | ||
2139 | 22 | UT_NAMESPACE_BEGIN | 24 | UT_NAMESPACE_BEGIN |
2140 | 23 | 25 | ||
2141 | @@ -31,4 +33,4 @@ | |||
2142 | 31 | 33 | ||
2143 | 32 | UT_NAMESPACE_END | 34 | UT_NAMESPACE_END |
2144 | 33 | 35 | ||
2146 | 34 | #endif // COLORUTILS_H | 36 | #endif // COLORUTILS_P_H |
2147 | 35 | 37 | ||
2148 | === modified file 'src/UbuntuToolkit/exclusivegroup.cpp' | |||
2149 | --- src/Ubuntu/UbuntuToolkit/exclusivegroup.cpp 2016-07-18 14:54:46 +0000 | |||
2150 | +++ src/UbuntuToolkit/exclusivegroup.cpp 2016-09-17 11:46:32 +0000 | |||
2151 | @@ -12,14 +12,14 @@ | |||
2152 | 12 | * | 12 | * |
2153 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2154 | 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/>. |
2155 | 15 | * | ||
2156 | 16 | */ | 15 | */ |
2157 | 17 | 16 | ||
2158 | 18 | #include "exclusivegroup_p.h" | 17 | #include "exclusivegroup_p.h" |
2159 | 18 | |||
2160 | 19 | #include <QtCore/QSignalMapper> | ||
2161 | 20 | |||
2162 | 19 | #include "ucaction_p.h" | 21 | #include "ucaction_p.h" |
2163 | 20 | 22 | ||
2164 | 21 | #include <QSignalMapper> | ||
2165 | 22 | |||
2166 | 23 | #define CHECKED_PROPERTY "checked" | 23 | #define CHECKED_PROPERTY "checked" |
2167 | 24 | 24 | ||
2168 | 25 | UT_NAMESPACE_BEGIN | 25 | UT_NAMESPACE_BEGIN |
2169 | 26 | 26 | ||
2170 | === modified file 'src/UbuntuToolkit/exclusivegroup_p.h' | |||
2171 | --- src/Ubuntu/UbuntuToolkit/exclusivegroup_p.h 2016-08-22 08:23:50 +0000 | |||
2172 | +++ src/UbuntuToolkit/exclusivegroup_p.h 2016-09-17 11:46:32 +0000 | |||
2173 | @@ -12,17 +12,16 @@ | |||
2174 | 12 | * | 12 | * |
2175 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2176 | 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/>. |
2177 | 15 | * | ||
2178 | 16 | */ | 15 | */ |
2179 | 17 | 16 | ||
2188 | 18 | #ifndef EXCLUSIVEGROUP_H | 17 | #ifndef EXCLUSIVEGROUP_P_H |
2189 | 19 | #define EXCLUSIVEGROUP_H | 18 | #define EXCLUSIVEGROUP_P_H |
2190 | 20 | 19 | ||
2191 | 21 | #include "actionlist_p.h" | 20 | #include <QtCore/QMetaMethod> |
2192 | 22 | #include "ubuntutoolkitglobal.h" | 21 | #include <QtCore/QPointer> |
2193 | 23 | 22 | ||
2194 | 24 | #include <QMetaMethod> | 23 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
2195 | 25 | #include <QPointer> | 24 | #include <UbuntuToolkit/private/actionlist_p.h> |
2196 | 26 | 25 | ||
2197 | 27 | class QSignalMapper; | 26 | class QSignalMapper; |
2198 | 28 | 27 | ||
2199 | @@ -59,4 +58,4 @@ | |||
2200 | 59 | 58 | ||
2201 | 60 | UT_NAMESPACE_END | 59 | UT_NAMESPACE_END |
2202 | 61 | 60 | ||
2204 | 62 | #endif // EXCLUSIVEGROUP_H | 61 | #endif // EXCLUSIVEGROUP_P_H |
2205 | 63 | 62 | ||
2206 | === modified file 'src/UbuntuToolkit/filterbehavior_p.h' | |||
2207 | --- src/Ubuntu/UbuntuToolkit/filterbehavior_p.h 2016-07-07 07:21:48 +0000 | |||
2208 | +++ src/UbuntuToolkit/filterbehavior_p.h 2016-09-17 11:46:32 +0000 | |||
2209 | @@ -17,11 +17,12 @@ | |||
2210 | 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/>. |
2211 | 18 | */ | 18 | */ |
2212 | 19 | 19 | ||
2218 | 20 | #ifndef FILTERBEHAVIOR_H | 20 | #ifndef FILTERBEHAVIOR_P_H |
2219 | 21 | #define FILTERBEHAVIOR_H | 21 | #define FILTERBEHAVIOR_P_H |
2220 | 22 | 22 | ||
2221 | 23 | #include <QSortFilterProxyModel> | 23 | #include <QtCore/QSortFilterProxyModel> |
2222 | 24 | #include <ubuntutoolkitglobal.h> | 24 | |
2223 | 25 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2224 | 25 | 26 | ||
2225 | 26 | UT_NAMESPACE_BEGIN | 27 | UT_NAMESPACE_BEGIN |
2226 | 27 | 28 | ||
2227 | @@ -50,4 +51,4 @@ | |||
2228 | 50 | 51 | ||
2229 | 51 | UT_NAMESPACE_END | 52 | UT_NAMESPACE_END |
2230 | 52 | 53 | ||
2232 | 53 | #endif // FILTERBEHAVIOR_H | 54 | #endif // FILTERBEHAVIOR_P_H |
2233 | 54 | 55 | ||
2234 | === modified file 'src/UbuntuToolkit/i18n.cpp' | |||
2235 | --- src/Ubuntu/UbuntuToolkit/i18n.cpp 2016-07-07 07:21:48 +0000 | |||
2236 | +++ src/UbuntuToolkit/i18n.cpp 2016-09-17 11:46:32 +0000 | |||
2237 | @@ -17,18 +17,19 @@ | |||
2238 | 17 | */ | 17 | */ |
2239 | 18 | 18 | ||
2240 | 19 | #include "i18n_p.h" | 19 | #include "i18n_p.h" |
2241 | 20 | #include "timeutils_p.h" | ||
2242 | 21 | #include <QtCore/QDir> | ||
2243 | 22 | 20 | ||
2244 | 23 | namespace C { | 21 | namespace C { |
2245 | 24 | #include <libintl.h> | 22 | #include <libintl.h> |
2246 | 25 | #include <glib.h> | 23 | #include <glib.h> |
2247 | 26 | #include <glib/gi18n.h> | 24 | #include <glib/gi18n.h> |
2248 | 27 | } | 25 | } |
2249 | 28 | |||
2250 | 29 | #include <stdlib.h> | 26 | #include <stdlib.h> |
2251 | 30 | #include <locale.h> | 27 | #include <locale.h> |
2252 | 31 | 28 | ||
2253 | 29 | #include <QtCore/QDir> | ||
2254 | 30 | |||
2255 | 31 | #include "timeutils_p.h" | ||
2256 | 32 | |||
2257 | 32 | UT_NAMESPACE_BEGIN | 33 | UT_NAMESPACE_BEGIN |
2258 | 33 | /*! | 34 | /*! |
2259 | 34 | * \qmltype i18n | 35 | * \qmltype i18n |
2260 | 35 | 36 | ||
2261 | === modified file 'src/UbuntuToolkit/i18n_p.h' | |||
2262 | --- src/Ubuntu/UbuntuToolkit/i18n_p.h 2016-07-07 07:21:48 +0000 | |||
2263 | +++ src/UbuntuToolkit/i18n_p.h 2016-09-17 11:46:32 +0000 | |||
2264 | @@ -16,11 +16,12 @@ | |||
2265 | 16 | * Author: Tim Peeters <tim.peeters@canonical.com> | 16 | * Author: Tim Peeters <tim.peeters@canonical.com> |
2266 | 17 | */ | 17 | */ |
2267 | 18 | 18 | ||
2270 | 19 | #ifndef UBUNTU_COMPONENTS_I18N_H | 19 | #ifndef I18N_P_H |
2271 | 20 | #define UBUNTU_COMPONENTS_I18N_H | 20 | #define I18N_P_H |
2272 | 21 | 21 | ||
2273 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
2275 | 23 | #include <ubuntutoolkitglobal.h> | 23 | |
2276 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2277 | 24 | 25 | ||
2278 | 25 | class QQmlContext; | 26 | class QQmlContext; |
2279 | 26 | class QQmlEngine; | 27 | class QQmlEngine; |
2280 | @@ -80,4 +81,4 @@ | |||
2281 | 80 | 81 | ||
2282 | 81 | UT_NAMESPACE_END | 82 | UT_NAMESPACE_END |
2283 | 82 | 83 | ||
2285 | 83 | #endif // UBUNTU_COMPONENTS_I18N_H | 84 | #endif // I18N_P_H |
2286 | 84 | 85 | ||
2287 | === modified file 'src/UbuntuToolkit/inversemouseareatype.cpp' | |||
2288 | --- src/Ubuntu/UbuntuToolkit/inversemouseareatype.cpp 2016-07-07 07:21:48 +0000 | |||
2289 | +++ src/UbuntuToolkit/inversemouseareatype.cpp 2016-09-17 11:46:32 +0000 | |||
2290 | @@ -15,7 +15,9 @@ | |||
2291 | 15 | */ | 15 | */ |
2292 | 16 | 16 | ||
2293 | 17 | #include "inversemouseareatype_p.h" | 17 | #include "inversemouseareatype_p.h" |
2294 | 18 | |||
2295 | 18 | #include <QtGui/QGuiApplication> | 19 | #include <QtGui/QGuiApplication> |
2296 | 20 | |||
2297 | 19 | #include "quickutils_p.h" | 21 | #include "quickutils_p.h" |
2298 | 20 | 22 | ||
2299 | 21 | UT_NAMESPACE_BEGIN | 23 | UT_NAMESPACE_BEGIN |
2300 | 22 | 24 | ||
2301 | === modified file 'src/UbuntuToolkit/inversemouseareatype_p.h' | |||
2302 | --- src/Ubuntu/UbuntuToolkit/inversemouseareatype_p.h 2016-07-07 07:21:48 +0000 | |||
2303 | +++ src/UbuntuToolkit/inversemouseareatype_p.h 2016-09-17 11:46:32 +0000 | |||
2304 | @@ -13,12 +13,14 @@ | |||
2305 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2306 | 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/>. |
2307 | 15 | */ | 15 | */ |
2312 | 16 | #ifndef INVERSEMOUSEAREATYPE_H | 16 | |
2313 | 17 | #define INVERSEMOUSEAREATYPE_H | 17 | #ifndef INVERSEMOUSEAREATYPE_P_H |
2314 | 18 | 18 | #define INVERSEMOUSEAREATYPE_P_H | |
2315 | 19 | #include <private/qquickmousearea_p.h> | 19 | |
2316 | 20 | #include <QtCore/QPointer> | 20 | #include <QtCore/QPointer> |
2318 | 21 | #include <ubuntutoolkitglobal.h> | 21 | #include <QtQuick/private/qquickmousearea_p.h> |
2319 | 22 | |||
2320 | 23 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2321 | 22 | 24 | ||
2322 | 23 | class QQuickItem; | 25 | class QQuickItem; |
2323 | 24 | 26 | ||
2324 | @@ -73,4 +75,4 @@ | |||
2325 | 73 | 75 | ||
2326 | 74 | UT_NAMESPACE_END | 76 | UT_NAMESPACE_END |
2327 | 75 | 77 | ||
2329 | 76 | #endif // INVERSEMOUSEAREATYPE_H | 78 | #endif // INVERSEMOUSEAREATYPE_P_H |
2330 | 77 | 79 | ||
2331 | === modified file 'src/UbuntuToolkit/label_p.h' | |||
2332 | --- src/Ubuntu/UbuntuToolkit/label_p.h 2016-07-07 07:21:48 +0000 | |||
2333 | +++ src/UbuntuToolkit/label_p.h 2016-09-17 11:46:32 +0000 | |||
2334 | @@ -14,8 +14,8 @@ | |||
2335 | 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/>. |
2336 | 15 | */ | 15 | */ |
2337 | 16 | 16 | ||
2340 | 17 | #ifndef LABEL_P | 17 | #ifndef LABEL_P_H |
2341 | 18 | #define LABEL_P | 18 | #define LABEL_P_H |
2342 | 19 | 19 | ||
2343 | 20 | #include "uclabel_p.h" | 20 | #include "uclabel_p.h" |
2344 | 21 | 21 | ||
2345 | @@ -59,4 +59,4 @@ | |||
2346 | 59 | 59 | ||
2347 | 60 | UT_NAMESPACE_END | 60 | UT_NAMESPACE_END |
2348 | 61 | 61 | ||
2350 | 62 | #endif // LABEL_P | 62 | #endif // LABEL_P_H |
2351 | 63 | 63 | ||
2352 | === modified file 'src/UbuntuToolkit/listener.cpp' | |||
2353 | --- src/Ubuntu/UbuntuToolkit/listener.cpp 2016-07-07 07:21:48 +0000 | |||
2354 | +++ src/UbuntuToolkit/listener.cpp 2016-09-17 11:46:32 +0000 | |||
2355 | @@ -16,7 +16,7 @@ | |||
2356 | 16 | 16 | ||
2357 | 17 | #include "listener_p.h" | 17 | #include "listener_p.h" |
2358 | 18 | 18 | ||
2360 | 19 | #include <QQmlContext> | 19 | #include <QtQml/QQmlContext> |
2361 | 20 | 20 | ||
2362 | 21 | UT_NAMESPACE_BEGIN | 21 | UT_NAMESPACE_BEGIN |
2363 | 22 | 22 | ||
2364 | 23 | 23 | ||
2365 | === modified file 'src/UbuntuToolkit/listener_p.h' | |||
2366 | --- src/Ubuntu/UbuntuToolkit/listener_p.h 2016-07-07 07:21:48 +0000 | |||
2367 | +++ src/UbuntuToolkit/listener_p.h 2016-09-17 11:46:32 +0000 | |||
2368 | @@ -14,11 +14,12 @@ | |||
2369 | 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/>. |
2370 | 15 | */ | 15 | */ |
2371 | 16 | 16 | ||
2374 | 17 | #ifndef UBUNTU_COMPONENTS_LISTENER_H | 17 | #ifndef LISTENER_P_H |
2375 | 18 | #define UBUNTU_COMPONENTS_LISTENER_H | 18 | #define LISTENER_P_H |
2376 | 19 | 19 | ||
2377 | 20 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
2379 | 21 | #include <ubuntutoolkitglobal.h> | 21 | |
2380 | 22 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2381 | 22 | 23 | ||
2382 | 23 | class QQmlContext; | 24 | class QQmlContext; |
2383 | 24 | 25 | ||
2384 | @@ -36,4 +37,4 @@ | |||
2385 | 36 | 37 | ||
2386 | 37 | UT_NAMESPACE_END | 38 | UT_NAMESPACE_END |
2387 | 38 | 39 | ||
2389 | 39 | #endif // UBUNTU_COMPONENTS_PLUGIN_H | 40 | #endif // LISTENER_P_H |
2390 | 40 | 41 | ||
2391 | === modified file 'src/UbuntuToolkit/livetimer_p.cpp' | |||
2392 | --- src/Ubuntu/UbuntuToolkit/livetimer_p.cpp 2016-07-07 07:21:48 +0000 | |||
2393 | +++ src/UbuntuToolkit/livetimer_p.cpp 2016-09-17 11:46:32 +0000 | |||
2394 | @@ -15,10 +15,11 @@ | |||
2395 | 15 | */ | 15 | */ |
2396 | 16 | 16 | ||
2397 | 17 | #include "livetimer_p_p.h" | 17 | #include "livetimer_p_p.h" |
2398 | 18 | |||
2399 | 19 | #include <QtDBus/QDBusConnection> | ||
2400 | 20 | |||
2401 | 18 | #include "timeutils_p.h" | 21 | #include "timeutils_p.h" |
2402 | 19 | 22 | ||
2403 | 20 | #include <QDBusConnection> | ||
2404 | 21 | |||
2405 | 22 | UT_NAMESPACE_BEGIN | 23 | UT_NAMESPACE_BEGIN |
2406 | 23 | 24 | ||
2407 | 24 | SharedLiveTimer::SharedLiveTimer(QObject* parent) | 25 | SharedLiveTimer::SharedLiveTimer(QObject* parent) |
2408 | 25 | 26 | ||
2409 | === modified file 'src/UbuntuToolkit/livetimer_p.h' | |||
2410 | --- src/Ubuntu/UbuntuToolkit/livetimer_p.h 2016-07-07 07:21:48 +0000 | |||
2411 | +++ src/UbuntuToolkit/livetimer_p.h 2016-09-17 11:46:32 +0000 | |||
2412 | @@ -14,12 +14,13 @@ | |||
2413 | 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/>. |
2414 | 15 | */ | 15 | */ |
2415 | 16 | 16 | ||
2422 | 17 | #ifndef LIVETIMER_H | 17 | #ifndef LIVETIMER_P_H |
2423 | 18 | #define LIVETIMER_H | 18 | #define LIVETIMER_P_H |
2424 | 19 | 19 | ||
2425 | 20 | #include <QObject> | 20 | #include <QtCore/QDateTime> |
2426 | 21 | #include <QDateTime> | 21 | #include <QtCore/QObject> |
2427 | 22 | #include <ubuntutoolkitglobal.h> | 22 | |
2428 | 23 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2429 | 23 | 24 | ||
2430 | 24 | UT_NAMESPACE_BEGIN | 25 | UT_NAMESPACE_BEGIN |
2431 | 25 | 26 | ||
2432 | @@ -70,4 +71,4 @@ | |||
2433 | 70 | 71 | ||
2434 | 71 | UT_NAMESPACE_END | 72 | UT_NAMESPACE_END |
2435 | 72 | 73 | ||
2437 | 73 | #endif // LIVETIMER_H | 74 | #endif // LIVETIMER_P_H |
2438 | 74 | 75 | ||
2439 | === modified file 'src/UbuntuToolkit/livetimer_p_p.h' | |||
2440 | --- src/Ubuntu/UbuntuToolkit/livetimer_p_p.h 2016-07-07 07:21:48 +0000 | |||
2441 | +++ src/UbuntuToolkit/livetimer_p_p.h 2016-09-17 11:46:32 +0000 | |||
2442 | @@ -14,12 +14,12 @@ | |||
2443 | 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/>. |
2444 | 15 | */ | 15 | */ |
2445 | 16 | 16 | ||
2452 | 17 | #ifndef LIVETIMER_P_H | 17 | #ifndef LIVETIMER_P_P_H |
2453 | 18 | #define LIVETIMER_P_H | 18 | #define LIVETIMER_P_P_H |
2454 | 19 | 19 | ||
2455 | 20 | #include "livetimer_p.h" | 20 | #include <UbuntuToolkit/private/livetimer_p.h> |
2456 | 21 | 21 | ||
2457 | 22 | #include <QTimer> | 22 | #include <QtCore/QTimer> |
2458 | 23 | 23 | ||
2459 | 24 | UT_NAMESPACE_BEGIN | 24 | UT_NAMESPACE_BEGIN |
2460 | 25 | 25 | ||
2461 | @@ -59,4 +59,4 @@ | |||
2462 | 59 | 59 | ||
2463 | 60 | UT_NAMESPACE_END | 60 | UT_NAMESPACE_END |
2464 | 61 | 61 | ||
2466 | 62 | #endif // LIVETIMER_P_H | 62 | #endif // LIVETIMER_P_P_H |
2467 | 63 | 63 | ||
2468 | === modified file 'src/UbuntuToolkit/menu.cpp' | |||
2469 | --- src/Ubuntu/UbuntuToolkit/menu.cpp 2016-08-25 14:06:06 +0000 | |||
2470 | +++ src/UbuntuToolkit/menu.cpp 2016-09-17 11:46:32 +0000 | |||
2471 | @@ -14,23 +14,22 @@ | |||
2472 | 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/>. |
2473 | 15 | */ | 15 | */ |
2474 | 16 | 16 | ||
2475 | 17 | #include "menu_p.h" | ||
2476 | 18 | #include "menu_p_p.h" | 17 | #include "menu_p_p.h" |
2477 | 18 | |||
2478 | 19 | #include <functional> | ||
2479 | 20 | |||
2480 | 21 | #include <QtCore/QPointer> | ||
2481 | 22 | #include <QtCore/QLoggingCategory> | ||
2482 | 23 | #include <QtGui/qpa/qplatformtheme.h> | ||
2483 | 24 | #include <QtGui/qpa/qplatformmenu.h> | ||
2484 | 25 | #include <QtGui/private/qguiapplication_p.h> | ||
2485 | 26 | #include <QtQuick/QQuickItem> | ||
2486 | 27 | #include <QtQuick/private/qquickitem_p.h> | ||
2487 | 28 | |||
2488 | 19 | #include "menubar_p.h" | 29 | #include "menubar_p.h" |
2489 | 20 | #include "actionlist_p.h" | 30 | #include "actionlist_p.h" |
2490 | 21 | #include "menugroup_p.h" | 31 | #include "menugroup_p.h" |
2491 | 22 | 32 | ||
2492 | 23 | // Qt | ||
2493 | 24 | #include <QPointer> | ||
2494 | 25 | #include <QQuickItem> | ||
2495 | 26 | #include <QLoggingCategory> | ||
2496 | 27 | #include <QtGui/qpa/qplatformtheme.h> | ||
2497 | 28 | #include <QtGui/qpa/qplatformmenu.h> | ||
2498 | 29 | #include <private/qguiapplication_p.h> | ||
2499 | 30 | #include <private/qquickitem_p.h> | ||
2500 | 31 | |||
2501 | 32 | #include <functional> | ||
2502 | 33 | |||
2503 | 34 | Q_LOGGING_CATEGORY(ucMenu, "ubuntu.components.Menu", QtMsgType::QtWarningMsg) | 33 | Q_LOGGING_CATEGORY(ucMenu, "ubuntu.components.Menu", QtMsgType::QtWarningMsg) |
2504 | 35 | 34 | ||
2505 | 36 | UT_NAMESPACE_BEGIN | 35 | UT_NAMESPACE_BEGIN |
2506 | @@ -350,8 +349,6 @@ | |||
2507 | 350 | : UCAction(parent) | 349 | : UCAction(parent) |
2508 | 351 | , d_ptr(new MenuPrivate(this)) | 350 | , d_ptr(new MenuPrivate(this)) |
2509 | 352 | { | 351 | { |
2510 | 353 | Q_D(Menu); | ||
2511 | 354 | |||
2512 | 355 | connect(this, SIGNAL(enabledChanged()), this, SLOT(_q_updateEnabled())); | 352 | connect(this, SIGNAL(enabledChanged()), this, SLOT(_q_updateEnabled())); |
2513 | 356 | connect(this, SIGNAL(textChanged()), this, SLOT(_q_updateText())); | 353 | connect(this, SIGNAL(textChanged()), this, SLOT(_q_updateText())); |
2514 | 357 | connect(this, SIGNAL(iconNameChanged()), this, SLOT(_q_updateIcon())); | 354 | connect(this, SIGNAL(iconNameChanged()), this, SLOT(_q_updateIcon())); |
2515 | 358 | 355 | ||
2516 | === modified file 'src/UbuntuToolkit/menu_p.h' | |||
2517 | --- src/Ubuntu/UbuntuToolkit/menu_p.h 2016-08-25 14:06:06 +0000 | |||
2518 | +++ src/UbuntuToolkit/menu_p.h 2016-09-17 11:46:32 +0000 | |||
2519 | @@ -12,18 +12,17 @@ | |||
2520 | 12 | * | 12 | * |
2521 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2522 | 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/>. |
2523 | 15 | * | ||
2524 | 16 | */ | 15 | */ |
2525 | 17 | 16 | ||
2526 | 18 | #ifndef MENU_P_H | 17 | #ifndef MENU_P_H |
2527 | 19 | #define MENU_P_H | 18 | #define MENU_P_H |
2528 | 20 | 19 | ||
2533 | 21 | #include <QQmlListProperty> | 20 | #include <QtCore/QLoggingCategory> |
2534 | 22 | #include <QLoggingCategory> | 21 | #include <QtCore/QPointer> |
2535 | 23 | #include <QPointer> | 22 | #include <QtQml/QQmlListProperty> |
2532 | 24 | #include <ubuntutoolkitglobal.h> | ||
2536 | 25 | 23 | ||
2538 | 26 | #include "ucaction_p.h" | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
2539 | 25 | #include <UbuntuToolkit/private/ucaction_p.h> | ||
2540 | 27 | 26 | ||
2541 | 28 | Q_DECLARE_LOGGING_CATEGORY(ucMenu); | 27 | Q_DECLARE_LOGGING_CATEGORY(ucMenu); |
2542 | 29 | 28 | ||
2543 | 30 | 29 | ||
2544 | === modified file 'src/UbuntuToolkit/menu_p_p.h' | |||
2545 | --- src/Ubuntu/UbuntuToolkit/menu_p_p.h 2016-08-25 14:06:06 +0000 | |||
2546 | +++ src/UbuntuToolkit/menu_p_p.h 2016-09-17 11:46:32 +0000 | |||
2547 | @@ -12,14 +12,14 @@ | |||
2548 | 12 | * | 12 | * |
2549 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2550 | 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/>. |
2551 | 15 | * | ||
2552 | 16 | */ | 15 | */ |
2553 | 17 | 16 | ||
2554 | 18 | #ifndef MENU_P_P_H | 17 | #ifndef MENU_P_P_H |
2555 | 19 | #define MENU_P_P_H | 18 | #define MENU_P_P_H |
2556 | 20 | 19 | ||
2559 | 21 | #include "menu_p.h" | 20 | #include <UbuntuToolkit/private/menu_p.h> |
2560 | 22 | #include <ubuntutoolkitglobal.h> | 21 | |
2561 | 22 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2562 | 23 | 23 | ||
2563 | 24 | class QObject; | 24 | class QObject; |
2564 | 25 | class QQmlComponent; | 25 | class QQmlComponent; |
2565 | 26 | 26 | ||
2566 | === modified file 'src/UbuntuToolkit/menubar.cpp' | |||
2567 | --- src/Ubuntu/UbuntuToolkit/menubar.cpp 2016-08-25 14:06:06 +0000 | |||
2568 | +++ src/UbuntuToolkit/menubar.cpp 2016-09-17 11:46:32 +0000 | |||
2569 | @@ -12,19 +12,16 @@ | |||
2570 | 12 | * | 12 | * |
2571 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2572 | 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/>. |
2573 | 15 | * | ||
2574 | 16 | */ | 15 | */ |
2575 | 17 | 16 | ||
2576 | 18 | #include "menubar_p.h" | ||
2577 | 19 | #include "menubar_p_p.h" | 17 | #include "menubar_p_p.h" |
2578 | 20 | 18 | ||
2584 | 21 | // Qt | 19 | #include <QtCore/QLoggingCategory> |
2585 | 22 | #include <QQuickItem> | 20 | #include <QtQuick/QQuickItem> |
2586 | 23 | #include <QQuickWindow> | 21 | #include <QtQuick/QQuickWindow> |
2582 | 24 | #include <QLoggingCategory> | ||
2583 | 25 | #include <private/qguiapplication_p.h> | ||
2587 | 26 | #include <QtGui/qpa/qplatformtheme.h> | 22 | #include <QtGui/qpa/qplatformtheme.h> |
2588 | 27 | #include <QtGui/qpa/qplatformmenu.h> | 23 | #include <QtGui/qpa/qplatformmenu.h> |
2589 | 24 | #include <QtGui/private/qguiapplication_p.h> | ||
2590 | 28 | 25 | ||
2591 | 29 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
2592 | 30 | 27 | ||
2593 | 31 | 28 | ||
2594 | === modified file 'src/UbuntuToolkit/menubar_p.h' | |||
2595 | --- src/Ubuntu/UbuntuToolkit/menubar_p.h 2016-08-25 14:06:06 +0000 | |||
2596 | +++ src/UbuntuToolkit/menubar_p.h 2016-09-17 11:46:32 +0000 | |||
2597 | @@ -12,16 +12,15 @@ | |||
2598 | 12 | * | 12 | * |
2599 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2600 | 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/>. |
2601 | 15 | * | ||
2602 | 16 | */ | 15 | */ |
2603 | 17 | 16 | ||
2604 | 18 | #ifndef MENUBAR_P_H | 17 | #ifndef MENUBAR_P_H |
2605 | 19 | #define MENUBAR_P_H | 18 | #define MENUBAR_P_H |
2606 | 20 | 19 | ||
2609 | 21 | #include "menu_p.h" | 20 | #include <QtQml/QQmlParserStatus> |
2608 | 22 | #include <ubuntutoolkitglobal.h> | ||
2610 | 23 | 21 | ||
2612 | 24 | #include <QQmlParserStatus> | 22 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
2613 | 23 | #include <UbuntuToolkit/private/menu_p.h> | ||
2614 | 25 | 24 | ||
2615 | 26 | class QPlatformMenuBar; | 25 | class QPlatformMenuBar; |
2616 | 27 | 26 | ||
2617 | 28 | 27 | ||
2618 | === modified file 'src/UbuntuToolkit/menubar_p_p.h' | |||
2619 | --- src/Ubuntu/UbuntuToolkit/menubar_p_p.h 2016-08-25 14:06:06 +0000 | |||
2620 | +++ src/UbuntuToolkit/menubar_p_p.h 2016-09-17 11:46:32 +0000 | |||
2621 | @@ -12,14 +12,14 @@ | |||
2622 | 12 | * | 12 | * |
2623 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
2624 | 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/>. |
2625 | 15 | * | ||
2626 | 16 | */ | 15 | */ |
2627 | 17 | 16 | ||
2628 | 18 | #ifndef MENUBAR_P_P_H | 17 | #ifndef MENUBAR_P_P_H |
2629 | 19 | #define MENUBAR_P_P_H | 18 | #define MENUBAR_P_P_H |
2630 | 20 | 19 | ||
2633 | 21 | #include "menubar_p.h" | 20 | #include <UbuntuToolkit/private/menubar_p.h> |
2634 | 22 | #include <ubuntutoolkitglobal.h> | 21 | |
2635 | 22 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2636 | 23 | 23 | ||
2637 | 24 | class QPlatformMenuBar; | 24 | class QPlatformMenuBar; |
2638 | 25 | 25 | ||
2639 | 26 | 26 | ||
2640 | === modified file 'src/UbuntuToolkit/menugroup.cpp' | |||
2641 | --- src/Ubuntu/UbuntuToolkit/menugroup.cpp 2016-08-25 14:06:06 +0000 | |||
2642 | +++ src/UbuntuToolkit/menugroup.cpp 2016-09-17 11:46:32 +0000 | |||
2643 | @@ -15,6 +15,7 @@ | |||
2644 | 15 | */ | 15 | */ |
2645 | 16 | 16 | ||
2646 | 17 | #include "menugroup_p.h" | 17 | #include "menugroup_p.h" |
2647 | 18 | |||
2648 | 18 | #include "actionlist_p.h" | 19 | #include "actionlist_p.h" |
2649 | 19 | #include "ucaction_p.h" | 20 | #include "ucaction_p.h" |
2650 | 20 | 21 | ||
2651 | 21 | 22 | ||
2652 | === modified file 'src/UbuntuToolkit/menugroup_p.h' | |||
2653 | --- src/Ubuntu/UbuntuToolkit/menugroup_p.h 2016-08-25 14:06:06 +0000 | |||
2654 | +++ src/UbuntuToolkit/menugroup_p.h 2016-09-17 11:46:32 +0000 | |||
2655 | @@ -17,11 +17,11 @@ | |||
2656 | 17 | #ifndef MENUGROUP_P_H | 17 | #ifndef MENUGROUP_P_H |
2657 | 18 | #define MENUGROUP_P_H | 18 | #define MENUGROUP_P_H |
2658 | 19 | 19 | ||
2660 | 20 | #include <ubuntutoolkitglobal.h> | 20 | #include <QtCore/QObject> |
2661 | 21 | #include <QtCore/QVector> | ||
2662 | 22 | #include <QtQml/QQmlListProperty> | ||
2663 | 21 | 23 | ||
2667 | 22 | #include <QObject> | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
2665 | 23 | #include <QVector> | ||
2666 | 24 | #include <QQmlListProperty> | ||
2668 | 25 | 25 | ||
2669 | 26 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
2670 | 27 | 27 | ||
2671 | 28 | 28 | ||
2672 | === modified file 'src/UbuntuToolkit/mousetouchadaptor.cpp' | |||
2673 | --- src/Ubuntu/UbuntuToolkit/mousetouchadaptor.cpp 2016-07-07 07:56:34 +0000 | |||
2674 | +++ src/UbuntuToolkit/mousetouchadaptor.cpp 2016-09-17 11:46:32 +0000 | |||
2675 | @@ -19,12 +19,11 @@ | |||
2676 | 19 | 19 | ||
2677 | 20 | #include "mousetouchadaptor_p_p.h" | 20 | #include "mousetouchadaptor_p_p.h" |
2678 | 21 | 21 | ||
2685 | 22 | #include <qpa/qplatformnativeinterface.h> | 22 | #include <QtCore/QDebug> |
2686 | 23 | #include <qpa/qwindowsysteminterface.h> | 23 | #include <QtGui/QGuiApplication> |
2687 | 24 | 24 | #include <QtGui/QMouseEvent> | |
2688 | 25 | #include <QCoreApplication> | 25 | #include <QtGui/qpa/qplatformnativeinterface.h> |
2689 | 26 | #include <QMouseEvent> | 26 | #include <QtGui/qpa/qwindowsysteminterface.h> |
2684 | 27 | #include <QTest> | ||
2690 | 28 | 27 | ||
2691 | 29 | #ifdef UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION | 28 | #ifdef UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION |
2692 | 30 | #define ENABLE_TOUCH_EMULATION | 29 | #define ENABLE_TOUCH_EMULATION |
2693 | 31 | 30 | ||
2694 | === modified file 'src/UbuntuToolkit/mousetouchadaptor_p.h' | |||
2695 | --- src/Ubuntu/UbuntuToolkit/mousetouchadaptor_p.h 2016-07-07 18:17:56 +0000 | |||
2696 | +++ src/UbuntuToolkit/mousetouchadaptor_p.h 2016-09-17 11:46:32 +0000 | |||
2697 | @@ -17,13 +17,13 @@ | |||
2698 | 17 | * Zsombor Egri <zsomboir.egri@canonical.com> | 17 | * Zsombor Egri <zsomboir.egri@canonical.com> |
2699 | 18 | */ | 18 | */ |
2700 | 19 | 19 | ||
2705 | 20 | #ifndef MOUSE_TOUCH_ADAPTOR_H | 20 | #ifndef MOUSETOUCHADAPTOR_P_H |
2706 | 21 | #define MOUSE_TOUCH_ADAPTOR_H | 21 | #define MOUSETOUCHADAPTOR_P_H |
2703 | 22 | |||
2704 | 23 | #include "ubuntutoolkitglobal.h" | ||
2707 | 24 | 22 | ||
2708 | 25 | #include <QtCore/QObject> | 23 | #include <QtCore/QObject> |
2709 | 26 | 24 | ||
2710 | 25 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2711 | 26 | |||
2712 | 27 | class QMouseEvent; | 27 | class QMouseEvent; |
2713 | 28 | class QTouchDevice; | 28 | class QTouchDevice; |
2714 | 29 | class QQmlEngine; | 29 | class QQmlEngine; |
2715 | @@ -60,4 +60,4 @@ | |||
2716 | 60 | 60 | ||
2717 | 61 | UT_NAMESPACE_END | 61 | UT_NAMESPACE_END |
2718 | 62 | 62 | ||
2720 | 63 | #endif // MOUSE_TOUCH_ADAPTOR_H | 63 | #endif // MOUSETOUCHADAPTOR_P_H |
2721 | 64 | 64 | ||
2722 | === modified file 'src/UbuntuToolkit/mousetouchadaptor_p_p.h' | |||
2723 | --- src/Ubuntu/UbuntuToolkit/mousetouchadaptor_p_p.h 2016-07-07 07:21:48 +0000 | |||
2724 | +++ src/UbuntuToolkit/mousetouchadaptor_p_p.h 2016-09-17 11:46:32 +0000 | |||
2725 | @@ -16,13 +16,15 @@ | |||
2726 | 16 | * Authored by: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Authored by: Zsombor Egri <zsombor.egri@canonical.com> |
2727 | 17 | */ | 17 | */ |
2728 | 18 | 18 | ||
2733 | 19 | #ifndef MOUSETOUCHADAPTOR_P | 19 | #ifndef MOUSETOUCHADAPTOR_P_P_H |
2734 | 20 | #define MOUSETOUCHADAPTOR_P | 20 | #define MOUSETOUCHADAPTOR_P_P_H |
2735 | 21 | 21 | ||
2736 | 22 | #include "mousetouchadaptor_p.h" | 22 | #include <UbuntuToolkit/private/mousetouchadaptor_p.h> |
2737 | 23 | |||
2738 | 24 | #include <QtCore/QAbstractNativeEventFilter> | ||
2739 | 23 | #include <QtCore/private/qobject_p.h> | 25 | #include <QtCore/private/qobject_p.h> |
2742 | 24 | #include <QtCore/QAbstractNativeEventFilter> | 26 | #include <QtGui/QWindow> |
2743 | 25 | #include <QWindow> | 27 | |
2744 | 26 | #include <xcb/xcb.h> | 28 | #include <xcb/xcb.h> |
2745 | 27 | 29 | ||
2746 | 28 | UT_NAMESPACE_BEGIN | 30 | UT_NAMESPACE_BEGIN |
2747 | @@ -73,5 +75,4 @@ | |||
2748 | 73 | 75 | ||
2749 | 74 | UT_NAMESPACE_END | 76 | UT_NAMESPACE_END |
2750 | 75 | 77 | ||
2753 | 76 | #endif // MOUSETOUCHADAPTOR_P | 78 | #endif // MOUSETOUCHADAPTOR_P_P_H |
2752 | 77 | |||
2754 | 78 | 79 | ||
2755 | === modified file 'src/UbuntuToolkit/mousetouchadaptor_x11.cpp' | |||
2756 | --- src/Ubuntu/UbuntuToolkit/mousetouchadaptor_x11.cpp 2016-07-07 07:21:48 +0000 | |||
2757 | +++ src/UbuntuToolkit/mousetouchadaptor_x11.cpp 2016-09-17 11:46:32 +0000 | |||
2758 | @@ -55,11 +55,10 @@ | |||
2759 | 55 | 55 | ||
2760 | 56 | #include "mousetouchadaptor_p_p.h" | 56 | #include "mousetouchadaptor_p_p.h" |
2761 | 57 | 57 | ||
2767 | 58 | #include <qpa/qplatformnativeinterface.h> | 58 | #include <QtGui/QGuiApplication> |
2768 | 59 | 59 | #include <QtGui/QMouseEvent> | |
2769 | 60 | #include <QCoreApplication> | 60 | #include <QtGui/qpa/qplatformnativeinterface.h> |
2770 | 61 | #include <QMouseEvent> | 61 | #include <QtTest/qtesttouch.h> |
2766 | 62 | #include <QTest> | ||
2771 | 63 | 62 | ||
2772 | 64 | #include <X11/extensions/XInput2.h> | 63 | #include <X11/extensions/XInput2.h> |
2773 | 65 | #include <X11/extensions/XI2proto.h> | 64 | #include <X11/extensions/XI2proto.h> |
2774 | 66 | 65 | ||
2775 | === modified file 'src/UbuntuToolkit/privates/appheaderbase.cpp' | |||
2776 | --- src/Ubuntu/UbuntuToolkit/privates/appheaderbase.cpp 2016-07-07 07:21:48 +0000 | |||
2777 | +++ src/UbuntuToolkit/privates/appheaderbase.cpp 2016-09-17 11:46:32 +0000 | |||
2778 | @@ -15,6 +15,7 @@ | |||
2779 | 15 | */ | 15 | */ |
2780 | 16 | 16 | ||
2781 | 17 | #include "appheaderbase_p.h" | 17 | #include "appheaderbase_p.h" |
2782 | 18 | |||
2783 | 18 | #include "ucstyleditembase_p_p.h" | 19 | #include "ucstyleditembase_p_p.h" |
2784 | 19 | 20 | ||
2785 | 20 | UT_NAMESPACE_BEGIN | 21 | UT_NAMESPACE_BEGIN |
2786 | 21 | 22 | ||
2787 | === modified file 'src/UbuntuToolkit/privates/appheaderbase_p.h' | |||
2788 | --- src/Ubuntu/UbuntuToolkit/privates/appheaderbase_p.h 2016-07-07 07:21:48 +0000 | |||
2789 | +++ src/UbuntuToolkit/privates/appheaderbase_p.h 2016-09-17 11:46:32 +0000 | |||
2790 | @@ -14,10 +14,10 @@ | |||
2791 | 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/>. |
2792 | 15 | */ | 15 | */ |
2793 | 16 | 16 | ||
2796 | 17 | #ifndef APPHEADERBASE_H | 17 | #ifndef APPHEADERBASE_P_H |
2797 | 18 | #define APPHEADERBASE_H | 18 | #define APPHEADERBASE_P_H |
2798 | 19 | 19 | ||
2800 | 20 | #include "ucheader_p.h" | 20 | #include <UbuntuToolkit/private/ucheader_p.h> |
2801 | 21 | 21 | ||
2802 | 22 | UT_NAMESPACE_BEGIN | 22 | UT_NAMESPACE_BEGIN |
2803 | 23 | 23 | ||
2804 | @@ -62,4 +62,4 @@ | |||
2805 | 62 | 62 | ||
2806 | 63 | UT_NAMESPACE_END | 63 | UT_NAMESPACE_END |
2807 | 64 | 64 | ||
2809 | 65 | #endif // APPHEADERBASE_H | 65 | #endif // APPHEADERBASE_P_H |
2810 | 66 | 66 | ||
2811 | === modified file 'src/UbuntuToolkit/privates/frame.cpp' | |||
2812 | --- src/Ubuntu/UbuntuToolkit/privates/frame.cpp 2016-07-07 07:21:48 +0000 | |||
2813 | +++ src/UbuntuToolkit/privates/frame.cpp 2016-09-17 11:46:32 +0000 | |||
2814 | @@ -16,11 +16,13 @@ | |||
2815 | 16 | * Author: Loïc Molinari <loic.molinari@canonical.com> | 16 | * Author: Loïc Molinari <loic.molinari@canonical.com> |
2816 | 17 | */ | 17 | */ |
2817 | 18 | 18 | ||
2820 | 19 | #include "frame_p.h" | 19 | #include "privates/frame_p.h" |
2821 | 20 | #include "textures_p.h" | 20 | |
2822 | 21 | #include <QtGui/QOpenGLContext> | 21 | #include <QtGui/QOpenGLContext> |
2823 | 22 | #include <QtGui/QOpenGLFunctions> | 22 | #include <QtGui/QOpenGLFunctions> |
2824 | 23 | 23 | ||
2825 | 24 | #include "privates/textures_p.h" | ||
2826 | 25 | |||
2827 | 24 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
2828 | 25 | 27 | ||
2829 | 26 | const QRgb defaultColor = qRgba(255, 255, 255, 255); | 28 | const QRgb defaultColor = qRgba(255, 255, 255, 255); |
2830 | 27 | 29 | ||
2831 | === modified file 'src/UbuntuToolkit/privates/frame_p.h' | |||
2832 | --- src/Ubuntu/UbuntuToolkit/privates/frame_p.h 2016-07-07 07:21:48 +0000 | |||
2833 | +++ src/UbuntuToolkit/privates/frame_p.h 2016-09-17 11:46:32 +0000 | |||
2834 | @@ -16,13 +16,14 @@ | |||
2835 | 16 | * Author: Loïc Molinari <loic.molinari@canonical.com> | 16 | * Author: Loïc Molinari <loic.molinari@canonical.com> |
2836 | 17 | */ | 17 | */ |
2837 | 18 | 18 | ||
2840 | 19 | #ifndef FRAME_H | 19 | #ifndef FRAME_P_H |
2841 | 20 | #define FRAME_H | 20 | #define FRAME_P_H |
2842 | 21 | 21 | ||
2843 | 22 | #include <QtQuick/QQuickItem> | 22 | #include <QtQuick/QQuickItem> |
2844 | 23 | #include <QtQuick/QSGMaterial> | 23 | #include <QtQuick/QSGMaterial> |
2845 | 24 | #include <QtQuick/QSGNode> | 24 | #include <QtQuick/QSGNode> |
2847 | 25 | #include <ubuntutoolkitglobal.h> | 25 | |
2848 | 26 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2849 | 26 | 27 | ||
2850 | 27 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
2851 | 28 | 29 | ||
2852 | @@ -101,4 +102,4 @@ | |||
2853 | 101 | 102 | ||
2854 | 102 | UT_NAMESPACE_END | 103 | UT_NAMESPACE_END |
2855 | 103 | 104 | ||
2857 | 104 | #endif // FRAME_H | 105 | #endif // FRAME_P_H |
2858 | 105 | 106 | ||
2859 | === modified file 'src/UbuntuToolkit/privates/listitemdragarea.cpp' | |||
2860 | --- src/Ubuntu/UbuntuToolkit/privates/listitemdragarea.cpp 2016-08-14 09:06:34 +0000 | |||
2861 | +++ src/UbuntuToolkit/privates/listitemdragarea.cpp 2016-09-17 11:46:32 +0000 | |||
2862 | @@ -15,15 +15,17 @@ | |||
2863 | 15 | */ | 15 | */ |
2864 | 16 | 16 | ||
2865 | 17 | #include "listitemdragarea_p.h" | 17 | #include "listitemdragarea_p.h" |
2870 | 18 | #include "listitemdraghandler_p.h" | 18 | |
2867 | 19 | #include "uclistitem_p_p.h" | ||
2868 | 20 | #include "ucunits_p.h" | ||
2869 | 21 | #include "i18n_p.h" | ||
2871 | 22 | #include <QtCore/QtMath> | 19 | #include <QtCore/QtMath> |
2872 | 23 | #include <QtQml/QQmlInfo> | 20 | #include <QtQml/QQmlInfo> |
2873 | 24 | #include <QtQuick/private/qquickitem_p.h> | 21 | #include <QtQuick/private/qquickitem_p.h> |
2874 | 25 | #include <QtQuick/private/qquickflickable_p.h> | 22 | #include <QtQuick/private/qquickflickable_p.h> |
2875 | 26 | 23 | ||
2876 | 24 | #include "privates/listitemdraghandler_p.h" | ||
2877 | 25 | #include "uclistitem_p_p.h" | ||
2878 | 26 | #include "ucunits_p.h" | ||
2879 | 27 | #include "i18n_p.h" | ||
2880 | 28 | |||
2881 | 27 | #define IMPLICIT_DRAG_WIDTH_GU 5 | 29 | #define IMPLICIT_DRAG_WIDTH_GU 5 |
2882 | 28 | #define DRAG_SCROLL_TIMEOUT 15 | 30 | #define DRAG_SCROLL_TIMEOUT 15 |
2883 | 29 | 31 | ||
2884 | 30 | 32 | ||
2885 | === modified file 'src/UbuntuToolkit/privates/listitemdragarea_p.h' | |||
2886 | --- src/Ubuntu/UbuntuToolkit/privates/listitemdragarea_p.h 2016-07-07 07:21:48 +0000 | |||
2887 | +++ src/UbuntuToolkit/privates/listitemdragarea_p.h 2016-09-17 11:46:32 +0000 | |||
2888 | @@ -14,14 +14,15 @@ | |||
2889 | 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/>. |
2890 | 15 | */ | 15 | */ |
2891 | 16 | 16 | ||
2894 | 17 | #ifndef LISTITEMDRAGAREA_H | 17 | #ifndef LISTITEMDRAGAREA_P_H |
2895 | 18 | #define LISTITEMDRAGAREA_H | 18 | #define LISTITEMDRAGAREA_P_H |
2896 | 19 | 19 | ||
2897 | 20 | #include <ubuntutoolkitglobal.h> | ||
2898 | 21 | #include "uclistitem_p.h" | ||
2899 | 22 | #include <QtCore/QBasicTimer> | 20 | #include <QtCore/QBasicTimer> |
2900 | 23 | #include <QtCore/QPointer> | 21 | #include <QtCore/QPointer> |
2901 | 24 | 22 | ||
2902 | 23 | #include <UbuntuToolkit/private/uclistitem_p.h> | ||
2903 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2904 | 25 | |||
2905 | 25 | class QQuickFlickable; | 26 | class QQuickFlickable; |
2906 | 26 | 27 | ||
2907 | 27 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
2908 | @@ -58,4 +59,4 @@ | |||
2909 | 58 | 59 | ||
2910 | 59 | UT_NAMESPACE_END | 60 | UT_NAMESPACE_END |
2911 | 60 | 61 | ||
2913 | 61 | #endif // LISTITEMDRAGAREA_H | 62 | #endif // LISTITEMDRAGAREA_P_H |
2914 | 62 | 63 | ||
2915 | === modified file 'src/UbuntuToolkit/privates/listitemdraghandler.cpp' | |||
2916 | --- src/Ubuntu/UbuntuToolkit/privates/listitemdraghandler.cpp 2016-07-07 07:21:48 +0000 | |||
2917 | +++ src/UbuntuToolkit/privates/listitemdraghandler.cpp 2016-09-17 11:46:32 +0000 | |||
2918 | @@ -14,11 +14,12 @@ | |||
2919 | 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/>. |
2920 | 15 | */ | 15 | */ |
2921 | 16 | 16 | ||
2924 | 17 | #include "listitemdraghandler_p.h" | 17 | #include "privates/listitemdraghandler_p.h" |
2925 | 18 | #include "uclistitem_p.h" | 18 | |
2926 | 19 | #include <QtQuick/private/qquickanimation_p.h> | ||
2927 | 20 | |||
2928 | 19 | #include "uclistitem_p_p.h" | 21 | #include "uclistitem_p_p.h" |
2931 | 20 | #include <propertychange_p.h> | 22 | #include "propertychange_p.h" |
2930 | 21 | #include <QtQuick/private/qquickanimation_p.h> | ||
2932 | 22 | 23 | ||
2933 | 23 | UT_NAMESPACE_BEGIN | 24 | UT_NAMESPACE_BEGIN |
2934 | 24 | 25 | ||
2935 | 25 | 26 | ||
2936 | === modified file 'src/UbuntuToolkit/privates/listitemdraghandler_p.h' | |||
2937 | --- src/Ubuntu/UbuntuToolkit/privates/listitemdraghandler_p.h 2016-07-07 07:21:48 +0000 | |||
2938 | +++ src/UbuntuToolkit/privates/listitemdraghandler_p.h 2016-09-17 11:46:32 +0000 | |||
2939 | @@ -14,13 +14,14 @@ | |||
2940 | 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/>. |
2941 | 15 | */ | 15 | */ |
2942 | 16 | 16 | ||
2945 | 17 | #ifndef LISTITEMDRAGHANDLER_H | 17 | #ifndef LISTITEMDRAGHANDLER_P_H |
2946 | 18 | #define LISTITEMDRAGHANDLER_H | 18 | #define LISTITEMDRAGHANDLER_P_H |
2947 | 19 | 19 | ||
2948 | 20 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
2949 | 21 | #include <QtCore/QPointer> | 21 | #include <QtCore/QPointer> |
2950 | 22 | #include <QtCore/QPointF> | 22 | #include <QtCore/QPointF> |
2952 | 23 | #include <ubuntutoolkitglobal.h> | 23 | |
2953 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2954 | 24 | 25 | ||
2955 | 25 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
2956 | 26 | 27 | ||
2957 | @@ -49,4 +50,4 @@ | |||
2958 | 49 | 50 | ||
2959 | 50 | UT_NAMESPACE_END | 51 | UT_NAMESPACE_END |
2960 | 51 | 52 | ||
2962 | 52 | #endif // LISTITEMDRAGHANDLER_H | 53 | #endif // LISTITEMDRAGHANDLER_P_H |
2963 | 53 | 54 | ||
2964 | === modified file 'src/UbuntuToolkit/privates/listitemselection.cpp' | |||
2965 | --- src/Ubuntu/UbuntuToolkit/privates/listitemselection.cpp 2016-07-07 07:21:48 +0000 | |||
2966 | +++ src/UbuntuToolkit/privates/listitemselection.cpp 2016-09-17 11:46:32 +0000 | |||
2967 | @@ -14,7 +14,8 @@ | |||
2968 | 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/>. |
2969 | 15 | */ | 15 | */ |
2970 | 16 | 16 | ||
2972 | 17 | #include "listitemselection_p.h" | 17 | #include "privates/listitemselection_p.h" |
2973 | 18 | |||
2974 | 18 | #include "uclistitem_p_p.h" | 19 | #include "uclistitem_p_p.h" |
2975 | 19 | 20 | ||
2976 | 20 | UT_NAMESPACE_BEGIN | 21 | UT_NAMESPACE_BEGIN |
2977 | 21 | 22 | ||
2978 | === modified file 'src/UbuntuToolkit/privates/listitemselection_p.h' | |||
2979 | --- src/Ubuntu/UbuntuToolkit/privates/listitemselection_p.h 2016-07-07 07:21:48 +0000 | |||
2980 | +++ src/UbuntuToolkit/privates/listitemselection_p.h 2016-09-17 11:46:32 +0000 | |||
2981 | @@ -14,12 +14,13 @@ | |||
2982 | 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/>. |
2983 | 15 | */ | 15 | */ |
2984 | 16 | 16 | ||
2987 | 17 | #ifndef LISTITEMSELECTION_H | 17 | #ifndef LISTITEMSELECTION_P_H |
2988 | 18 | #define LISTITEMSELECTION_H | 18 | #define LISTITEMSELECTION_P_H |
2989 | 19 | 19 | ||
2990 | 20 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
2991 | 21 | #include <QtCore/QPointer> | 21 | #include <QtCore/QPointer> |
2993 | 22 | #include <ubuntutoolkitglobal.h> | 22 | |
2994 | 23 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
2995 | 23 | 24 | ||
2996 | 24 | UT_NAMESPACE_BEGIN | 25 | UT_NAMESPACE_BEGIN |
2997 | 25 | 26 | ||
2998 | @@ -58,4 +59,4 @@ | |||
2999 | 58 | 59 | ||
3000 | 59 | UT_NAMESPACE_END | 60 | UT_NAMESPACE_END |
3001 | 60 | 61 | ||
3003 | 61 | #endif // LISTITEMSELECTION_H | 62 | #endif // LISTITEMSELECTION_P_H |
3004 | 62 | 63 | ||
3005 | === modified file 'src/UbuntuToolkit/privates/listviewextensions.cpp' | |||
3006 | --- src/Ubuntu/UbuntuToolkit/privates/listviewextensions.cpp 2016-08-01 13:19:05 +0000 | |||
3007 | +++ src/UbuntuToolkit/privates/listviewextensions.cpp 2016-09-17 11:46:32 +0000 | |||
3008 | @@ -16,19 +16,24 @@ | |||
3009 | 16 | * Author Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author Zsombor Egri <zsombor.egri@canonical.com> |
3010 | 17 | */ | 17 | */ |
3011 | 18 | 18 | ||
3015 | 19 | #include "listviewextensions_p.h" | 19 | #include "privates/listviewextensions_p.h" |
3016 | 20 | #include "uclistitem_p_p.h" | 20 | |
3014 | 21 | #include "quickutils_p.h" | ||
3017 | 22 | #include <QtQuick/QQuickItem> | 21 | #include <QtQuick/QQuickItem> |
3018 | 23 | #include <QtQuick/private/qquickflickable_p.h> | 22 | #include <QtQuick/private/qquickflickable_p.h> |
3019 | 24 | #include <QtQuick/private/qquickitemview_p.h> // for QQuickItemView::BottomToTop | 23 | #include <QtQuick/private/qquickitemview_p.h> // for QQuickItemView::BottomToTop |
3020 | 25 | 24 | ||
3021 | 25 | #include "uclistitem_p_p.h" | ||
3022 | 26 | #include "quickutils_p.h" | ||
3023 | 27 | |||
3024 | 26 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
3025 | 27 | 29 | ||
3026 | 28 | ListViewProxy::ListViewProxy(QQuickFlickable *listView, QObject *parent) | 30 | ListViewProxy::ListViewProxy(QQuickFlickable *listView, QObject *parent) |
3027 | 29 | : QObject(parent) | 31 | : QObject(parent) |
3028 | 30 | , listView(listView) | 32 | , listView(listView) |
3029 | 33 | , _currentItem(Q_NULLPTR) | ||
3030 | 31 | { | 34 | { |
3031 | 35 | connect(listView, SIGNAL(currentItemChanged()), this, SLOT(onCurrentItemChanged()), Qt::DirectConnection); | ||
3032 | 36 | onCurrentItemChanged(); | ||
3033 | 32 | } | 37 | } |
3034 | 33 | ListViewProxy::~ListViewProxy() | 38 | ListViewProxy::~ListViewProxy() |
3035 | 34 | { | 39 | { |
3036 | @@ -51,7 +56,7 @@ | |||
3037 | 51 | 56 | ||
3038 | 52 | QQuickItem *ListViewProxy::currentItem() | 57 | QQuickItem *ListViewProxy::currentItem() |
3039 | 53 | { | 58 | { |
3041 | 54 | return listView->property("currentItem").value<QQuickItem*>(); | 59 | return _currentItem; |
3042 | 55 | } | 60 | } |
3043 | 56 | 61 | ||
3044 | 57 | int ListViewProxy::currentIndex() | 62 | int ListViewProxy::currentIndex() |
3045 | @@ -100,7 +105,7 @@ | |||
3046 | 100 | 105 | ||
3047 | 101 | void ListViewProxy::setKeyNavigationForListView(bool value) | 106 | void ListViewProxy::setKeyNavigationForListView(bool value) |
3048 | 102 | { | 107 | { |
3050 | 103 | UCListItem *listItem = qobject_cast<UCListItem*>(currentItem()); | 108 | UCListItem *listItem = qobject_cast<UCListItem*>(_currentItem); |
3051 | 104 | if (listItem) { | 109 | if (listItem) { |
3052 | 105 | UCListItemPrivate::get(listItem)->setListViewKeyNavigation(value); | 110 | UCListItemPrivate::get(listItem)->setListViewKeyNavigation(value); |
3053 | 106 | listItem->update(); | 111 | listItem->update(); |
3054 | @@ -114,8 +119,7 @@ | |||
3055 | 114 | case Qt::TabFocusReason: | 119 | case Qt::TabFocusReason: |
3056 | 115 | case Qt::BacktabFocusReason: | 120 | case Qt::BacktabFocusReason: |
3057 | 116 | { | 121 | { |
3060 | 117 | QQuickItem *currentItem = this->currentItem(); | 122 | if (!_currentItem && count() > 0) { |
3059 | 118 | if (!currentItem && count() > 0) { | ||
3061 | 119 | // set the first one to be the focus | 123 | // set the first one to be the focus |
3062 | 120 | setCurrentIndex(0); | 124 | setCurrentIndex(0); |
3063 | 121 | setKeyNavigationForListView(true); | 125 | setKeyNavigationForListView(true); |
3064 | @@ -135,25 +139,22 @@ | |||
3065 | 135 | int key = event->key(); | 139 | int key = event->key(); |
3066 | 136 | Qt::Orientation orientation = this->orientation(); | 140 | Qt::Orientation orientation = this->orientation(); |
3067 | 137 | 141 | ||
3087 | 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)) |
3088 | 139 | || (orientation == Qt::Horizontal && key != Qt::Key_Left && key != Qt::Key_Right)) { | 143 | || (orientation == Qt::Horizontal && (key == Qt::Key_Left || key == Qt::Key_Right))) { |
3089 | 140 | return false; | 144 | keyNavigation = true; |
3090 | 141 | } | 145 | } |
3091 | 142 | // effectiveLayoutDirection takes into account effectiveLayoutMirror and layoutDirection. | 146 | |
3092 | 143 | bool isRtl = (Qt::RightToLeft == listView->property("effectiveLayoutDirection").toInt()); | 147 | return false; |
3093 | 144 | bool isBtt = (QQuickItemView::BottomToTop == listView->property("verticalLayoutDirection").toInt()); | 148 | } |
3094 | 145 | bool forwards = (isBtt ? key == Qt::Key_Up : key == Qt::Key_Down) || (isRtl ? key == Qt::Key_Left : key == Qt::Key_Right); | 149 | |
3095 | 146 | int oldIndex = this->currentIndex(); | 150 | void ListViewProxy::onCurrentItemChanged() |
3096 | 147 | int currentIndex = this->currentIndex(); | 151 | { |
3097 | 148 | int count = this->count(); | 152 | setKeyNavigationForListView(false); |
3098 | 149 | 153 | _currentItem = listView->property("currentItem").value<QQuickItem*>(); | |
3099 | 150 | if (currentIndex >= 0 && count > 0) { | 154 | if (_currentItem && _currentItem->isEnabled()) { |
3100 | 151 | currentIndex = qBound<int>(0, forwards ? currentIndex + 1 : currentIndex - 1, count - 1); | 155 | setKeyNavigationForListView(keyNavigation); |
3101 | 152 | setCurrentIndex(currentIndex); | 156 | keyNavigation = false; |
3102 | 153 | setKeyNavigationForListView(true); | 157 | } |
3084 | 154 | } | ||
3085 | 155 | |||
3086 | 156 | return (oldIndex != currentIndex); | ||
3103 | 157 | } | 158 | } |
3104 | 158 | 159 | ||
3105 | 159 | UT_NAMESPACE_END | 160 | UT_NAMESPACE_END |
3106 | 160 | 161 | ||
3107 | === modified file 'src/UbuntuToolkit/privates/listviewextensions_p.h' | |||
3108 | --- src/Ubuntu/UbuntuToolkit/privates/listviewextensions_p.h 2016-07-07 07:21:48 +0000 | |||
3109 | +++ src/UbuntuToolkit/privates/listviewextensions_p.h 2016-09-17 11:46:32 +0000 | |||
3110 | @@ -16,11 +16,13 @@ | |||
3111 | 16 | * Author Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author Zsombor Egri <zsombor.egri@canonical.com> |
3112 | 17 | */ | 17 | */ |
3113 | 18 | 18 | ||
3116 | 19 | #ifndef LISTVIEWEXTENSIONS_H | 19 | #ifndef LISTVIEWEXTENSIONS_P_H |
3117 | 20 | #define LISTVIEWEXTENSIONS_H | 20 | #define LISTVIEWEXTENSIONS_P_H |
3118 | 21 | 21 | ||
3119 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
3121 | 23 | #include <ubuntutoolkitglobal.h> | 23 | #include <QtCore/QPointer> |
3122 | 24 | |||
3123 | 25 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3124 | 24 | 26 | ||
3125 | 25 | class QQuickFlickable; | 27 | class QQuickFlickable; |
3126 | 26 | class QQuickItem; | 28 | class QQuickItem; |
3127 | @@ -56,11 +58,14 @@ | |||
3128 | 56 | bool focusInEvent(QFocusEvent *event); | 58 | bool focusInEvent(QFocusEvent *event); |
3129 | 57 | bool keyPressEvent(QKeyEvent *event); | 59 | bool keyPressEvent(QKeyEvent *event); |
3130 | 58 | void setKeyNavigationForListView(bool value); | 60 | void setKeyNavigationForListView(bool value); |
3131 | 61 | Q_SLOT void onCurrentItemChanged(); | ||
3132 | 59 | private: | 62 | private: |
3133 | 60 | QQuickFlickable *listView; | 63 | QQuickFlickable *listView; |
3134 | 64 | QPointer<QQuickItem> _currentItem; | ||
3135 | 61 | bool isEventFilter:1; | 65 | bool isEventFilter:1; |
3136 | 66 | bool keyNavigation:1; | ||
3137 | 62 | }; | 67 | }; |
3138 | 63 | 68 | ||
3139 | 64 | UT_NAMESPACE_END | 69 | UT_NAMESPACE_END |
3140 | 65 | 70 | ||
3142 | 66 | #endif // LISTVIEWEXTENSIONS_H | 71 | #endif // LISTVIEWEXTENSIONS_P_H |
3143 | 67 | 72 | ||
3144 | === modified file 'src/UbuntuToolkit/privates/splitviewhandler.cpp' | |||
3145 | --- src/Ubuntu/UbuntuToolkit/privates/splitviewhandler.cpp 2016-08-26 05:40:23 +0000 | |||
3146 | +++ src/UbuntuToolkit/privates/splitviewhandler.cpp 2016-09-17 11:46:32 +0000 | |||
3147 | @@ -16,13 +16,15 @@ | |||
3148 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3149 | 17 | */ | 17 | */ |
3150 | 18 | 18 | ||
3152 | 19 | #include "splitviewhandler_p_p.h" | 19 | #include "privates/splitviewhandler_p.h" |
3153 | 20 | |||
3154 | 21 | #include <QtQml/QQmlEngine> | ||
3155 | 22 | #include <QtQml/QQmlInfo> | ||
3156 | 20 | #include <QtQuick/private/qquickanchors_p.h> | 23 | #include <QtQuick/private/qquickanchors_p.h> |
3157 | 21 | #include <QtQuick/private/qquickitem_p.h> | 24 | #include <QtQuick/private/qquickitem_p.h> |
3158 | 22 | #include <QtQuick/private/qquickevents_p_p.h> | 25 | #include <QtQuick/private/qquickevents_p_p.h> |
3162 | 23 | #include <QtQml/QQmlEngine> | 26 | |
3163 | 24 | #include <QtQml/QQmlInfo> | 27 | #include "splitview_p_p.h" |
3161 | 25 | #include <splitview_p_p.h> | ||
3164 | 26 | 28 | ||
3165 | 27 | UT_NAMESPACE_BEGIN | 29 | UT_NAMESPACE_BEGIN |
3166 | 28 | 30 | ||
3167 | 29 | 31 | ||
3168 | === renamed file 'src/Ubuntu/UbuntuToolkit/privates/splitviewhandler_p_p.h' => 'src/UbuntuToolkit/privates/splitviewhandler_p.h' | |||
3169 | --- src/Ubuntu/UbuntuToolkit/privates/splitviewhandler_p_p.h 2016-08-26 05:40:23 +0000 | |||
3170 | +++ src/UbuntuToolkit/privates/splitviewhandler_p.h 2016-09-17 11:46:32 +0000 | |||
3171 | @@ -16,13 +16,14 @@ | |||
3172 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3173 | 17 | */ | 17 | */ |
3174 | 18 | 18 | ||
3177 | 19 | #ifndef SPLITVIEWHANDLER_H | 19 | #ifndef SPLITVIEWHANDLER_P_H |
3178 | 20 | #define SPLITVIEWHANDLER_H | 20 | #define SPLITVIEWHANDLER_P_H |
3179 | 21 | 21 | ||
3180 | 22 | #include <QtCore/QPointer> | ||
3181 | 22 | #include <QtQuick/QQuickItem> | 23 | #include <QtQuick/QQuickItem> |
3182 | 23 | #include <QtCore/QPointer> | ||
3183 | 24 | #include <QtQuick/private/qquickmousearea_p.h> | 24 | #include <QtQuick/private/qquickmousearea_p.h> |
3185 | 25 | #include <ubuntutoolkitglobal.h> | 25 | |
3186 | 26 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3187 | 26 | 27 | ||
3188 | 27 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
3189 | 28 | 29 | ||
3190 | @@ -49,4 +50,4 @@ | |||
3191 | 49 | 50 | ||
3192 | 50 | UT_NAMESPACE_END | 51 | UT_NAMESPACE_END |
3193 | 51 | 52 | ||
3195 | 52 | #endif // SPLITVIEWHANDLER_H | 53 | #endif // SPLITVIEWHANDLER_P_H |
3196 | 53 | 54 | ||
3197 | === modified file 'src/UbuntuToolkit/privates/threelabelsslot_p.cpp' | |||
3198 | --- src/Ubuntu/UbuntuToolkit/privates/threelabelsslot_p.cpp 2016-07-18 17:18:13 +0000 | |||
3199 | +++ src/UbuntuToolkit/privates/threelabelsslot_p.cpp 2016-09-17 11:46:32 +0000 | |||
3200 | @@ -14,7 +14,8 @@ | |||
3201 | 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/>. |
3202 | 15 | */ | 15 | */ |
3203 | 16 | 16 | ||
3205 | 17 | #include "threelabelsslot_p.h" | 17 | #include "privates/threelabelsslot_p.h" |
3206 | 18 | |||
3207 | 18 | #include "label_p.h" | 19 | #include "label_p.h" |
3208 | 19 | #include "ucunits_p.h" | 20 | #include "ucunits_p.h" |
3209 | 20 | #include "ucfontutils_p.h" | 21 | #include "ucfontutils_p.h" |
3210 | 21 | 22 | ||
3211 | === modified file 'src/UbuntuToolkit/privates/threelabelsslot_p.h' | |||
3212 | --- src/Ubuntu/UbuntuToolkit/privates/threelabelsslot_p.h 2016-06-21 13:16:07 +0000 | |||
3213 | +++ src/UbuntuToolkit/privates/threelabelsslot_p.h 2016-09-17 11:46:32 +0000 | |||
3214 | @@ -14,12 +14,12 @@ | |||
3215 | 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/>. |
3216 | 15 | */ | 15 | */ |
3217 | 16 | 16 | ||
3224 | 17 | #ifndef THREELABELSSLOT_H | 17 | #ifndef THREELABELSSLOT_P_H |
3225 | 18 | #define THREELABELSSLOT_H | 18 | #define THREELABELSSLOT_P_H |
3226 | 19 | 19 | ||
3227 | 20 | #include <QQuickItem> | 20 | #include <QtQuick/private/qquickitem_p.h> |
3228 | 21 | #include <private/qquickitem_p.h> | 21 | |
3229 | 22 | #include <ubuntutoolkitglobal.h> | 22 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
3230 | 23 | 23 | ||
3231 | 24 | //The padding between title and the string below it (i.e. subtitle, or | 24 | //The padding between title and the string below it (i.e. subtitle, or |
3232 | 25 | //summary, when subtitle is empty) | 25 | //summary, when subtitle is empty) |
3233 | @@ -89,4 +89,4 @@ | |||
3234 | 89 | 89 | ||
3235 | 90 | UT_NAMESPACE_END | 90 | UT_NAMESPACE_END |
3236 | 91 | 91 | ||
3238 | 92 | #endif // THREELABELSSLOT_H | 92 | #endif // THREELABELSSLOT_P_H |
3239 | 93 | 93 | ||
3240 | === modified file 'src/UbuntuToolkit/privates/ucpagewrapper.cpp' | |||
3241 | --- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapper.cpp 2016-08-08 11:51:22 +0000 | |||
3242 | +++ src/UbuntuToolkit/privates/ucpagewrapper.cpp 2016-09-17 11:46:32 +0000 | |||
3243 | @@ -14,11 +14,12 @@ | |||
3244 | 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/>. |
3245 | 15 | */ | 15 | */ |
3246 | 16 | 16 | ||
3252 | 17 | #include "ucpagewrapper_p_p.h" | 17 | #include "privates/ucpagewrapper_p_p.h" |
3253 | 18 | #include "ucpagewrapperincubator_p.h" | 18 | |
3254 | 19 | 19 | #include <QtQml/QQmlEngine> | |
3255 | 20 | #include <QQmlEngine> | 20 | #include <QtQml/QQmlContext> |
3256 | 21 | #include <QQmlContext> | 21 | |
3257 | 22 | #include "privates/ucpagewrapperincubator_p.h" | ||
3258 | 22 | 23 | ||
3259 | 23 | UT_NAMESPACE_BEGIN | 24 | UT_NAMESPACE_BEGIN |
3260 | 24 | 25 | ||
3261 | 25 | 26 | ||
3262 | === modified file 'src/UbuntuToolkit/privates/ucpagewrapper_p.h' | |||
3263 | --- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapper_p.h 2016-07-07 07:21:48 +0000 | |||
3264 | +++ src/UbuntuToolkit/privates/ucpagewrapper_p.h 2016-09-17 11:46:32 +0000 | |||
3265 | @@ -14,11 +14,11 @@ | |||
3266 | 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/>. |
3267 | 15 | */ | 15 | */ |
3268 | 16 | 16 | ||
3271 | 17 | #ifndef UCPAGEWRAPPER_H | 17 | #ifndef UCPAGEWRAPPER_P_H |
3272 | 18 | #define UCPAGEWRAPPER_H | 18 | #define UCPAGEWRAPPER_P_H |
3273 | 19 | 19 | ||
3276 | 20 | #include <ubuntutoolkitglobal.h> | 20 | #include <UbuntuToolkit/private/ucpagetreenode_p.h> |
3277 | 21 | #include "ucpagetreenode_p.h" | 21 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
3278 | 22 | 22 | ||
3279 | 23 | UT_NAMESPACE_BEGIN | 23 | UT_NAMESPACE_BEGIN |
3280 | 24 | 24 | ||
3281 | 25 | 25 | ||
3282 | === modified file 'src/UbuntuToolkit/privates/ucpagewrapper_p_p.h' | |||
3283 | --- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapper_p_p.h 2016-07-07 07:21:48 +0000 | |||
3284 | +++ src/UbuntuToolkit/privates/ucpagewrapper_p_p.h 2016-09-17 11:46:32 +0000 | |||
3285 | @@ -14,12 +14,13 @@ | |||
3286 | 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/>. |
3287 | 15 | */ | 15 | */ |
3288 | 16 | 16 | ||
3295 | 17 | #ifndef UCPAGEWRAPPER_P_H | 17 | #ifndef UCPAGEWRAPPER_P_P_H |
3296 | 18 | #define UCPAGEWRAPPER_P_H | 18 | #define UCPAGEWRAPPER_P_P_H |
3297 | 19 | 19 | ||
3298 | 20 | #include <ubuntutoolkitglobal.h> | 20 | #include <UbuntuToolkit/private/ucpagewrapper_p.h> |
3299 | 21 | #include "ucpagetreenode_p_p.h" | 21 | |
3300 | 22 | #include "ucpagewrapper_p.h" | 22 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
3301 | 23 | #include <UbuntuToolkit/private/ucpagetreenode_p_p.h> | ||
3302 | 23 | 24 | ||
3303 | 24 | UT_NAMESPACE_BEGIN | 25 | UT_NAMESPACE_BEGIN |
3304 | 25 | 26 | ||
3305 | @@ -80,4 +81,4 @@ | |||
3306 | 80 | 81 | ||
3307 | 81 | UT_NAMESPACE_END | 82 | UT_NAMESPACE_END |
3308 | 82 | 83 | ||
3310 | 83 | #endif // UCPAGEWRAPPER_P_H | 84 | #endif // UCPAGEWRAPPER_P_P_H |
3311 | 84 | 85 | ||
3312 | === modified file 'src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp' | |||
3313 | --- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapperincubator.cpp 2016-06-17 11:26:12 +0000 | |||
3314 | +++ src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp 2016-09-17 11:46:32 +0000 | |||
3315 | @@ -14,9 +14,10 @@ | |||
3316 | 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/>. |
3317 | 15 | */ | 15 | */ |
3318 | 16 | 16 | ||
3322 | 17 | #include "ucpagewrapperincubator_p.h" | 17 | #include "privates/ucpagewrapperincubator_p.h" |
3323 | 18 | #include <QVariantMap> | 18 | |
3324 | 19 | #include <QQmlInfo> | 19 | #include <QtCore/QVariantMap> |
3325 | 20 | #include <QtQml/QQmlInfo> | ||
3326 | 20 | 21 | ||
3327 | 21 | UT_NAMESPACE_BEGIN | 22 | UT_NAMESPACE_BEGIN |
3328 | 22 | 23 | ||
3329 | 23 | 24 | ||
3330 | === modified file 'src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h' | |||
3331 | --- src/Ubuntu/UbuntuToolkit/privates/ucpagewrapperincubator_p.h 2016-06-17 11:26:12 +0000 | |||
3332 | +++ src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h 2016-09-17 11:46:32 +0000 | |||
3333 | @@ -14,14 +14,15 @@ | |||
3334 | 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/>. |
3335 | 15 | */ | 15 | */ |
3336 | 16 | 16 | ||
3345 | 17 | #ifndef UCPAGEWRAPPERINCUBATOR_H | 17 | #ifndef UCPAGEWRAPPERINCUBATOR_P_H |
3346 | 18 | #define UCPAGEWRAPPERINCUBATOR_H | 18 | #define UCPAGEWRAPPERINCUBATOR_P_H |
3347 | 19 | 19 | ||
3348 | 20 | #include <QObject> | 20 | #include <QtCore/QObject> |
3349 | 21 | #include <QQmlIncubator> | 21 | #include <QtCore/QVariant> |
3350 | 22 | #include <QJSValue> | 22 | #include <QtQml/QQmlIncubator> |
3351 | 23 | #include <QVariant> | 23 | #include <QtQml/QJSValue> |
3352 | 24 | #include <ubuntutoolkitglobal.h> | 24 | |
3353 | 25 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3354 | 25 | 26 | ||
3355 | 26 | UT_NAMESPACE_BEGIN | 27 | UT_NAMESPACE_BEGIN |
3356 | 27 | 28 | ||
3357 | @@ -61,4 +62,4 @@ | |||
3358 | 61 | 62 | ||
3359 | 62 | UT_NAMESPACE_END | 63 | UT_NAMESPACE_END |
3360 | 63 | 64 | ||
3362 | 64 | #endif // UCPAGEWRAPPERINCUBATOR_H | 65 | #endif // UCPAGEWRAPPERINCUBATOR_P_H |
3363 | 65 | 66 | ||
3364 | === modified file 'src/UbuntuToolkit/privates/ucscrollbarutils.cpp' | |||
3365 | --- src/Ubuntu/UbuntuToolkit/privates/ucscrollbarutils.cpp 2016-08-01 13:48:02 +0000 | |||
3366 | +++ src/UbuntuToolkit/privates/ucscrollbarutils.cpp 2016-09-17 11:46:32 +0000 | |||
3367 | @@ -16,7 +16,8 @@ | |||
3368 | 16 | * Author: Andrea Bernabei <andrea.bernabei@canonical.com> | 16 | * Author: Andrea Bernabei <andrea.bernabei@canonical.com> |
3369 | 17 | */ | 17 | */ |
3370 | 18 | 18 | ||
3372 | 19 | #include "ucscrollbarutils_p.h" | 19 | #include "privates/ucscrollbarutils_p.h" |
3373 | 20 | |||
3374 | 20 | #include <QtQuick/private/qquickitem_p.h> | 21 | #include <QtQuick/private/qquickitem_p.h> |
3375 | 21 | 22 | ||
3376 | 22 | UT_NAMESPACE_BEGIN | 23 | UT_NAMESPACE_BEGIN |
3377 | 23 | 24 | ||
3378 | === modified file 'src/UbuntuToolkit/privates/ucscrollbarutils_p.h' | |||
3379 | --- src/Ubuntu/UbuntuToolkit/privates/ucscrollbarutils_p.h 2016-08-01 13:48:02 +0000 | |||
3380 | +++ src/UbuntuToolkit/privates/ucscrollbarutils_p.h 2016-09-17 11:46:32 +0000 | |||
3381 | @@ -16,11 +16,12 @@ | |||
3382 | 16 | * Author: Andrea Bernabei <andrea.bernabei@canonical.com> | 16 | * Author: Andrea Bernabei <andrea.bernabei@canonical.com> |
3383 | 17 | */ | 17 | */ |
3384 | 18 | 18 | ||
3390 | 19 | #ifndef UCSCROLLBARUTILS_H | 19 | #ifndef UCSCROLLBARUTILS_P_H |
3391 | 20 | #define UCSCROLLBARUTILS_H | 20 | #define UCSCROLLBARUTILS_P_H |
3392 | 21 | 21 | ||
3393 | 22 | #include <QObject> | 22 | #include <QtCore/QObject> |
3394 | 23 | #include <ubuntutoolkitglobal.h> | 23 | |
3395 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3396 | 24 | 25 | ||
3397 | 25 | class QQuickItem; | 26 | class QQuickItem; |
3398 | 26 | 27 | ||
3399 | @@ -38,4 +39,4 @@ | |||
3400 | 38 | 39 | ||
3401 | 39 | UT_NAMESPACE_END | 40 | UT_NAMESPACE_END |
3402 | 40 | 41 | ||
3404 | 41 | #endif // UCSCROLLBARUTILS_H | 42 | #endif // UCSCROLLBARUTILS_P_H |
3405 | 42 | 43 | ||
3406 | === modified file 'src/UbuntuToolkit/propertychange_p.h' | |||
3407 | --- src/Ubuntu/UbuntuToolkit/propertychange_p.h 2016-07-07 07:21:48 +0000 | |||
3408 | +++ src/UbuntuToolkit/propertychange_p.h 2016-09-17 11:46:32 +0000 | |||
3409 | @@ -17,14 +17,14 @@ | |||
3410 | 17 | #ifndef PROPERTYCHANGE_P_H | 17 | #ifndef PROPERTYCHANGE_P_H |
3411 | 18 | #define PROPERTYCHANGE_P_H | 18 | #define PROPERTYCHANGE_P_H |
3412 | 19 | 19 | ||
3413 | 20 | #include <QtCore/QObject> | ||
3414 | 20 | #include <QtCore/QVariant> | 21 | #include <QtCore/QVariant> |
3416 | 21 | #include <QtCore/QObject> | 22 | #if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) |
3417 | 23 | #include <QtCore/QExplicitlySharedDataPointer> | ||
3418 | 24 | #endif | ||
3419 | 22 | #include <QtQml/QQmlProperty> | 25 | #include <QtQml/QQmlProperty> |
3420 | 23 | 26 | ||
3425 | 24 | #if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) | 27 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
3422 | 25 | #include <QtCore/QExplicitlySharedDataPointer> | ||
3423 | 26 | #endif | ||
3424 | 27 | #include <ubuntutoolkitglobal.h> | ||
3426 | 28 | 28 | ||
3427 | 29 | class QQmlAbstractBinding; | 29 | class QQmlAbstractBinding; |
3428 | 30 | 30 | ||
3429 | 31 | 31 | ||
3430 | === modified file 'src/UbuntuToolkit/qquickclipboard.cpp' | |||
3431 | --- src/Ubuntu/UbuntuToolkit/qquickclipboard.cpp 2016-07-07 18:17:56 +0000 | |||
3432 | +++ src/UbuntuToolkit/qquickclipboard.cpp 2016-09-17 11:46:32 +0000 | |||
3433 | @@ -16,10 +16,11 @@ | |||
3434 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3435 | 17 | */ | 17 | */ |
3436 | 18 | 18 | ||
3437 | 19 | #include "qquickclipboard_p_p.h" | ||
3438 | 20 | |||
3439 | 19 | #include <QtGui/QClipboard> | 21 | #include <QtGui/QClipboard> |
3440 | 20 | #include <QtGui/QGuiApplication> | 22 | #include <QtGui/QGuiApplication> |
3441 | 21 | 23 | ||
3442 | 22 | #include "qquickclipboard_p_p.h" | ||
3443 | 23 | #include "qquickmimedata_p.h" | 24 | #include "qquickmimedata_p.h" |
3444 | 24 | 25 | ||
3445 | 25 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
3446 | 26 | 27 | ||
3447 | === modified file 'src/UbuntuToolkit/qquickclipboard_p.h' | |||
3448 | --- src/Ubuntu/UbuntuToolkit/qquickclipboard_p.h 2016-07-07 18:17:56 +0000 | |||
3449 | +++ src/UbuntuToolkit/qquickclipboard_p.h 2016-09-17 11:46:32 +0000 | |||
3450 | @@ -16,13 +16,14 @@ | |||
3451 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3452 | 17 | */ | 17 | */ |
3453 | 18 | 18 | ||
3456 | 19 | #ifndef QQUICKCLIPBOARD_H | 19 | #ifndef QQUICKCLIPBOARD_P_H |
3457 | 20 | #define QQUICKCLIPBOARD_H | 20 | #define QQUICKCLIPBOARD_P_H |
3458 | 21 | 21 | ||
3459 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
3460 | 23 | #include <QtQml/QJSEngine> | 23 | #include <QtQml/QJSEngine> |
3461 | 24 | #include <QtQml/QQmlEngine> | 24 | #include <QtQml/QQmlEngine> |
3463 | 25 | #include <ubuntutoolkitglobal.h> | 25 | |
3464 | 26 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3465 | 26 | 27 | ||
3466 | 27 | class QQmlEngine; | 28 | class QQmlEngine; |
3467 | 28 | class QJSEngine; | 29 | class QJSEngine; |
3468 | @@ -60,4 +61,4 @@ | |||
3469 | 60 | 61 | ||
3470 | 61 | UT_NAMESPACE_END | 62 | UT_NAMESPACE_END |
3471 | 62 | 63 | ||
3473 | 63 | #endif // QQUICKCLIPBOARD_H | 64 | #endif // QQUICKCLIPBOARD_P_H |
3474 | 64 | 65 | ||
3475 | === modified file 'src/UbuntuToolkit/qquickclipboard_p_p.h' | |||
3476 | --- src/Ubuntu/UbuntuToolkit/qquickclipboard_p_p.h 2016-07-07 18:17:56 +0000 | |||
3477 | +++ src/UbuntuToolkit/qquickclipboard_p_p.h 2016-09-17 11:46:32 +0000 | |||
3478 | @@ -16,12 +16,13 @@ | |||
3479 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3480 | 17 | */ | 17 | */ |
3481 | 18 | 18 | ||
3486 | 19 | #ifndef QQUICKCLIPBOARD_P_H | 19 | #ifndef QQUICKCLIPBOARD_P_P_H |
3487 | 20 | #define QQUICKCLIPBOARD_P_H | 20 | #define QQUICKCLIPBOARD_P_P_H |
3488 | 21 | 21 | ||
3489 | 22 | #include "qquickclipboard_p.h" | 22 | #include <UbuntuToolkit/private/qquickclipboard_p.h> |
3490 | 23 | |||
3491 | 24 | #include <QtCore/private/qobject_p.h> | ||
3492 | 23 | #include <QtGui/QClipboard> | 25 | #include <QtGui/QClipboard> |
3493 | 24 | #include <QtCore/private/qobject_p.h> | ||
3494 | 25 | 26 | ||
3495 | 26 | UT_NAMESPACE_BEGIN | 27 | UT_NAMESPACE_BEGIN |
3496 | 27 | 28 | ||
3497 | @@ -41,4 +42,4 @@ | |||
3498 | 41 | 42 | ||
3499 | 42 | UT_NAMESPACE_END | 43 | UT_NAMESPACE_END |
3500 | 43 | 44 | ||
3502 | 44 | #endif // QQUICKCLIPBOARD_P_H | 45 | #endif // QQUICKCLIPBOARD_P_P_H |
3503 | 45 | 46 | ||
3504 | === modified file 'src/UbuntuToolkit/qquickmimedata.cpp' | |||
3505 | --- src/Ubuntu/UbuntuToolkit/qquickmimedata.cpp 2016-07-07 07:21:48 +0000 | |||
3506 | +++ src/UbuntuToolkit/qquickmimedata.cpp 2016-09-17 11:46:32 +0000 | |||
3507 | @@ -16,14 +16,14 @@ | |||
3508 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3509 | 17 | */ | 17 | */ |
3510 | 18 | 18 | ||
3513 | 19 | #include <QtGui/QClipboard> | 19 | #include "qquickmimedata_p.h" |
3514 | 20 | #include <QtGui/QGuiApplication> | 20 | |
3515 | 21 | #include <QtCore/QMimeData> | 21 | #include <QtCore/QMimeData> |
3516 | 22 | #include <QtCore/QMimeDatabase> | 22 | #include <QtCore/QMimeDatabase> |
3517 | 23 | #include <QtCore/QMimeType> | 23 | #include <QtCore/QMimeType> |
3521 | 24 | #include "qquickmimedata_p.h" | 24 | #include <QtCore/QDebug> |
3522 | 25 | 25 | #include <QtGui/QClipboard> | |
3523 | 26 | #include <QDebug> | 26 | #include <QtGui/QGuiApplication> |
3524 | 27 | 27 | ||
3525 | 28 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
3526 | 29 | 29 | ||
3527 | 30 | 30 | ||
3528 | === modified file 'src/UbuntuToolkit/qquickmimedata_p.h' | |||
3529 | --- src/Ubuntu/UbuntuToolkit/qquickmimedata_p.h 2016-07-07 07:21:48 +0000 | |||
3530 | +++ src/UbuntuToolkit/qquickmimedata_p.h 2016-09-17 11:46:32 +0000 | |||
3531 | @@ -16,14 +16,15 @@ | |||
3532 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3533 | 17 | */ | 17 | */ |
3534 | 18 | 18 | ||
3537 | 19 | #ifndef QQUICKMIMEDATA_H | 19 | #ifndef QQUICKMIMEDATA_P_H |
3538 | 20 | #define QQUICKMIMEDATA_H | 20 | #define QQUICKMIMEDATA_P_H |
3539 | 21 | 21 | ||
3540 | 22 | #include <QtCore/QMimeData> | 22 | #include <QtCore/QMimeData> |
3541 | 23 | #include <QtCore/QStringList> | 23 | #include <QtCore/QStringList> |
3542 | 24 | #include <QtCore/QUrl> | ||
3543 | 24 | #include <QtGui/QColor> | 25 | #include <QtGui/QColor> |
3546 | 25 | #include <QtCore/QUrl> | 26 | |
3547 | 26 | #include "qquickclipboard_p.h" | 27 | #include <UbuntuToolkit/private/qquickclipboard_p.h> |
3548 | 27 | 28 | ||
3549 | 28 | UT_NAMESPACE_BEGIN | 29 | UT_NAMESPACE_BEGIN |
3550 | 29 | 30 | ||
3551 | @@ -74,4 +75,4 @@ | |||
3552 | 74 | 75 | ||
3553 | 75 | UT_NAMESPACE_END | 76 | UT_NAMESPACE_END |
3554 | 76 | 77 | ||
3556 | 77 | #endif // QQUICKMIMEDATA_H | 78 | #endif // QQUICKMIMEDATA_P_H |
3557 | 78 | 79 | ||
3558 | === modified file 'src/UbuntuToolkit/quickutils.cpp' | |||
3559 | --- src/Ubuntu/UbuntuToolkit/quickutils.cpp 2016-07-07 07:21:48 +0000 | |||
3560 | +++ src/UbuntuToolkit/quickutils.cpp 2016-09-17 11:46:32 +0000 | |||
3561 | @@ -12,23 +12,21 @@ | |||
3562 | 12 | * | 12 | * |
3563 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
3564 | 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/>. |
3565 | 15 | * | ||
3566 | 16 | */ | 15 | */ |
3567 | 17 | 16 | ||
3568 | 18 | #include "quickutils_p.h" | 17 | #include "quickutils_p.h" |
3569 | 19 | 18 | ||
3570 | 20 | #include <QGuiApplication> | ||
3571 | 21 | #include <QtQuick/QQuickView> | ||
3572 | 22 | #include <QtQuick/QQuickItem> | ||
3573 | 23 | #include <QtQml/QQmlContext> | ||
3574 | 24 | #include <QtCore/QAbstractListModel> | 19 | #include <QtCore/QAbstractListModel> |
3575 | 25 | #include <QtCore/QAbstractProxyModel> | 20 | #include <QtCore/QAbstractProxyModel> |
3576 | 21 | #include <QtGui/QGuiApplication> | ||
3577 | 22 | #include <QtQml/QQmlContext> | ||
3578 | 26 | #include <QtQml/QQmlPropertyMap> | 23 | #include <QtQml/QQmlPropertyMap> |
3579 | 27 | #include <QtQml/QQmlInfo> | 24 | #include <QtQml/QQmlInfo> |
3580 | 28 | #include <QtQml/QQmlEngine> | 25 | #include <QtQml/QQmlEngine> |
3584 | 29 | 26 | #include <QtQuick/QQuickView> | |
3585 | 30 | #include <private/qquicktextinput_p.h> | 27 | #include <QtQuick/QQuickItem> |
3586 | 31 | #include <private/qquicktextedit_p.h> | 28 | #include <QtQuick/private/qquicktextinput_p.h> |
3587 | 29 | #include <QtQuick/private/qquicktextedit_p.h> | ||
3588 | 32 | 30 | ||
3589 | 33 | UT_NAMESPACE_BEGIN | 31 | UT_NAMESPACE_BEGIN |
3590 | 34 | 32 | ||
3591 | @@ -36,6 +34,7 @@ | |||
3592 | 36 | 34 | ||
3593 | 37 | QuickUtils::QuickUtils(QObject *parent) : | 35 | QuickUtils::QuickUtils(QObject *parent) : |
3594 | 38 | QObject(parent), | 36 | QObject(parent), |
3595 | 37 | m_rootWindow(0), | ||
3596 | 39 | m_rootView(0), | 38 | m_rootView(0), |
3597 | 40 | m_mouseAttached(false), | 39 | m_mouseAttached(false), |
3598 | 41 | m_keyboardAttached(false) | 40 | m_keyboardAttached(false) |
3599 | @@ -86,7 +85,7 @@ | |||
3600 | 86 | // make sure we have the m_rootView updated | 85 | // make sure we have the m_rootView updated |
3601 | 87 | lookupQuickView(); | 86 | lookupQuickView(); |
3602 | 88 | if (!object) { | 87 | if (!object) { |
3604 | 89 | return (m_rootView) ? m_rootView->rootObject() : 0; | 88 | return m_rootView ? m_rootView->rootObject() : (m_rootWindow ? m_rootWindow->contentItem() : 0); |
3605 | 90 | } | 89 | } |
3606 | 91 | 90 | ||
3607 | 92 | QQuickItem *item = qobject_cast<QQuickItem*>(object); | 91 | QQuickItem *item = qobject_cast<QQuickItem*>(object); |
3608 | @@ -175,9 +174,10 @@ | |||
3609 | 175 | */ | 174 | */ |
3610 | 176 | void QuickUtils::lookupQuickView() | 175 | void QuickUtils::lookupQuickView() |
3611 | 177 | { | 176 | { |
3613 | 178 | if (m_rootView) | 177 | if (m_rootWindow) |
3614 | 179 | return; | 178 | return; |
3615 | 180 | Q_FOREACH (QWindow *w, QGuiApplication::topLevelWindows()) { | 179 | Q_FOREACH (QWindow *w, QGuiApplication::topLevelWindows()) { |
3616 | 180 | m_rootWindow = qobject_cast<QQuickWindow*>(w); | ||
3617 | 181 | m_rootView = qobject_cast<QQuickView*>(w); | 181 | m_rootView = qobject_cast<QQuickView*>(w); |
3618 | 182 | if (m_rootView) { | 182 | if (m_rootView) { |
3619 | 183 | // connect in case we get the root object changed | 183 | // connect in case we get the root object changed |
3620 | 184 | 184 | ||
3621 | === modified file 'src/UbuntuToolkit/quickutils_p.h' | |||
3622 | --- src/Ubuntu/UbuntuToolkit/quickutils_p.h 2016-07-07 07:21:48 +0000 | |||
3623 | +++ src/UbuntuToolkit/quickutils_p.h 2016-09-17 11:46:32 +0000 | |||
3624 | @@ -12,7 +12,6 @@ | |||
3625 | 12 | * | 12 | * |
3626 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
3627 | 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/>. |
3628 | 15 | * | ||
3629 | 16 | */ | 15 | */ |
3630 | 17 | 16 | ||
3631 | 18 | #ifndef QUICKUTILS_P_H | 17 | #ifndef QUICKUTILS_P_H |
3632 | @@ -21,7 +20,8 @@ | |||
3633 | 21 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
3634 | 22 | #include <QtCore/QPointer> | 21 | #include <QtCore/QPointer> |
3635 | 23 | #include <QtQuick/QQuickView> | 22 | #include <QtQuick/QQuickView> |
3637 | 24 | #include <ubuntutoolkitglobal.h> | 23 | |
3638 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3639 | 25 | 25 | ||
3640 | 26 | class QQuickItem; | 26 | class QQuickItem; |
3641 | 27 | class QQmlEngine; | 27 | class QQmlEngine; |
3642 | @@ -85,6 +85,7 @@ | |||
3643 | 85 | 85 | ||
3644 | 86 | private: | 86 | private: |
3645 | 87 | explicit QuickUtils(QObject *parent = 0); | 87 | explicit QuickUtils(QObject *parent = 0); |
3646 | 88 | QPointer<QQuickWindow> m_rootWindow; | ||
3647 | 88 | QPointer<QQuickView> m_rootView; | 89 | QPointer<QQuickView> m_rootView; |
3648 | 89 | QStringList m_omitIM; | 90 | QStringList m_omitIM; |
3649 | 90 | bool m_mouseAttached; | 91 | bool m_mouseAttached; |
3650 | 91 | 92 | ||
3651 | === modified file 'src/UbuntuToolkit/sortbehavior_p.h' | |||
3652 | --- src/Ubuntu/UbuntuToolkit/sortbehavior_p.h 2016-07-07 07:21:48 +0000 | |||
3653 | +++ src/UbuntuToolkit/sortbehavior_p.h 2016-09-17 11:46:32 +0000 | |||
3654 | @@ -17,11 +17,12 @@ | |||
3655 | 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/>. |
3656 | 18 | */ | 18 | */ |
3657 | 19 | 19 | ||
3663 | 20 | #ifndef SORTBEHAVIOR_H | 20 | #ifndef SORTBEHAVIOR_P_H |
3664 | 21 | #define SORTBEHAVIOR_H | 21 | #define SORTBEHAVIOR_P_H |
3665 | 22 | 22 | ||
3666 | 23 | #include <QSortFilterProxyModel> | 23 | #include <QtCore/QSortFilterProxyModel> |
3667 | 24 | #include <ubuntutoolkitglobal.h> | 24 | |
3668 | 25 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3669 | 25 | 26 | ||
3670 | 26 | UT_NAMESPACE_BEGIN | 27 | UT_NAMESPACE_BEGIN |
3671 | 27 | 28 | ||
3672 | @@ -50,4 +51,4 @@ | |||
3673 | 50 | 51 | ||
3674 | 51 | UT_NAMESPACE_END | 52 | UT_NAMESPACE_END |
3675 | 52 | 53 | ||
3677 | 53 | #endif // SORTBEHAVIOR_H | 54 | #endif // SORTBEHAVIOR_P_H |
3678 | 54 | 55 | ||
3679 | === modified file 'src/UbuntuToolkit/sortfiltermodel_p.h' | |||
3680 | --- src/Ubuntu/UbuntuToolkit/sortfiltermodel_p.h 2016-08-16 08:43:28 +0000 | |||
3681 | +++ src/UbuntuToolkit/sortfiltermodel_p.h 2016-09-17 11:46:32 +0000 | |||
3682 | @@ -18,12 +18,13 @@ | |||
3683 | 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/>. |
3684 | 19 | */ | 19 | */ |
3685 | 20 | 20 | ||
3692 | 21 | #ifndef QSORTFILTERPROXYMODELQML_H | 21 | #ifndef SORTFILTERMODEL_P_H |
3693 | 22 | #define QSORTFILTERPROXYMODELQML_H | 22 | #define SORTFILTERMODEL_P_H |
3694 | 23 | 23 | ||
3695 | 24 | #include <QSortFilterProxyModel> | 24 | #include <QtCore/QSortFilterProxyModel> |
3696 | 25 | #include "sortbehavior_p.h" | 25 | |
3697 | 26 | #include "filterbehavior_p.h" | 26 | #include <UbuntuToolkit/private/sortbehavior_p.h> |
3698 | 27 | #include <UbuntuToolkit/private/filterbehavior_p.h> | ||
3699 | 27 | 28 | ||
3700 | 28 | UT_NAMESPACE_BEGIN | 29 | UT_NAMESPACE_BEGIN |
3701 | 29 | 30 | ||
3702 | @@ -73,4 +74,4 @@ | |||
3703 | 73 | 74 | ||
3704 | 74 | UT_NAMESPACE_END | 75 | UT_NAMESPACE_END |
3705 | 75 | 76 | ||
3707 | 76 | #endif // QSORTFILTERPROXYMODELQML_H | 77 | #endif // SORTFILTERMODEL_P_H |
3708 | 77 | 78 | ||
3709 | === modified file 'src/UbuntuToolkit/splitview.cpp' | |||
3710 | --- src/Ubuntu/UbuntuToolkit/splitview.cpp 2016-08-11 14:47:05 +0000 | |||
3711 | +++ src/UbuntuToolkit/splitview.cpp 2016-09-17 11:46:32 +0000 | |||
3712 | @@ -16,16 +16,15 @@ | |||
3713 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3714 | 17 | */ | 17 | */ |
3715 | 18 | 18 | ||
3716 | 19 | #include "splitview_p_p.h" | ||
3717 | 20 | |||
3718 | 21 | #include <QtQml/QQmlInfo> | ||
3719 | 22 | #include <QtQuick/private/qquickanchors_p.h> | ||
3720 | 19 | #include <QtQuick/private/qquickitem_p.h> | 23 | #include <QtQuick/private/qquickitem_p.h> |
3721 | 20 | #include <QtQuick/private/qquickanchors_p.h> | ||
3722 | 21 | #include <QtQml/QQmlInfo> | ||
3723 | 22 | 24 | ||
3724 | 23 | #include "splitview_p.h" | ||
3725 | 24 | #include "splitview_p_p.h" | ||
3726 | 25 | #include "ucunits_p.h" | 25 | #include "ucunits_p.h" |
3727 | 26 | #include "ucpagetreenode_p.h" | 26 | #include "ucpagetreenode_p.h" |
3730 | 27 | 27 | #include "privates/splitviewhandler_p.h" | |
3729 | 28 | #include "privates/splitviewhandler_p_p.h" | ||
3731 | 29 | 28 | ||
3732 | 30 | #define DEFAULT_SPACING_DP 4 | 29 | #define DEFAULT_SPACING_DP 4 |
3733 | 31 | 30 | ||
3734 | 32 | 31 | ||
3735 | === modified file 'src/UbuntuToolkit/splitview_p.h' | |||
3736 | --- src/Ubuntu/UbuntuToolkit/splitview_p.h 2016-08-09 13:23:04 +0000 | |||
3737 | +++ src/UbuntuToolkit/splitview_p.h 2016-09-17 11:46:32 +0000 | |||
3738 | @@ -21,7 +21,7 @@ | |||
3739 | 21 | 21 | ||
3740 | 22 | #include <QtQuick/private/qquickpositioners_p.h> | 22 | #include <QtQuick/private/qquickpositioners_p.h> |
3741 | 23 | 23 | ||
3743 | 24 | #include "ubuntutoolkitglobal.h" | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
3744 | 25 | 25 | ||
3745 | 26 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
3746 | 27 | 27 | ||
3747 | 28 | 28 | ||
3748 | === modified file 'src/UbuntuToolkit/splitview_p_p.h' | |||
3749 | --- src/Ubuntu/UbuntuToolkit/splitview_p_p.h 2016-08-10 07:34:04 +0000 | |||
3750 | +++ src/UbuntuToolkit/splitview_p_p.h 2016-09-17 11:46:32 +0000 | |||
3751 | @@ -19,7 +19,8 @@ | |||
3752 | 19 | #ifndef SPLITVIEW_P_P_H | 19 | #ifndef SPLITVIEW_P_P_H |
3753 | 20 | #define SPLITVIEW_P_P_H | 20 | #define SPLITVIEW_P_P_H |
3754 | 21 | 21 | ||
3756 | 22 | #include "splitview_p.h" | 22 | #include <UbuntuToolkit/private/splitview_p.h> |
3757 | 23 | |||
3758 | 23 | #include <QtCore/private/qobject_p.h> | 24 | #include <QtCore/private/qobject_p.h> |
3759 | 24 | 25 | ||
3760 | 25 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
3761 | 26 | 27 | ||
3762 | === modified file 'src/UbuntuToolkit/splitviewlayout.cpp' | |||
3763 | --- src/Ubuntu/UbuntuToolkit/splitviewlayout.cpp 2016-08-11 14:07:52 +0000 | |||
3764 | +++ src/UbuntuToolkit/splitviewlayout.cpp 2016-09-17 11:46:32 +0000 | |||
3765 | @@ -15,12 +15,12 @@ | |||
3766 | 15 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 15 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
3767 | 16 | */ | 16 | */ |
3768 | 17 | 17 | ||
3769 | 18 | #include "splitview_p_p.h" | ||
3770 | 19 | |||
3771 | 20 | #include <QtQuick/private/qquickanchors_p.h> | ||
3772 | 18 | #include <QtQuick/private/qquickitem_p.h> | 21 | #include <QtQuick/private/qquickitem_p.h> |
3773 | 19 | #include <QtQuick/private/qquickanchors_p.h> | ||
3774 | 20 | #include <QtQml/QQmlInfo> | 22 | #include <QtQml/QQmlInfo> |
3775 | 21 | 23 | ||
3776 | 22 | #include "splitview_p.h" | ||
3777 | 23 | #include "splitview_p_p.h" | ||
3778 | 24 | #include "ucmathutils_p.h" | 24 | #include "ucmathutils_p.h" |
3779 | 25 | 25 | ||
3780 | 26 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
3781 | 27 | 27 | ||
3782 | === modified file 'src/UbuntuToolkit/statesaverbackend_p.cpp' | |||
3783 | --- src/Ubuntu/UbuntuToolkit/statesaverbackend_p.cpp 2016-07-07 07:21:48 +0000 | |||
3784 | +++ src/UbuntuToolkit/statesaverbackend_p.cpp 2016-09-17 11:46:32 +0000 | |||
3785 | @@ -17,18 +17,19 @@ | |||
3786 | 17 | */ | 17 | */ |
3787 | 18 | 18 | ||
3788 | 19 | #include "statesaverbackend_p.h" | 19 | #include "statesaverbackend_p.h" |
3794 | 20 | #include "ucapplication_p.h" | 20 | |
3790 | 21 | #include <QtQml/QQmlContext> | ||
3791 | 22 | #include <QtQml/QQmlProperty> | ||
3792 | 23 | #include <QtQml/qqmlinfo.h> | ||
3793 | 24 | #include <QtQml/qqml.h> | ||
3795 | 25 | #include <QtCore/QCoreApplication> | 21 | #include <QtCore/QCoreApplication> |
3796 | 26 | #include <QtCore/QFile> | 22 | #include <QtCore/QFile> |
3797 | 23 | #include <QtCore/QStandardPaths> | ||
3798 | 27 | #include <QtCore/QStringList> | 24 | #include <QtCore/QStringList> |
3799 | 25 | #include <QtQml/QtQml> | ||
3800 | 26 | #include <QtQml/QQmlContext> | ||
3801 | 27 | #include <QtQml/QQmlInfo> | ||
3802 | 28 | #include <QtQml/QQmlProperty> | ||
3803 | 29 | |||
3804 | 28 | #include "i18n_p.h" | 30 | #include "i18n_p.h" |
3805 | 29 | #include "quickutils_p.h" | 31 | #include "quickutils_p.h" |
3808 | 30 | #include <QtCore/QStandardPaths> | 32 | #include "ucapplication_p.h" |
3807 | 31 | |||
3809 | 32 | #include "unixsignalhandler_p.h" | 33 | #include "unixsignalhandler_p.h" |
3810 | 33 | 34 | ||
3811 | 34 | UT_NAMESPACE_BEGIN | 35 | UT_NAMESPACE_BEGIN |
3812 | 35 | 36 | ||
3813 | === modified file 'src/UbuntuToolkit/statesaverbackend_p.h' | |||
3814 | --- src/Ubuntu/UbuntuToolkit/statesaverbackend_p.h 2016-07-06 09:51:06 +0000 | |||
3815 | +++ src/UbuntuToolkit/statesaverbackend_p.h 2016-09-17 11:46:32 +0000 | |||
3816 | @@ -20,12 +20,13 @@ | |||
3817 | 20 | #define STATESAVERBACKEND_P_H | 20 | #define STATESAVERBACKEND_P_H |
3818 | 21 | 21 | ||
3819 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
3820 | 23 | #include <QtCore/QSettings> | ||
3821 | 24 | #include <QtCore/QPointer> | 23 | #include <QtCore/QPointer> |
3822 | 25 | #include <QtCore/QSet> | 24 | #include <QtCore/QSet> |
3823 | 25 | #include <QtCore/QSettings> | ||
3824 | 26 | #include <QtCore/QStack> | ||
3825 | 26 | #include <QtCore/QTimer> | 27 | #include <QtCore/QTimer> |
3828 | 27 | #include <QtCore/QStack> | 28 | |
3829 | 28 | #include <ubuntutoolkitglobal.h> | 29 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
3830 | 29 | 30 | ||
3831 | 30 | UT_NAMESPACE_BEGIN | 31 | UT_NAMESPACE_BEGIN |
3832 | 31 | 32 | ||
3833 | 32 | 33 | ||
3834 | === modified file 'src/UbuntuToolkit/timeutils_p.h' | |||
3835 | --- src/Ubuntu/UbuntuToolkit/timeutils_p.h 2016-07-07 07:21:48 +0000 | |||
3836 | +++ src/UbuntuToolkit/timeutils_p.h 2016-09-17 11:46:32 +0000 | |||
3837 | @@ -17,12 +17,12 @@ | |||
3838 | 17 | #ifndef TIMEUTILS_P_H | 17 | #ifndef TIMEUTILS_P_H |
3839 | 18 | #define TIMEUTILS_P_H | 18 | #define TIMEUTILS_P_H |
3840 | 19 | 19 | ||
3842 | 20 | #include "livetimer_p.h" | 20 | #include <QtCore/QDateTime> |
3843 | 21 | #include <QtCore/QLocale> | ||
3844 | 22 | #include <QtCore/QObject> | ||
3845 | 23 | #include <QtCore/QTimer> | ||
3846 | 21 | 24 | ||
3851 | 22 | #include <QDateTime> | 25 | #include <UbuntuToolkit/private/livetimer_p.h> |
3848 | 23 | #include <QLocale> | ||
3849 | 24 | #include <QObject> | ||
3850 | 25 | #include <QTimer> | ||
3852 | 26 | 26 | ||
3853 | 27 | UT_NAMESPACE_BEGIN | 27 | UT_NAMESPACE_BEGIN |
3854 | 28 | 28 | ||
3855 | 29 | 29 | ||
3856 | === renamed directory 'src/Ubuntu/Components/tools' => 'src/UbuntuToolkit/tools' | |||
3857 | === modified file 'src/UbuntuToolkit/tree.cpp' | |||
3858 | --- src/Ubuntu/UbuntuToolkit/tree.cpp 2016-07-07 07:21:48 +0000 | |||
3859 | +++ src/UbuntuToolkit/tree.cpp 2016-09-17 11:46:32 +0000 | |||
3860 | @@ -16,8 +16,8 @@ | |||
3861 | 16 | 16 | ||
3862 | 17 | #include "tree_p.h" | 17 | #include "tree_p.h" |
3863 | 18 | 18 | ||
3866 | 19 | #include <private/qobject_p.h> | 19 | #include <QtCore/private/qobject_p.h> |
3867 | 20 | #include <QQmlEngine> | 20 | #include <QtQml/QQmlEngine> |
3868 | 21 | 21 | ||
3869 | 22 | UT_NAMESPACE_BEGIN | 22 | UT_NAMESPACE_BEGIN |
3870 | 23 | 23 | ||
3871 | 24 | 24 | ||
3872 | === modified file 'src/UbuntuToolkit/tree_p.h' | |||
3873 | --- src/Ubuntu/UbuntuToolkit/tree_p.h 2016-07-07 07:21:48 +0000 | |||
3874 | +++ src/UbuntuToolkit/tree_p.h 2016-09-17 11:46:32 +0000 | |||
3875 | @@ -14,12 +14,13 @@ | |||
3876 | 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/>. |
3877 | 15 | */ | 15 | */ |
3878 | 16 | 16 | ||
3885 | 17 | #ifndef TREE_H | 17 | #ifndef TREE_P_H |
3886 | 18 | #define TREE_H | 18 | #define TREE_P_H |
3887 | 19 | 19 | ||
3888 | 20 | #include <QObject> | 20 | #include <QtCore/QObject> |
3889 | 21 | #include <QVariant> | 21 | #include <QtCore/QVariant> |
3890 | 22 | #include "ubuntutoolkitglobal.h" | 22 | |
3891 | 23 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
3892 | 23 | 24 | ||
3893 | 24 | UT_NAMESPACE_BEGIN | 25 | UT_NAMESPACE_BEGIN |
3894 | 25 | 26 | ||
3895 | @@ -45,4 +46,4 @@ | |||
3896 | 45 | 46 | ||
3897 | 46 | UT_NAMESPACE_END | 47 | UT_NAMESPACE_END |
3898 | 47 | 48 | ||
3900 | 48 | #endif // TREE_H | 49 | #endif // TREE_P_H |
3901 | 49 | 50 | ||
3902 | === modified file 'src/UbuntuToolkit/ubuntutoolkitglobal.h' | |||
3903 | --- src/Ubuntu/UbuntuToolkit/ubuntutoolkitglobal.h 2016-07-08 14:28:48 +0000 | |||
3904 | +++ src/UbuntuToolkit/ubuntutoolkitglobal.h 2016-09-17 11:46:32 +0000 | |||
3905 | @@ -13,6 +13,7 @@ | |||
3906 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
3907 | 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/>. |
3908 | 15 | */ | 15 | */ |
3909 | 16 | |||
3910 | 16 | #ifndef UBUNTUTOOLKITGLOBAL_H | 17 | #ifndef UBUNTUTOOLKITGLOBAL_H |
3911 | 17 | #define UBUNTUTOOLKITGLOBAL_H | 18 | #define UBUNTUTOOLKITGLOBAL_H |
3912 | 18 | 19 | ||
3913 | @@ -54,4 +55,3 @@ | |||
3914 | 54 | #endif | 55 | #endif |
3915 | 55 | 56 | ||
3916 | 56 | #endif // UBUNTUTOOLKITGLOBAL_H | 57 | #endif // UBUNTUTOOLKITGLOBAL_H |
3917 | 57 | |||
3918 | 58 | 58 | ||
3919 | === modified file 'src/UbuntuToolkit/ubuntutoolkitmodule.cpp' | |||
3920 | --- src/Ubuntu/UbuntuToolkit/ubuntutoolkitmodule.cpp 2016-08-26 12:03:35 +0000 | |||
3921 | +++ src/UbuntuToolkit/ubuntutoolkitmodule.cpp 2016-09-17 11:46:32 +0000 | |||
3922 | @@ -17,91 +17,89 @@ | |||
3923 | 17 | */ | 17 | */ |
3924 | 18 | 18 | ||
3925 | 19 | #include "ubuntutoolkitmodule.h" | 19 | #include "ubuntutoolkitmodule.h" |
3926 | 20 | |||
3927 | 21 | #include <sys/types.h> | ||
3928 | 22 | #include <unistd.h> | ||
3929 | 23 | |||
3930 | 24 | #include <stdexcept> | ||
3931 | 25 | |||
3932 | 26 | #include <QtQml/QQmlContext> | ||
3933 | 20 | #include <QtQml/QQmlEngine> | 27 | #include <QtQml/QQmlEngine> |
3934 | 21 | #include <QtQml/QQmlContext> | ||
3935 | 22 | #include <QtQml/QQmlExtensionPlugin> | 28 | #include <QtQml/QQmlExtensionPlugin> |
3936 | 23 | #include <QtQuick/private/qquickimagebase_p.h> | 29 | #include <QtQuick/private/qquickimagebase_p.h> |
3938 | 24 | #include <QDBusConnection> | 30 | #include <QtDBus/QDBusConnection> |
3939 | 25 | #include <QtGui/QGuiApplication> | 31 | #include <QtGui/QGuiApplication> |
3940 | 26 | #include <QtGui/QScreen> | 32 | #include <QtGui/QScreen> |
3941 | 27 | |||
3942 | 28 | #include <sys/types.h> | ||
3943 | 29 | #include <unistd.h> | ||
3944 | 30 | #include <stdexcept> | ||
3945 | 31 | |||
3946 | 32 | #include <ucunits_p.h> | ||
3947 | 33 | #include <quickutils_p.h> | ||
3948 | 34 | #include <i18n_p.h> | ||
3949 | 35 | #include <ucapplication_p.h> | ||
3950 | 36 | #include <ucfontutils_p.h> | ||
3951 | 37 | #include <uctheme_p.h> | ||
3952 | 38 | #include <ucdeprecatedtheme_p.h> | ||
3953 | 39 | #include <listener_p.h> | ||
3954 | 40 | #include <ucfontutils_p.h> | ||
3955 | 41 | #include <ucmathutils_p.h> | ||
3956 | 42 | #include <ucmargins_p.h> | ||
3957 | 43 | #include <ucmainviewbase_p.h> | ||
3958 | 44 | #include <ucabstractbutton_p.h> | ||
3959 | 45 | #include <ucaction_p.h> | ||
3960 | 46 | #include <ucactioncontext_p.h> | ||
3961 | 47 | #include <ucactionitem_p.h> | ||
3962 | 48 | #include <ucactionmanager_p.h> | ||
3963 | 49 | #include <ucalarm_p.h> | ||
3964 | 50 | #include <ucalarmmodel_p.h> | ||
3965 | 51 | #include <ucarguments_p.h> | ||
3966 | 52 | #include <ucargument_p.h> | ||
3967 | 53 | #include <ucbottomedgehint_p.h> | ||
3968 | 54 | #include <ucbottomedgeregion_p.h> | ||
3969 | 55 | #include <ucbottomedge_p.h> | ||
3970 | 56 | #include <uchaptics_p.h> | ||
3971 | 57 | #include <ucheader_p.h> | ||
3972 | 58 | #include <ucinversemouse_p.h> | ||
3973 | 59 | #include <ucmouse_p.h> | ||
3974 | 60 | #include <uclistitem_p.h> | ||
3975 | 61 | #include <uclistitemactions_p.h> | ||
3976 | 62 | #include <uclistitemlayout_p.h> | ||
3977 | 63 | #include <uclabel_p.h> | ||
3978 | 64 | #include <ucpagetreenode_p.h> | ||
3979 | 65 | #include <ucperformancemonitor_p.h> | ||
3980 | 66 | #include <ucproportionalshape_p.h> | ||
3981 | 67 | #include <ucscalingimageprovider_p.h> | ||
3982 | 68 | #include <ucserviceproperties_p.h> | ||
3983 | 69 | #include <ucslotslayout_p.h> | ||
3984 | 70 | #include <ucstatesaver_p.h> | ||
3985 | 71 | #include <ucstyleditembase_p.h> | ||
3986 | 72 | #include <ucstylehints_p.h> | ||
3987 | 73 | #include <uctheme_p.h> | ||
3988 | 74 | #include <ucubuntuanimation_p.h> | ||
3989 | 75 | #include <ucubuntushapeoverlay_p.h> | ||
3990 | 76 | #include <ucubuntushape_p.h> | ||
3991 | 77 | #include <ucurihandler_p.h> | ||
3992 | 78 | #include <ucqquickimageextension_p.h> | ||
3993 | 79 | #include <inversemouseareatype_p.h> | ||
3994 | 80 | #include <qquickclipboard_p.h> | ||
3995 | 81 | #include <qquickmimedata_p.h> | ||
3996 | 82 | #include <colorutils_p.h> | ||
3997 | 83 | #include <tree_p.h> | ||
3998 | 84 | #include <unitythemeiconprovider_p.h> | ||
3999 | 85 | #include <sortbehavior_p.h> | ||
4000 | 86 | #include <sortfiltermodel_p.h> | ||
4001 | 87 | #include <livetimer_p.h> | ||
4002 | 88 | #include <privates/frame_p.h> | ||
4003 | 89 | #include <privates/ucpagewrapper_p.h> | ||
4004 | 90 | #include <privates/appheaderbase_p.h> | ||
4005 | 91 | #include <privates/ucscrollbarutils_p.h> | ||
4006 | 92 | #include <actionlist_p.h> | ||
4007 | 93 | #include <exclusivegroup_p.h> | ||
4008 | 94 | #include <menu_p.h> | ||
4009 | 95 | #include <menubar_p.h> | ||
4010 | 96 | #include <menugroup_p.h> | ||
4011 | 97 | |||
4012 | 98 | #include <splitview_p.h> | ||
4013 | 99 | |||
4014 | 100 | // styles | ||
4015 | 101 | #include <ucbottomedgestyle_p.h> | ||
4016 | 102 | |||
4017 | 103 | #include <UbuntuMetrics/applicationmonitor.h> | 33 | #include <UbuntuMetrics/applicationmonitor.h> |
4018 | 104 | 34 | ||
4019 | 35 | #include "actionlist_p.h" | ||
4020 | 36 | #include "colorutils_p.h" | ||
4021 | 37 | #include "exclusivegroup_p.h" | ||
4022 | 38 | #include "i18n_p.h" | ||
4023 | 39 | #include "inversemouseareatype_p.h" | ||
4024 | 40 | #include "listener_p.h" | ||
4025 | 41 | #include "livetimer_p.h" | ||
4026 | 42 | #include "menu_p.h" | ||
4027 | 43 | #include "menubar_p.h" | ||
4028 | 44 | #include "menugroup_p.h" | ||
4029 | 45 | #include "privates/appheaderbase_p.h" | ||
4030 | 46 | #include "privates/frame_p.h" | ||
4031 | 47 | #include "privates/ucpagewrapper_p.h" | ||
4032 | 48 | #include "privates/ucscrollbarutils_p.h" | ||
4033 | 49 | #include "qquickclipboard_p.h" | ||
4034 | 50 | #include "qquickmimedata_p.h" | ||
4035 | 51 | #include "quickutils_p.h" | ||
4036 | 52 | #include "sortbehavior_p.h" | ||
4037 | 53 | #include "sortfiltermodel_p.h" | ||
4038 | 54 | #include "splitview_p.h" | ||
4039 | 55 | #include "tree_p.h" | ||
4040 | 56 | #include "ucabstractbutton_p.h" | ||
4041 | 57 | #include "ucaction_p.h" | ||
4042 | 58 | #include "ucactioncontext_p.h" | ||
4043 | 59 | #include "ucactionitem_p.h" | ||
4044 | 60 | #include "ucactionmanager_p.h" | ||
4045 | 61 | #include "ucalarm_p.h" | ||
4046 | 62 | #include "ucalarmmodel_p.h" | ||
4047 | 63 | #include "ucapplication_p.h" | ||
4048 | 64 | #include "ucargument_p.h" | ||
4049 | 65 | #include "ucarguments_p.h" | ||
4050 | 66 | #include "ucbottomedge_p.h" | ||
4051 | 67 | #include "ucbottomedgehint_p.h" | ||
4052 | 68 | #include "ucbottomedgeregion_p.h" | ||
4053 | 69 | #include "ucbottomedgestyle_p.h" | ||
4054 | 70 | #include "ucdeprecatedtheme_p.h" | ||
4055 | 71 | #include "ucfontutils_p.h" | ||
4056 | 72 | #include "ucfontutils_p.h" | ||
4057 | 73 | #include "uchaptics_p.h" | ||
4058 | 74 | #include "ucheader_p.h" | ||
4059 | 75 | #include "ucinversemouse_p.h" | ||
4060 | 76 | #include "uclabel_p.h" | ||
4061 | 77 | #include "uclistitem_p.h" | ||
4062 | 78 | #include "uclistitemactions_p.h" | ||
4063 | 79 | #include "uclistitemlayout_p.h" | ||
4064 | 80 | #include "ucmainviewbase_p.h" | ||
4065 | 81 | #include "ucmargins_p.h" | ||
4066 | 82 | #include "ucmathutils_p.h" | ||
4067 | 83 | #include "ucmouse_p.h" | ||
4068 | 84 | #include "ucpagetreenode_p.h" | ||
4069 | 85 | #include "ucperformancemonitor_p.h" | ||
4070 | 86 | #include "ucproportionalshape_p.h" | ||
4071 | 87 | #include "ucqquickimageextension_p.h" | ||
4072 | 88 | #include "ucscalingimageprovider_p.h" | ||
4073 | 89 | #include "ucserviceproperties_p.h" | ||
4074 | 90 | #include "ucslotslayout_p.h" | ||
4075 | 91 | #include "ucstatesaver_p.h" | ||
4076 | 92 | #include "ucstyleditembase_p.h" | ||
4077 | 93 | #include "ucstylehints_p.h" | ||
4078 | 94 | #include "uctheme_p.h" | ||
4079 | 95 | #include "uctheme_p.h" | ||
4080 | 96 | #include "ucubuntuanimation_p.h" | ||
4081 | 97 | #include "ucubuntushape_p.h" | ||
4082 | 98 | #include "ucubuntushapeoverlay_p.h" | ||
4083 | 99 | #include "ucunits_p.h" | ||
4084 | 100 | #include "ucurihandler_p.h" | ||
4085 | 101 | #include "unitythemeiconprovider_p.h" | ||
4086 | 102 | |||
4087 | 105 | UT_NAMESPACE_BEGIN | 103 | UT_NAMESPACE_BEGIN |
4088 | 106 | 104 | ||
4089 | 107 | const char *EngineProperty("__ubuntu_toolkit_plugin_data"); | 105 | const char *EngineProperty("__ubuntu_toolkit_plugin_data"); |
4090 | 108 | 106 | ||
4091 | === modified file 'src/UbuntuToolkit/ubuntutoolkitmodule.h' | |||
4092 | --- src/Ubuntu/UbuntuToolkit/ubuntutoolkitmodule.h 2016-07-06 09:51:06 +0000 | |||
4093 | +++ src/UbuntuToolkit/ubuntutoolkitmodule.h 2016-09-17 11:46:32 +0000 | |||
4094 | @@ -20,10 +20,11 @@ | |||
4095 | 20 | #define UBUNTUTOOLKITMODULE_H | 20 | #define UBUNTUTOOLKITMODULE_H |
4096 | 21 | 21 | ||
4097 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
4098 | 23 | #include <QtQml/QtQml> | ||
4099 | 24 | #include <QtQml/QJSEngine> | ||
4100 | 23 | #include <QtQml/QQmlEngine> | 25 | #include <QtQml/QQmlEngine> |
4104 | 24 | #include <QtQml/QJSEngine> | 26 | |
4105 | 25 | #include <qqml.h> | 27 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
4103 | 26 | #include <ubuntutoolkitglobal.h> | ||
4106 | 27 | 28 | ||
4107 | 28 | class QQmlEngine; | 29 | class QQmlEngine; |
4108 | 29 | class QWindow; | 30 | class QWindow; |
4109 | 30 | 31 | ||
4110 | === modified file 'src/UbuntuToolkit/ucabstractbutton.cpp' | |||
4111 | --- src/Ubuntu/UbuntuToolkit/ucabstractbutton.cpp 2016-08-17 10:06:06 +0000 | |||
4112 | +++ src/UbuntuToolkit/ucabstractbutton.cpp 2016-09-17 11:46:32 +0000 | |||
4113 | @@ -15,12 +15,14 @@ | |||
4114 | 15 | */ | 15 | */ |
4115 | 16 | 16 | ||
4116 | 17 | #include "ucabstractbutton_p_p.h" | 17 | #include "ucabstractbutton_p_p.h" |
4117 | 18 | |||
4118 | 19 | #include <QtQml/private/qqmlglobal_p.h> | ||
4119 | 20 | #include <QtQuick/private/qquickitem_p.h> | ||
4120 | 21 | #include <QtQuick/private/qquickmousearea_p.h> | ||
4121 | 22 | |||
4122 | 23 | #include "ucaction_p.h" | ||
4123 | 18 | #include "uchaptics_p.h" | 24 | #include "uchaptics_p.h" |
4124 | 19 | #include "ucunits_p.h" | 25 | #include "ucunits_p.h" |
4125 | 20 | #include "ucaction_p.h" | ||
4126 | 21 | #include <QtQuick/private/qquickitem_p.h> | ||
4127 | 22 | #include <QtQuick/private/qquickmousearea_p.h> | ||
4128 | 23 | #include <QtQml/private/qqmlglobal_p.h> | ||
4129 | 24 | 26 | ||
4130 | 25 | #define MIN_SENSING_WIDTH_GU 4 | 27 | #define MIN_SENSING_WIDTH_GU 4 |
4131 | 26 | #define MIN_SENSING_HEIGHT_GU 4 | 28 | #define MIN_SENSING_HEIGHT_GU 4 |
4132 | 27 | 29 | ||
4133 | === modified file 'src/UbuntuToolkit/ucabstractbutton_p.h' | |||
4134 | --- src/Ubuntu/UbuntuToolkit/ucabstractbutton_p.h 2016-07-07 07:21:48 +0000 | |||
4135 | +++ src/UbuntuToolkit/ucabstractbutton_p.h 2016-09-17 11:46:32 +0000 | |||
4136 | @@ -14,13 +14,14 @@ | |||
4137 | 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/>. |
4138 | 15 | */ | 15 | */ |
4139 | 16 | 16 | ||
4142 | 17 | #ifndef UCABSTRACTBUTTON_H | 17 | #ifndef UCABSTRACTBUTTON_P_H |
4143 | 18 | #define UCABSTRACTBUTTON_H | 18 | #define UCABSTRACTBUTTON_P_H |
4144 | 19 | 19 | ||
4145 | 20 | #include "ucactionitem_p.h" | ||
4146 | 21 | #include "ucmargins_p.h" | ||
4147 | 22 | #include <QtQuick/private/qquickevents_p_p.h> | 20 | #include <QtQuick/private/qquickevents_p_p.h> |
4148 | 23 | 21 | ||
4149 | 22 | #include <UbuntuToolkit/private/ucactionitem_p.h> | ||
4150 | 23 | #include <UbuntuToolkit/private/ucmargins_p.h> | ||
4151 | 24 | |||
4152 | 24 | class QQuickMouseArea; | 25 | class QQuickMouseArea; |
4153 | 25 | class QQuickMouseEvent; | 26 | class QQuickMouseEvent; |
4154 | 26 | 27 | ||
4155 | @@ -84,4 +85,4 @@ | |||
4156 | 84 | 85 | ||
4157 | 85 | QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCMargins)) | 86 | QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCMargins)) |
4158 | 86 | 87 | ||
4160 | 87 | #endif // UCABSTRACTBUTTON_H | 88 | #endif // UCABSTRACTBUTTON_P_H |
4161 | 88 | 89 | ||
4162 | === modified file 'src/UbuntuToolkit/ucabstractbutton_p_p.h' | |||
4163 | --- src/Ubuntu/UbuntuToolkit/ucabstractbutton_p_p.h 2016-07-07 07:21:48 +0000 | |||
4164 | +++ src/UbuntuToolkit/ucabstractbutton_p_p.h 2016-09-17 11:46:32 +0000 | |||
4165 | @@ -14,11 +14,12 @@ | |||
4166 | 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/>. |
4167 | 15 | */ | 15 | */ |
4168 | 16 | 16 | ||
4174 | 17 | #ifndef UCABSTRACTBUTTON_P | 17 | #ifndef UCABSTRACTBUTTON_P_P_H |
4175 | 18 | #define UCABSTRACTBUTTON_P | 18 | #define UCABSTRACTBUTTON_P_P_H |
4176 | 19 | 19 | ||
4177 | 20 | #include "ucabstractbutton_p.h" | 20 | #include <UbuntuToolkit/private/ucabstractbutton_p.h> |
4178 | 21 | #include "ucactionitem_p_p.h" | 21 | |
4179 | 22 | #include <UbuntuToolkit/private/ucactionitem_p_p.h> | ||
4180 | 22 | 23 | ||
4181 | 23 | UT_NAMESPACE_BEGIN | 24 | UT_NAMESPACE_BEGIN |
4182 | 24 | 25 | ||
4183 | @@ -54,4 +55,4 @@ | |||
4184 | 54 | 55 | ||
4185 | 55 | UT_NAMESPACE_END | 56 | UT_NAMESPACE_END |
4186 | 56 | 57 | ||
4188 | 57 | #endif // UCABSTRACTBUTTON_P | 58 | #endif // UCABSTRACTBUTTON_P_P_H |
4189 | 58 | 59 | ||
4190 | === modified file 'src/UbuntuToolkit/ucaction.cpp' | |||
4191 | --- src/Ubuntu/UbuntuToolkit/ucaction.cpp 2016-08-25 14:00:43 +0000 | |||
4192 | +++ src/UbuntuToolkit/ucaction.cpp 2016-09-17 11:46:32 +0000 | |||
4193 | @@ -15,15 +15,16 @@ | |||
4194 | 15 | */ | 15 | */ |
4195 | 16 | 16 | ||
4196 | 17 | #include "ucaction_p.h" | 17 | #include "ucaction_p.h" |
4197 | 18 | |||
4198 | 19 | #include <QtCore/QtDebug> | ||
4199 | 20 | #include <QtGui/private/qguiapplication_p.h> | ||
4200 | 21 | #include <QtQml/QQmlInfo> | ||
4201 | 22 | #include <QtQuick/QQuickItem> | ||
4202 | 23 | #include <QtQuick/QQuickWindow> | ||
4203 | 24 | |||
4204 | 25 | #include "exclusivegroup_p.h" | ||
4205 | 18 | #include "quickutils_p.h" | 26 | #include "quickutils_p.h" |
4206 | 19 | #include "ucactioncontext_p.h" | 27 | #include "ucactioncontext_p.h" |
4207 | 20 | #include "exclusivegroup_p.h" | ||
4208 | 21 | |||
4209 | 22 | #include <QtDebug> | ||
4210 | 23 | #include <QtQml/QQmlInfo> | ||
4211 | 24 | #include <QtQuick/qquickitem.h> | ||
4212 | 25 | #include <QtQuick/qquickwindow.h> | ||
4213 | 26 | #include <private/qguiapplication_p.h> | ||
4214 | 27 | 28 | ||
4215 | 28 | Q_LOGGING_CATEGORY(ucAction, "ubuntu.components.Action", QtMsgType::QtWarningMsg) | 29 | Q_LOGGING_CATEGORY(ucAction, "ubuntu.components.Action", QtMsgType::QtWarningMsg) |
4216 | 29 | 30 | ||
4217 | @@ -364,6 +365,14 @@ | |||
4218 | 364 | if (m_iconSource == url) { | 365 | if (m_iconSource == url) { |
4219 | 365 | return; | 366 | return; |
4220 | 366 | } | 367 | } |
4221 | 368 | if (url.isEmpty() && m_factoryIconSource) { | ||
4222 | 369 | // Prevent overriding iconSource when it is a binding to a property with | ||
4223 | 370 | // an empty value at initialization, and the value of iconName is initialized | ||
4224 | 371 | // before iconSource is initialized which would cause first iconSource to be set, | ||
4225 | 372 | // and after that iconSource to be reset to the empty value of the binding. | ||
4226 | 373 | // Fixes bug #1616858. | ||
4227 | 374 | return; | ||
4228 | 375 | } | ||
4229 | 367 | m_iconSource = url; | 376 | m_iconSource = url; |
4230 | 368 | m_factoryIconSource = false; | 377 | m_factoryIconSource = false; |
4231 | 369 | Q_EMIT iconSourceChanged(); | 378 | Q_EMIT iconSourceChanged(); |
4232 | 370 | 379 | ||
4233 | === modified file 'src/UbuntuToolkit/ucaction_p.h' | |||
4234 | --- src/Ubuntu/UbuntuToolkit/ucaction_p.h 2016-08-25 14:00:43 +0000 | |||
4235 | +++ src/UbuntuToolkit/ucaction_p.h 2016-09-17 11:46:32 +0000 | |||
4236 | @@ -14,17 +14,18 @@ | |||
4237 | 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/>. |
4238 | 15 | */ | 15 | */ |
4239 | 16 | 16 | ||
4242 | 17 | #ifndef UCACTION_H | 17 | #ifndef UCACTION_P_H |
4243 | 18 | #define UCACTION_H | 18 | #define UCACTION_P_H |
4244 | 19 | 19 | ||
4245 | 20 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
4246 | 21 | #include <QtCore/QUrl> | ||
4247 | 21 | #include <QtCore/QVariant> | 22 | #include <QtCore/QVariant> |
4248 | 22 | #include <QtCore/QUrl> | ||
4249 | 23 | #include <QtGui/QKeySequence> | 23 | #include <QtGui/QKeySequence> |
4251 | 24 | #include <QtQml> | 24 | #include <QtQml/QtQml> |
4252 | 25 | #include <QtQml/QQmlListProperty> | 25 | #include <QtQml/QQmlListProperty> |
4253 | 26 | #include <QtQml/private/qpodvector_p.h> | 26 | #include <QtQml/private/qpodvector_p.h> |
4255 | 27 | #include "ubuntutoolkitglobal.h" | 27 | |
4256 | 28 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
4257 | 28 | 29 | ||
4258 | 29 | class QQmlComponent; | 30 | class QQmlComponent; |
4259 | 30 | class QQuickItem; | 31 | class QQuickItem; |
4260 | @@ -191,4 +192,4 @@ | |||
4261 | 191 | 192 | ||
4262 | 192 | QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCAction)) | 193 | QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCAction)) |
4263 | 193 | 194 | ||
4265 | 194 | #endif // UCACTION_H | 195 | #endif // UCACTION_P_H |
4266 | 195 | 196 | ||
4267 | === modified file 'src/UbuntuToolkit/ucactioncontext.cpp' | |||
4268 | --- src/Ubuntu/UbuntuToolkit/ucactioncontext.cpp 2016-07-07 07:21:48 +0000 | |||
4269 | +++ src/UbuntuToolkit/ucactioncontext.cpp 2016-09-17 11:46:32 +0000 | |||
4270 | @@ -15,9 +15,11 @@ | |||
4271 | 15 | */ | 15 | */ |
4272 | 16 | 16 | ||
4273 | 17 | #include "ucactioncontext_p.h" | 17 | #include "ucactioncontext_p.h" |
4274 | 18 | |||
4275 | 19 | #include <QtQuick/QQuickItem> | ||
4276 | 20 | |||
4277 | 21 | #include "adapters/actionsproxy_p.h" | ||
4278 | 18 | #include "ucaction_p.h" | 22 | #include "ucaction_p.h" |
4279 | 19 | #include "adapters/actionsproxy_p.h" | ||
4280 | 20 | #include <QtQuick/QQuickItem> | ||
4281 | 21 | 23 | ||
4282 | 22 | Q_LOGGING_CATEGORY(ucActionContext, "ubuntu.components.ActionContext", QtMsgType::QtWarningMsg) | 24 | Q_LOGGING_CATEGORY(ucActionContext, "ubuntu.components.ActionContext", QtMsgType::QtWarningMsg) |
4283 | 23 | 25 | ||
4284 | 24 | 26 | ||
4285 | === modified file 'src/UbuntuToolkit/ucactioncontext_p.h' | |||
4286 | --- src/Ubuntu/UbuntuToolkit/ucactioncontext_p.h 2016-07-07 07:21:48 +0000 | |||
4287 | +++ src/UbuntuToolkit/ucactioncontext_p.h 2016-09-17 11:46:32 +0000 | |||
4288 | @@ -14,15 +14,16 @@ | |||
4289 | 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/>. |
4290 | 15 | */ | 15 | */ |
4291 | 16 | 16 | ||
4294 | 17 | #ifndef UCACTIONCONTEXT_H | 17 | #ifndef UCACTIONCONTEXT_P_H |
4295 | 18 | #define UCACTIONCONTEXT_H | 18 | #define UCACTIONCONTEXT_P_H |
4296 | 19 | 19 | ||
4297 | 20 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
4298 | 21 | #include <QtCore/QSet> | ||
4299 | 22 | #include <QtQml/QtQml> | ||
4300 | 21 | #include <QtQml/QQmlListProperty> | 23 | #include <QtQml/QQmlListProperty> |
4301 | 22 | #include <QtQml/QQmlParserStatus> | 24 | #include <QtQml/QQmlParserStatus> |
4305 | 23 | #include <QtCore/QSet> | 25 | |
4306 | 24 | #include <QtQml> | 26 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> |
4304 | 25 | #include "ubuntutoolkitglobal.h" | ||
4307 | 26 | 27 | ||
4308 | 27 | class QQuickItem; | 28 | class QQuickItem; |
4309 | 28 | 29 | ||
4310 | @@ -111,4 +112,4 @@ | |||
4311 | 111 | QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCActionContext)) | 112 | QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCActionContext)) |
4312 | 112 | QML_DECLARE_TYPEINFO(UT_PREPEND_NAMESPACE(UCActionContext), QML_HAS_ATTACHED_PROPERTIES) | 113 | QML_DECLARE_TYPEINFO(UT_PREPEND_NAMESPACE(UCActionContext), QML_HAS_ATTACHED_PROPERTIES) |
4313 | 113 | 114 | ||
4315 | 114 | #endif // UCACTIONCONTEXT_H | 115 | #endif // UCACTIONCONTEXT_P_H |
4316 | 115 | 116 | ||
4317 | === modified file 'src/UbuntuToolkit/ucactionitem.cpp' | |||
4318 | --- src/Ubuntu/UbuntuToolkit/ucactionitem.cpp 2016-07-07 08:42:42 +0000 | |||
4319 | +++ src/UbuntuToolkit/ucactionitem.cpp 2016-09-17 11:46:32 +0000 | |||
4320 | @@ -15,12 +15,14 @@ | |||
4321 | 15 | */ | 15 | */ |
4322 | 16 | 16 | ||
4323 | 17 | #include "ucactionitem_p_p.h" | 17 | #include "ucactionitem_p_p.h" |
4326 | 18 | #include "ucaction_p.h" | 18 | |
4325 | 19 | #include "ucstyleditembase_p_p.h" | ||
4327 | 20 | #define foreach Q_FOREACH | 19 | #define foreach Q_FOREACH |
4328 | 21 | #include <QtQml/private/qqmlbinding_p.h> | 20 | #include <QtQml/private/qqmlbinding_p.h> |
4329 | 22 | #undef foreach | 21 | #undef foreach |
4330 | 23 | 22 | ||
4331 | 23 | #include "ucaction_p.h" | ||
4332 | 24 | #include "ucstyleditembase_p_p.h" | ||
4333 | 25 | |||
4334 | 24 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
4335 | 25 | 27 | ||
4336 | 26 | UCActionItemPrivate::UCActionItemPrivate() | 28 | UCActionItemPrivate::UCActionItemPrivate() |
4337 | 27 | 29 | ||
4338 | === modified file 'src/UbuntuToolkit/ucactionitem_p.h' | |||
4339 | --- src/Ubuntu/UbuntuToolkit/ucactionitem_p.h 2016-07-07 07:21:48 +0000 | |||
4340 | +++ src/UbuntuToolkit/ucactionitem_p.h 2016-09-17 11:46:32 +0000 | |||
4341 | @@ -13,10 +13,11 @@ | |||
4342 | 13 | * You should have received a copy of the GNU Lesser General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
4343 | 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/>. |
4344 | 15 | */ | 15 | */ |
4349 | 16 | #ifndef UCACTIONITEM_H | 16 | |
4350 | 17 | #define UCACTIONITEM_H | 17 | #ifndef UCACTIONITEM_P_H |
4351 | 18 | 18 | #define UCACTIONITEM_P_H | |
4352 | 19 | #include "ucstyleditembase_p.h" | 19 | |
4353 | 20 | #include <UbuntuToolkit/private/ucstyleditembase_p.h> | ||
4354 | 20 | 21 | ||
4355 | 21 | UT_NAMESPACE_BEGIN | 22 | UT_NAMESPACE_BEGIN |
4356 | 22 | 23 | ||
4357 | @@ -79,4 +80,4 @@ | |||
4358 | 79 | 80 | ||
4359 | 80 | UT_NAMESPACE_END | 81 | UT_NAMESPACE_END |
4360 | 81 | 82 | ||
4362 | 82 | #endif // UCACTIONITEM_H | 83 | #endif // UCACTIONITEM_P_H |
4363 | 83 | 84 | ||
4364 | === modified file 'src/UbuntuToolkit/ucactionitem_p_p.h' | |||
4365 | --- src/Ubuntu/UbuntuToolkit/ucactionitem_p_p.h 2016-07-07 07:21:48 +0000 | |||
4366 | +++ src/UbuntuToolkit/ucactionitem_p_p.h 2016-09-17 11:46:32 +0000 | |||
4367 | @@ -16,11 +16,12 @@ | |||
4368 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4369 | 17 | */ | 17 | */ |
4370 | 18 | 18 | ||
4376 | 19 | #ifndef UCACTIONITEM_P | 19 | #ifndef UCACTIONITEM_P_P_H |
4377 | 20 | #define UCACTIONITEM_P | 20 | #define UCACTIONITEM_P_P_H |
4378 | 21 | 21 | ||
4379 | 22 | #include "ucactionitem_p.h" | 22 | #include <UbuntuToolkit/private/ucactionitem_p.h> |
4380 | 23 | #include "ucstyleditembase_p_p.h" | 23 | |
4381 | 24 | #include <UbuntuToolkit/private/ucstyleditembase_p_p.h> | ||
4382 | 24 | 25 | ||
4383 | 25 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
4384 | 26 | 27 | ||
4385 | @@ -61,5 +62,5 @@ | |||
4386 | 61 | 62 | ||
4387 | 62 | UT_NAMESPACE_END | 63 | UT_NAMESPACE_END |
4388 | 63 | 64 | ||
4390 | 64 | #endif // UCACTIONITEM_P | 65 | #endif // UCACTIONITEM_P_P_H |
4391 | 65 | 66 | ||
4392 | 66 | 67 | ||
4393 | === modified file 'src/UbuntuToolkit/ucactionmanager.cpp' | |||
4394 | --- src/Ubuntu/UbuntuToolkit/ucactionmanager.cpp 2016-07-07 07:21:48 +0000 | |||
4395 | +++ src/UbuntuToolkit/ucactionmanager.cpp 2016-09-17 11:46:32 +0000 | |||
4396 | @@ -15,9 +15,10 @@ | |||
4397 | 15 | */ | 15 | */ |
4398 | 16 | 16 | ||
4399 | 17 | #include "ucactionmanager_p.h" | 17 | #include "ucactionmanager_p.h" |
4400 | 18 | |||
4401 | 18 | #include "adapters/actionsproxy_p.h" | 19 | #include "adapters/actionsproxy_p.h" |
4402 | 20 | #include "ucaction_p.h" | ||
4403 | 19 | #include "ucactioncontext_p.h" | 21 | #include "ucactioncontext_p.h" |
4404 | 20 | #include "ucaction_p.h" | ||
4405 | 21 | 22 | ||
4406 | 22 | UT_NAMESPACE_BEGIN | 23 | UT_NAMESPACE_BEGIN |
4407 | 23 | 24 | ||
4408 | 24 | 25 | ||
4409 | === modified file 'src/UbuntuToolkit/ucactionmanager_p.h' | |||
4410 | --- src/Ubuntu/UbuntuToolkit/ucactionmanager_p.h 2016-07-07 07:21:48 +0000 | |||
4411 | +++ src/UbuntuToolkit/ucactionmanager_p.h 2016-09-17 11:46:32 +0000 | |||
4412 | @@ -14,13 +14,14 @@ | |||
4413 | 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/>. |
4414 | 15 | */ | 15 | */ |
4415 | 16 | 16 | ||
4418 | 17 | #ifndef UCACTIONMANAGER_H | 17 | #ifndef UCACTIONMANAGER_P_H |
4419 | 18 | #define UCACTIONMANAGER_H | 18 | #define UCACTIONMANAGER_P_H |
4420 | 19 | 19 | ||
4421 | 20 | #include <QtCore/QObject> | 20 | #include <QtCore/QObject> |
4422 | 21 | #include <QtQml/QQmlListProperty> | 21 | #include <QtQml/QQmlListProperty> |
4423 | 22 | #include <QtQml/QQmlParserStatus> | 22 | #include <QtQml/QQmlParserStatus> |
4425 | 23 | #include "ubuntutoolkitglobal.h" | 23 | |
4426 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
4427 | 24 | 25 | ||
4428 | 25 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
4429 | 26 | 27 | ||
4430 | @@ -65,4 +66,4 @@ | |||
4431 | 65 | 66 | ||
4432 | 66 | UT_NAMESPACE_END | 67 | UT_NAMESPACE_END |
4433 | 67 | 68 | ||
4435 | 68 | #endif // UCACTIONMANAGER_H | 69 | #endif // UCACTIONMANAGER_P_H |
4436 | 69 | 70 | ||
4437 | === modified file 'src/UbuntuToolkit/ucalarm.cpp' | |||
4438 | --- src/Ubuntu/UbuntuToolkit/ucalarm.cpp 2016-07-07 07:56:34 +0000 | |||
4439 | +++ src/UbuntuToolkit/ucalarm.cpp 2016-09-17 11:46:32 +0000 | |||
4440 | @@ -17,9 +17,11 @@ | |||
4441 | 17 | */ | 17 | */ |
4442 | 18 | 18 | ||
4443 | 19 | #include "ucalarm_p_p.h" | 19 | #include "ucalarm_p_p.h" |
4444 | 20 | |||
4445 | 21 | #include <QtQml/QQmlInfo> | ||
4446 | 22 | |||
4447 | 20 | #include "alarmmanager_p_p.h" | 23 | #include "alarmmanager_p_p.h" |
4448 | 21 | #include "i18n_p.h" | 24 | #include "i18n_p.h" |
4449 | 22 | #include <QtQml/QQmlInfo> | ||
4450 | 23 | 25 | ||
4451 | 24 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
4452 | 25 | 27 | ||
4453 | 26 | 28 | ||
4454 | === modified file 'src/UbuntuToolkit/ucalarm_p.h' | |||
4455 | --- src/Ubuntu/UbuntuToolkit/ucalarm_p.h 2016-07-07 07:21:48 +0000 | |||
4456 | +++ src/UbuntuToolkit/ucalarm_p.h 2016-09-17 11:46:32 +0000 | |||
4457 | @@ -16,13 +16,14 @@ | |||
4458 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4459 | 17 | */ | 17 | */ |
4460 | 18 | 18 | ||
4463 | 19 | #ifndef UCALARM_H | 19 | #ifndef UCALARM_P_H |
4464 | 20 | #define UCALARM_H | 20 | #define UCALARM_P_H |
4465 | 21 | 21 | ||
4466 | 22 | #include <QtCore/QDateTime> | ||
4467 | 22 | #include <QtCore/QObject> | 23 | #include <QtCore/QObject> |
4468 | 23 | #include <QtCore/QDateTime> | ||
4469 | 24 | #include <QtCore/QUrl> | 24 | #include <QtCore/QUrl> |
4471 | 25 | #include "ubuntutoolkitglobal.h" | 25 | |
4472 | 26 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
4473 | 26 | 27 | ||
4474 | 27 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
4475 | 28 | 29 | ||
4476 | @@ -143,4 +144,4 @@ | |||
4477 | 143 | 144 | ||
4478 | 144 | UT_NAMESPACE_END | 145 | UT_NAMESPACE_END |
4479 | 145 | 146 | ||
4481 | 146 | #endif // UUALARM_H | 147 | #endif // UUALARM_P_H |
4482 | 147 | 148 | ||
4483 | === modified file 'src/UbuntuToolkit/ucalarm_p_p.h' | |||
4484 | --- src/Ubuntu/UbuntuToolkit/ucalarm_p_p.h 2016-07-07 07:21:48 +0000 | |||
4485 | +++ src/UbuntuToolkit/ucalarm_p_p.h 2016-09-17 11:46:32 +0000 | |||
4486 | @@ -16,15 +16,17 @@ | |||
4487 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4488 | 17 | */ | 17 | */ |
4489 | 18 | 18 | ||
4495 | 19 | #ifndef UCALARM_P_H | 19 | #ifndef UCALARM_P_P_H |
4496 | 20 | #define UCALARM_P_H | 20 | #define UCALARM_P_P_H |
4497 | 21 | 21 | ||
4498 | 22 | #include "ucalarm_p.h" | 22 | #include <UbuntuToolkit/private/ucalarm_p.h> |
4499 | 23 | #include "alarmmanager_p_p.h" | 23 | |
4500 | 24 | #include <QtCore/QDateTime> | 24 | #include <QtCore/QDateTime> |
4501 | 25 | #include <QtCore/QPointer> | 25 | #include <QtCore/QPointer> |
4502 | 26 | #include <QtQml/QQmlListProperty> | 26 | #include <QtQml/QQmlListProperty> |
4503 | 27 | 27 | ||
4504 | 28 | #include <UbuntuToolkit/private/alarmmanager_p_p.h> | ||
4505 | 29 | |||
4506 | 28 | UT_NAMESPACE_BEGIN | 30 | UT_NAMESPACE_BEGIN |
4507 | 29 | 31 | ||
4508 | 30 | class UBUNTUTOOLKIT_EXPORT UCAlarmPrivate | 32 | class UBUNTUTOOLKIT_EXPORT UCAlarmPrivate |
4509 | 31 | 33 | ||
4510 | === modified file 'src/UbuntuToolkit/ucalarmmodel.cpp' | |||
4511 | --- src/Ubuntu/UbuntuToolkit/ucalarmmodel.cpp 2016-07-07 07:21:48 +0000 | |||
4512 | +++ src/UbuntuToolkit/ucalarmmodel.cpp 2016-09-17 11:46:32 +0000 | |||
4513 | @@ -17,11 +17,13 @@ | |||
4514 | 17 | */ | 17 | */ |
4515 | 18 | 18 | ||
4516 | 19 | #include "ucalarmmodel_p.h" | 19 | #include "ucalarmmodel_p.h" |
4517 | 20 | |||
4518 | 21 | #include <QtQml/QQmlEngine> | ||
4519 | 22 | #include <QtQml/QQmlInfo> | ||
4520 | 23 | #include <QtQml/QQmlPropertyMap> | ||
4521 | 24 | |||
4522 | 25 | #include "alarmmanager_p_p.h" | ||
4523 | 20 | #include "ucalarm_p_p.h" | 26 | #include "ucalarm_p_p.h" |
4524 | 21 | #include "alarmmanager_p_p.h" | ||
4525 | 22 | #include <QtQml/QQmlPropertyMap> | ||
4526 | 23 | #include <QtQml/QQmlInfo> | ||
4527 | 24 | #include <QtQml/QQmlEngine> | ||
4528 | 25 | 27 | ||
4529 | 26 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
4530 | 27 | 29 | ||
4531 | 28 | 30 | ||
4532 | === modified file 'src/UbuntuToolkit/ucalarmmodel_p.h' | |||
4533 | --- src/Ubuntu/UbuntuToolkit/ucalarmmodel_p.h 2016-07-07 07:21:48 +0000 | |||
4534 | +++ src/UbuntuToolkit/ucalarmmodel_p.h 2016-09-17 11:46:32 +0000 | |||
4535 | @@ -16,12 +16,13 @@ | |||
4536 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4537 | 17 | */ | 17 | */ |
4538 | 18 | 18 | ||
4541 | 19 | #ifndef UCALARMSMODEL_H | 19 | #ifndef UCALARMSMODEL_P_H |
4542 | 20 | #define UCALARMSMODEL_H | 20 | #define UCALARMSMODEL_P_H |
4543 | 21 | 21 | ||
4544 | 22 | #include <QtCore/QAbstractListModel> | 22 | #include <QtCore/QAbstractListModel> |
4545 | 23 | #include <QtQml/QQmlParserStatus> | 23 | #include <QtQml/QQmlParserStatus> |
4547 | 24 | #include "ucalarm_p_p.h" | 24 | |
4548 | 25 | #include <UbuntuToolkit/private/ucalarm_p_p.h> | ||
4549 | 25 | 26 | ||
4550 | 26 | UT_NAMESPACE_BEGIN | 27 | UT_NAMESPACE_BEGIN |
4551 | 27 | 28 | ||
4552 | @@ -72,4 +73,4 @@ | |||
4553 | 72 | 73 | ||
4554 | 73 | UT_NAMESPACE_END | 74 | UT_NAMESPACE_END |
4555 | 74 | 75 | ||
4557 | 75 | #endif // UCALARMSMODEL_H | 76 | #endif // UCALARMSMODEL_P_H |
4558 | 76 | 77 | ||
4559 | === modified file 'src/UbuntuToolkit/ucapplication.cpp' | |||
4560 | --- src/Ubuntu/UbuntuToolkit/ucapplication.cpp 2016-07-07 07:21:48 +0000 | |||
4561 | +++ src/UbuntuToolkit/ucapplication.cpp 2016-09-17 11:46:32 +0000 | |||
4562 | @@ -19,11 +19,11 @@ | |||
4563 | 19 | #include "ucapplication_p.h" | 19 | #include "ucapplication_p.h" |
4564 | 20 | 20 | ||
4565 | 21 | #include <QtCore/QCoreApplication> | 21 | #include <QtCore/QCoreApplication> |
4567 | 22 | #include <QDebug> | 22 | #include <QtCore/QDebug> |
4568 | 23 | #include <QtCore/QStandardPaths> | ||
4569 | 24 | #include <QtGui/QGuiApplication> | ||
4570 | 23 | #include <QtQml/QQmlContext> | 25 | #include <QtQml/QQmlContext> |
4571 | 24 | #include <QtQml/QQmlEngine> | 26 | #include <QtQml/QQmlEngine> |
4572 | 25 | #include <QtCore/QStandardPaths> | ||
4573 | 26 | #include <QtGui/QGuiApplication> | ||
4574 | 27 | 27 | ||
4575 | 28 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
4576 | 29 | 29 | ||
4577 | 30 | 30 | ||
4578 | === modified file 'src/UbuntuToolkit/ucapplication_p.h' | |||
4579 | --- src/Ubuntu/UbuntuToolkit/ucapplication_p.h 2016-07-07 07:21:48 +0000 | |||
4580 | +++ src/UbuntuToolkit/ucapplication_p.h 2016-09-17 11:46:32 +0000 | |||
4581 | @@ -16,11 +16,12 @@ | |||
4582 | 16 | * Author: Christian Dywan <christian.dywan@canonical.om> | 16 | * Author: Christian Dywan <christian.dywan@canonical.om> |
4583 | 17 | */ | 17 | */ |
4584 | 18 | 18 | ||
4587 | 19 | #ifndef UBUNTU_COMPONENTS_APPLICATION_H | 19 | #ifndef UCAPPLICATION_P_H |
4588 | 20 | #define UBUNTU_COMPONENTS_APPLICATION_H | 20 | #define UCAPPLICATION_P_H |
4589 | 21 | 21 | ||
4590 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
4592 | 23 | #include "ubuntutoolkitglobal.h" | 23 | |
4593 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
4594 | 24 | 25 | ||
4595 | 25 | class QQmlContext; | 26 | class QQmlContext; |
4596 | 26 | class QQmlEngine; | 27 | class QQmlEngine; |
4597 | @@ -70,4 +71,4 @@ | |||
4598 | 70 | 71 | ||
4599 | 71 | UT_NAMESPACE_END | 72 | UT_NAMESPACE_END |
4600 | 72 | 73 | ||
4602 | 73 | #endif // UBUNTU_COMPONENTS_I18N_H | 74 | #endif // UCAPPLICATION_P_H |
4603 | 74 | 75 | ||
4604 | === modified file 'src/UbuntuToolkit/ucargument_p.h' | |||
4605 | --- src/Ubuntu/UbuntuToolkit/ucargument_p.h 2016-07-07 07:21:48 +0000 | |||
4606 | +++ src/UbuntuToolkit/ucargument_p.h 2016-09-17 11:46:32 +0000 | |||
4607 | @@ -16,13 +16,14 @@ | |||
4608 | 16 | * Author: Florian Boucault <florian.boucault@canonical.com> | 16 | * Author: Florian Boucault <florian.boucault@canonical.com> |
4609 | 17 | */ | 17 | */ |
4610 | 18 | 18 | ||
4613 | 19 | #ifndef UCARGUMENT_H | 19 | #ifndef UCARGUMENT_P_H |
4614 | 20 | #define UCARGUMENT_H | 20 | #define UCARGUMENT_P_H |
4615 | 21 | 21 | ||
4616 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
4617 | 23 | #include <QtCore/QStringList> | 23 | #include <QtCore/QStringList> |
4618 | 24 | #include <QtCore/QVariant> | 24 | #include <QtCore/QVariant> |
4620 | 25 | #include "ubuntutoolkitglobal.h" | 25 | |
4621 | 26 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
4622 | 26 | 27 | ||
4623 | 27 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
4624 | 28 | 29 | ||
4625 | @@ -75,4 +76,4 @@ | |||
4626 | 75 | 76 | ||
4627 | 76 | UT_NAMESPACE_END | 77 | UT_NAMESPACE_END |
4628 | 77 | 78 | ||
4630 | 78 | #endif // UCARGUMENT_H | 79 | #endif // UCARGUMENT_P_H |
4631 | 79 | 80 | ||
4632 | === modified file 'src/UbuntuToolkit/ucarguments.cpp' | |||
4633 | --- src/Ubuntu/UbuntuToolkit/ucarguments.cpp 2016-07-07 07:21:48 +0000 | |||
4634 | +++ src/UbuntuToolkit/ucarguments.cpp 2016-09-17 11:46:32 +0000 | |||
4635 | @@ -17,13 +17,15 @@ | |||
4636 | 17 | */ | 17 | */ |
4637 | 18 | 18 | ||
4638 | 19 | #include "ucarguments_p.h" | 19 | #include "ucarguments_p.h" |
4640 | 20 | #include "i18n_p.h" | 20 | |
4641 | 21 | #include <QtCore/QCoreApplication> | 21 | #include <QtCore/QCoreApplication> |
4642 | 22 | #include <QtCore/QDebug> | 22 | #include <QtCore/QDebug> |
4643 | 23 | #include <QtCore/QFileInfo> | ||
4644 | 23 | #include <QtCore/QTextStream> | 24 | #include <QtCore/QTextStream> |
4646 | 24 | #include <QtCore/QFileInfo> | 25 | #include <QtQml/QtQml> |
4647 | 25 | #include <QtQml/QQmlProperty> | 26 | #include <QtQml/QQmlProperty> |
4649 | 26 | #include <QtQml/qqml.h> | 27 | |
4650 | 28 | #include "i18n_p.h" | ||
4651 | 27 | 29 | ||
4652 | 28 | UT_NAMESPACE_BEGIN | 30 | UT_NAMESPACE_BEGIN |
4653 | 29 | 31 | ||
4654 | 30 | 32 | ||
4655 | === modified file 'src/UbuntuToolkit/ucarguments_p.h' | |||
4656 | --- src/Ubuntu/UbuntuToolkit/ucarguments_p.h 2016-07-07 07:21:48 +0000 | |||
4657 | +++ src/UbuntuToolkit/ucarguments_p.h 2016-09-17 11:46:32 +0000 | |||
4658 | @@ -16,17 +16,18 @@ | |||
4659 | 16 | * Author: Florian Boucault <florian.boucault@canonical.com> | 16 | * Author: Florian Boucault <florian.boucault@canonical.com> |
4660 | 17 | */ | 17 | */ |
4661 | 18 | 18 | ||
4664 | 19 | #ifndef UCARGUMENTS_H | 19 | #ifndef UCARGUMENTS_P_H |
4665 | 20 | #define UCARGUMENTS_H | 20 | #define UCARGUMENTS_P_H |
4666 | 21 | 21 | ||
4668 | 22 | #include "ucargument_p.h" | 22 | #include <QtCore/QHash> |
4669 | 23 | #include <QtCore/QList> | ||
4670 | 23 | #include <QtCore/QObject> | 24 | #include <QtCore/QObject> |
4671 | 24 | #include <QtCore/QList> | ||
4672 | 25 | #include <QtCore/QStringList> | 25 | #include <QtCore/QStringList> |
4673 | 26 | #include <QtCore/QHash> | ||
4674 | 27 | #include <QtQml/QQmlPropertyMap> | ||
4675 | 28 | #include <QtQml/QQmlListProperty> | 26 | #include <QtQml/QQmlListProperty> |
4676 | 29 | #include <QtQml/QQmlParserStatus> | 27 | #include <QtQml/QQmlParserStatus> |
4677 | 28 | #include <QtQml/QQmlPropertyMap> | ||
4678 | 29 | |||
4679 | 30 | #include <UbuntuToolkit/private/ucargument_p.h> | ||
4680 | 30 | 31 | ||
4681 | 31 | UT_NAMESPACE_BEGIN | 32 | UT_NAMESPACE_BEGIN |
4682 | 32 | 33 | ||
4683 | 33 | 34 | ||
4684 | === modified file 'src/UbuntuToolkit/ucbottomedge.cpp' | |||
4685 | --- src/Ubuntu/UbuntuToolkit/ucbottomedge.cpp 2016-08-14 09:06:34 +0000 | |||
4686 | +++ src/UbuntuToolkit/ucbottomedge.cpp 2016-09-17 11:46:32 +0000 | |||
4687 | @@ -17,24 +17,25 @@ | |||
4688 | 17 | */ | 17 | */ |
4689 | 18 | 18 | ||
4690 | 19 | #include "ucbottomedge_p_p.h" | 19 | #include "ucbottomedge_p_p.h" |
4691 | 20 | |||
4692 | 21 | #include <QtCore/QtMath> | ||
4693 | 22 | #include <QtGui/QGuiApplication> | ||
4694 | 23 | #include <QtGui/QScreen> | ||
4695 | 24 | #include <QtGui/QStyleHints> | ||
4696 | 25 | #include <QtQml/QQmlEngine> | ||
4697 | 26 | #include <QtQml/QQmlProperty> | ||
4698 | 27 | #include <QtQuick/private/qquickanimation_p.h> | ||
4699 | 28 | #include <QtQuick/private/qquickflickable_p.h> | ||
4700 | 29 | #include <QtQuick/private/qquickitem_p.h> | ||
4701 | 30 | #include <UbuntuGestures/private/ucswipearea_p_p.h> | ||
4702 | 31 | |||
4703 | 20 | #include "ucbottomedgestyle_p.h" | 32 | #include "ucbottomedgestyle_p.h" |
4704 | 21 | #include "ucbottomedgeregion_p_p.h" | 33 | #include "ucbottomedgeregion_p_p.h" |
4705 | 22 | #include "ucbottomedgehint_p_p.h" | 34 | #include "ucbottomedgehint_p_p.h" |
4706 | 23 | #include "ucstyleditembase_p_p.h" | 35 | #include "ucstyleditembase_p_p.h" |
4707 | 24 | #include <QtCore/QtMath> | ||
4708 | 25 | #include <QtQml/QQmlEngine> | ||
4709 | 26 | #include <QtGui/QScreen> | ||
4710 | 27 | #include <QtQml/QQmlProperty> | ||
4711 | 28 | #include <QtGui/QGuiApplication> | ||
4712 | 29 | #include <QtGui/QStyleHints> | ||
4713 | 30 | #include <QtQuick/private/qquickitem_p.h> | ||
4714 | 31 | #include <QtQuick/private/qquickflickable_p.h> | ||
4715 | 32 | |||
4716 | 33 | #include "ucheader_p.h" | 36 | #include "ucheader_p.h" |
4717 | 34 | #include "ucaction_p.h" | 37 | #include "ucaction_p.h" |
4718 | 35 | #include "quickutils_p.h" | 38 | #include "quickutils_p.h" |
4719 | 36 | #include "private/ucswipearea_p_p.h" | ||
4720 | 37 | #include <QtQuick/private/qquickanimation_p.h> | ||
4721 | 38 | 39 | ||
4722 | 39 | Q_LOGGING_CATEGORY(ucBottomEdge, "ubuntu.components.BottomEdge", QtMsgType::QtWarningMsg) | 40 | Q_LOGGING_CATEGORY(ucBottomEdge, "ubuntu.components.BottomEdge", QtMsgType::QtWarningMsg) |
4723 | 40 | 41 | ||
4724 | 41 | 42 | ||
4725 | === modified file 'src/UbuntuToolkit/ucbottomedge_p.h' | |||
4726 | --- src/Ubuntu/UbuntuToolkit/ucbottomedge_p.h 2016-07-07 07:21:48 +0000 | |||
4727 | +++ src/UbuntuToolkit/ucbottomedge_p.h 2016-09-17 11:46:32 +0000 | |||
4728 | @@ -16,13 +16,14 @@ | |||
4729 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4730 | 17 | */ | 17 | */ |
4731 | 18 | 18 | ||
4734 | 19 | #ifndef UCBOTTOMEDGE_H | 19 | #ifndef UCBOTTOMEDGE_P_H |
4735 | 20 | #define UCBOTTOMEDGE_H | 20 | #define UCBOTTOMEDGE_P_H |
4736 | 21 | 21 | ||
4738 | 22 | #include "ucstyleditembase_p.h" | 22 | #include <QtCore/QLoggingCategory> |
4739 | 23 | #include <QtCore/QPointer> | 23 | #include <QtCore/QPointer> |
4740 | 24 | #include <QtQuick/private/qquickitemchangelistener_p.h> | 24 | #include <QtQuick/private/qquickitemchangelistener_p.h> |
4742 | 25 | #include <QtCore/QLoggingCategory> | 25 | |
4743 | 26 | #include <UbuntuToolkit/private/ucstyleditembase_p.h> | ||
4744 | 26 | 27 | ||
4745 | 27 | class QQuickAbstractAnimation; | 28 | class QQuickAbstractAnimation; |
4746 | 28 | 29 | ||
4747 | @@ -129,4 +130,4 @@ | |||
4748 | 129 | 130 | ||
4749 | 130 | #define LOG qCDebug(ucBottomEdge) << "[BottomEdge]" | 131 | #define LOG qCDebug(ucBottomEdge) << "[BottomEdge]" |
4750 | 131 | 132 | ||
4752 | 132 | #endif // UCBOTTOMEDGE_H | 133 | #endif // UCBOTTOMEDGE_P_H |
4753 | 133 | 134 | ||
4754 | === modified file 'src/UbuntuToolkit/ucbottomedge_p_p.h' | |||
4755 | --- src/Ubuntu/UbuntuToolkit/ucbottomedge_p_p.h 2016-07-07 07:21:48 +0000 | |||
4756 | +++ src/UbuntuToolkit/ucbottomedge_p_p.h 2016-09-17 11:46:32 +0000 | |||
4757 | @@ -16,12 +16,13 @@ | |||
4758 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4759 | 17 | */ | 17 | */ |
4760 | 18 | 18 | ||
4767 | 19 | #ifndef UCBOTTOMEDGE_P_H | 19 | #ifndef UCBOTTOMEDGE_P_P_H |
4768 | 20 | #define UCBOTTOMEDGE_P_H | 20 | #define UCBOTTOMEDGE_P_P_H |
4769 | 21 | 21 | ||
4770 | 22 | #include "ucbottomedge_p.h" | 22 | #include <UbuntuToolkit/private/ucbottomedge_p.h> |
4771 | 23 | #include "ucstyleditembase_p_p.h" | 23 | |
4772 | 24 | #include "ucaction_p.h" | 24 | #include <UbuntuToolkit/private/ucstyleditembase_p_p.h> |
4773 | 25 | #include <UbuntuToolkit/private/ucaction_p.h> | ||
4774 | 25 | 26 | ||
4775 | 26 | UT_NAMESPACE_BEGIN | 27 | UT_NAMESPACE_BEGIN |
4776 | 27 | 28 | ||
4777 | @@ -116,4 +117,4 @@ | |||
4778 | 116 | 117 | ||
4779 | 117 | UT_NAMESPACE_END | 118 | UT_NAMESPACE_END |
4780 | 118 | 119 | ||
4782 | 119 | #endif // UCBOTTOMEDGE_P_H | 120 | #endif // UCBOTTOMEDGE_P_P_H |
4783 | 120 | 121 | ||
4784 | === modified file 'src/UbuntuToolkit/ucbottomedgehint.cpp' | |||
4785 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgehint.cpp 2016-07-07 07:21:48 +0000 | |||
4786 | +++ src/UbuntuToolkit/ucbottomedgehint.cpp 2016-09-17 11:46:32 +0000 | |||
4787 | @@ -17,14 +17,16 @@ | |||
4788 | 17 | */ | 17 | */ |
4789 | 18 | 18 | ||
4790 | 19 | #include "ucbottomedgehint_p_p.h" | 19 | #include "ucbottomedgehint_p_p.h" |
4791 | 20 | |||
4792 | 21 | #include <QtQml/private/qqmlproperty_p.h> | ||
4793 | 22 | #include <QtQuick/private/qquickflickable_p.h> | ||
4794 | 23 | #include <UbuntuGestures/private/ucswipearea_p_p.h> | ||
4795 | 24 | |||
4796 | 25 | #include "propertychange_p.h" | ||
4797 | 26 | #include "quickutils_p.h" | ||
4798 | 27 | #include "ucaction_p.h" | ||
4799 | 20 | #include "ucstyleditembase_p_p.h" | 28 | #include "ucstyleditembase_p_p.h" |
4800 | 21 | #include "quickutils_p.h" | ||
4801 | 22 | #include "ucunits_p.h" | 29 | #include "ucunits_p.h" |
4802 | 23 | #include "ucaction_p.h" | ||
4803 | 24 | #include "private/ucswipearea_p_p.h" | ||
4804 | 25 | #include <propertychange_p.h> | ||
4805 | 26 | #include <QtQml/private/qqmlproperty_p.h> | ||
4806 | 27 | #include <QtQuick/private/qquickflickable_p.h> | ||
4807 | 28 | 30 | ||
4808 | 29 | #define SWIPE_AREA_HEIGHT_GU 3 | 31 | #define SWIPE_AREA_HEIGHT_GU 3 |
4809 | 30 | 32 | ||
4810 | 31 | 33 | ||
4811 | === modified file 'src/UbuntuToolkit/ucbottomedgehint_p.h' | |||
4812 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgehint_p.h 2016-07-07 07:21:48 +0000 | |||
4813 | +++ src/UbuntuToolkit/ucbottomedgehint_p.h 2016-09-17 11:46:32 +0000 | |||
4814 | @@ -16,11 +16,12 @@ | |||
4815 | 16 | * Authors: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Authors: Zsombor Egri <zsombor.egri@canonical.com> |
4816 | 17 | */ | 17 | */ |
4817 | 18 | 18 | ||
4823 | 19 | #ifndef UCBOTTOMEDGEHINT_H | 19 | #ifndef UCBOTTOMEDGEHINT_P_H |
4824 | 20 | #define UCBOTTOMEDGEHINT_H | 20 | #define UCBOTTOMEDGEHINT_P_H |
4825 | 21 | 21 | ||
4826 | 22 | #include "ucactionitem_p.h" | 22 | #include <UbuntuGestures/ubuntugesturesglobal.h> |
4827 | 23 | #include <ubuntugesturesglobal.h> | 23 | |
4828 | 24 | #include <UbuntuToolkit/private/ucactionitem_p.h> | ||
4829 | 24 | 25 | ||
4830 | 25 | class QQuickFlickable; | 26 | class QQuickFlickable; |
4831 | 26 | UG_FORWARD_DECLARE_CLASS(UCSwipeArea) | 27 | UG_FORWARD_DECLARE_CLASS(UCSwipeArea) |
4832 | @@ -102,4 +103,4 @@ | |||
4833 | 102 | 103 | ||
4834 | 103 | UT_NAMESPACE_END | 104 | UT_NAMESPACE_END |
4835 | 104 | 105 | ||
4837 | 105 | #endif // UCBOTTOMEDGEHINT_H | 106 | #endif // UCBOTTOMEDGEHINT_P_H |
4838 | 106 | 107 | ||
4839 | === modified file 'src/UbuntuToolkit/ucbottomedgehint_p_p.h' | |||
4840 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgehint_p_p.h 2016-07-07 07:21:48 +0000 | |||
4841 | +++ src/UbuntuToolkit/ucbottomedgehint_p_p.h 2016-09-17 11:46:32 +0000 | |||
4842 | @@ -16,12 +16,12 @@ | |||
4843 | 16 | * Authors: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Authors: Zsombor Egri <zsombor.egri@canonical.com> |
4844 | 17 | */ | 17 | */ |
4845 | 18 | 18 | ||
4852 | 19 | #ifndef UCBOTTOMEDGEHINT_P | 19 | #ifndef UCBOTTOMEDGEHINT_P_P_H |
4853 | 20 | #define UCBOTTOMEDGEHINT_P | 20 | #define UCBOTTOMEDGEHINT_P_P_H |
4854 | 21 | 21 | ||
4855 | 22 | #include "ucbottomedgehint_p.h" | 22 | #include <UbuntuToolkit/private/ucbottomedgehint_p.h> |
4856 | 23 | #include "ucactionitem_p_p.h" | 23 | |
4857 | 24 | #include <ubuntugesturesglobal.h> | 24 | #include <UbuntuToolkit/private/ucactionitem_p_p.h> |
4858 | 25 | 25 | ||
4859 | 26 | UG_FORWARD_DECLARE_CLASS(UCSwipeArea) | 26 | UG_FORWARD_DECLARE_CLASS(UCSwipeArea) |
4860 | 27 | 27 | ||
4861 | @@ -50,4 +50,4 @@ | |||
4862 | 50 | 50 | ||
4863 | 51 | UT_NAMESPACE_END | 51 | UT_NAMESPACE_END |
4864 | 52 | 52 | ||
4866 | 53 | #endif // UCBOTTOMEDGEHINT_P | 53 | #endif // UCBOTTOMEDGEHINT_P_P_H |
4867 | 54 | 54 | ||
4868 | === modified file 'src/UbuntuToolkit/ucbottomedgeregion.cpp' | |||
4869 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgeregion.cpp 2016-07-19 18:12:33 +0000 | |||
4870 | +++ src/UbuntuToolkit/ucbottomedgeregion.cpp 2016-09-17 11:46:32 +0000 | |||
4871 | @@ -16,11 +16,12 @@ | |||
4872 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4873 | 17 | */ | 17 | */ |
4874 | 18 | 18 | ||
4875 | 19 | #include "ucbottomedge_p_p.h" | ||
4876 | 20 | #include "ucbottomedgeregion_p_p.h" | 19 | #include "ucbottomedgeregion_p_p.h" |
4878 | 21 | #include <propertychange_p.h> | 20 | |
4879 | 22 | #include <QtQml/private/qqmlproperty_p.h> | 21 | #include <QtQml/private/qqmlproperty_p.h> |
4880 | 23 | 22 | ||
4881 | 23 | #include "propertychange_p.h" | ||
4882 | 24 | #include "ucbottomedge_p_p.h" | ||
4883 | 24 | 25 | ||
4884 | 25 | UT_NAMESPACE_BEGIN | 26 | UT_NAMESPACE_BEGIN |
4885 | 26 | 27 | ||
4886 | 27 | 28 | ||
4887 | === modified file 'src/UbuntuToolkit/ucbottomedgeregion_p.h' | |||
4888 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgeregion_p.h 2016-07-07 07:21:48 +0000 | |||
4889 | +++ src/UbuntuToolkit/ucbottomedgeregion_p.h 2016-09-17 11:46:32 +0000 | |||
4890 | @@ -16,15 +16,16 @@ | |||
4891 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4892 | 17 | */ | 17 | */ |
4893 | 18 | 18 | ||
4896 | 19 | #ifndef UCBOTTOMEDGEREGION_H | 19 | #ifndef UCBOTTOMEDGEREGION_P_H |
4897 | 20 | #define UCBOTTOMEDGEREGION_H | 20 | #define UCBOTTOMEDGEREGION_P_H |
4898 | 21 | 21 | ||
4899 | 22 | #include <QtCore/QObject> | 22 | #include <QtCore/QObject> |
4901 | 23 | #include <QtQml/QQmlParserStatus> | 23 | #include <QtCore/QPointer> |
4902 | 24 | #include <QtCore/QUrl> | 24 | #include <QtCore/QUrl> |
4903 | 25 | #include <QtCore/QPointer> | ||
4904 | 26 | #include <QtQml/QQmlIncubator> | 25 | #include <QtQml/QQmlIncubator> |
4906 | 27 | #include <ubuntutoolkitglobal.h> | 26 | #include <QtQml/QQmlParserStatus> |
4907 | 27 | |||
4908 | 28 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
4909 | 28 | 29 | ||
4910 | 29 | class QQmlComponent; | 30 | class QQmlComponent; |
4911 | 30 | 31 | ||
4912 | @@ -85,4 +86,4 @@ | |||
4913 | 85 | 86 | ||
4914 | 86 | UT_NAMESPACE_END | 87 | UT_NAMESPACE_END |
4915 | 87 | 88 | ||
4917 | 88 | #endif // UCBOTTOMEDGEREGION_H | 89 | #endif // UCBOTTOMEDGEREGION_P_H |
4918 | 89 | 90 | ||
4919 | === modified file 'src/UbuntuToolkit/ucbottomedgeregion_p_p.h' | |||
4920 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgeregion_p_p.h 2016-07-07 15:33:34 +0000 | |||
4921 | +++ src/UbuntuToolkit/ucbottomedgeregion_p_p.h 2016-09-17 11:46:32 +0000 | |||
4922 | @@ -16,12 +16,14 @@ | |||
4923 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4924 | 17 | */ | 17 | */ |
4925 | 18 | 18 | ||
4930 | 19 | #ifndef UCBOTTOMEDGEREGION_P | 19 | #ifndef UCBOTTOMEDGEREGION_P_P_H |
4931 | 20 | #define UCBOTTOMEDGEREGION_P | 20 | #define UCBOTTOMEDGEREGION_P_P_H |
4932 | 21 | 21 | ||
4933 | 22 | #include "ucbottomedgeregion_p.h" | 22 | #include <UbuntuToolkit/private/ucbottomedgeregion_p.h> |
4934 | 23 | |||
4935 | 24 | #include <QtCore/private/qobject_p.h> | ||
4936 | 25 | |||
4937 | 23 | #include <UbuntuToolkit/private/asyncloader_p_p.h> | 26 | #include <UbuntuToolkit/private/asyncloader_p_p.h> |
4938 | 24 | #include <QtCore/private/qobject_p.h> | ||
4939 | 25 | 27 | ||
4940 | 26 | UT_NAMESPACE_BEGIN | 28 | UT_NAMESPACE_BEGIN |
4941 | 27 | 29 | ||
4942 | @@ -82,4 +84,4 @@ | |||
4943 | 82 | 84 | ||
4944 | 83 | UT_NAMESPACE_END | 85 | UT_NAMESPACE_END |
4945 | 84 | 86 | ||
4947 | 85 | #endif // UCBOTTOMEDGEREGION_P | 87 | #endif // UCBOTTOMEDGEREGION_P_P_H |
4948 | 86 | 88 | ||
4949 | === modified file 'src/UbuntuToolkit/ucbottomedgestyle.cpp' | |||
4950 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgestyle.cpp 2016-07-07 07:21:48 +0000 | |||
4951 | +++ src/UbuntuToolkit/ucbottomedgestyle.cpp 2016-09-17 11:46:32 +0000 | |||
4952 | @@ -17,6 +17,7 @@ | |||
4953 | 17 | */ | 17 | */ |
4954 | 18 | 18 | ||
4955 | 19 | #include "ucbottomedgestyle_p.h" | 19 | #include "ucbottomedgestyle_p.h" |
4956 | 20 | |||
4957 | 20 | #include "ucbottomedge_p_p.h" | 21 | #include "ucbottomedge_p_p.h" |
4958 | 21 | 22 | ||
4959 | 22 | UT_NAMESPACE_BEGIN | 23 | UT_NAMESPACE_BEGIN |
4960 | 23 | 24 | ||
4961 | === modified file 'src/UbuntuToolkit/ucbottomedgestyle_p.h' | |||
4962 | --- src/Ubuntu/UbuntuToolkit/ucbottomedgestyle_p.h 2016-07-07 07:21:48 +0000 | |||
4963 | +++ src/UbuntuToolkit/ucbottomedgestyle_p.h 2016-09-17 11:46:32 +0000 | |||
4964 | @@ -16,11 +16,12 @@ | |||
4965 | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> | 16 | * Author: Zsombor Egri <zsombor.egri@canonical.com> |
4966 | 17 | */ | 17 | */ |
4967 | 18 | 18 | ||
4970 | 19 | #ifndef UCBOTTOMEDGESTYLE_H | 19 | #ifndef UCBOTTOMEDGESTYLE_P_H |
4971 | 20 | #define UCBOTTOMEDGESTYLE_H | 20 | #define UCBOTTOMEDGESTYLE_P_H |
4972 | 21 | 21 | ||
4973 | 22 | #include <QtQuick/QQuickItem> | 22 | #include <QtQuick/QQuickItem> |
4975 | 23 | #include "ubuntutoolkitglobal.h" | 23 | |
4976 | 24 | #include <UbuntuToolkit/ubuntutoolkitglobal.h> | ||
4977 | 24 | 25 | ||
4978 | 25 | class QQuickItem; | 26 | class QQuickItem; |
4979 | 26 | class QQuickAbstractAnimation; | 27 | class QQuickAbstractAnimation; |
4980 | @@ -63,4 +64,4 @@ | |||
4981 | 63 | 64 | ||
4982 | 64 | UT_NAMESPACE_END | 65 | UT_NAMESPACE_END |
4983 | 65 | 66 | ||
4985 | 66 | #endif // UCBOTTOMEDGESTYLE_H | 67 | #endif // UCBOTTOMEDGESTYLE_P_H |
4986 | 67 | 68 | ||
4987 | === modified file 'src/UbuntuToolkit/ucdefaulttheme.cpp' | |||
4988 | --- src/Ubuntu/UbuntuToolkit/ucdefaulttheme.cpp 2016-07-07 07:21:48 +0000 | |||
4989 | +++ src/UbuntuToolkit/ucdefaulttheme.cpp 2016-09-17 11:46:32 +0000 | |||
4990 | @@ -18,13 +18,14 @@ | |||
4991 | 18 | */ | 18 | */ |
4992 | 19 | 19 | ||
4993 | 20 | #include "ucdefaulttheme_p.h" | 20 | #include "ucdefaulttheme_p.h" |
4994 | 21 | #include "uctheme_p.h" | ||
4995 | 22 | 21 | ||
4997 | 23 | #include <QDebug> | 22 | #include <QtCore/QDebug> |
4998 | 24 | #include <QtCore/QDir> | 23 | #include <QtCore/QDir> |
4999 | 25 | #include <QtCore/QFile> | 24 | #include <QtCore/QFile> |
5000 | 26 | #include <QtCore/QStandardPaths> | 25 | #include <QtCore/QStandardPaths> |
The diff has been truncated for viewing.