Merge lp:~loic.molinari/ubuntu-ui-toolkit/uitk-header-inclusion-clean-up into lp:ubuntu-ui-toolkit/staging

Proposed by Loïc Molinari
Status: Merged
Approved by: Zsombor Egri
Approved revision: 2097
Merged at revision: 2097
Proposed branch: lp:~loic.molinari/ubuntu-ui-toolkit/uitk-header-inclusion-clean-up
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 7969 lines (+1701/-1492)
318 files modified
CODING (+63/-0)
src/UbuntuGestures/UbuntuGestures.pro (+1/-3)
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/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 (+3/-8)
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/-12)
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 (+5/-3)
src/UbuntuToolkit/privates/listviewextensions_p.h (+5/-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 (+6/-8)
src/UbuntuToolkit/quickutils_p.h (+2/-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 (+8/-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 (+5/-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 (+6/-7)
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 (+10/-8)
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/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/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)
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/unit/alarms/tst_alarms.cpp (+10/-11)
tests/unit/animator/tst_animator.cpp (+7/-8)
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/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/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/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/units/scale/tst_units_scale.cpp (+1/-2)
tests/unit/visual/tabsmodel.cpp (+0/-1)
tests/unit/visual/tabsmodel.h (+2/-3)
tests/unit/visual/tst_visual.cpp (+3/-3)
To merge this branch: bzr merge lp:~loic.molinari/ubuntu-ui-toolkit/uitk-header-inclusion-clean-up
Reviewer Review Type Date Requested Status
ubuntu-sdk-build-bot continuous-integration Approve
Zsombor Egri Approve
Review via email: mp+305368@code.launchpad.net

Commit message

Fixed, cleaned up and standardised header inclusions.

Apart from the clean up and the readability improvements, this fixes a bunch of broken private header inclusions (#include "foo_p.h" in private headers instead of "private/foo_p.h" or better <Project/private/foo_p.h>), now all the private headers of the UITK can be included by the users withour compilation issues. It also removes a bunch of direct includes from sources and a few INCLUDEPATHs hacks.

See the CODING file for more details.

Description of the change

Fixed, cleaned up and standardised header inclusions.

Apart from the clean up and the readability improvements, this fixes a bunch of broken private header inclusions (#include "foo_p.h" in private headers instead of "private/foo_p.h" or better <Project/private/foo_p.h>), now all the private headers of the UITK can be included by the users withour compilation issues. It also removes a bunch of direct includes from sources and a few INCLUDEPATHs hacks.

Here are the proposed rules detailed in the new CODING file:

1/ When including Qt or UITK headers, always prefix with the project name. Use:

    #include <QtCore/QMap>
    #include <UbuntuMetrics/applicationmonitor.h>

   not

    #include <QMap>
    #include <applicationmonitor.h>

2/ For readability reasons and to avoid hidden dependencies, headers should be
   included in ordered sections, separated by an empty line, as follows:

    // The project's related header (for instance here for foo.cpp).
    #include "foo.h"

    // C standard library headers.
    #include <sys/types.h>
    #include <unistd.h>

    // C++ standard library headers.
    #include <functional>
    #include <hash_map>
    #include <vector>

    // Qt and UITK headers. Try to first list QtCore and QtGui headers. Private
    // headers come right after public headers of the same project.
    #include <QtCore/QDebug>
    #include <QtCore/QHash>
    #include <QtCore/private/qobject_p.h>
    #include <QtGui/QWindow>
    #include <QtGui/private/qcolor_p.h>
    #include <UbuntuMetrics/applicationmonitor.h>

    // Other libraries headers.
    #include <gst/gst.h>
    #include <boost/call_traits.hpp>

    // The project's headers.
    #include "bar.h"
    #include "baz_p.h"

3/ For libraries, the "foo" inclusion variant must be used in C++
   source files for the project's headers. The <Project/foo.h> and
   <Project/private/foo_p.h> inclusion variant must be used for the
   project's headers in private and public headers, wherever the
   header is located in the source tree. That ensures the inclusion of
   private headers by external projects (or by our unit tests) won't
   break.

To post a comment you must log in.
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
2093. By Loïc Molinari

i386-gles build fix attempt.

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
2094. By Loïc Molinari

i386-gles build fix attempt (2).

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
2095. By Loïc Molinari

i386-gles build fix attempt (3).

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
2096. By Loïc Molinari

i386-gles build fix attempt (4).

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
2097. By Loïc Molinari

i386-gles build fix attempt (5).

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Zsombor Egri (zsombi) wrote :

Looks fine, thanks for the guideline!

review: Approve
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'CODING'
2--- CODING 1970-01-01 00:00:00 +0000
3+++ CODING 2016-09-09 22:15:37 +0000
4@@ -0,0 +1,63 @@
5+C++ coding style
6+================
7+
8+The Ubuntu UI Toolkit follows the Qt conventions, see:
9+
10+ - https://wiki.qt.io/Coding_Conventions
11+ - https://wiki.qt.io/Qt_Coding_Style
12+
13+On top of it we add the few clarifications listed below.
14+
15+
16+Header inclusion
17+----------------
18+
19+1/ When including Qt or UITK headers, always prefix with the project name. Use:
20+
21+ #include <QtCore/QMap>
22+ #include <UbuntuMetrics/applicationmonitor.h>
23+
24+ not
25+
26+ #include <QMap>
27+ #include <applicationmonitor.h>
28+
29+2/ For readability reasons and to avoid hidden dependencies, headers should be
30+ included in ordered sections, separated by an empty line, as follows:
31+
32+ // The project's related header (for instance here for foo.cpp).
33+ #include "foo.h"
34+
35+ // C standard library headers.
36+ #include <sys/types.h>
37+ #include <unistd.h>
38+
39+ // C++ standard library headers.
40+ #include <functional>
41+ #include <hash_map>
42+ #include <vector>
43+
44+ // Qt and UITK headers. Try to first list QtCore and QtGui headers. Private
45+ // headers come right after public headers of the same project.
46+ #include <QtCore/QDebug>
47+ #include <QtCore/QHash>
48+ #include <QtCore/private/qobject_p.h>
49+ #include <QtGui/QWindow>
50+ #include <QtGui/private/qcolor_p.h>
51+ #include <UbuntuMetrics/applicationmonitor.h>
52+
53+ // Other libraries headers.
54+ #include <gst/gst.h>
55+ #include <boost/call_traits.hpp>
56+
57+ // The project's headers.
58+ #include "bar.h"
59+ #include "baz_p.h"
60+
61+3/ For libraries, the "foo" inclusion variant must be used in C++
62+ source files for the project's headers. The <Project/foo.h> and
63+ <Project/private/foo_p.h> inclusion variant must be used for the
64+ project's headers in private and public headers, wherever the
65+ header is located in the source tree. That ensures the inclusion of
66+ private headers by external projects (or by our unit tests) won't
67+ break.
68
69=== modified file 'src/UbuntuGestures/UbuntuGestures.pro'
70--- src/UbuntuGestures/UbuntuGestures.pro 2016-07-06 11:27:11 +0000
71+++ src/UbuntuGestures/UbuntuGestures.pro 2016-09-09 22:15:37 +0000
72@@ -1,12 +1,10 @@
73 TEMPLATE=lib
74 TARGET=UbuntuGestures
75
76-QT *= core-private gui-private qml qml-private quick quick-private
77+QT *= core-private gui-private qml-private quick-private
78
79 CONFIG += dll no_keywords c++11
80
81-INCLUDEPATH+=$$PWD
82-
83 DEFINES += UBUNTUGESTURES_LIBRARY
84
85 load(qt_build_config)
86
87=== modified file 'src/UbuntuGestures/candidateinactivitytimer.cpp'
88--- src/UbuntuGestures/candidateinactivitytimer.cpp 2016-07-06 11:27:11 +0000
89+++ src/UbuntuGestures/candidateinactivitytimer.cpp 2016-09-09 22:15:37 +0000
90@@ -14,7 +14,7 @@
91 * along with this program. If not, see <http://www.gnu.org/licenses/>.
92 */
93
94-#include <UbuntuGestures/private/candidateinactivitytimer_p.h>
95+#include "candidateinactivitytimer_p.h"
96
97 UG_NAMESPACE_BEGIN
98
99
100=== modified file 'src/UbuntuGestures/candidateinactivitytimer_p.h'
101--- src/UbuntuGestures/candidateinactivitytimer_p.h 2016-08-09 07:12:07 +0000
102+++ src/UbuntuGestures/candidateinactivitytimer_p.h 2016-09-09 22:15:37 +0000
103@@ -14,15 +14,15 @@
104 * along with this program. If not, see <http://www.gnu.org/licenses/>.
105 */
106
107-#ifndef UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H
108-#define UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H
109-
110-#include <QObject>
111+#ifndef CANDIDATEINACTIVITYTIMER_P_H
112+#define CANDIDATEINACTIVITYTIMER_P_H
113+
114+#include <QtCore/QObject>
115+
116+#include <UbuntuGestures/private/timer_p.h>
117
118 class QQuickItem;
119
120-#include <UbuntuGestures/private/timer_p.h>
121-
122 UG_NAMESPACE_BEGIN
123
124 class UBUNTUGESTURES_EXPORT CandidateInactivityTimer : public QObject {
125@@ -48,4 +48,4 @@
126
127 UG_NAMESPACE_END
128
129-#endif // UBUNTUGESTURES_CANDIDATE_INACTIVITY_TIMER_H
130+#endif // CANDIDATEINACTIVITYTIMER_P_H
131
132=== modified file 'src/UbuntuGestures/damper.cpp'
133--- src/UbuntuGestures/damper.cpp 2015-12-17 15:23:26 +0000
134+++ src/UbuntuGestures/damper.cpp 2016-09-09 22:15:37 +0000
135@@ -15,7 +15,8 @@
136 */
137
138 #include "damper_p.h"
139-#include <QDebug>
140+
141+#include <QtCore/QDebug>
142
143 QDebug operator<<(QDebug dbg, const DampedPointF &p)
144 {
145
146=== modified file 'src/UbuntuGestures/damper_p.h'
147--- src/UbuntuGestures/damper_p.h 2015-12-17 15:23:26 +0000
148+++ src/UbuntuGestures/damper_p.h 2016-09-09 22:15:37 +0000
149@@ -14,8 +14,8 @@
150 * along with this program. If not, see <http://www.gnu.org/licenses/>.
151 */
152
153-#ifndef UBUNTU_GESTURES_DAMPER_H
154-#define UBUNTU_GESTURES_DAMPER_H
155+#ifndef DAMPER_P_H
156+#define DAMPER_P_H
157
158 #include <QtCore/QPointF>
159
160@@ -86,4 +86,4 @@
161
162 QDebug operator<<(QDebug dbg, const DampedPointF &p);
163
164-#endif // UBUNTU_GESTURES_DAMPER_H
165+#endif // DAMPER_P_H
166
167=== modified file 'src/UbuntuGestures/debughelpers.cpp'
168--- src/UbuntuGestures/debughelpers.cpp 2016-07-06 11:27:11 +0000
169+++ src/UbuntuGestures/debughelpers.cpp 2016-09-09 22:15:37 +0000
170@@ -14,9 +14,10 @@
171 * along with this program. If not, see <http://www.gnu.org/licenses/>.
172 */
173
174-#include <UbuntuGestures/private/debughelpers_p.h>
175-#include <QTouchEvent>
176-#include <QMouseEvent>
177+#include "debughelpers_p.h"
178+
179+#include <QtGui/QMouseEvent>
180+#include <QtGui/QTouchEvent>
181
182 QString touchPointStateToString(Qt::TouchPointState state)
183 {
184
185=== modified file 'src/UbuntuGestures/debughelpers_p.h'
186--- src/UbuntuGestures/debughelpers_p.h 2016-08-09 07:12:07 +0000
187+++ src/UbuntuGestures/debughelpers_p.h 2016-09-09 22:15:37 +0000
188@@ -14,12 +14,10 @@
189 * along with this program. If not, see <http://www.gnu.org/licenses/>.
190 */
191
192-#ifndef UBUNTUGESTURES_DEBUG_HELPER_H
193-#define UBUNTUGESTURES_DEBUG_HELPER_H
194-
195-#include <QString>
196-
197-#include "ubuntugesturesglobal.h"
198+#ifndef DEBUGHELPERS_P_H
199+#define DEBUGHELPERS_P_H
200+
201+#include <QtCore/QString>
202
203 class QMouseEvent;
204 class QTouchEvent;
205@@ -28,4 +26,4 @@
206 QString touchEventToString(const QTouchEvent *ev);
207 QString mouseEventToString(const QMouseEvent *ev);
208
209-#endif // UBUNTUGESTURES_DEBUG_HELPER_H
210+#endif // DEBUGHELPERS_P_H
211
212=== modified file 'src/UbuntuGestures/pool_p.h'
213--- src/UbuntuGestures/pool_p.h 2016-08-09 07:12:07 +0000
214+++ src/UbuntuGestures/pool_p.h 2016-09-09 22:15:37 +0000
215@@ -14,12 +14,12 @@
216 * along with this program. If not, see <http://www.gnu.org/licenses/>.
217 */
218
219-#ifndef UBUNTUGESTURES_POOL_H
220-#define UBUNTUGESTURES_POOL_H
221-
222-#include <QVector>
223-
224-#include "ubuntugesturesglobal.h"
225+#ifndef POOL_P_H
226+#define POOL_P_H
227+
228+#include <QtCore/QVector>
229+
230+#include <UbuntuGestures/ubuntugesturesglobal.h>
231
232 /*
233 An object pool.
234@@ -129,4 +129,4 @@
235 int m_lastUsedIndex;
236 };
237
238-#endif // UBUNTUGESTURES_POOL_H
239+#endif // POOL_P_H
240
241=== modified file 'src/UbuntuGestures/timer.cpp'
242--- src/UbuntuGestures/timer.cpp 2016-07-25 14:02:18 +0000
243+++ src/UbuntuGestures/timer.cpp 2016-09-09 22:15:37 +0000
244@@ -14,7 +14,7 @@
245 * along with this program. If not, see <http://www.gnu.org/licenses/>.
246 */
247
248-#include <UbuntuGestures/private/timer_p.h>
249+#include "timer_p.h"
250
251 UG_NAMESPACE_BEGIN
252
253
254=== modified file 'src/UbuntuGestures/timer_p.h'
255--- src/UbuntuGestures/timer_p.h 2016-08-09 07:12:07 +0000
256+++ src/UbuntuGestures/timer_p.h 2016-09-09 22:15:37 +0000
257@@ -14,16 +14,16 @@
258 * along with this program. If not, see <http://www.gnu.org/licenses/>.
259 */
260
261-#ifndef UBUNTUGESTURES_TIMER_H
262-#define UBUNTUGESTURES_TIMER_H
263-
264-#include "ubuntugesturesglobal.h"
265+#ifndef TIMER_P_H
266+#define TIMER_P_H
267+
268+#include <QtCore/QObject>
269+#include <QtCore/QPointer>
270+#include <QtCore/QTimer>
271+
272+#include <UbuntuGestures/ubuntugesturesglobal.h>
273 #include <UbuntuGestures/private/timesource_p.h>
274
275-#include <QObject>
276-#include <QPointer>
277-#include <QTimer>
278-
279 UG_NAMESPACE_BEGIN
280
281 /* Defines an interface for a Timer. */
282@@ -114,4 +114,4 @@
283
284 UG_NAMESPACE_END
285
286-#endif // UBUNTUGESTURES_TIMER_H
287+#endif // TIMER_P_H
288
289=== modified file 'src/UbuntuGestures/timesource.cpp'
290--- src/UbuntuGestures/timesource.cpp 2016-07-25 14:02:18 +0000
291+++ src/UbuntuGestures/timesource.cpp 2016-09-09 22:15:37 +0000
292@@ -16,9 +16,9 @@
293 * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com>
294 */
295
296-#include <UbuntuGestures/private/timesource_p.h>
297+#include "timesource_p.h"
298
299-#include <QElapsedTimer>
300+#include <QtCore/QElapsedTimer>
301
302 UG_NAMESPACE_BEGIN
303
304
305=== modified file 'src/UbuntuGestures/timesource_p.h'
306--- src/UbuntuGestures/timesource_p.h 2016-08-09 07:12:07 +0000
307+++ src/UbuntuGestures/timesource_p.h 2016-09-09 22:15:37 +0000
308@@ -16,11 +16,12 @@
309 * Authored by: Daniel d'Andrada <daniel.dandrada@canonical.com>
310 */
311
312-#ifndef UBUNTUGESTURES_TIMESOURCE_H
313-#define UBUNTUGESTURES_TIMESOURCE_H
314-
315-#include "ubuntugesturesglobal.h"
316-#include <QSharedPointer>
317+#ifndef TIMESOURCE_P_H
318+#define TIMESOURCE_P_H
319+
320+#include <QtCore/QSharedPointer>
321+
322+#include <UbuntuGestures/ubuntugesturesglobal.h>
323
324 UG_NAMESPACE_BEGIN
325 /*
326@@ -59,4 +60,4 @@
327
328 UG_NAMESPACE_END
329
330-#endif // UBUNTUGESTURES_TIMESOURCE_H
331+#endif // TIMESOURCE_P_H
332
333=== modified file 'src/UbuntuGestures/touchownershipevent.cpp'
334--- src/UbuntuGestures/touchownershipevent.cpp 2016-07-06 11:27:11 +0000
335+++ src/UbuntuGestures/touchownershipevent.cpp 2016-09-09 22:15:37 +0000
336@@ -14,7 +14,7 @@
337 * along with this program. If not, see <http://www.gnu.org/licenses/>.
338 */
339
340-#include <UbuntuGestures/private/touchownershipevent_p.h>
341+#include "touchownershipevent_p.h"
342
343 UG_NAMESPACE_BEGIN
344
345
346=== modified file 'src/UbuntuGestures/touchownershipevent_p.h'
347--- src/UbuntuGestures/touchownershipevent_p.h 2016-08-09 07:12:07 +0000
348+++ src/UbuntuGestures/touchownershipevent_p.h 2016-09-09 22:15:37 +0000
349@@ -14,11 +14,12 @@
350 * along with this program. If not, see <http://www.gnu.org/licenses/>.
351 */
352
353-#ifndef UBUNTU_TOUCHOWNERSHIPEVENT_H
354-#define UBUNTU_TOUCHOWNERSHIPEVENT_H
355-
356-#include <QEvent>
357-#include "ubuntugesturesglobal.h"
358+#ifndef TOUCHOWNERSHIPEVENT_P_H
359+#define TOUCHOWNERSHIPEVENT_P_H
360+
361+#include <QtCore/QEvent>
362+
363+#include <UbuntuGestures/ubuntugesturesglobal.h>
364
365 UG_NAMESPACE_BEGIN
366 /*
367@@ -50,4 +51,4 @@
368
369 UG_NAMESPACE_END
370
371-#endif // UBUNTU_TOUCHOWNERSHIPEVENT_H
372+#endif // TOUCHOWNERSHIPEVENT_P_H
373
374=== modified file 'src/UbuntuGestures/touchregistry.cpp'
375--- src/UbuntuGestures/touchregistry.cpp 2016-07-06 11:27:11 +0000
376+++ src/UbuntuGestures/touchregistry.cpp 2016-09-09 22:15:37 +0000
377@@ -14,21 +14,20 @@
378 * along with this program. If not, see <http://www.gnu.org/licenses/>.
379 */
380
381-#include <UbuntuGestures/private/touchregistry_p.h>
382-
383-#include <QCoreApplication>
384-#include <QDebug>
385-
386-#include <private/qquickitem_p.h>
387-
388-#include <UbuntuGestures/private/candidateinactivitytimer_p.h>
389-#include <UbuntuGestures/private/timer_p.h>
390-#include <UbuntuGestures/private/touchownershipevent_p.h>
391-#include <UbuntuGestures/private/unownedtouchevent_p.h>
392+#include "touchregistry_p.h"
393+
394+#include <QtCore/QCoreApplication>
395+#include <QtCore/QDebug>
396+#include <QtQuick/private/qquickitem_p.h>
397+
398+#include "candidateinactivitytimer_p.h"
399+#include "debughelpers_p.h"
400+#include "timer_p.h"
401+#include "touchownershipevent_p.h"
402+#include "unownedtouchevent_p.h"
403
404 Q_LOGGING_CATEGORY(ugTouchRegistry, "libubuntugestures.TouchRegistry", QtMsgType::QtWarningMsg)
405
406-#include <UbuntuGestures/private/debughelpers_p.h>
407 #define UG_DEBUG qCDebug(ugTouchRegistry) << "[TouchRegistry]"
408
409 UG_NAMESPACE_BEGIN
410
411=== modified file 'src/UbuntuGestures/touchregistry_p.h'
412--- src/UbuntuGestures/touchregistry_p.h 2016-08-09 07:12:07 +0000
413+++ src/UbuntuGestures/touchregistry_p.h 2016-09-09 22:15:37 +0000
414@@ -14,23 +14,21 @@
415 * along with this program. If not, see <http://www.gnu.org/licenses/>.
416 */
417
418-#ifndef UNITY_TOUCHREGISTRY_H
419-#define UNITY_TOUCHREGISTRY_H
420+#ifndef TOUCHREGISTRY_P_H
421+#define TOUCHREGISTRY_P_H
422
423+#include <QtCore/QLoggingCategory>
424+#include <QtCore/QObject>
425+#include <QtCore/QPointer>
426+#include <QtCore/QVector>
427+#include <QtGui/QTouchEvent>
428 #include <QtQuick/QQuickItem>
429-#include <QObject>
430-#include <QPointer>
431-#include <QTouchEvent>
432-#include <QVector>
433
434-#include "ubuntugesturesglobal.h"
435+#include <UbuntuGestures/ubuntugesturesglobal.h>
436 #include <UbuntuGestures/private/candidateinactivitytimer_p.h>
437 #include <UbuntuGestures/private/timer_p.h>
438 #include <UbuntuGestures/private/pool_p.h>
439
440-// logging
441-#include <QtCore/QLoggingCategory>
442-
443 UG_FORWARD_DECLARE_CLASS(AbstractTimerFactory)
444
445 /*
446@@ -206,4 +204,4 @@
447
448 Q_DECLARE_LOGGING_CATEGORY(ugTouchRegistry)
449
450-#endif // UNITY_TOUCHREGISTRY_H
451+#endif // TOUCHREGISTRY_P_H
452
453=== modified file 'src/UbuntuGestures/ubuntugesturesmodule.cpp'
454--- src/UbuntuGestures/ubuntugesturesmodule.cpp 2016-06-21 14:21:46 +0000
455+++ src/UbuntuGestures/ubuntugesturesmodule.cpp 2016-09-09 22:15:37 +0000
456@@ -16,10 +16,11 @@
457 * Author: Zsombor Egri <zsombor.egri@canonical.com>
458 */
459
460+#include <QtQml/QtQml>
461 #include <QtQml/QQmlEngine>
462-#include <QtQml>
463+
464 #include "ubuntugesturesmodule.h"
465-#include <private/ucswipearea_p.h>
466+#include "ucswipearea_p.h"
467
468 UG_NAMESPACE_BEGIN
469
470
471=== modified file 'src/UbuntuGestures/ubuntugesturesmodule.h'
472--- src/UbuntuGestures/ubuntugesturesmodule.h 2016-07-06 09:51:06 +0000
473+++ src/UbuntuGestures/ubuntugesturesmodule.h 2016-09-09 22:15:37 +0000
474@@ -19,7 +19,7 @@
475 #ifndef UBUNTUGESTURESMODULE_H
476 #define UBUNTUGESTURESMODULE_H
477
478-#include <ubuntugesturesglobal.h>
479+#include <UbuntuGestures/ubuntugesturesglobal.h>
480
481 UG_NAMESPACE_BEGIN
482
483
484=== modified file 'src/UbuntuGestures/ucswipearea.cpp'
485--- src/UbuntuGestures/ucswipearea.cpp 2016-07-25 14:02:18 +0000
486+++ src/UbuntuGestures/ucswipearea.cpp 2016-09-09 22:15:37 +0000
487@@ -12,22 +12,19 @@
488 *
489 * You should have received a copy of the GNU General Public License
490 * along with this program. If not, see <http://www.gnu.org/licenses/>.
491- *
492 */
493
494 #include "ucswipearea_p_p.h"
495
496-#include <QQuickWindow>
497-#include <QtCore/qmath.h>
498-#include <QScreen>
499-#include <QDebug>
500-
501-#include <private/qquickwindow_p.h>
502-
503-// local
504-#include <UbuntuGestures/private/touchownershipevent_p.h>
505-#include <UbuntuGestures/private/touchregistry_p.h>
506-#include <UbuntuGestures/private/unownedtouchevent_p.h>
507+#include <QtCore/QDebug>
508+#include <QtGui/QScreen>
509+#include <QtCore/QtMath>
510+#include <QtQuick/QQuickWindow>
511+#include <QtQuick/private/qquickwindow_p.h>
512+
513+#include "touchownershipevent_p.h"
514+#include "touchregistry_p.h"
515+#include "unownedtouchevent_p.h"
516
517 UG_NAMESPACE_BEGIN
518
519
520=== modified file 'src/UbuntuGestures/ucswipearea_p.h'
521--- src/UbuntuGestures/ucswipearea_p.h 2016-07-06 11:27:11 +0000
522+++ src/UbuntuGestures/ucswipearea_p.h 2016-09-09 22:15:37 +0000
523@@ -12,22 +12,18 @@
524 *
525 * You should have received a copy of the GNU General Public License
526 * along with this program. If not, see <http://www.gnu.org/licenses/>.
527- *
528 */
529
530-#ifndef UCSWIPEAREA_H
531-#define UCSWIPEAREA_H
532+#ifndef UCSWIPEAREA_P_H
533+#define UCSWIPEAREA_P_H
534
535+#include <QtCore/QLoggingCategory>
536 #include <QtQuick/QQuickItem>
537-#include "ubuntugesturesglobal.h"
538
539-// lib UbuntuGestures
540+#include <UbuntuGestures/ubuntugesturesglobal.h>
541 #include <UbuntuGestures/private/pool_p.h>
542 #include <UbuntuGestures/private/timer_p.h>
543
544-// logging
545-#include <QtCore/QLoggingCategory>
546-
547 UG_NAMESPACE_BEGIN
548
549 class TouchOwnershipEvent;
550@@ -106,4 +102,4 @@
551 Q_DECLARE_LOGGING_CATEGORY(ucSwipeArea)
552 Q_DECLARE_LOGGING_CATEGORY(ucActiveTouchInfo)
553
554-#endif // UCSWIPEAREA_H
555+#endif // UCSWIPEAREA_P_H
556
557=== modified file 'src/UbuntuGestures/ucswipearea_p_p.h'
558--- src/UbuntuGestures/ucswipearea_p_p.h 2016-07-25 14:02:18 +0000
559+++ src/UbuntuGestures/ucswipearea_p_p.h 2016-09-09 22:15:37 +0000
560@@ -12,16 +12,16 @@
561 *
562 * You should have received a copy of the GNU General Public License
563 * along with this program. If not, see <http://www.gnu.org/licenses/>.
564- *
565 */
566
567-#ifndef UCSWIPEAREAPRIVATE_H
568-#define UCSWIPEAREAPRIVATE_H
569-
570-#include "ucswipearea_p.h"
571+#ifndef UCSWIPEAREA_P_P_H
572+#define UCSWIPEAREA_P_P_H
573+
574+#include <UbuntuGestures/private/ucswipearea_p.h>
575+
576 #include <QtQuick/private/qquickitem_p.h>
577
578-#include "damper_p.h"
579+#include <UbuntuGestures/private/damper_p.h>
580
581 UG_NAMESPACE_BEGIN
582
583@@ -175,4 +175,4 @@
584
585 UG_NAMESPACE_END
586
587-#endif // UCSWIPEAREAPRIVATE_H
588+#endif // UCSWIPEAREA_P_P_H
589
590=== modified file 'src/UbuntuGestures/unownedtouchevent.cpp'
591--- src/UbuntuGestures/unownedtouchevent.cpp 2016-07-06 11:27:11 +0000
592+++ src/UbuntuGestures/unownedtouchevent.cpp 2016-09-09 22:15:37 +0000
593@@ -14,7 +14,7 @@
594 * along with this program. If not, see <http://www.gnu.org/licenses/>.
595 */
596
597-#include <UbuntuGestures/private/unownedtouchevent_p.h>
598+#include "unownedtouchevent_p.h"
599
600 UG_NAMESPACE_BEGIN
601
602
603=== modified file 'src/UbuntuGestures/unownedtouchevent_p.h'
604--- src/UbuntuGestures/unownedtouchevent_p.h 2016-08-09 07:12:07 +0000
605+++ src/UbuntuGestures/unownedtouchevent_p.h 2016-09-09 22:15:37 +0000
606@@ -14,12 +14,13 @@
607 * along with this program. If not, see <http://www.gnu.org/licenses/>.
608 */
609
610-#ifndef UBUNTU_UNOWNEDTOUCHEVENT_H
611-#define UBUNTU_UNOWNEDTOUCHEVENT_H
612-
613-#include <QTouchEvent>
614-#include <QScopedPointer>
615-#include "ubuntugesturesglobal.h"
616+#ifndef UNOWNEDTOUCHEVENT_P_H
617+#define UNOWNEDTOUCHEVENT_P_H
618+
619+#include <QtCore/QScopedPointer>
620+#include <QtGui/QTouchEvent>
621+
622+#include <UbuntuGestures/ubuntugesturesglobal.h>
623
624 UG_NAMESPACE_BEGIN
625 /*
626@@ -45,4 +46,4 @@
627
628 UG_NAMESPACE_END
629
630-#endif // UBUNTU_UNOWNEDTOUCHEVENT_H
631+#endif // UNOWNEDTOUCHEVENT_P_H
632
633=== modified file 'src/UbuntuMetrics/applicationmonitor.cpp'
634--- src/UbuntuMetrics/applicationmonitor.cpp 2016-08-22 06:18:26 +0000
635+++ src/UbuntuMetrics/applicationmonitor.cpp 2016-09-09 22:15:37 +0000
636@@ -16,6 +16,7 @@
637 // along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
638
639 #include "applicationmonitor_p.h"
640+
641 #include <QtCore/QTimer>
642 #include <QtGui/QGuiApplication>
643 #include <QtQuick/QQuickWindow>
644
645=== modified file 'src/UbuntuMetrics/applicationmonitor.h'
646--- src/UbuntuMetrics/applicationmonitor.h 2016-08-05 00:11:54 +0000
647+++ src/UbuntuMetrics/applicationmonitor.h 2016-09-09 22:15:37 +0000
648@@ -18,10 +18,11 @@
649 #ifndef APPLICATIONMONITOR_H
650 #define APPLICATIONMONITOR_H
651
652-#include <UbuntuMetrics/ubuntumetricsglobal.h>
653+#include <QtCore/QList>
654+
655 #include <UbuntuMetrics/logger.h>
656 #include <UbuntuMetrics/events.h>
657-#include <QtCore/QList>
658+#include <UbuntuMetrics/ubuntumetricsglobal.h>
659
660 class UMApplicationMonitorPrivate;
661
662
663=== modified file 'src/UbuntuMetrics/applicationmonitor_p.h'
664--- src/UbuntuMetrics/applicationmonitor_p.h 2016-08-05 15:07:39 +0000
665+++ src/UbuntuMetrics/applicationmonitor_p.h 2016-09-09 22:15:37 +0000
666@@ -18,10 +18,8 @@
667 #ifndef APPLICATIONMONITOR_P_H
668 #define APPLICATIONMONITOR_P_H
669
670-#include "applicationmonitor.h"
671-#include "overlay_p.h"
672-#include "gputimer_p.h"
673-#include "ubuntumetricsglobal_p.h"
674+#include <UbuntuMetrics/applicationmonitor.h>
675+
676 #include <QtCore/QTimer>
677 #include <QtCore/QThread>
678 #include <QtCore/QMutex>
679@@ -30,6 +28,10 @@
680 #include <QtCore/QRunnable>
681 #include <QtCore/QAtomicInteger>
682
683+#include <UbuntuMetrics/private/overlay_p.h>
684+#include <UbuntuMetrics/private/gputimer_p.h>
685+#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
686+
687 class LoggingThread;
688 class WindowMonitor;
689 class QQuickWindow;
690
691=== modified file 'src/UbuntuMetrics/bitmaptext.cpp'
692--- src/UbuntuMetrics/bitmaptext.cpp 2016-08-19 03:35:49 +0000
693+++ src/UbuntuMetrics/bitmaptext.cpp 2016-09-09 22:15:37 +0000
694@@ -16,12 +16,14 @@
695 // along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
696
697 #include <math.h>
698+
699+#include <QtCore/QtGlobal>
700+#include <QtCore/QPoint>
701+#include <QtCore/QSize>
702+
703 #include "bitmaptext_p.h"
704 #include "bitmaptextfont_p.h"
705 #include "ubuntumetricsglobal_p.h"
706-#include <QtCore/QtGlobal>
707-#include <QtCore/QSize>
708-#include <QtCore/QPoint>
709
710 static const GLchar* bitmapTextVertexShaderSource =
711 #if !defined(QT_OPENGL_ES_2)
712
713=== modified file 'src/UbuntuMetrics/bitmaptext_p.h'
714--- src/UbuntuMetrics/bitmaptext_p.h 2016-08-05 15:07:39 +0000
715+++ src/UbuntuMetrics/bitmaptext_p.h 2016-09-09 22:15:37 +0000
716@@ -18,9 +18,10 @@
717 #ifndef BITMAPTEXT_P_H
718 #define BITMAPTEXT_P_H
719
720-#include "ubuntumetricsglobal_p.h"
721 #include <QtGui/QOpenGLFunctions>
722
723+#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
724+
725 // BitmapText renders a monospaced bitmap Latin-1 encoded text (128 characters)
726 // stored in a single texture atlas using OpenGL. The font is generated by
727 // bitmap-text-builder and stored in the bitmaptextfont_p.h header.
728
729=== modified file 'src/UbuntuMetrics/events.cpp'
730--- src/UbuntuMetrics/events.cpp 2016-08-18 17:42:55 +0000
731+++ src/UbuntuMetrics/events.cpp 2016-09-09 22:15:37 +0000
732@@ -16,12 +16,15 @@
733 // along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
734
735 #include "events_p.h"
736-#include "ubuntumetricsglobal_p.h"
737-#include <QtCore/QElapsedTimer>
738+
739 #include <string.h>
740 #include <unistd.h>
741 #include <fcntl.h>
742-#include <cstdio>
743+#include <stdio.h>
744+
745+#include <QtCore/QElapsedTimer>
746+
747+#include "ubuntumetricsglobal_p.h"
748
749 const int bufferSize = 128;
750 const int bufferAlignment = 64;
751
752=== modified file 'src/UbuntuMetrics/events_p.h'
753--- src/UbuntuMetrics/events_p.h 2016-08-05 15:07:39 +0000
754+++ src/UbuntuMetrics/events_p.h 2016-09-09 22:15:37 +0000
755@@ -18,10 +18,13 @@
756 #ifndef EVENTS_P_H
757 #define EVENTS_P_H
758
759-#include "events.h"
760-#include "ubuntumetricsglobal_p.h"
761+#include <UbuntuMetrics/events.h>
762+
763+#include <sys/times.h>
764+
765 #include <QtCore/QElapsedTimer>
766-#include <sys/times.h>
767+
768+#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
769
770 class UBUNTU_METRICS_PRIVATE_EXPORT EventUtilsPrivate
771 {
772
773=== modified file 'src/UbuntuMetrics/gputimer.cpp'
774--- src/UbuntuMetrics/gputimer.cpp 2016-07-26 13:41:18 +0000
775+++ src/UbuntuMetrics/gputimer.cpp 2016-09-09 22:15:37 +0000
776@@ -16,8 +16,10 @@
777 // along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
778
779 #include "gputimer_p.h"
780+
781+#include <QtCore/QElapsedTimer>
782+
783 #include "ubuntumetricsglobal_p.h"
784-#include <QtCore/QElapsedTimer>
785
786 #if !defined(QT_OPENGL_ES) && !defined(GL_TIME_ELAPSED)
787 #define GL_TIME_ELAPSED 0x88BF // For GL_EXT_timer_query.
788
789=== modified file 'src/UbuntuMetrics/gputimer_p.h'
790--- src/UbuntuMetrics/gputimer_p.h 2016-08-05 15:07:39 +0000
791+++ src/UbuntuMetrics/gputimer_p.h 2016-09-09 22:15:37 +0000
792@@ -18,13 +18,15 @@
793 #ifndef GPUTIMER_P_H
794 #define GPUTIMER_P_H
795
796-#include "ubuntumetricsglobal_p.h"
797 #include <QtGui/QOpenGLFunctions>
798+
799 #if defined(QT_OPENGL_ES)
800 #include <EGL/egl.h>
801 #include <EGL/eglext.h>
802 #endif
803
804+#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
805+
806 // GPUTimer is used to measure the amount of time taken by the GPU to fully
807 // complete a set of graphics commands. As opposed to a basic timer which would
808 // determine the time taken by the graphics driver to push the graphics commands
809
810=== modified file 'src/UbuntuMetrics/logger.cpp'
811--- src/UbuntuMetrics/logger.cpp 2016-08-06 00:54:30 +0000
812+++ src/UbuntuMetrics/logger.cpp 2016-09-09 22:15:37 +0000
813@@ -16,13 +16,14 @@
814 // along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
815
816 #include "logger_p.h"
817-#include "ubuntumetricsglobal_p.h"
818-#include "events.h"
819+
820+#include <dlfcn.h>
821+
822 #include <QtCore/QDir>
823 #include <QtCore/QTime>
824
825-// LTTng shared object runtime loading.
826-#include <dlfcn.h>
827+#include "events.h"
828+#include "ubuntumetricsglobal_p.h"
829 #define TRACEPOINT_DEFINE
830 #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
831 #include "lttng/lttng_p.h"
832
833=== modified file 'src/UbuntuMetrics/logger.h'
834--- src/UbuntuMetrics/logger.h 2016-08-04 22:54:21 +0000
835+++ src/UbuntuMetrics/logger.h 2016-09-09 22:15:37 +0000
836@@ -18,8 +18,9 @@
837 #ifndef LOGGER_H
838 #define LOGGER_H
839
840+#include <QtCore/QFile>
841+
842 #include <UbuntuMetrics/ubuntumetricsglobal.h>
843-#include <QtCore/QFile>
844
845 class UMEvent;
846 class UMFileLoggerPrivate;
847
848=== modified file 'src/UbuntuMetrics/logger_p.h'
849--- src/UbuntuMetrics/logger_p.h 2016-08-05 15:07:39 +0000
850+++ src/UbuntuMetrics/logger_p.h 2016-09-09 22:15:37 +0000
851@@ -18,12 +18,14 @@
852 #ifndef LOGGER_P_H
853 #define LOGGER_P_H
854
855-#include "logger.h"
856-#include "ubuntumetricsglobal_p.h"
857-#include "events.h"
858+#include <UbuntuMetrics/logger.h>
859+
860 #include <QtCore/QFile>
861 #include <QtCore/QTextStream>
862
863+#include <UbuntuMetrics/events.h>
864+#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
865+
866 class UBUNTU_METRICS_PRIVATE_EXPORT UMFileLoggerPrivate
867 {
868 public:
869
870=== modified file 'src/UbuntuMetrics/overlay.cpp'
871--- src/UbuntuMetrics/overlay.cpp 2016-07-26 13:41:18 +0000
872+++ src/UbuntuMetrics/overlay.cpp 2016-09-09 22:15:37 +0000
873@@ -16,11 +16,14 @@
874 // along with Ubuntu UI Toolkit. If not, see <http://www.gnu.org/licenses/>.
875
876 #include "overlay_p.h"
877-#include "ubuntumetricsglobal_p.h"
878+
879+#include <unistd.h>
880+#include <fcntl.h>
881+
882 #include <QtCore/QSysInfo>
883 #include <QtGui/QGuiApplication>
884-#include <unistd.h>
885-#include <fcntl.h>
886+
887+#include "ubuntumetricsglobal_p.h"
888
889 static const QPointF position = QPointF(5.0f, 5.0f);
890 static const float opacity = 0.85f;
891
892=== modified file 'src/UbuntuMetrics/overlay_p.h'
893--- src/UbuntuMetrics/overlay_p.h 2016-08-05 15:07:39 +0000
894+++ src/UbuntuMetrics/overlay_p.h 2016-09-09 22:15:37 +0000
895@@ -18,11 +18,12 @@
896 #ifndef OVERLAY_P_H
897 #define OVERLAY_P_H
898
899-#include "ubuntumetricsglobal_p.h"
900-#include "bitmaptext_p.h"
901-#include "events.h"
902 #include <QtCore/QSize>
903
904+#include <UbuntuMetrics/events.h>
905+#include <UbuntuMetrics/private/bitmaptext_p.h>
906+#include <UbuntuMetrics/private/ubuntumetricsglobal_p.h>
907+
908 #if !defined QT_NO_DEBUG
909 class QOpenGLContext;
910 #endif
911
912=== modified file 'src/UbuntuMetrics/ubuntumetricsglobal.h'
913--- src/UbuntuMetrics/ubuntumetricsglobal.h 2016-07-22 10:47:24 +0000
914+++ src/UbuntuMetrics/ubuntumetricsglobal.h 2016-09-09 22:15:37 +0000
915@@ -18,7 +18,7 @@
916 #ifndef UBUNTUMETRICSGLOBAL_H
917 #define UBUNTUMETRICSGLOBAL_H
918
919-#include <QtCore/qglobal.h>
920+#include <QtCore/QtGlobal>
921
922 #if defined(QT_BUILD_UBUNTUMETRICS_LIB)
923 #define UBUNTU_METRICS_EXPORT Q_DECL_EXPORT
924
925=== modified file 'src/UbuntuMetrics/ubuntumetricsglobal_p.h'
926--- src/UbuntuMetrics/ubuntumetricsglobal_p.h 2016-08-04 16:50:30 +0000
927+++ src/UbuntuMetrics/ubuntumetricsglobal_p.h 2016-09-09 22:15:37 +0000
928@@ -18,7 +18,7 @@
929 #ifndef UBUNTUMETRICSGLOBAL_P_H
930 #define UBUNTUMETRICSGLOBAL_P_H
931
932-#include "ubuntumetricsglobal.h"
933+#include <UbuntuMetrics/ubuntumetricsglobal.h>
934
935 // Logging macros, debug macros are compiled out for release builds.
936 #define LOG(...) qDebug(__VA_ARGS__)
937
938=== modified file 'src/UbuntuToolkit/UbuntuToolkit.pro'
939--- src/UbuntuToolkit/UbuntuToolkit.pro 2016-08-26 12:03:35 +0000
940+++ src/UbuntuToolkit/UbuntuToolkit.pro 2016-09-09 22:15:37 +0000
941@@ -1,16 +1,13 @@
942 TEMPLATE=lib
943 TARGET=UbuntuToolkit
944
945-QT *= core-private gui-private qml qml-private quick quick-private testlib
946+QT *= core-private gui-private qml-private quick-private testlib dbus svg organizer \
947+ UbuntuGestures-private UbuntuMetrics
948
949 unix {
950 CONFIG += link_pkgconfig
951 PKGCONFIG += gio-2.0 dbus-1 libnih libnih-dbus
952 }
953-QT *= dbus svg UbuntuGestures UbuntuGestures_private UbuntuMetrics
954-
955-# QOrganizer for Alarm API
956-QT *= organizer
957
958 !contains(QT_ARCH, arm) {
959 DEFINES += UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION
960@@ -21,8 +18,6 @@
961
962 CONFIG += dll no_keywords c++11
963
964-INCLUDEPATH+=$$PWD
965-
966 DEFINES += UBUNTUTOOLKIT_LIBRARY
967 #comment in the following line to disable traces
968 #DEFINES += QT_NO_DEBUG_OUTPUT
969@@ -47,7 +42,7 @@
970 ubuntutoolkitmodule.h \
971 splitview_p.h \
972 splitview_p_p.h \
973- privates/splitviewhandler_p_p.h \
974+ privates/splitviewhandler_p.h \
975 menu_p_p.h \
976 menubar_p_p.h \
977 menu_p.h \
978
979=== modified file 'src/UbuntuToolkit/actionlist.cpp'
980--- src/UbuntuToolkit/actionlist.cpp 2016-07-18 14:54:46 +0000
981+++ src/UbuntuToolkit/actionlist.cpp 2016-09-09 22:15:37 +0000
982@@ -15,6 +15,7 @@
983 */
984
985 #include "actionlist_p.h"
986+
987 #include "ucaction_p.h"
988
989 UT_NAMESPACE_BEGIN
990
991=== modified file 'src/UbuntuToolkit/actionlist_p.h'
992--- src/UbuntuToolkit/actionlist_p.h 2016-07-18 14:54:46 +0000
993+++ src/UbuntuToolkit/actionlist_p.h 2016-09-09 22:15:37 +0000
994@@ -14,12 +14,13 @@
995 * along with this program. If not, see <http://www.gnu.org/licenses/>.
996 */
997
998-#ifndef ACTIONLIST_H
999-#define ACTIONLIST_H
1000+#ifndef ACTIONLIST_P_H
1001+#define ACTIONLIST_P_H
1002
1003-#include <QObject>
1004+#include <QtCore/QObject>
1005 #include <QtQml/QQmlListProperty>
1006-#include "ubuntutoolkitglobal.h"
1007+
1008+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1009
1010 UT_NAMESPACE_BEGIN
1011
1012@@ -55,4 +56,4 @@
1013
1014 UT_NAMESPACE_END
1015
1016-#endif // ACTIONLIST_H
1017+#endif // ACTIONLIST_P_H
1018
1019=== modified file 'src/UbuntuToolkit/adapters/actionsproxy_p.cpp'
1020--- src/UbuntuToolkit/adapters/actionsproxy_p.cpp 2016-07-07 07:21:48 +0000
1021+++ src/UbuntuToolkit/adapters/actionsproxy_p.cpp 2016-09-09 22:15:37 +0000
1022@@ -14,11 +14,12 @@
1023 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1024 */
1025
1026-#include "actionsproxy_p.h"
1027+#include "adapters/actionsproxy_p.h"
1028+
1029+#include <QtCore/QDebug>
1030+
1031 #include "ucactioncontext_p.h"
1032
1033-#include <QDebug>
1034-
1035 Q_LOGGING_CATEGORY(ucActionProxy, "ubuntu.components.ActionProxy", QtMsgType::QtWarningMsg)
1036
1037 #define AP_TRACE(params) qCDebug(ucActionProxy) << params
1038
1039=== modified file 'src/UbuntuToolkit/adapters/actionsproxy_p.h'
1040--- src/UbuntuToolkit/adapters/actionsproxy_p.h 2016-07-07 07:21:48 +0000
1041+++ src/UbuntuToolkit/adapters/actionsproxy_p.h 2016-09-09 22:15:37 +0000
1042@@ -20,7 +20,8 @@
1043 #include <QtCore/QObject>
1044 #include <QtCore/QSet>
1045 #include <QtCore/QPointer>
1046-#include "ucaction_p.h"
1047+
1048+#include <UbuntuToolkit/private/ucaction_p.h>
1049
1050 UT_NAMESPACE_BEGIN
1051
1052
1053=== modified file 'src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp'
1054--- src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp 2016-07-07 07:21:48 +0000
1055+++ src/UbuntuToolkit/adapters/alarmsadapter_organizer.cpp 2016-09-09 22:15:37 +0000
1056@@ -16,11 +16,7 @@
1057 * Author: Zsombor Egri <zsombor.egri@canonical.com>
1058 */
1059
1060-#include "ucalarm_p.h"
1061-#include "ucalarm_p_p.h"
1062-#include "alarmmanager_p_p.h"
1063-#include "alarmsadapter_p.h"
1064-#include <qorganizertodooccurrence.h>
1065+#include "adapters/alarmsadapter_p.h"
1066
1067 #include <QtCore/QFile>
1068 #include <QtCore/QDir>
1069@@ -30,6 +26,10 @@
1070 #include <QtCore/QJsonObject>
1071 #include <QtCore/QJsonArray>
1072 #include <QtCore/QDebug>
1073+#include <QtOrganizer/QtOrganizer>
1074+
1075+#include "alarmmanager_p_p.h"
1076+#include "ucalarm_p_p.h"
1077
1078 #define ALARM_DATABASE "%1/alarms.json"
1079 /*
1080
1081=== modified file 'src/UbuntuToolkit/adapters/alarmsadapter_p.h'
1082--- src/UbuntuToolkit/adapters/alarmsadapter_p.h 2016-07-07 15:33:34 +0000
1083+++ src/UbuntuToolkit/adapters/alarmsadapter_p.h 2016-09-09 22:15:37 +0000
1084@@ -19,13 +19,14 @@
1085 #ifndef ALARMSADAPTER_P_H
1086 #define ALARMSADAPTER_P_H
1087
1088-#include "private/ucalarm_p_p.h"
1089-#include "private/alarmmanager_p_p.h"
1090+#include <QtOrganizer/QOrganizerManager>
1091+#include <QtOrganizer/QOrganizerAbstractRequest>
1092+#include <QtOrganizer/QOrganizerItemFetchRequest>
1093+#include <QtOrganizer/QOrganizerTodo>
1094
1095-#include <qorganizer.h>
1096-#include <qorganizermanager.h>
1097-#include <qorganizertodo.h>
1098-#include <ubuntutoolkitglobal.h>
1099+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1100+#include <UbuntuToolkit/private/ucalarm_p_p.h>
1101+#include <UbuntuToolkit/private/alarmmanager_p_p.h>
1102
1103 QTORGANIZER_USE_NAMESPACE
1104
1105
1106=== modified file 'src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp'
1107--- src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp 2016-07-07 07:21:48 +0000
1108+++ src/UbuntuToolkit/adapters/dbuspropertywatcher_p.cpp 2016-09-09 22:15:37 +0000
1109@@ -14,12 +14,15 @@
1110 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1111 */
1112
1113-#include "dbuspropertywatcher_p.h"
1114+#include "adapters/dbuspropertywatcher_p.h"
1115+
1116+#include <sys/types.h>
1117+#include <unistd.h>
1118+
1119 #include <QtDBus/QDBusReply>
1120-#include <unistd.h>
1121-#include <sys/types.h>
1122+#include <QtQml/QQmlInfo>
1123+
1124 #include "i18n_p.h"
1125-#include <QtQml/QQmlInfo>
1126
1127 #define DYNAMIC_PROPERTY "__q_property"
1128
1129
1130=== modified file 'src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h'
1131--- src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h 2016-07-07 07:21:48 +0000
1132+++ src/UbuntuToolkit/adapters/dbuspropertywatcher_p.h 2016-09-09 22:15:37 +0000
1133@@ -22,7 +22,7 @@
1134 #include <QtDBus/QDBusServiceWatcher>
1135 #include <QtDBus/QDBusInterface>
1136
1137-#include "ucserviceproperties_p_p.h"
1138+#include <UbuntuToolkit/private/ucserviceproperties_p_p.h>
1139
1140 class QDBusPendingCallWatcher;
1141
1142
1143=== modified file 'src/UbuntuToolkit/alarmmanager_p.cpp'
1144--- src/UbuntuToolkit/alarmmanager_p.cpp 2016-07-07 07:21:48 +0000
1145+++ src/UbuntuToolkit/alarmmanager_p.cpp 2016-09-09 22:15:37 +0000
1146@@ -17,6 +17,7 @@
1147 */
1148
1149 #include "alarmmanager_p_p.h"
1150+
1151 #include "ucalarm_p_p.h"
1152
1153 UT_NAMESPACE_BEGIN
1154
1155=== modified file 'src/UbuntuToolkit/alarmmanager_p.h'
1156--- src/UbuntuToolkit/alarmmanager_p.h 2016-07-07 07:21:48 +0000
1157+++ src/UbuntuToolkit/alarmmanager_p.h 2016-09-09 22:15:37 +0000
1158@@ -16,14 +16,14 @@
1159 * Author: Zsombor Egri <zsombor.egri@canonical.com>
1160 */
1161
1162-#ifndef ALARMMANAGER_H
1163-#define ALARMMANAGER_H
1164+#ifndef ALARMMANAGER_P_H
1165+#define ALARMMANAGER_P_H
1166
1167 #include <QtCore/QObject>
1168+#include <QtCore/QSet>
1169 #include <QtQml/QQmlListProperty>
1170-#include <QtCore/QSet>
1171
1172-#include "ucalarm_p.h"
1173+#include <UbuntuToolkit/private/ucalarm_p.h>
1174
1175 UT_NAMESPACE_BEGIN
1176
1177@@ -126,4 +126,4 @@
1178
1179 UT_NAMESPACE_END
1180
1181-#endif // ALARMMANAGER_H
1182+#endif // ALARMMANAGER_P_H
1183
1184=== modified file 'src/UbuntuToolkit/alarmmanager_p_p.h'
1185--- src/UbuntuToolkit/alarmmanager_p_p.h 2016-07-07 07:21:48 +0000
1186+++ src/UbuntuToolkit/alarmmanager_p_p.h 2016-09-09 22:15:37 +0000
1187@@ -16,13 +16,15 @@
1188 * Author: Zsombor Egri <zsombor.egri@canonical.com>
1189 */
1190
1191-#ifndef ALARMMANAGER_P_H
1192-#define ALARMMANAGER_P_H
1193-
1194-#include "ucalarm_p.h"
1195-#include "alarmmanager_p.h"
1196+#ifndef ALARMMANAGER_P_P_H
1197+#define ALARMMANAGER_P_P_H
1198+
1199+#include <UbuntuToolkit/private/alarmmanager_p.h>
1200+
1201 #include <QtCore/QUrl>
1202
1203+#include <UbuntuToolkit/private/ucalarm_p.h>
1204+
1205 UT_NAMESPACE_BEGIN
1206
1207 class UBUNTUTOOLKIT_EXPORT AlarmManagerPrivate
1208@@ -61,4 +63,4 @@
1209
1210 UT_NAMESPACE_END
1211
1212-#endif // ALARMMANAGER_P_H
1213+#endif // ALARMMANAGER_P_P_H
1214
1215=== modified file 'src/UbuntuToolkit/asyncloader_p.h'
1216--- src/UbuntuToolkit/asyncloader_p.h 2016-07-07 07:21:48 +0000
1217+++ src/UbuntuToolkit/asyncloader_p.h 2016-09-09 22:15:37 +0000
1218@@ -16,11 +16,12 @@
1219 * Author: Zsombor Egri <zsombor.egri@canonical.com>
1220 */
1221
1222-#ifndef ASYNCLOADER_H
1223-#define ASYNCLOADER_H
1224+#ifndef ASYNCLOADER_P_H
1225+#define ASYNCLOADER_P_H
1226
1227 #include <QtQml/QQmlComponent>
1228-#include <ubuntutoolkitglobal.h>
1229+
1230+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1231
1232 class QQuickItem;
1233 class QQmlContext;
1234@@ -60,4 +61,4 @@
1235
1236 UT_NAMESPACE_END
1237
1238-#endif // ASYNCLOADER_H
1239+#endif // ASYNCLOADER_P_H
1240
1241=== modified file 'src/UbuntuToolkit/asyncloader_p_p.h'
1242--- src/UbuntuToolkit/asyncloader_p_p.h 2016-07-07 15:33:34 +0000
1243+++ src/UbuntuToolkit/asyncloader_p_p.h 2016-09-09 22:15:37 +0000
1244@@ -16,14 +16,15 @@
1245 * Author: Zsombor Egri <zsombor.egri@canonical.com>
1246 */
1247
1248-#ifndef ASYNCLOADER_P_H
1249-#define ASYNCLOADER_P_H
1250+#ifndef ASYNCLOADER_P_P_H
1251+#define ASYNCLOADER_P_P_H
1252+
1253+#include <UbuntuToolkit/private/asyncloader_p.h>
1254
1255 #include <QtCore/private/qobject_p.h>
1256 #include <QtQml/QQmlIncubator>
1257-#include <ubuntutoolkitglobal.h>
1258-#include <UbuntuToolkit/private/asyncloader_p.h>
1259-#include <UbuntuToolkit/private/asyncloader_p_p.h>
1260+
1261+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1262
1263 UT_NAMESPACE_BEGIN
1264
1265@@ -52,4 +53,4 @@
1266
1267 UT_NAMESPACE_END
1268
1269-#endif // ASYNCLOADER_P_H
1270+#endif // ASYNCLOADER_P_P_H
1271
1272=== modified file 'src/UbuntuToolkit/colorutils.cpp'
1273--- src/UbuntuToolkit/colorutils.cpp 2016-07-07 07:21:48 +0000
1274+++ src/UbuntuToolkit/colorutils.cpp 2016-09-09 22:15:37 +0000
1275@@ -15,7 +15,8 @@
1276 */
1277
1278 #include "colorutils_p.h"
1279-#include <QColor>
1280+
1281+#include <QtGui/QColor>
1282
1283 UT_NAMESPACE_BEGIN
1284
1285
1286=== modified file 'src/UbuntuToolkit/colorutils_p.h'
1287--- src/UbuntuToolkit/colorutils_p.h 2016-07-07 07:21:48 +0000
1288+++ src/UbuntuToolkit/colorutils_p.h 2016-09-09 22:15:37 +0000
1289@@ -13,11 +13,13 @@
1290 * You should have received a copy of the GNU Lesser General Public License
1291 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1292 */
1293-#ifndef COLORUTILS_H
1294-#define COLORUTILS_H
1295-
1296-#include <QObject>
1297-#include "ubuntutoolkitglobal.h"
1298+
1299+#ifndef COLORUTILS_P_H
1300+#define COLORUTILS_P_H
1301+
1302+#include <QtCore/QObject>
1303+
1304+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1305
1306 UT_NAMESPACE_BEGIN
1307
1308@@ -31,4 +33,4 @@
1309
1310 UT_NAMESPACE_END
1311
1312-#endif // COLORUTILS_H
1313+#endif // COLORUTILS_P_H
1314
1315=== modified file 'src/UbuntuToolkit/exclusivegroup.cpp'
1316--- src/UbuntuToolkit/exclusivegroup.cpp 2016-07-18 14:54:46 +0000
1317+++ src/UbuntuToolkit/exclusivegroup.cpp 2016-09-09 22:15:37 +0000
1318@@ -12,14 +12,14 @@
1319 *
1320 * You should have received a copy of the GNU Lesser General Public License
1321 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1322- *
1323 */
1324
1325 #include "exclusivegroup_p.h"
1326+
1327+#include <QtCore/QSignalMapper>
1328+
1329 #include "ucaction_p.h"
1330
1331-#include <QSignalMapper>
1332-
1333 #define CHECKED_PROPERTY "checked"
1334
1335 UT_NAMESPACE_BEGIN
1336
1337=== modified file 'src/UbuntuToolkit/exclusivegroup_p.h'
1338--- src/UbuntuToolkit/exclusivegroup_p.h 2016-08-22 08:23:50 +0000
1339+++ src/UbuntuToolkit/exclusivegroup_p.h 2016-09-09 22:15:37 +0000
1340@@ -12,17 +12,16 @@
1341 *
1342 * You should have received a copy of the GNU Lesser General Public License
1343 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1344- *
1345 */
1346
1347-#ifndef EXCLUSIVEGROUP_H
1348-#define EXCLUSIVEGROUP_H
1349-
1350-#include "actionlist_p.h"
1351-#include "ubuntutoolkitglobal.h"
1352-
1353-#include <QMetaMethod>
1354-#include <QPointer>
1355+#ifndef EXCLUSIVEGROUP_P_H
1356+#define EXCLUSIVEGROUP_P_H
1357+
1358+#include <QtCore/QMetaMethod>
1359+#include <QtCore/QPointer>
1360+
1361+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1362+#include <UbuntuToolkit/private/actionlist_p.h>
1363
1364 class QSignalMapper;
1365
1366@@ -59,4 +58,4 @@
1367
1368 UT_NAMESPACE_END
1369
1370-#endif // EXCLUSIVEGROUP_H
1371+#endif // EXCLUSIVEGROUP_P_H
1372
1373=== modified file 'src/UbuntuToolkit/filterbehavior_p.h'
1374--- src/UbuntuToolkit/filterbehavior_p.h 2016-07-07 07:21:48 +0000
1375+++ src/UbuntuToolkit/filterbehavior_p.h 2016-09-09 22:15:37 +0000
1376@@ -17,11 +17,12 @@
1377 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1378 */
1379
1380-#ifndef FILTERBEHAVIOR_H
1381-#define FILTERBEHAVIOR_H
1382-
1383-#include <QSortFilterProxyModel>
1384-#include <ubuntutoolkitglobal.h>
1385+#ifndef FILTERBEHAVIOR_P_H
1386+#define FILTERBEHAVIOR_P_H
1387+
1388+#include <QtCore/QSortFilterProxyModel>
1389+
1390+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1391
1392 UT_NAMESPACE_BEGIN
1393
1394@@ -50,4 +51,4 @@
1395
1396 UT_NAMESPACE_END
1397
1398-#endif // FILTERBEHAVIOR_H
1399+#endif // FILTERBEHAVIOR_P_H
1400
1401=== modified file 'src/UbuntuToolkit/i18n.cpp'
1402--- src/UbuntuToolkit/i18n.cpp 2016-07-07 07:21:48 +0000
1403+++ src/UbuntuToolkit/i18n.cpp 2016-09-09 22:15:37 +0000
1404@@ -17,18 +17,19 @@
1405 */
1406
1407 #include "i18n_p.h"
1408-#include "timeutils_p.h"
1409-#include <QtCore/QDir>
1410
1411 namespace C {
1412 #include <libintl.h>
1413 #include <glib.h>
1414 #include <glib/gi18n.h>
1415 }
1416-
1417 #include <stdlib.h>
1418 #include <locale.h>
1419
1420+#include <QtCore/QDir>
1421+
1422+#include "timeutils_p.h"
1423+
1424 UT_NAMESPACE_BEGIN
1425 /*!
1426 * \qmltype i18n
1427
1428=== modified file 'src/UbuntuToolkit/i18n_p.h'
1429--- src/UbuntuToolkit/i18n_p.h 2016-07-07 07:21:48 +0000
1430+++ src/UbuntuToolkit/i18n_p.h 2016-09-09 22:15:37 +0000
1431@@ -16,11 +16,12 @@
1432 * Author: Tim Peeters <tim.peeters@canonical.com>
1433 */
1434
1435-#ifndef UBUNTU_COMPONENTS_I18N_H
1436-#define UBUNTU_COMPONENTS_I18N_H
1437+#ifndef I18N_P_H
1438+#define I18N_P_H
1439
1440 #include <QtCore/QObject>
1441-#include <ubuntutoolkitglobal.h>
1442+
1443+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1444
1445 class QQmlContext;
1446 class QQmlEngine;
1447@@ -80,4 +81,4 @@
1448
1449 UT_NAMESPACE_END
1450
1451-#endif // UBUNTU_COMPONENTS_I18N_H
1452+#endif // I18N_P_H
1453
1454=== modified file 'src/UbuntuToolkit/inversemouseareatype.cpp'
1455--- src/UbuntuToolkit/inversemouseareatype.cpp 2016-07-07 07:21:48 +0000
1456+++ src/UbuntuToolkit/inversemouseareatype.cpp 2016-09-09 22:15:37 +0000
1457@@ -15,7 +15,9 @@
1458 */
1459
1460 #include "inversemouseareatype_p.h"
1461+
1462 #include <QtGui/QGuiApplication>
1463+
1464 #include "quickutils_p.h"
1465
1466 UT_NAMESPACE_BEGIN
1467
1468=== modified file 'src/UbuntuToolkit/inversemouseareatype_p.h'
1469--- src/UbuntuToolkit/inversemouseareatype_p.h 2016-07-07 07:21:48 +0000
1470+++ src/UbuntuToolkit/inversemouseareatype_p.h 2016-09-09 22:15:37 +0000
1471@@ -13,12 +13,14 @@
1472 * You should have received a copy of the GNU Lesser General Public License
1473 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1474 */
1475-#ifndef INVERSEMOUSEAREATYPE_H
1476-#define INVERSEMOUSEAREATYPE_H
1477-
1478-#include <private/qquickmousearea_p.h>
1479+
1480+#ifndef INVERSEMOUSEAREATYPE_P_H
1481+#define INVERSEMOUSEAREATYPE_P_H
1482+
1483 #include <QtCore/QPointer>
1484-#include <ubuntutoolkitglobal.h>
1485+#include <QtQuick/private/qquickmousearea_p.h>
1486+
1487+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1488
1489 class QQuickItem;
1490
1491@@ -73,4 +75,4 @@
1492
1493 UT_NAMESPACE_END
1494
1495-#endif // INVERSEMOUSEAREATYPE_H
1496+#endif // INVERSEMOUSEAREATYPE_P_H
1497
1498=== modified file 'src/UbuntuToolkit/label_p.h'
1499--- src/UbuntuToolkit/label_p.h 2016-07-07 07:21:48 +0000
1500+++ src/UbuntuToolkit/label_p.h 2016-09-09 22:15:37 +0000
1501@@ -14,8 +14,8 @@
1502 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1503 */
1504
1505-#ifndef LABEL_P
1506-#define LABEL_P
1507+#ifndef LABEL_P_H
1508+#define LABEL_P_H
1509
1510 #include "uclabel_p.h"
1511
1512@@ -59,4 +59,4 @@
1513
1514 UT_NAMESPACE_END
1515
1516-#endif // LABEL_P
1517+#endif // LABEL_P_H
1518
1519=== modified file 'src/UbuntuToolkit/listener.cpp'
1520--- src/UbuntuToolkit/listener.cpp 2016-07-07 07:21:48 +0000
1521+++ src/UbuntuToolkit/listener.cpp 2016-09-09 22:15:37 +0000
1522@@ -16,7 +16,7 @@
1523
1524 #include "listener_p.h"
1525
1526-#include <QQmlContext>
1527+#include <QtQml/QQmlContext>
1528
1529 UT_NAMESPACE_BEGIN
1530
1531
1532=== modified file 'src/UbuntuToolkit/listener_p.h'
1533--- src/UbuntuToolkit/listener_p.h 2016-07-07 07:21:48 +0000
1534+++ src/UbuntuToolkit/listener_p.h 2016-09-09 22:15:37 +0000
1535@@ -14,11 +14,12 @@
1536 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1537 */
1538
1539-#ifndef UBUNTU_COMPONENTS_LISTENER_H
1540-#define UBUNTU_COMPONENTS_LISTENER_H
1541+#ifndef LISTENER_P_H
1542+#define LISTENER_P_H
1543
1544 #include <QtCore/QObject>
1545-#include <ubuntutoolkitglobal.h>
1546+
1547+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1548
1549 class QQmlContext;
1550
1551@@ -36,4 +37,4 @@
1552
1553 UT_NAMESPACE_END
1554
1555-#endif // UBUNTU_COMPONENTS_PLUGIN_H
1556+#endif // LISTENER_P_H
1557
1558=== modified file 'src/UbuntuToolkit/livetimer_p.cpp'
1559--- src/UbuntuToolkit/livetimer_p.cpp 2016-07-07 07:21:48 +0000
1560+++ src/UbuntuToolkit/livetimer_p.cpp 2016-09-09 22:15:37 +0000
1561@@ -15,10 +15,11 @@
1562 */
1563
1564 #include "livetimer_p_p.h"
1565+
1566+#include <QtDBus/QDBusConnection>
1567+
1568 #include "timeutils_p.h"
1569
1570-#include <QDBusConnection>
1571-
1572 UT_NAMESPACE_BEGIN
1573
1574 SharedLiveTimer::SharedLiveTimer(QObject* parent)
1575
1576=== modified file 'src/UbuntuToolkit/livetimer_p.h'
1577--- src/UbuntuToolkit/livetimer_p.h 2016-07-07 07:21:48 +0000
1578+++ src/UbuntuToolkit/livetimer_p.h 2016-09-09 22:15:37 +0000
1579@@ -14,12 +14,13 @@
1580 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1581 */
1582
1583-#ifndef LIVETIMER_H
1584-#define LIVETIMER_H
1585-
1586-#include <QObject>
1587-#include <QDateTime>
1588-#include <ubuntutoolkitglobal.h>
1589+#ifndef LIVETIMER_P_H
1590+#define LIVETIMER_P_H
1591+
1592+#include <QtCore/QDateTime>
1593+#include <QtCore/QObject>
1594+
1595+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1596
1597 UT_NAMESPACE_BEGIN
1598
1599@@ -70,4 +71,4 @@
1600
1601 UT_NAMESPACE_END
1602
1603-#endif // LIVETIMER_H
1604+#endif // LIVETIMER_P_H
1605
1606=== modified file 'src/UbuntuToolkit/livetimer_p_p.h'
1607--- src/UbuntuToolkit/livetimer_p_p.h 2016-07-07 07:21:48 +0000
1608+++ src/UbuntuToolkit/livetimer_p_p.h 2016-09-09 22:15:37 +0000
1609@@ -14,12 +14,12 @@
1610 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1611 */
1612
1613-#ifndef LIVETIMER_P_H
1614-#define LIVETIMER_P_H
1615-
1616-#include "livetimer_p.h"
1617-
1618-#include <QTimer>
1619+#ifndef LIVETIMER_P_P_H
1620+#define LIVETIMER_P_P_H
1621+
1622+#include <UbuntuToolkit/private/livetimer_p.h>
1623+
1624+#include <QtCore/QTimer>
1625
1626 UT_NAMESPACE_BEGIN
1627
1628@@ -59,4 +59,4 @@
1629
1630 UT_NAMESPACE_END
1631
1632-#endif // LIVETIMER_P_H
1633+#endif // LIVETIMER_P_P_H
1634
1635=== modified file 'src/UbuntuToolkit/menu.cpp'
1636--- src/UbuntuToolkit/menu.cpp 2016-09-02 12:11:02 +0000
1637+++ src/UbuntuToolkit/menu.cpp 2016-09-09 22:15:37 +0000
1638@@ -14,23 +14,22 @@
1639 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1640 */
1641
1642-#include "menu_p.h"
1643 #include "menu_p_p.h"
1644+
1645+#include <functional>
1646+
1647+#include <QtCore/QPointer>
1648+#include <QtCore/QLoggingCategory>
1649+#include <QtGui/qpa/qplatformtheme.h>
1650+#include <QtGui/qpa/qplatformmenu.h>
1651+#include <QtGui/private/qguiapplication_p.h>
1652+#include <QtQuick/QQuickItem>
1653+#include <QtQuick/private/qquickitem_p.h>
1654+
1655 #include "menubar_p.h"
1656 #include "actionlist_p.h"
1657 #include "menugroup_p.h"
1658
1659-// Qt
1660-#include <QPointer>
1661-#include <QQuickItem>
1662-#include <QLoggingCategory>
1663-#include <QtGui/qpa/qplatformtheme.h>
1664-#include <QtGui/qpa/qplatformmenu.h>
1665-#include <private/qguiapplication_p.h>
1666-#include <private/qquickitem_p.h>
1667-
1668-#include <functional>
1669-
1670 Q_LOGGING_CATEGORY(ucMenu, "ubuntu.components.Menu", QtMsgType::QtWarningMsg)
1671
1672 UT_NAMESPACE_BEGIN
1673
1674=== modified file 'src/UbuntuToolkit/menu_p.h'
1675--- src/UbuntuToolkit/menu_p.h 2016-08-25 14:06:06 +0000
1676+++ src/UbuntuToolkit/menu_p.h 2016-09-09 22:15:37 +0000
1677@@ -12,18 +12,17 @@
1678 *
1679 * You should have received a copy of the GNU Lesser General Public License
1680 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1681- *
1682 */
1683
1684 #ifndef MENU_P_H
1685 #define MENU_P_H
1686
1687-#include <QQmlListProperty>
1688-#include <QLoggingCategory>
1689-#include <QPointer>
1690-#include <ubuntutoolkitglobal.h>
1691+#include <QtCore/QLoggingCategory>
1692+#include <QtCore/QPointer>
1693+#include <QtQml/QQmlListProperty>
1694
1695-#include "ucaction_p.h"
1696+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1697+#include <UbuntuToolkit/private/ucaction_p.h>
1698
1699 Q_DECLARE_LOGGING_CATEGORY(ucMenu);
1700
1701
1702=== modified file 'src/UbuntuToolkit/menu_p_p.h'
1703--- src/UbuntuToolkit/menu_p_p.h 2016-08-25 14:06:06 +0000
1704+++ src/UbuntuToolkit/menu_p_p.h 2016-09-09 22:15:37 +0000
1705@@ -12,14 +12,14 @@
1706 *
1707 * You should have received a copy of the GNU Lesser General Public License
1708 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1709- *
1710 */
1711
1712 #ifndef MENU_P_P_H
1713 #define MENU_P_P_H
1714
1715-#include "menu_p.h"
1716-#include <ubuntutoolkitglobal.h>
1717+#include <UbuntuToolkit/private/menu_p.h>
1718+
1719+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1720
1721 class QObject;
1722 class QQmlComponent;
1723
1724=== modified file 'src/UbuntuToolkit/menubar.cpp'
1725--- src/UbuntuToolkit/menubar.cpp 2016-08-25 14:06:06 +0000
1726+++ src/UbuntuToolkit/menubar.cpp 2016-09-09 22:15:37 +0000
1727@@ -12,19 +12,16 @@
1728 *
1729 * You should have received a copy of the GNU Lesser General Public License
1730 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1731- *
1732 */
1733
1734-#include "menubar_p.h"
1735 #include "menubar_p_p.h"
1736
1737-// Qt
1738-#include <QQuickItem>
1739-#include <QQuickWindow>
1740-#include <QLoggingCategory>
1741-#include <private/qguiapplication_p.h>
1742+#include <QtCore/QLoggingCategory>
1743+#include <QtQuick/QQuickItem>
1744+#include <QtQuick/QQuickWindow>
1745 #include <QtGui/qpa/qplatformtheme.h>
1746 #include <QtGui/qpa/qplatformmenu.h>
1747+#include <QtGui/private/qguiapplication_p.h>
1748
1749 UT_NAMESPACE_BEGIN
1750
1751
1752=== modified file 'src/UbuntuToolkit/menubar_p.h'
1753--- src/UbuntuToolkit/menubar_p.h 2016-08-25 14:06:06 +0000
1754+++ src/UbuntuToolkit/menubar_p.h 2016-09-09 22:15:37 +0000
1755@@ -12,16 +12,15 @@
1756 *
1757 * You should have received a copy of the GNU Lesser General Public License
1758 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1759- *
1760 */
1761
1762 #ifndef MENUBAR_P_H
1763 #define MENUBAR_P_H
1764
1765-#include "menu_p.h"
1766-#include <ubuntutoolkitglobal.h>
1767+#include <QtQml/QQmlParserStatus>
1768
1769-#include <QQmlParserStatus>
1770+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1771+#include <UbuntuToolkit/private/menu_p.h>
1772
1773 class QPlatformMenuBar;
1774
1775
1776=== modified file 'src/UbuntuToolkit/menubar_p_p.h'
1777--- src/UbuntuToolkit/menubar_p_p.h 2016-08-25 14:06:06 +0000
1778+++ src/UbuntuToolkit/menubar_p_p.h 2016-09-09 22:15:37 +0000
1779@@ -12,14 +12,14 @@
1780 *
1781 * You should have received a copy of the GNU Lesser General Public License
1782 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1783- *
1784 */
1785
1786 #ifndef MENUBAR_P_P_H
1787 #define MENUBAR_P_P_H
1788
1789-#include "menubar_p.h"
1790-#include <ubuntutoolkitglobal.h>
1791+#include <UbuntuToolkit/private/menubar_p.h>
1792+
1793+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1794
1795 class QPlatformMenuBar;
1796
1797
1798=== modified file 'src/UbuntuToolkit/menugroup.cpp'
1799--- src/UbuntuToolkit/menugroup.cpp 2016-08-25 14:06:06 +0000
1800+++ src/UbuntuToolkit/menugroup.cpp 2016-09-09 22:15:37 +0000
1801@@ -15,6 +15,7 @@
1802 */
1803
1804 #include "menugroup_p.h"
1805+
1806 #include "actionlist_p.h"
1807 #include "ucaction_p.h"
1808
1809
1810=== modified file 'src/UbuntuToolkit/menugroup_p.h'
1811--- src/UbuntuToolkit/menugroup_p.h 2016-08-25 14:06:06 +0000
1812+++ src/UbuntuToolkit/menugroup_p.h 2016-09-09 22:15:37 +0000
1813@@ -17,11 +17,11 @@
1814 #ifndef MENUGROUP_P_H
1815 #define MENUGROUP_P_H
1816
1817-#include <ubuntutoolkitglobal.h>
1818+#include <QtCore/QObject>
1819+#include <QtCore/QVector>
1820+#include <QtQml/QQmlListProperty>
1821
1822-#include <QObject>
1823-#include <QVector>
1824-#include <QQmlListProperty>
1825+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1826
1827 UT_NAMESPACE_BEGIN
1828
1829
1830=== modified file 'src/UbuntuToolkit/mousetouchadaptor.cpp'
1831--- src/UbuntuToolkit/mousetouchadaptor.cpp 2016-07-07 07:56:34 +0000
1832+++ src/UbuntuToolkit/mousetouchadaptor.cpp 2016-09-09 22:15:37 +0000
1833@@ -19,12 +19,11 @@
1834
1835 #include "mousetouchadaptor_p_p.h"
1836
1837-#include <qpa/qplatformnativeinterface.h>
1838-#include <qpa/qwindowsysteminterface.h>
1839-
1840-#include <QCoreApplication>
1841-#include <QMouseEvent>
1842-#include <QTest>
1843+#include <QtCore/QDebug>
1844+#include <QtGui/QGuiApplication>
1845+#include <QtGui/QMouseEvent>
1846+#include <QtGui/qpa/qplatformnativeinterface.h>
1847+#include <QtGui/qpa/qwindowsysteminterface.h>
1848
1849 #ifdef UBUNTUTOOLKIT_ENABLE_X11_TOUCH_EMULATION
1850 #define ENABLE_TOUCH_EMULATION
1851
1852=== modified file 'src/UbuntuToolkit/mousetouchadaptor_p.h'
1853--- src/UbuntuToolkit/mousetouchadaptor_p.h 2016-07-07 18:17:56 +0000
1854+++ src/UbuntuToolkit/mousetouchadaptor_p.h 2016-09-09 22:15:37 +0000
1855@@ -17,13 +17,13 @@
1856 * Zsombor Egri <zsomboir.egri@canonical.com>
1857 */
1858
1859-#ifndef MOUSE_TOUCH_ADAPTOR_H
1860-#define MOUSE_TOUCH_ADAPTOR_H
1861-
1862-#include "ubuntutoolkitglobal.h"
1863+#ifndef MOUSETOUCHADAPTOR_P_H
1864+#define MOUSETOUCHADAPTOR_P_H
1865
1866 #include <QtCore/QObject>
1867
1868+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
1869+
1870 class QMouseEvent;
1871 class QTouchDevice;
1872 class QQmlEngine;
1873@@ -60,4 +60,4 @@
1874
1875 UT_NAMESPACE_END
1876
1877-#endif // MOUSE_TOUCH_ADAPTOR_H
1878+#endif // MOUSETOUCHADAPTOR_P_H
1879
1880=== modified file 'src/UbuntuToolkit/mousetouchadaptor_p_p.h'
1881--- src/UbuntuToolkit/mousetouchadaptor_p_p.h 2016-07-07 07:21:48 +0000
1882+++ src/UbuntuToolkit/mousetouchadaptor_p_p.h 2016-09-09 22:15:37 +0000
1883@@ -16,13 +16,15 @@
1884 * Authored by: Zsombor Egri <zsombor.egri@canonical.com>
1885 */
1886
1887-#ifndef MOUSETOUCHADAPTOR_P
1888-#define MOUSETOUCHADAPTOR_P
1889-
1890-#include "mousetouchadaptor_p.h"
1891+#ifndef MOUSETOUCHADAPTOR_P_P_H
1892+#define MOUSETOUCHADAPTOR_P_P_H
1893+
1894+#include <UbuntuToolkit/private/mousetouchadaptor_p.h>
1895+
1896+#include <QtCore/QAbstractNativeEventFilter>
1897 #include <QtCore/private/qobject_p.h>
1898-#include <QtCore/QAbstractNativeEventFilter>
1899-#include <QWindow>
1900+#include <QtGui/QWindow>
1901+
1902 #include <xcb/xcb.h>
1903
1904 UT_NAMESPACE_BEGIN
1905@@ -73,5 +75,4 @@
1906
1907 UT_NAMESPACE_END
1908
1909-#endif // MOUSETOUCHADAPTOR_P
1910-
1911+#endif // MOUSETOUCHADAPTOR_P_P_H
1912
1913=== modified file 'src/UbuntuToolkit/mousetouchadaptor_x11.cpp'
1914--- src/UbuntuToolkit/mousetouchadaptor_x11.cpp 2016-07-07 07:21:48 +0000
1915+++ src/UbuntuToolkit/mousetouchadaptor_x11.cpp 2016-09-09 22:15:37 +0000
1916@@ -55,11 +55,10 @@
1917
1918 #include "mousetouchadaptor_p_p.h"
1919
1920-#include <qpa/qplatformnativeinterface.h>
1921-
1922-#include <QCoreApplication>
1923-#include <QMouseEvent>
1924-#include <QTest>
1925+#include <QtGui/QGuiApplication>
1926+#include <QtGui/QMouseEvent>
1927+#include <QtGui/qpa/qplatformnativeinterface.h>
1928+#include <QtTest/qtesttouch.h>
1929
1930 #include <X11/extensions/XInput2.h>
1931 #include <X11/extensions/XI2proto.h>
1932
1933=== modified file 'src/UbuntuToolkit/privates/appheaderbase.cpp'
1934--- src/UbuntuToolkit/privates/appheaderbase.cpp 2016-07-07 07:21:48 +0000
1935+++ src/UbuntuToolkit/privates/appheaderbase.cpp 2016-09-09 22:15:37 +0000
1936@@ -15,6 +15,7 @@
1937 */
1938
1939 #include "appheaderbase_p.h"
1940+
1941 #include "ucstyleditembase_p_p.h"
1942
1943 UT_NAMESPACE_BEGIN
1944
1945=== modified file 'src/UbuntuToolkit/privates/appheaderbase_p.h'
1946--- src/UbuntuToolkit/privates/appheaderbase_p.h 2016-07-07 07:21:48 +0000
1947+++ src/UbuntuToolkit/privates/appheaderbase_p.h 2016-09-09 22:15:37 +0000
1948@@ -14,10 +14,10 @@
1949 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1950 */
1951
1952-#ifndef APPHEADERBASE_H
1953-#define APPHEADERBASE_H
1954+#ifndef APPHEADERBASE_P_H
1955+#define APPHEADERBASE_P_H
1956
1957-#include "ucheader_p.h"
1958+#include <UbuntuToolkit/private/ucheader_p.h>
1959
1960 UT_NAMESPACE_BEGIN
1961
1962@@ -62,4 +62,4 @@
1963
1964 UT_NAMESPACE_END
1965
1966-#endif // APPHEADERBASE_H
1967+#endif // APPHEADERBASE_P_H
1968
1969=== modified file 'src/UbuntuToolkit/privates/frame.cpp'
1970--- src/UbuntuToolkit/privates/frame.cpp 2016-07-07 07:21:48 +0000
1971+++ src/UbuntuToolkit/privates/frame.cpp 2016-09-09 22:15:37 +0000
1972@@ -16,11 +16,13 @@
1973 * Author: Loïc Molinari <loic.molinari@canonical.com>
1974 */
1975
1976-#include "frame_p.h"
1977-#include "textures_p.h"
1978+#include "privates/frame_p.h"
1979+
1980 #include <QtGui/QOpenGLContext>
1981 #include <QtGui/QOpenGLFunctions>
1982
1983+#include "privates/textures_p.h"
1984+
1985 UT_NAMESPACE_BEGIN
1986
1987 const QRgb defaultColor = qRgba(255, 255, 255, 255);
1988
1989=== modified file 'src/UbuntuToolkit/privates/frame_p.h'
1990--- src/UbuntuToolkit/privates/frame_p.h 2016-07-07 07:21:48 +0000
1991+++ src/UbuntuToolkit/privates/frame_p.h 2016-09-09 22:15:37 +0000
1992@@ -16,13 +16,14 @@
1993 * Author: Loïc Molinari <loic.molinari@canonical.com>
1994 */
1995
1996-#ifndef FRAME_H
1997-#define FRAME_H
1998+#ifndef FRAME_P_H
1999+#define FRAME_P_H
2000
2001 #include <QtQuick/QQuickItem>
2002 #include <QtQuick/QSGMaterial>
2003 #include <QtQuick/QSGNode>
2004-#include <ubuntutoolkitglobal.h>
2005+
2006+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2007
2008 UT_NAMESPACE_BEGIN
2009
2010@@ -101,4 +102,4 @@
2011
2012 UT_NAMESPACE_END
2013
2014-#endif // FRAME_H
2015+#endif // FRAME_P_H
2016
2017=== modified file 'src/UbuntuToolkit/privates/listitemdragarea.cpp'
2018--- src/UbuntuToolkit/privates/listitemdragarea.cpp 2016-08-14 09:06:34 +0000
2019+++ src/UbuntuToolkit/privates/listitemdragarea.cpp 2016-09-09 22:15:37 +0000
2020@@ -15,15 +15,17 @@
2021 */
2022
2023 #include "listitemdragarea_p.h"
2024-#include "listitemdraghandler_p.h"
2025-#include "uclistitem_p_p.h"
2026-#include "ucunits_p.h"
2027-#include "i18n_p.h"
2028+
2029 #include <QtCore/QtMath>
2030 #include <QtQml/QQmlInfo>
2031 #include <QtQuick/private/qquickitem_p.h>
2032 #include <QtQuick/private/qquickflickable_p.h>
2033
2034+#include "privates/listitemdraghandler_p.h"
2035+#include "uclistitem_p_p.h"
2036+#include "ucunits_p.h"
2037+#include "i18n_p.h"
2038+
2039 #define IMPLICIT_DRAG_WIDTH_GU 5
2040 #define DRAG_SCROLL_TIMEOUT 15
2041
2042
2043=== modified file 'src/UbuntuToolkit/privates/listitemdragarea_p.h'
2044--- src/UbuntuToolkit/privates/listitemdragarea_p.h 2016-07-07 07:21:48 +0000
2045+++ src/UbuntuToolkit/privates/listitemdragarea_p.h 2016-09-09 22:15:37 +0000
2046@@ -14,14 +14,15 @@
2047 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2048 */
2049
2050-#ifndef LISTITEMDRAGAREA_H
2051-#define LISTITEMDRAGAREA_H
2052+#ifndef LISTITEMDRAGAREA_P_H
2053+#define LISTITEMDRAGAREA_P_H
2054
2055-#include <ubuntutoolkitglobal.h>
2056-#include "uclistitem_p.h"
2057 #include <QtCore/QBasicTimer>
2058 #include <QtCore/QPointer>
2059
2060+#include <UbuntuToolkit/private/uclistitem_p.h>
2061+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2062+
2063 class QQuickFlickable;
2064
2065 UT_NAMESPACE_BEGIN
2066@@ -58,4 +59,4 @@
2067
2068 UT_NAMESPACE_END
2069
2070-#endif // LISTITEMDRAGAREA_H
2071+#endif // LISTITEMDRAGAREA_P_H
2072
2073=== modified file 'src/UbuntuToolkit/privates/listitemdraghandler.cpp'
2074--- src/UbuntuToolkit/privates/listitemdraghandler.cpp 2016-07-07 07:21:48 +0000
2075+++ src/UbuntuToolkit/privates/listitemdraghandler.cpp 2016-09-09 22:15:37 +0000
2076@@ -14,11 +14,12 @@
2077 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2078 */
2079
2080-#include "listitemdraghandler_p.h"
2081-#include "uclistitem_p.h"
2082+#include "privates/listitemdraghandler_p.h"
2083+
2084+#include <QtQuick/private/qquickanimation_p.h>
2085+
2086 #include "uclistitem_p_p.h"
2087-#include <propertychange_p.h>
2088-#include <QtQuick/private/qquickanimation_p.h>
2089+#include "propertychange_p.h"
2090
2091 UT_NAMESPACE_BEGIN
2092
2093
2094=== modified file 'src/UbuntuToolkit/privates/listitemdraghandler_p.h'
2095--- src/UbuntuToolkit/privates/listitemdraghandler_p.h 2016-07-07 07:21:48 +0000
2096+++ src/UbuntuToolkit/privates/listitemdraghandler_p.h 2016-09-09 22:15:37 +0000
2097@@ -14,13 +14,14 @@
2098 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2099 */
2100
2101-#ifndef LISTITEMDRAGHANDLER_H
2102-#define LISTITEMDRAGHANDLER_H
2103+#ifndef LISTITEMDRAGHANDLER_P_H
2104+#define LISTITEMDRAGHANDLER_P_H
2105
2106 #include <QtCore/QObject>
2107 #include <QtCore/QPointer>
2108 #include <QtCore/QPointF>
2109-#include <ubuntutoolkitglobal.h>
2110+
2111+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2112
2113 UT_NAMESPACE_BEGIN
2114
2115@@ -49,4 +50,4 @@
2116
2117 UT_NAMESPACE_END
2118
2119-#endif // LISTITEMDRAGHANDLER_H
2120+#endif // LISTITEMDRAGHANDLER_P_H
2121
2122=== modified file 'src/UbuntuToolkit/privates/listitemselection.cpp'
2123--- src/UbuntuToolkit/privates/listitemselection.cpp 2016-07-07 07:21:48 +0000
2124+++ src/UbuntuToolkit/privates/listitemselection.cpp 2016-09-09 22:15:37 +0000
2125@@ -14,7 +14,8 @@
2126 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2127 */
2128
2129-#include "listitemselection_p.h"
2130+#include "privates/listitemselection_p.h"
2131+
2132 #include "uclistitem_p_p.h"
2133
2134 UT_NAMESPACE_BEGIN
2135
2136=== modified file 'src/UbuntuToolkit/privates/listitemselection_p.h'
2137--- src/UbuntuToolkit/privates/listitemselection_p.h 2016-07-07 07:21:48 +0000
2138+++ src/UbuntuToolkit/privates/listitemselection_p.h 2016-09-09 22:15:37 +0000
2139@@ -14,12 +14,13 @@
2140 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2141 */
2142
2143-#ifndef LISTITEMSELECTION_H
2144-#define LISTITEMSELECTION_H
2145+#ifndef LISTITEMSELECTION_P_H
2146+#define LISTITEMSELECTION_P_H
2147
2148 #include <QtCore/QObject>
2149 #include <QtCore/QPointer>
2150-#include <ubuntutoolkitglobal.h>
2151+
2152+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2153
2154 UT_NAMESPACE_BEGIN
2155
2156@@ -58,4 +59,4 @@
2157
2158 UT_NAMESPACE_END
2159
2160-#endif // LISTITEMSELECTION_H
2161+#endif // LISTITEMSELECTION_P_H
2162
2163=== modified file 'src/UbuntuToolkit/privates/listviewextensions.cpp'
2164--- src/UbuntuToolkit/privates/listviewextensions.cpp 2016-08-01 13:19:05 +0000
2165+++ src/UbuntuToolkit/privates/listviewextensions.cpp 2016-09-09 22:15:37 +0000
2166@@ -16,13 +16,15 @@
2167 * Author Zsombor Egri <zsombor.egri@canonical.com>
2168 */
2169
2170-#include "listviewextensions_p.h"
2171-#include "uclistitem_p_p.h"
2172-#include "quickutils_p.h"
2173+#include "privates/listviewextensions_p.h"
2174+
2175 #include <QtQuick/QQuickItem>
2176 #include <QtQuick/private/qquickflickable_p.h>
2177 #include <QtQuick/private/qquickitemview_p.h> // for QQuickItemView::BottomToTop
2178
2179+#include "uclistitem_p_p.h"
2180+#include "quickutils_p.h"
2181+
2182 UT_NAMESPACE_BEGIN
2183
2184 ListViewProxy::ListViewProxy(QQuickFlickable *listView, QObject *parent)
2185
2186=== modified file 'src/UbuntuToolkit/privates/listviewextensions_p.h'
2187--- src/UbuntuToolkit/privates/listviewextensions_p.h 2016-07-07 07:21:48 +0000
2188+++ src/UbuntuToolkit/privates/listviewextensions_p.h 2016-09-09 22:15:37 +0000
2189@@ -16,11 +16,12 @@
2190 * Author Zsombor Egri <zsombor.egri@canonical.com>
2191 */
2192
2193-#ifndef LISTVIEWEXTENSIONS_H
2194-#define LISTVIEWEXTENSIONS_H
2195+#ifndef LISTVIEWEXTENSIONS_P_H
2196+#define LISTVIEWEXTENSIONS_P_H
2197
2198 #include <QtCore/QObject>
2199-#include <ubuntutoolkitglobal.h>
2200+
2201+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2202
2203 class QQuickFlickable;
2204 class QQuickItem;
2205@@ -63,4 +64,4 @@
2206
2207 UT_NAMESPACE_END
2208
2209-#endif // LISTVIEWEXTENSIONS_H
2210+#endif // LISTVIEWEXTENSIONS_P_H
2211
2212=== modified file 'src/UbuntuToolkit/privates/splitviewhandler.cpp'
2213--- src/UbuntuToolkit/privates/splitviewhandler.cpp 2016-08-26 05:40:23 +0000
2214+++ src/UbuntuToolkit/privates/splitviewhandler.cpp 2016-09-09 22:15:37 +0000
2215@@ -16,13 +16,15 @@
2216 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2217 */
2218
2219-#include "splitviewhandler_p_p.h"
2220+#include "privates/splitviewhandler_p.h"
2221+
2222+#include <QtQml/QQmlEngine>
2223+#include <QtQml/QQmlInfo>
2224 #include <QtQuick/private/qquickanchors_p.h>
2225 #include <QtQuick/private/qquickitem_p.h>
2226 #include <QtQuick/private/qquickevents_p_p.h>
2227-#include <QtQml/QQmlEngine>
2228-#include <QtQml/QQmlInfo>
2229-#include <splitview_p_p.h>
2230+
2231+#include "splitview_p_p.h"
2232
2233 UT_NAMESPACE_BEGIN
2234
2235
2236=== renamed file 'src/UbuntuToolkit/privates/splitviewhandler_p_p.h' => 'src/UbuntuToolkit/privates/splitviewhandler_p.h'
2237--- src/UbuntuToolkit/privates/splitviewhandler_p_p.h 2016-08-26 05:40:23 +0000
2238+++ src/UbuntuToolkit/privates/splitviewhandler_p.h 2016-09-09 22:15:37 +0000
2239@@ -16,13 +16,14 @@
2240 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2241 */
2242
2243-#ifndef SPLITVIEWHANDLER_H
2244-#define SPLITVIEWHANDLER_H
2245+#ifndef SPLITVIEWHANDLER_P_H
2246+#define SPLITVIEWHANDLER_P_H
2247
2248+#include <QtCore/QPointer>
2249 #include <QtQuick/QQuickItem>
2250-#include <QtCore/QPointer>
2251 #include <QtQuick/private/qquickmousearea_p.h>
2252-#include <ubuntutoolkitglobal.h>
2253+
2254+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2255
2256 UT_NAMESPACE_BEGIN
2257
2258@@ -49,4 +50,4 @@
2259
2260 UT_NAMESPACE_END
2261
2262-#endif // SPLITVIEWHANDLER_H
2263+#endif // SPLITVIEWHANDLER_P_H
2264
2265=== modified file 'src/UbuntuToolkit/privates/threelabelsslot_p.cpp'
2266--- src/UbuntuToolkit/privates/threelabelsslot_p.cpp 2016-07-18 17:18:13 +0000
2267+++ src/UbuntuToolkit/privates/threelabelsslot_p.cpp 2016-09-09 22:15:37 +0000
2268@@ -14,7 +14,8 @@
2269 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2270 */
2271
2272-#include "threelabelsslot_p.h"
2273+#include "privates/threelabelsslot_p.h"
2274+
2275 #include "label_p.h"
2276 #include "ucunits_p.h"
2277 #include "ucfontutils_p.h"
2278
2279=== modified file 'src/UbuntuToolkit/privates/threelabelsslot_p.h'
2280--- src/UbuntuToolkit/privates/threelabelsslot_p.h 2016-06-21 13:16:07 +0000
2281+++ src/UbuntuToolkit/privates/threelabelsslot_p.h 2016-09-09 22:15:37 +0000
2282@@ -14,12 +14,12 @@
2283 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2284 */
2285
2286-#ifndef THREELABELSSLOT_H
2287-#define THREELABELSSLOT_H
2288-
2289-#include <QQuickItem>
2290-#include <private/qquickitem_p.h>
2291-#include <ubuntutoolkitglobal.h>
2292+#ifndef THREELABELSSLOT_P_H
2293+#define THREELABELSSLOT_P_H
2294+
2295+#include <QtQuick/private/qquickitem_p.h>
2296+
2297+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2298
2299 //The padding between title and the string below it (i.e. subtitle, or
2300 //summary, when subtitle is empty)
2301@@ -89,4 +89,4 @@
2302
2303 UT_NAMESPACE_END
2304
2305-#endif // THREELABELSSLOT_H
2306+#endif // THREELABELSSLOT_P_H
2307
2308=== modified file 'src/UbuntuToolkit/privates/ucpagewrapper.cpp'
2309--- src/UbuntuToolkit/privates/ucpagewrapper.cpp 2016-08-08 11:51:22 +0000
2310+++ src/UbuntuToolkit/privates/ucpagewrapper.cpp 2016-09-09 22:15:37 +0000
2311@@ -14,11 +14,12 @@
2312 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2313 */
2314
2315-#include "ucpagewrapper_p_p.h"
2316-#include "ucpagewrapperincubator_p.h"
2317-
2318-#include <QQmlEngine>
2319-#include <QQmlContext>
2320+#include "privates/ucpagewrapper_p_p.h"
2321+
2322+#include <QtQml/QQmlEngine>
2323+#include <QtQml/QQmlContext>
2324+
2325+#include "privates/ucpagewrapperincubator_p.h"
2326
2327 UT_NAMESPACE_BEGIN
2328
2329
2330=== modified file 'src/UbuntuToolkit/privates/ucpagewrapper_p.h'
2331--- src/UbuntuToolkit/privates/ucpagewrapper_p.h 2016-07-07 07:21:48 +0000
2332+++ src/UbuntuToolkit/privates/ucpagewrapper_p.h 2016-09-09 22:15:37 +0000
2333@@ -14,11 +14,11 @@
2334 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2335 */
2336
2337-#ifndef UCPAGEWRAPPER_H
2338-#define UCPAGEWRAPPER_H
2339+#ifndef UCPAGEWRAPPER_P_H
2340+#define UCPAGEWRAPPER_P_H
2341
2342-#include <ubuntutoolkitglobal.h>
2343-#include "ucpagetreenode_p.h"
2344+#include <UbuntuToolkit/private/ucpagetreenode_p.h>
2345+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2346
2347 UT_NAMESPACE_BEGIN
2348
2349
2350=== modified file 'src/UbuntuToolkit/privates/ucpagewrapper_p_p.h'
2351--- src/UbuntuToolkit/privates/ucpagewrapper_p_p.h 2016-07-07 07:21:48 +0000
2352+++ src/UbuntuToolkit/privates/ucpagewrapper_p_p.h 2016-09-09 22:15:37 +0000
2353@@ -14,12 +14,13 @@
2354 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2355 */
2356
2357-#ifndef UCPAGEWRAPPER_P_H
2358-#define UCPAGEWRAPPER_P_H
2359-
2360-#include <ubuntutoolkitglobal.h>
2361-#include "ucpagetreenode_p_p.h"
2362-#include "ucpagewrapper_p.h"
2363+#ifndef UCPAGEWRAPPER_P_P_H
2364+#define UCPAGEWRAPPER_P_P_H
2365+
2366+#include <UbuntuToolkit/private/ucpagewrapper_p.h>
2367+
2368+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2369+#include <UbuntuToolkit/private/ucpagetreenode_p_p.h>
2370
2371 UT_NAMESPACE_BEGIN
2372
2373@@ -80,4 +81,4 @@
2374
2375 UT_NAMESPACE_END
2376
2377-#endif // UCPAGEWRAPPER_P_H
2378+#endif // UCPAGEWRAPPER_P_P_H
2379
2380=== modified file 'src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp'
2381--- src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp 2016-06-17 11:26:12 +0000
2382+++ src/UbuntuToolkit/privates/ucpagewrapperincubator.cpp 2016-09-09 22:15:37 +0000
2383@@ -14,9 +14,10 @@
2384 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2385 */
2386
2387-#include "ucpagewrapperincubator_p.h"
2388-#include <QVariantMap>
2389-#include <QQmlInfo>
2390+#include "privates/ucpagewrapperincubator_p.h"
2391+
2392+#include <QtCore/QVariantMap>
2393+#include <QtQml/QQmlInfo>
2394
2395 UT_NAMESPACE_BEGIN
2396
2397
2398=== modified file 'src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h'
2399--- src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h 2016-06-17 11:26:12 +0000
2400+++ src/UbuntuToolkit/privates/ucpagewrapperincubator_p.h 2016-09-09 22:15:37 +0000
2401@@ -14,14 +14,15 @@
2402 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2403 */
2404
2405-#ifndef UCPAGEWRAPPERINCUBATOR_H
2406-#define UCPAGEWRAPPERINCUBATOR_H
2407-
2408-#include <QObject>
2409-#include <QQmlIncubator>
2410-#include <QJSValue>
2411-#include <QVariant>
2412-#include <ubuntutoolkitglobal.h>
2413+#ifndef UCPAGEWRAPPERINCUBATOR_P_H
2414+#define UCPAGEWRAPPERINCUBATOR_P_H
2415+
2416+#include <QtCore/QObject>
2417+#include <QtCore/QVariant>
2418+#include <QtQml/QQmlIncubator>
2419+#include <QtQml/QJSValue>
2420+
2421+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2422
2423 UT_NAMESPACE_BEGIN
2424
2425@@ -61,4 +62,4 @@
2426
2427 UT_NAMESPACE_END
2428
2429-#endif // UCPAGEWRAPPERINCUBATOR_H
2430+#endif // UCPAGEWRAPPERINCUBATOR_P_H
2431
2432=== modified file 'src/UbuntuToolkit/privates/ucscrollbarutils.cpp'
2433--- src/UbuntuToolkit/privates/ucscrollbarutils.cpp 2016-08-01 13:48:02 +0000
2434+++ src/UbuntuToolkit/privates/ucscrollbarutils.cpp 2016-09-09 22:15:37 +0000
2435@@ -16,7 +16,8 @@
2436 * Author: Andrea Bernabei <andrea.bernabei@canonical.com>
2437 */
2438
2439-#include "ucscrollbarutils_p.h"
2440+#include "privates/ucscrollbarutils_p.h"
2441+
2442 #include <QtQuick/private/qquickitem_p.h>
2443
2444 UT_NAMESPACE_BEGIN
2445
2446=== modified file 'src/UbuntuToolkit/privates/ucscrollbarutils_p.h'
2447--- src/UbuntuToolkit/privates/ucscrollbarutils_p.h 2016-08-01 13:48:02 +0000
2448+++ src/UbuntuToolkit/privates/ucscrollbarutils_p.h 2016-09-09 22:15:37 +0000
2449@@ -16,11 +16,12 @@
2450 * Author: Andrea Bernabei <andrea.bernabei@canonical.com>
2451 */
2452
2453-#ifndef UCSCROLLBARUTILS_H
2454-#define UCSCROLLBARUTILS_H
2455-
2456-#include <QObject>
2457-#include <ubuntutoolkitglobal.h>
2458+#ifndef UCSCROLLBARUTILS_P_H
2459+#define UCSCROLLBARUTILS_P_H
2460+
2461+#include <QtCore/QObject>
2462+
2463+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2464
2465 class QQuickItem;
2466
2467@@ -38,4 +39,4 @@
2468
2469 UT_NAMESPACE_END
2470
2471-#endif // UCSCROLLBARUTILS_H
2472+#endif // UCSCROLLBARUTILS_P_H
2473
2474=== modified file 'src/UbuntuToolkit/propertychange_p.h'
2475--- src/UbuntuToolkit/propertychange_p.h 2016-07-07 07:21:48 +0000
2476+++ src/UbuntuToolkit/propertychange_p.h 2016-09-09 22:15:37 +0000
2477@@ -17,14 +17,14 @@
2478 #ifndef PROPERTYCHANGE_P_H
2479 #define PROPERTYCHANGE_P_H
2480
2481+#include <QtCore/QObject>
2482 #include <QtCore/QVariant>
2483-#include <QtCore/QObject>
2484+#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
2485+#include <QtCore/QExplicitlySharedDataPointer>
2486+#endif
2487 #include <QtQml/QQmlProperty>
2488
2489-#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
2490-#include <QtCore/QExplicitlySharedDataPointer>
2491-#endif
2492-#include <ubuntutoolkitglobal.h>
2493+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2494
2495 class QQmlAbstractBinding;
2496
2497
2498=== modified file 'src/UbuntuToolkit/qquickclipboard.cpp'
2499--- src/UbuntuToolkit/qquickclipboard.cpp 2016-07-07 18:17:56 +0000
2500+++ src/UbuntuToolkit/qquickclipboard.cpp 2016-09-09 22:15:37 +0000
2501@@ -16,10 +16,11 @@
2502 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2503 */
2504
2505+#include "qquickclipboard_p_p.h"
2506+
2507 #include <QtGui/QClipboard>
2508 #include <QtGui/QGuiApplication>
2509
2510-#include "qquickclipboard_p_p.h"
2511 #include "qquickmimedata_p.h"
2512
2513 UT_NAMESPACE_BEGIN
2514
2515=== modified file 'src/UbuntuToolkit/qquickclipboard_p.h'
2516--- src/UbuntuToolkit/qquickclipboard_p.h 2016-07-07 18:17:56 +0000
2517+++ src/UbuntuToolkit/qquickclipboard_p.h 2016-09-09 22:15:37 +0000
2518@@ -16,13 +16,14 @@
2519 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2520 */
2521
2522-#ifndef QQUICKCLIPBOARD_H
2523-#define QQUICKCLIPBOARD_H
2524+#ifndef QQUICKCLIPBOARD_P_H
2525+#define QQUICKCLIPBOARD_P_H
2526
2527 #include <QtCore/QObject>
2528 #include <QtQml/QJSEngine>
2529 #include <QtQml/QQmlEngine>
2530-#include <ubuntutoolkitglobal.h>
2531+
2532+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2533
2534 class QQmlEngine;
2535 class QJSEngine;
2536@@ -60,4 +61,4 @@
2537
2538 UT_NAMESPACE_END
2539
2540-#endif // QQUICKCLIPBOARD_H
2541+#endif // QQUICKCLIPBOARD_P_H
2542
2543=== modified file 'src/UbuntuToolkit/qquickclipboard_p_p.h'
2544--- src/UbuntuToolkit/qquickclipboard_p_p.h 2016-07-07 18:17:56 +0000
2545+++ src/UbuntuToolkit/qquickclipboard_p_p.h 2016-09-09 22:15:37 +0000
2546@@ -16,12 +16,13 @@
2547 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2548 */
2549
2550-#ifndef QQUICKCLIPBOARD_P_H
2551-#define QQUICKCLIPBOARD_P_H
2552-
2553-#include "qquickclipboard_p.h"
2554+#ifndef QQUICKCLIPBOARD_P_P_H
2555+#define QQUICKCLIPBOARD_P_P_H
2556+
2557+#include <UbuntuToolkit/private/qquickclipboard_p.h>
2558+
2559+#include <QtCore/private/qobject_p.h>
2560 #include <QtGui/QClipboard>
2561-#include <QtCore/private/qobject_p.h>
2562
2563 UT_NAMESPACE_BEGIN
2564
2565@@ -41,4 +42,4 @@
2566
2567 UT_NAMESPACE_END
2568
2569-#endif // QQUICKCLIPBOARD_P_H
2570+#endif // QQUICKCLIPBOARD_P_P_H
2571
2572=== modified file 'src/UbuntuToolkit/qquickmimedata.cpp'
2573--- src/UbuntuToolkit/qquickmimedata.cpp 2016-07-07 07:21:48 +0000
2574+++ src/UbuntuToolkit/qquickmimedata.cpp 2016-09-09 22:15:37 +0000
2575@@ -16,14 +16,14 @@
2576 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2577 */
2578
2579-#include <QtGui/QClipboard>
2580-#include <QtGui/QGuiApplication>
2581+#include "qquickmimedata_p.h"
2582+
2583 #include <QtCore/QMimeData>
2584 #include <QtCore/QMimeDatabase>
2585 #include <QtCore/QMimeType>
2586-#include "qquickmimedata_p.h"
2587-
2588-#include <QDebug>
2589+#include <QtCore/QDebug>
2590+#include <QtGui/QClipboard>
2591+#include <QtGui/QGuiApplication>
2592
2593 UT_NAMESPACE_BEGIN
2594
2595
2596=== modified file 'src/UbuntuToolkit/qquickmimedata_p.h'
2597--- src/UbuntuToolkit/qquickmimedata_p.h 2016-07-07 07:21:48 +0000
2598+++ src/UbuntuToolkit/qquickmimedata_p.h 2016-09-09 22:15:37 +0000
2599@@ -16,14 +16,15 @@
2600 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2601 */
2602
2603-#ifndef QQUICKMIMEDATA_H
2604-#define QQUICKMIMEDATA_H
2605+#ifndef QQUICKMIMEDATA_P_H
2606+#define QQUICKMIMEDATA_P_H
2607
2608 #include <QtCore/QMimeData>
2609 #include <QtCore/QStringList>
2610+#include <QtCore/QUrl>
2611 #include <QtGui/QColor>
2612-#include <QtCore/QUrl>
2613-#include "qquickclipboard_p.h"
2614+
2615+#include <UbuntuToolkit/private/qquickclipboard_p.h>
2616
2617 UT_NAMESPACE_BEGIN
2618
2619@@ -74,4 +75,4 @@
2620
2621 UT_NAMESPACE_END
2622
2623-#endif // QQUICKMIMEDATA_H
2624+#endif // QQUICKMIMEDATA_P_H
2625
2626=== modified file 'src/UbuntuToolkit/quickutils.cpp'
2627--- src/UbuntuToolkit/quickutils.cpp 2016-08-29 10:19:17 +0000
2628+++ src/UbuntuToolkit/quickutils.cpp 2016-09-09 22:15:37 +0000
2629@@ -12,23 +12,21 @@
2630 *
2631 * You should have received a copy of the GNU Lesser General Public License
2632 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2633- *
2634 */
2635
2636 #include "quickutils_p.h"
2637
2638-#include <QGuiApplication>
2639-#include <QtQuick/QQuickView>
2640-#include <QtQuick/QQuickItem>
2641-#include <QtQml/QQmlContext>
2642 #include <QtCore/QAbstractListModel>
2643 #include <QtCore/QAbstractProxyModel>
2644+#include <QtGui/QGuiApplication>
2645+#include <QtQml/QQmlContext>
2646 #include <QtQml/QQmlPropertyMap>
2647 #include <QtQml/QQmlInfo>
2648 #include <QtQml/QQmlEngine>
2649-
2650-#include <private/qquicktextinput_p.h>
2651-#include <private/qquicktextedit_p.h>
2652+#include <QtQuick/QQuickView>
2653+#include <QtQuick/QQuickItem>
2654+#include <QtQuick/private/qquicktextinput_p.h>
2655+#include <QtQuick/private/qquicktextedit_p.h>
2656
2657 UT_NAMESPACE_BEGIN
2658
2659
2660=== modified file 'src/UbuntuToolkit/quickutils_p.h'
2661--- src/UbuntuToolkit/quickutils_p.h 2016-08-29 10:19:17 +0000
2662+++ src/UbuntuToolkit/quickutils_p.h 2016-09-09 22:15:37 +0000
2663@@ -12,7 +12,6 @@
2664 *
2665 * You should have received a copy of the GNU Lesser General Public License
2666 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2667- *
2668 */
2669
2670 #ifndef QUICKUTILS_P_H
2671@@ -21,7 +20,8 @@
2672 #include <QtCore/QObject>
2673 #include <QtCore/QPointer>
2674 #include <QtQuick/QQuickView>
2675-#include <ubuntutoolkitglobal.h>
2676+
2677+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2678
2679 class QQuickItem;
2680 class QQmlEngine;
2681
2682=== modified file 'src/UbuntuToolkit/sortbehavior_p.h'
2683--- src/UbuntuToolkit/sortbehavior_p.h 2016-07-07 07:21:48 +0000
2684+++ src/UbuntuToolkit/sortbehavior_p.h 2016-09-09 22:15:37 +0000
2685@@ -17,11 +17,12 @@
2686 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2687 */
2688
2689-#ifndef SORTBEHAVIOR_H
2690-#define SORTBEHAVIOR_H
2691-
2692-#include <QSortFilterProxyModel>
2693-#include <ubuntutoolkitglobal.h>
2694+#ifndef SORTBEHAVIOR_P_H
2695+#define SORTBEHAVIOR_P_H
2696+
2697+#include <QtCore/QSortFilterProxyModel>
2698+
2699+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2700
2701 UT_NAMESPACE_BEGIN
2702
2703@@ -50,4 +51,4 @@
2704
2705 UT_NAMESPACE_END
2706
2707-#endif // SORTBEHAVIOR_H
2708+#endif // SORTBEHAVIOR_P_H
2709
2710=== modified file 'src/UbuntuToolkit/sortfiltermodel_p.h'
2711--- src/UbuntuToolkit/sortfiltermodel_p.h 2016-08-16 08:43:28 +0000
2712+++ src/UbuntuToolkit/sortfiltermodel_p.h 2016-09-09 22:15:37 +0000
2713@@ -18,12 +18,13 @@
2714 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2715 */
2716
2717-#ifndef QSORTFILTERPROXYMODELQML_H
2718-#define QSORTFILTERPROXYMODELQML_H
2719-
2720-#include <QSortFilterProxyModel>
2721-#include "sortbehavior_p.h"
2722-#include "filterbehavior_p.h"
2723+#ifndef SORTFILTERMODEL_P_H
2724+#define SORTFILTERMODEL_P_H
2725+
2726+#include <QtCore/QSortFilterProxyModel>
2727+
2728+#include <UbuntuToolkit/private/sortbehavior_p.h>
2729+#include <UbuntuToolkit/private/filterbehavior_p.h>
2730
2731 UT_NAMESPACE_BEGIN
2732
2733@@ -73,4 +74,4 @@
2734
2735 UT_NAMESPACE_END
2736
2737-#endif // QSORTFILTERPROXYMODELQML_H
2738+#endif // SORTFILTERMODEL_P_H
2739
2740=== modified file 'src/UbuntuToolkit/splitview.cpp'
2741--- src/UbuntuToolkit/splitview.cpp 2016-08-11 14:47:05 +0000
2742+++ src/UbuntuToolkit/splitview.cpp 2016-09-09 22:15:37 +0000
2743@@ -16,16 +16,15 @@
2744 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2745 */
2746
2747+#include "splitview_p_p.h"
2748+
2749+#include <QtQml/QQmlInfo>
2750+#include <QtQuick/private/qquickanchors_p.h>
2751 #include <QtQuick/private/qquickitem_p.h>
2752-#include <QtQuick/private/qquickanchors_p.h>
2753-#include <QtQml/QQmlInfo>
2754
2755-#include "splitview_p.h"
2756-#include "splitview_p_p.h"
2757 #include "ucunits_p.h"
2758 #include "ucpagetreenode_p.h"
2759-
2760-#include "privates/splitviewhandler_p_p.h"
2761+#include "privates/splitviewhandler_p.h"
2762
2763 #define DEFAULT_SPACING_DP 4
2764
2765
2766=== modified file 'src/UbuntuToolkit/splitview_p.h'
2767--- src/UbuntuToolkit/splitview_p.h 2016-08-09 13:23:04 +0000
2768+++ src/UbuntuToolkit/splitview_p.h 2016-09-09 22:15:37 +0000
2769@@ -21,7 +21,7 @@
2770
2771 #include <QtQuick/private/qquickpositioners_p.h>
2772
2773-#include "ubuntutoolkitglobal.h"
2774+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2775
2776 UT_NAMESPACE_BEGIN
2777
2778
2779=== modified file 'src/UbuntuToolkit/splitview_p_p.h'
2780--- src/UbuntuToolkit/splitview_p_p.h 2016-08-10 07:34:04 +0000
2781+++ src/UbuntuToolkit/splitview_p_p.h 2016-09-09 22:15:37 +0000
2782@@ -19,7 +19,8 @@
2783 #ifndef SPLITVIEW_P_P_H
2784 #define SPLITVIEW_P_P_H
2785
2786-#include "splitview_p.h"
2787+#include <UbuntuToolkit/private/splitview_p.h>
2788+
2789 #include <QtCore/private/qobject_p.h>
2790
2791 UT_NAMESPACE_BEGIN
2792
2793=== modified file 'src/UbuntuToolkit/splitviewlayout.cpp'
2794--- src/UbuntuToolkit/splitviewlayout.cpp 2016-08-11 14:07:52 +0000
2795+++ src/UbuntuToolkit/splitviewlayout.cpp 2016-09-09 22:15:37 +0000
2796@@ -15,12 +15,12 @@
2797 * Author: Zsombor Egri <zsombor.egri@canonical.com>
2798 */
2799
2800+#include "splitview_p_p.h"
2801+
2802+#include <QtQuick/private/qquickanchors_p.h>
2803 #include <QtQuick/private/qquickitem_p.h>
2804-#include <QtQuick/private/qquickanchors_p.h>
2805 #include <QtQml/QQmlInfo>
2806
2807-#include "splitview_p.h"
2808-#include "splitview_p_p.h"
2809 #include "ucmathutils_p.h"
2810
2811 UT_NAMESPACE_BEGIN
2812
2813=== modified file 'src/UbuntuToolkit/statesaverbackend_p.cpp'
2814--- src/UbuntuToolkit/statesaverbackend_p.cpp 2016-07-07 07:21:48 +0000
2815+++ src/UbuntuToolkit/statesaverbackend_p.cpp 2016-09-09 22:15:37 +0000
2816@@ -17,18 +17,19 @@
2817 */
2818
2819 #include "statesaverbackend_p.h"
2820-#include "ucapplication_p.h"
2821-#include <QtQml/QQmlContext>
2822-#include <QtQml/QQmlProperty>
2823-#include <QtQml/qqmlinfo.h>
2824-#include <QtQml/qqml.h>
2825+
2826 #include <QtCore/QCoreApplication>
2827 #include <QtCore/QFile>
2828+#include <QtCore/QStandardPaths>
2829 #include <QtCore/QStringList>
2830+#include <QtQml/QtQml>
2831+#include <QtQml/QQmlContext>
2832+#include <QtQml/QQmlInfo>
2833+#include <QtQml/QQmlProperty>
2834+
2835 #include "i18n_p.h"
2836 #include "quickutils_p.h"
2837-#include <QtCore/QStandardPaths>
2838-
2839+#include "ucapplication_p.h"
2840 #include "unixsignalhandler_p.h"
2841
2842 UT_NAMESPACE_BEGIN
2843
2844=== modified file 'src/UbuntuToolkit/statesaverbackend_p.h'
2845--- src/UbuntuToolkit/statesaverbackend_p.h 2016-07-06 09:51:06 +0000
2846+++ src/UbuntuToolkit/statesaverbackend_p.h 2016-09-09 22:15:37 +0000
2847@@ -20,12 +20,13 @@
2848 #define STATESAVERBACKEND_P_H
2849
2850 #include <QtCore/QObject>
2851-#include <QtCore/QSettings>
2852 #include <QtCore/QPointer>
2853 #include <QtCore/QSet>
2854+#include <QtCore/QSettings>
2855+#include <QtCore/QStack>
2856 #include <QtCore/QTimer>
2857-#include <QtCore/QStack>
2858-#include <ubuntutoolkitglobal.h>
2859+
2860+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2861
2862 UT_NAMESPACE_BEGIN
2863
2864
2865=== modified file 'src/UbuntuToolkit/timeutils_p.h'
2866--- src/UbuntuToolkit/timeutils_p.h 2016-07-07 07:21:48 +0000
2867+++ src/UbuntuToolkit/timeutils_p.h 2016-09-09 22:15:37 +0000
2868@@ -17,12 +17,12 @@
2869 #ifndef TIMEUTILS_P_H
2870 #define TIMEUTILS_P_H
2871
2872-#include "livetimer_p.h"
2873+#include <QtCore/QDateTime>
2874+#include <QtCore/QLocale>
2875+#include <QtCore/QObject>
2876+#include <QtCore/QTimer>
2877
2878-#include <QDateTime>
2879-#include <QLocale>
2880-#include <QObject>
2881-#include <QTimer>
2882+#include <UbuntuToolkit/private/livetimer_p.h>
2883
2884 UT_NAMESPACE_BEGIN
2885
2886
2887=== modified file 'src/UbuntuToolkit/tree.cpp'
2888--- src/UbuntuToolkit/tree.cpp 2016-07-07 07:21:48 +0000
2889+++ src/UbuntuToolkit/tree.cpp 2016-09-09 22:15:37 +0000
2890@@ -16,8 +16,8 @@
2891
2892 #include "tree_p.h"
2893
2894-#include <private/qobject_p.h>
2895-#include <QQmlEngine>
2896+#include <QtCore/private/qobject_p.h>
2897+#include <QtQml/QQmlEngine>
2898
2899 UT_NAMESPACE_BEGIN
2900
2901
2902=== modified file 'src/UbuntuToolkit/tree_p.h'
2903--- src/UbuntuToolkit/tree_p.h 2016-07-07 07:21:48 +0000
2904+++ src/UbuntuToolkit/tree_p.h 2016-09-09 22:15:37 +0000
2905@@ -14,12 +14,13 @@
2906 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2907 */
2908
2909-#ifndef TREE_H
2910-#define TREE_H
2911-
2912-#include <QObject>
2913-#include <QVariant>
2914-#include "ubuntutoolkitglobal.h"
2915+#ifndef TREE_P_H
2916+#define TREE_P_H
2917+
2918+#include <QtCore/QObject>
2919+#include <QtCore/QVariant>
2920+
2921+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
2922
2923 UT_NAMESPACE_BEGIN
2924
2925@@ -45,4 +46,4 @@
2926
2927 UT_NAMESPACE_END
2928
2929-#endif // TREE_H
2930+#endif // TREE_P_H
2931
2932=== modified file 'src/UbuntuToolkit/ubuntutoolkitglobal.h'
2933--- src/UbuntuToolkit/ubuntutoolkitglobal.h 2016-07-08 14:28:48 +0000
2934+++ src/UbuntuToolkit/ubuntutoolkitglobal.h 2016-09-09 22:15:37 +0000
2935@@ -13,6 +13,7 @@
2936 * You should have received a copy of the GNU Lesser General Public License
2937 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2938 */
2939+
2940 #ifndef UBUNTUTOOLKITGLOBAL_H
2941 #define UBUNTUTOOLKITGLOBAL_H
2942
2943@@ -54,4 +55,3 @@
2944 #endif
2945
2946 #endif // UBUNTUTOOLKITGLOBAL_H
2947-
2948
2949=== modified file 'src/UbuntuToolkit/ubuntutoolkitmodule.cpp'
2950--- src/UbuntuToolkit/ubuntutoolkitmodule.cpp 2016-08-26 12:03:35 +0000
2951+++ src/UbuntuToolkit/ubuntutoolkitmodule.cpp 2016-09-09 22:15:37 +0000
2952@@ -17,91 +17,89 @@
2953 */
2954
2955 #include "ubuntutoolkitmodule.h"
2956+
2957+#include <sys/types.h>
2958+#include <unistd.h>
2959+
2960+#include <stdexcept>
2961+
2962+#include <QtQml/QQmlContext>
2963 #include <QtQml/QQmlEngine>
2964-#include <QtQml/QQmlContext>
2965 #include <QtQml/QQmlExtensionPlugin>
2966 #include <QtQuick/private/qquickimagebase_p.h>
2967-#include <QDBusConnection>
2968+#include <QtDBus/QDBusConnection>
2969 #include <QtGui/QGuiApplication>
2970 #include <QtGui/QScreen>
2971-
2972-#include <sys/types.h>
2973-#include <unistd.h>
2974-#include <stdexcept>
2975-
2976-#include <ucunits_p.h>
2977-#include <quickutils_p.h>
2978-#include <i18n_p.h>
2979-#include <ucapplication_p.h>
2980-#include <ucfontutils_p.h>
2981-#include <uctheme_p.h>
2982-#include <ucdeprecatedtheme_p.h>
2983-#include <listener_p.h>
2984-#include <ucfontutils_p.h>
2985-#include <ucmathutils_p.h>
2986-#include <ucmargins_p.h>
2987-#include <ucmainviewbase_p.h>
2988-#include <ucabstractbutton_p.h>
2989-#include <ucaction_p.h>
2990-#include <ucactioncontext_p.h>
2991-#include <ucactionitem_p.h>
2992-#include <ucactionmanager_p.h>
2993-#include <ucalarm_p.h>
2994-#include <ucalarmmodel_p.h>
2995-#include <ucarguments_p.h>
2996-#include <ucargument_p.h>
2997-#include <ucbottomedgehint_p.h>
2998-#include <ucbottomedgeregion_p.h>
2999-#include <ucbottomedge_p.h>
3000-#include <uchaptics_p.h>
3001-#include <ucheader_p.h>
3002-#include <ucinversemouse_p.h>
3003-#include <ucmouse_p.h>
3004-#include <uclistitem_p.h>
3005-#include <uclistitemactions_p.h>
3006-#include <uclistitemlayout_p.h>
3007-#include <uclabel_p.h>
3008-#include <ucpagetreenode_p.h>
3009-#include <ucperformancemonitor_p.h>
3010-#include <ucproportionalshape_p.h>
3011-#include <ucscalingimageprovider_p.h>
3012-#include <ucserviceproperties_p.h>
3013-#include <ucslotslayout_p.h>
3014-#include <ucstatesaver_p.h>
3015-#include <ucstyleditembase_p.h>
3016-#include <ucstylehints_p.h>
3017-#include <uctheme_p.h>
3018-#include <ucubuntuanimation_p.h>
3019-#include <ucubuntushapeoverlay_p.h>
3020-#include <ucubuntushape_p.h>
3021-#include <ucurihandler_p.h>
3022-#include <ucqquickimageextension_p.h>
3023-#include <inversemouseareatype_p.h>
3024-#include <qquickclipboard_p.h>
3025-#include <qquickmimedata_p.h>
3026-#include <colorutils_p.h>
3027-#include <tree_p.h>
3028-#include <unitythemeiconprovider_p.h>
3029-#include <sortbehavior_p.h>
3030-#include <sortfiltermodel_p.h>
3031-#include <livetimer_p.h>
3032-#include <privates/frame_p.h>
3033-#include <privates/ucpagewrapper_p.h>
3034-#include <privates/appheaderbase_p.h>
3035-#include <privates/ucscrollbarutils_p.h>
3036-#include <actionlist_p.h>
3037-#include <exclusivegroup_p.h>
3038-#include <menu_p.h>
3039-#include <menubar_p.h>
3040-#include <menugroup_p.h>
3041-
3042-#include <splitview_p.h>
3043-
3044-// styles
3045-#include <ucbottomedgestyle_p.h>
3046-
3047 #include <UbuntuMetrics/applicationmonitor.h>
3048
3049+#include "actionlist_p.h"
3050+#include "colorutils_p.h"
3051+#include "exclusivegroup_p.h"
3052+#include "i18n_p.h"
3053+#include "inversemouseareatype_p.h"
3054+#include "listener_p.h"
3055+#include "livetimer_p.h"
3056+#include "menu_p.h"
3057+#include "menubar_p.h"
3058+#include "menugroup_p.h"
3059+#include "privates/appheaderbase_p.h"
3060+#include "privates/frame_p.h"
3061+#include "privates/ucpagewrapper_p.h"
3062+#include "privates/ucscrollbarutils_p.h"
3063+#include "qquickclipboard_p.h"
3064+#include "qquickmimedata_p.h"
3065+#include "quickutils_p.h"
3066+#include "sortbehavior_p.h"
3067+#include "sortfiltermodel_p.h"
3068+#include "splitview_p.h"
3069+#include "tree_p.h"
3070+#include "ucabstractbutton_p.h"
3071+#include "ucaction_p.h"
3072+#include "ucactioncontext_p.h"
3073+#include "ucactionitem_p.h"
3074+#include "ucactionmanager_p.h"
3075+#include "ucalarm_p.h"
3076+#include "ucalarmmodel_p.h"
3077+#include "ucapplication_p.h"
3078+#include "ucargument_p.h"
3079+#include "ucarguments_p.h"
3080+#include "ucbottomedge_p.h"
3081+#include "ucbottomedgehint_p.h"
3082+#include "ucbottomedgeregion_p.h"
3083+#include "ucbottomedgestyle_p.h"
3084+#include "ucdeprecatedtheme_p.h"
3085+#include "ucfontutils_p.h"
3086+#include "ucfontutils_p.h"
3087+#include "uchaptics_p.h"
3088+#include "ucheader_p.h"
3089+#include "ucinversemouse_p.h"
3090+#include "uclabel_p.h"
3091+#include "uclistitem_p.h"
3092+#include "uclistitemactions_p.h"
3093+#include "uclistitemlayout_p.h"
3094+#include "ucmainviewbase_p.h"
3095+#include "ucmargins_p.h"
3096+#include "ucmathutils_p.h"
3097+#include "ucmouse_p.h"
3098+#include "ucpagetreenode_p.h"
3099+#include "ucperformancemonitor_p.h"
3100+#include "ucproportionalshape_p.h"
3101+#include "ucqquickimageextension_p.h"
3102+#include "ucscalingimageprovider_p.h"
3103+#include "ucserviceproperties_p.h"
3104+#include "ucslotslayout_p.h"
3105+#include "ucstatesaver_p.h"
3106+#include "ucstyleditembase_p.h"
3107+#include "ucstylehints_p.h"
3108+#include "uctheme_p.h"
3109+#include "uctheme_p.h"
3110+#include "ucubuntuanimation_p.h"
3111+#include "ucubuntushape_p.h"
3112+#include "ucubuntushapeoverlay_p.h"
3113+#include "ucunits_p.h"
3114+#include "ucurihandler_p.h"
3115+#include "unitythemeiconprovider_p.h"
3116+
3117 UT_NAMESPACE_BEGIN
3118
3119 const char *EngineProperty("__ubuntu_toolkit_plugin_data");
3120
3121=== modified file 'src/UbuntuToolkit/ubuntutoolkitmodule.h'
3122--- src/UbuntuToolkit/ubuntutoolkitmodule.h 2016-07-06 09:51:06 +0000
3123+++ src/UbuntuToolkit/ubuntutoolkitmodule.h 2016-09-09 22:15:37 +0000
3124@@ -20,10 +20,11 @@
3125 #define UBUNTUTOOLKITMODULE_H
3126
3127 #include <QtCore/QObject>
3128+#include <QtQml/QtQml>
3129+#include <QtQml/QJSEngine>
3130 #include <QtQml/QQmlEngine>
3131-#include <QtQml/QJSEngine>
3132-#include <qqml.h>
3133-#include <ubuntutoolkitglobal.h>
3134+
3135+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3136
3137 class QQmlEngine;
3138 class QWindow;
3139
3140=== modified file 'src/UbuntuToolkit/ucabstractbutton.cpp'
3141--- src/UbuntuToolkit/ucabstractbutton.cpp 2016-08-17 10:06:06 +0000
3142+++ src/UbuntuToolkit/ucabstractbutton.cpp 2016-09-09 22:15:37 +0000
3143@@ -15,12 +15,14 @@
3144 */
3145
3146 #include "ucabstractbutton_p_p.h"
3147+
3148+#include <QtQml/private/qqmlglobal_p.h>
3149+#include <QtQuick/private/qquickitem_p.h>
3150+#include <QtQuick/private/qquickmousearea_p.h>
3151+
3152+#include "ucaction_p.h"
3153 #include "uchaptics_p.h"
3154 #include "ucunits_p.h"
3155-#include "ucaction_p.h"
3156-#include <QtQuick/private/qquickitem_p.h>
3157-#include <QtQuick/private/qquickmousearea_p.h>
3158-#include <QtQml/private/qqmlglobal_p.h>
3159
3160 #define MIN_SENSING_WIDTH_GU 4
3161 #define MIN_SENSING_HEIGHT_GU 4
3162
3163=== modified file 'src/UbuntuToolkit/ucabstractbutton_p.h'
3164--- src/UbuntuToolkit/ucabstractbutton_p.h 2016-07-07 07:21:48 +0000
3165+++ src/UbuntuToolkit/ucabstractbutton_p.h 2016-09-09 22:15:37 +0000
3166@@ -14,13 +14,14 @@
3167 * along with this program. If not, see <http://www.gnu.org/licenses/>.
3168 */
3169
3170-#ifndef UCABSTRACTBUTTON_H
3171-#define UCABSTRACTBUTTON_H
3172+#ifndef UCABSTRACTBUTTON_P_H
3173+#define UCABSTRACTBUTTON_P_H
3174
3175-#include "ucactionitem_p.h"
3176-#include "ucmargins_p.h"
3177 #include <QtQuick/private/qquickevents_p_p.h>
3178
3179+#include <UbuntuToolkit/private/ucactionitem_p.h>
3180+#include <UbuntuToolkit/private/ucmargins_p.h>
3181+
3182 class QQuickMouseArea;
3183 class QQuickMouseEvent;
3184
3185@@ -84,4 +85,4 @@
3186
3187 QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCMargins))
3188
3189-#endif // UCABSTRACTBUTTON_H
3190+#endif // UCABSTRACTBUTTON_P_H
3191
3192=== modified file 'src/UbuntuToolkit/ucabstractbutton_p_p.h'
3193--- src/UbuntuToolkit/ucabstractbutton_p_p.h 2016-07-07 07:21:48 +0000
3194+++ src/UbuntuToolkit/ucabstractbutton_p_p.h 2016-09-09 22:15:37 +0000
3195@@ -14,11 +14,12 @@
3196 * along with this program. If not, see <http://www.gnu.org/licenses/>.
3197 */
3198
3199-#ifndef UCABSTRACTBUTTON_P
3200-#define UCABSTRACTBUTTON_P
3201-
3202-#include "ucabstractbutton_p.h"
3203-#include "ucactionitem_p_p.h"
3204+#ifndef UCABSTRACTBUTTON_P_P_H
3205+#define UCABSTRACTBUTTON_P_P_H
3206+
3207+#include <UbuntuToolkit/private/ucabstractbutton_p.h>
3208+
3209+#include <UbuntuToolkit/private/ucactionitem_p_p.h>
3210
3211 UT_NAMESPACE_BEGIN
3212
3213@@ -54,4 +55,4 @@
3214
3215 UT_NAMESPACE_END
3216
3217-#endif // UCABSTRACTBUTTON_P
3218+#endif // UCABSTRACTBUTTON_P_P_H
3219
3220=== modified file 'src/UbuntuToolkit/ucaction.cpp'
3221--- src/UbuntuToolkit/ucaction.cpp 2016-09-05 17:04:31 +0000
3222+++ src/UbuntuToolkit/ucaction.cpp 2016-09-09 22:15:37 +0000
3223@@ -15,15 +15,16 @@
3224 */
3225
3226 #include "ucaction_p.h"
3227+
3228+#include <QtCore/QtDebug>
3229+#include <QtGui/private/qguiapplication_p.h>
3230+#include <QtQml/QQmlInfo>
3231+#include <QtQuick/QQuickItem>
3232+#include <QtQuick/QQuickWindow>
3233+
3234+#include "exclusivegroup_p.h"
3235 #include "quickutils_p.h"
3236 #include "ucactioncontext_p.h"
3237-#include "exclusivegroup_p.h"
3238-
3239-#include <QtDebug>
3240-#include <QtQml/QQmlInfo>
3241-#include <QtQuick/qquickitem.h>
3242-#include <QtQuick/qquickwindow.h>
3243-#include <private/qguiapplication_p.h>
3244
3245 Q_LOGGING_CATEGORY(ucAction, "ubuntu.components.Action", QtMsgType::QtWarningMsg)
3246
3247
3248=== modified file 'src/UbuntuToolkit/ucaction_p.h'
3249--- src/UbuntuToolkit/ucaction_p.h 2016-08-25 14:00:43 +0000
3250+++ src/UbuntuToolkit/ucaction_p.h 2016-09-09 22:15:37 +0000
3251@@ -14,17 +14,18 @@
3252 * along with this program. If not, see <http://www.gnu.org/licenses/>.
3253 */
3254
3255-#ifndef UCACTION_H
3256-#define UCACTION_H
3257+#ifndef UCACTION_P_H
3258+#define UCACTION_P_H
3259
3260 #include <QtCore/QObject>
3261+#include <QtCore/QUrl>
3262 #include <QtCore/QVariant>
3263-#include <QtCore/QUrl>
3264 #include <QtGui/QKeySequence>
3265-#include <QtQml>
3266+#include <QtQml/QtQml>
3267 #include <QtQml/QQmlListProperty>
3268 #include <QtQml/private/qpodvector_p.h>
3269-#include "ubuntutoolkitglobal.h"
3270+
3271+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3272
3273 class QQmlComponent;
3274 class QQuickItem;
3275@@ -191,4 +192,4 @@
3276
3277 QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCAction))
3278
3279-#endif // UCACTION_H
3280+#endif // UCACTION_P_H
3281
3282=== modified file 'src/UbuntuToolkit/ucactioncontext.cpp'
3283--- src/UbuntuToolkit/ucactioncontext.cpp 2016-07-07 07:21:48 +0000
3284+++ src/UbuntuToolkit/ucactioncontext.cpp 2016-09-09 22:15:37 +0000
3285@@ -15,9 +15,11 @@
3286 */
3287
3288 #include "ucactioncontext_p.h"
3289+
3290+#include <QtQuick/QQuickItem>
3291+
3292+#include "adapters/actionsproxy_p.h"
3293 #include "ucaction_p.h"
3294-#include "adapters/actionsproxy_p.h"
3295-#include <QtQuick/QQuickItem>
3296
3297 Q_LOGGING_CATEGORY(ucActionContext, "ubuntu.components.ActionContext", QtMsgType::QtWarningMsg)
3298
3299
3300=== modified file 'src/UbuntuToolkit/ucactioncontext_p.h'
3301--- src/UbuntuToolkit/ucactioncontext_p.h 2016-07-07 07:21:48 +0000
3302+++ src/UbuntuToolkit/ucactioncontext_p.h 2016-09-09 22:15:37 +0000
3303@@ -14,15 +14,16 @@
3304 * along with this program. If not, see <http://www.gnu.org/licenses/>.
3305 */
3306
3307-#ifndef UCACTIONCONTEXT_H
3308-#define UCACTIONCONTEXT_H
3309+#ifndef UCACTIONCONTEXT_P_H
3310+#define UCACTIONCONTEXT_P_H
3311
3312 #include <QtCore/QObject>
3313+#include <QtCore/QSet>
3314+#include <QtQml/QtQml>
3315 #include <QtQml/QQmlListProperty>
3316 #include <QtQml/QQmlParserStatus>
3317-#include <QtCore/QSet>
3318-#include <QtQml>
3319-#include "ubuntutoolkitglobal.h"
3320+
3321+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3322
3323 class QQuickItem;
3324
3325@@ -111,4 +112,4 @@
3326 QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCActionContext))
3327 QML_DECLARE_TYPEINFO(UT_PREPEND_NAMESPACE(UCActionContext), QML_HAS_ATTACHED_PROPERTIES)
3328
3329-#endif // UCACTIONCONTEXT_H
3330+#endif // UCACTIONCONTEXT_P_H
3331
3332=== modified file 'src/UbuntuToolkit/ucactionitem.cpp'
3333--- src/UbuntuToolkit/ucactionitem.cpp 2016-07-07 08:42:42 +0000
3334+++ src/UbuntuToolkit/ucactionitem.cpp 2016-09-09 22:15:37 +0000
3335@@ -15,12 +15,14 @@
3336 */
3337
3338 #include "ucactionitem_p_p.h"
3339-#include "ucaction_p.h"
3340-#include "ucstyleditembase_p_p.h"
3341+
3342 #define foreach Q_FOREACH
3343 #include <QtQml/private/qqmlbinding_p.h>
3344 #undef foreach
3345
3346+#include "ucaction_p.h"
3347+#include "ucstyleditembase_p_p.h"
3348+
3349 UT_NAMESPACE_BEGIN
3350
3351 UCActionItemPrivate::UCActionItemPrivate()
3352
3353=== modified file 'src/UbuntuToolkit/ucactionitem_p.h'
3354--- src/UbuntuToolkit/ucactionitem_p.h 2016-07-07 07:21:48 +0000
3355+++ src/UbuntuToolkit/ucactionitem_p.h 2016-09-09 22:15:37 +0000
3356@@ -13,10 +13,11 @@
3357 * You should have received a copy of the GNU Lesser General Public License
3358 * along with this program. If not, see <http://www.gnu.org/licenses/>.
3359 */
3360-#ifndef UCACTIONITEM_H
3361-#define UCACTIONITEM_H
3362-
3363-#include "ucstyleditembase_p.h"
3364+
3365+#ifndef UCACTIONITEM_P_H
3366+#define UCACTIONITEM_P_H
3367+
3368+#include <UbuntuToolkit/private/ucstyleditembase_p.h>
3369
3370 UT_NAMESPACE_BEGIN
3371
3372@@ -79,4 +80,4 @@
3373
3374 UT_NAMESPACE_END
3375
3376-#endif // UCACTIONITEM_H
3377+#endif // UCACTIONITEM_P_H
3378
3379=== modified file 'src/UbuntuToolkit/ucactionitem_p_p.h'
3380--- src/UbuntuToolkit/ucactionitem_p_p.h 2016-07-07 07:21:48 +0000
3381+++ src/UbuntuToolkit/ucactionitem_p_p.h 2016-09-09 22:15:37 +0000
3382@@ -16,11 +16,12 @@
3383 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3384 */
3385
3386-#ifndef UCACTIONITEM_P
3387-#define UCACTIONITEM_P
3388-
3389-#include "ucactionitem_p.h"
3390-#include "ucstyleditembase_p_p.h"
3391+#ifndef UCACTIONITEM_P_P_H
3392+#define UCACTIONITEM_P_P_H
3393+
3394+#include <UbuntuToolkit/private/ucactionitem_p.h>
3395+
3396+#include <UbuntuToolkit/private/ucstyleditembase_p_p.h>
3397
3398 UT_NAMESPACE_BEGIN
3399
3400@@ -61,5 +62,5 @@
3401
3402 UT_NAMESPACE_END
3403
3404-#endif // UCACTIONITEM_P
3405+#endif // UCACTIONITEM_P_P_H
3406
3407
3408=== modified file 'src/UbuntuToolkit/ucactionmanager.cpp'
3409--- src/UbuntuToolkit/ucactionmanager.cpp 2016-07-07 07:21:48 +0000
3410+++ src/UbuntuToolkit/ucactionmanager.cpp 2016-09-09 22:15:37 +0000
3411@@ -15,9 +15,10 @@
3412 */
3413
3414 #include "ucactionmanager_p.h"
3415+
3416 #include "adapters/actionsproxy_p.h"
3417+#include "ucaction_p.h"
3418 #include "ucactioncontext_p.h"
3419-#include "ucaction_p.h"
3420
3421 UT_NAMESPACE_BEGIN
3422
3423
3424=== modified file 'src/UbuntuToolkit/ucactionmanager_p.h'
3425--- src/UbuntuToolkit/ucactionmanager_p.h 2016-07-07 07:21:48 +0000
3426+++ src/UbuntuToolkit/ucactionmanager_p.h 2016-09-09 22:15:37 +0000
3427@@ -14,13 +14,14 @@
3428 * along with this program. If not, see <http://www.gnu.org/licenses/>.
3429 */
3430
3431-#ifndef UCACTIONMANAGER_H
3432-#define UCACTIONMANAGER_H
3433+#ifndef UCACTIONMANAGER_P_H
3434+#define UCACTIONMANAGER_P_H
3435
3436 #include <QtCore/QObject>
3437 #include <QtQml/QQmlListProperty>
3438 #include <QtQml/QQmlParserStatus>
3439-#include "ubuntutoolkitglobal.h"
3440+
3441+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3442
3443 UT_NAMESPACE_BEGIN
3444
3445@@ -65,4 +66,4 @@
3446
3447 UT_NAMESPACE_END
3448
3449-#endif // UCACTIONMANAGER_H
3450+#endif // UCACTIONMANAGER_P_H
3451
3452=== modified file 'src/UbuntuToolkit/ucalarm.cpp'
3453--- src/UbuntuToolkit/ucalarm.cpp 2016-07-07 07:56:34 +0000
3454+++ src/UbuntuToolkit/ucalarm.cpp 2016-09-09 22:15:37 +0000
3455@@ -17,9 +17,11 @@
3456 */
3457
3458 #include "ucalarm_p_p.h"
3459+
3460+#include <QtQml/QQmlInfo>
3461+
3462 #include "alarmmanager_p_p.h"
3463 #include "i18n_p.h"
3464-#include <QtQml/QQmlInfo>
3465
3466 UT_NAMESPACE_BEGIN
3467
3468
3469=== modified file 'src/UbuntuToolkit/ucalarm_p.h'
3470--- src/UbuntuToolkit/ucalarm_p.h 2016-07-07 07:21:48 +0000
3471+++ src/UbuntuToolkit/ucalarm_p.h 2016-09-09 22:15:37 +0000
3472@@ -16,13 +16,14 @@
3473 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3474 */
3475
3476-#ifndef UCALARM_H
3477-#define UCALARM_H
3478+#ifndef UCALARM_P_H
3479+#define UCALARM_P_H
3480
3481+#include <QtCore/QDateTime>
3482 #include <QtCore/QObject>
3483-#include <QtCore/QDateTime>
3484 #include <QtCore/QUrl>
3485-#include "ubuntutoolkitglobal.h"
3486+
3487+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3488
3489 UT_NAMESPACE_BEGIN
3490
3491@@ -143,4 +144,4 @@
3492
3493 UT_NAMESPACE_END
3494
3495-#endif // UUALARM_H
3496+#endif // UUALARM_P_H
3497
3498=== modified file 'src/UbuntuToolkit/ucalarm_p_p.h'
3499--- src/UbuntuToolkit/ucalarm_p_p.h 2016-07-07 07:21:48 +0000
3500+++ src/UbuntuToolkit/ucalarm_p_p.h 2016-09-09 22:15:37 +0000
3501@@ -16,15 +16,17 @@
3502 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3503 */
3504
3505-#ifndef UCALARM_P_H
3506-#define UCALARM_P_H
3507-
3508-#include "ucalarm_p.h"
3509-#include "alarmmanager_p_p.h"
3510+#ifndef UCALARM_P_P_H
3511+#define UCALARM_P_P_H
3512+
3513+#include <UbuntuToolkit/private/ucalarm_p.h>
3514+
3515 #include <QtCore/QDateTime>
3516 #include <QtCore/QPointer>
3517 #include <QtQml/QQmlListProperty>
3518
3519+#include <UbuntuToolkit/private/alarmmanager_p_p.h>
3520+
3521 UT_NAMESPACE_BEGIN
3522
3523 class UBUNTUTOOLKIT_EXPORT UCAlarmPrivate
3524
3525=== modified file 'src/UbuntuToolkit/ucalarmmodel.cpp'
3526--- src/UbuntuToolkit/ucalarmmodel.cpp 2016-07-07 07:21:48 +0000
3527+++ src/UbuntuToolkit/ucalarmmodel.cpp 2016-09-09 22:15:37 +0000
3528@@ -17,11 +17,13 @@
3529 */
3530
3531 #include "ucalarmmodel_p.h"
3532+
3533+#include <QtQml/QQmlEngine>
3534+#include <QtQml/QQmlInfo>
3535+#include <QtQml/QQmlPropertyMap>
3536+
3537+#include "alarmmanager_p_p.h"
3538 #include "ucalarm_p_p.h"
3539-#include "alarmmanager_p_p.h"
3540-#include <QtQml/QQmlPropertyMap>
3541-#include <QtQml/QQmlInfo>
3542-#include <QtQml/QQmlEngine>
3543
3544 UT_NAMESPACE_BEGIN
3545
3546
3547=== modified file 'src/UbuntuToolkit/ucalarmmodel_p.h'
3548--- src/UbuntuToolkit/ucalarmmodel_p.h 2016-07-07 07:21:48 +0000
3549+++ src/UbuntuToolkit/ucalarmmodel_p.h 2016-09-09 22:15:37 +0000
3550@@ -16,12 +16,13 @@
3551 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3552 */
3553
3554-#ifndef UCALARMSMODEL_H
3555-#define UCALARMSMODEL_H
3556+#ifndef UCALARMSMODEL_P_H
3557+#define UCALARMSMODEL_P_H
3558
3559 #include <QtCore/QAbstractListModel>
3560 #include <QtQml/QQmlParserStatus>
3561-#include "ucalarm_p_p.h"
3562+
3563+#include <UbuntuToolkit/private/ucalarm_p_p.h>
3564
3565 UT_NAMESPACE_BEGIN
3566
3567@@ -72,4 +73,4 @@
3568
3569 UT_NAMESPACE_END
3570
3571-#endif // UCALARMSMODEL_H
3572+#endif // UCALARMSMODEL_P_H
3573
3574=== modified file 'src/UbuntuToolkit/ucapplication.cpp'
3575--- src/UbuntuToolkit/ucapplication.cpp 2016-07-07 07:21:48 +0000
3576+++ src/UbuntuToolkit/ucapplication.cpp 2016-09-09 22:15:37 +0000
3577@@ -19,11 +19,11 @@
3578 #include "ucapplication_p.h"
3579
3580 #include <QtCore/QCoreApplication>
3581-#include <QDebug>
3582+#include <QtCore/QDebug>
3583+#include <QtCore/QStandardPaths>
3584+#include <QtGui/QGuiApplication>
3585 #include <QtQml/QQmlContext>
3586 #include <QtQml/QQmlEngine>
3587-#include <QtCore/QStandardPaths>
3588-#include <QtGui/QGuiApplication>
3589
3590 UT_NAMESPACE_BEGIN
3591
3592
3593=== modified file 'src/UbuntuToolkit/ucapplication_p.h'
3594--- src/UbuntuToolkit/ucapplication_p.h 2016-07-07 07:21:48 +0000
3595+++ src/UbuntuToolkit/ucapplication_p.h 2016-09-09 22:15:37 +0000
3596@@ -16,11 +16,12 @@
3597 * Author: Christian Dywan <christian.dywan@canonical.om>
3598 */
3599
3600-#ifndef UBUNTU_COMPONENTS_APPLICATION_H
3601-#define UBUNTU_COMPONENTS_APPLICATION_H
3602+#ifndef UCAPPLICATION_P_H
3603+#define UCAPPLICATION_P_H
3604
3605 #include <QtCore/QObject>
3606-#include "ubuntutoolkitglobal.h"
3607+
3608+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3609
3610 class QQmlContext;
3611 class QQmlEngine;
3612@@ -70,4 +71,4 @@
3613
3614 UT_NAMESPACE_END
3615
3616-#endif // UBUNTU_COMPONENTS_I18N_H
3617+#endif // UCAPPLICATION_P_H
3618
3619=== modified file 'src/UbuntuToolkit/ucargument_p.h'
3620--- src/UbuntuToolkit/ucargument_p.h 2016-07-07 07:21:48 +0000
3621+++ src/UbuntuToolkit/ucargument_p.h 2016-09-09 22:15:37 +0000
3622@@ -16,13 +16,14 @@
3623 * Author: Florian Boucault <florian.boucault@canonical.com>
3624 */
3625
3626-#ifndef UCARGUMENT_H
3627-#define UCARGUMENT_H
3628+#ifndef UCARGUMENT_P_H
3629+#define UCARGUMENT_P_H
3630
3631 #include <QtCore/QObject>
3632 #include <QtCore/QStringList>
3633 #include <QtCore/QVariant>
3634-#include "ubuntutoolkitglobal.h"
3635+
3636+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3637
3638 UT_NAMESPACE_BEGIN
3639
3640@@ -75,4 +76,4 @@
3641
3642 UT_NAMESPACE_END
3643
3644-#endif // UCARGUMENT_H
3645+#endif // UCARGUMENT_P_H
3646
3647=== modified file 'src/UbuntuToolkit/ucarguments.cpp'
3648--- src/UbuntuToolkit/ucarguments.cpp 2016-07-07 07:21:48 +0000
3649+++ src/UbuntuToolkit/ucarguments.cpp 2016-09-09 22:15:37 +0000
3650@@ -17,13 +17,15 @@
3651 */
3652
3653 #include "ucarguments_p.h"
3654-#include "i18n_p.h"
3655+
3656 #include <QtCore/QCoreApplication>
3657 #include <QtCore/QDebug>
3658+#include <QtCore/QFileInfo>
3659 #include <QtCore/QTextStream>
3660-#include <QtCore/QFileInfo>
3661+#include <QtQml/QtQml>
3662 #include <QtQml/QQmlProperty>
3663-#include <QtQml/qqml.h>
3664+
3665+#include "i18n_p.h"
3666
3667 UT_NAMESPACE_BEGIN
3668
3669
3670=== modified file 'src/UbuntuToolkit/ucarguments_p.h'
3671--- src/UbuntuToolkit/ucarguments_p.h 2016-07-07 07:21:48 +0000
3672+++ src/UbuntuToolkit/ucarguments_p.h 2016-09-09 22:15:37 +0000
3673@@ -16,17 +16,18 @@
3674 * Author: Florian Boucault <florian.boucault@canonical.com>
3675 */
3676
3677-#ifndef UCARGUMENTS_H
3678-#define UCARGUMENTS_H
3679+#ifndef UCARGUMENTS_P_H
3680+#define UCARGUMENTS_P_H
3681
3682-#include "ucargument_p.h"
3683+#include <QtCore/QHash>
3684+#include <QtCore/QList>
3685 #include <QtCore/QObject>
3686-#include <QtCore/QList>
3687 #include <QtCore/QStringList>
3688-#include <QtCore/QHash>
3689-#include <QtQml/QQmlPropertyMap>
3690 #include <QtQml/QQmlListProperty>
3691 #include <QtQml/QQmlParserStatus>
3692+#include <QtQml/QQmlPropertyMap>
3693+
3694+#include <UbuntuToolkit/private/ucargument_p.h>
3695
3696 UT_NAMESPACE_BEGIN
3697
3698
3699=== modified file 'src/UbuntuToolkit/ucbottomedge.cpp'
3700--- src/UbuntuToolkit/ucbottomedge.cpp 2016-08-14 09:06:34 +0000
3701+++ src/UbuntuToolkit/ucbottomedge.cpp 2016-09-09 22:15:37 +0000
3702@@ -17,24 +17,25 @@
3703 */
3704
3705 #include "ucbottomedge_p_p.h"
3706+
3707+#include <QtCore/QtMath>
3708+#include <QtGui/QGuiApplication>
3709+#include <QtGui/QScreen>
3710+#include <QtGui/QStyleHints>
3711+#include <QtQml/QQmlEngine>
3712+#include <QtQml/QQmlProperty>
3713+#include <QtQuick/private/qquickanimation_p.h>
3714+#include <QtQuick/private/qquickflickable_p.h>
3715+#include <QtQuick/private/qquickitem_p.h>
3716+#include <UbuntuGestures/private/ucswipearea_p_p.h>
3717+
3718 #include "ucbottomedgestyle_p.h"
3719 #include "ucbottomedgeregion_p_p.h"
3720 #include "ucbottomedgehint_p_p.h"
3721 #include "ucstyleditembase_p_p.h"
3722-#include <QtCore/QtMath>
3723-#include <QtQml/QQmlEngine>
3724-#include <QtGui/QScreen>
3725-#include <QtQml/QQmlProperty>
3726-#include <QtGui/QGuiApplication>
3727-#include <QtGui/QStyleHints>
3728-#include <QtQuick/private/qquickitem_p.h>
3729-#include <QtQuick/private/qquickflickable_p.h>
3730-
3731 #include "ucheader_p.h"
3732 #include "ucaction_p.h"
3733 #include "quickutils_p.h"
3734-#include "private/ucswipearea_p_p.h"
3735-#include <QtQuick/private/qquickanimation_p.h>
3736
3737 Q_LOGGING_CATEGORY(ucBottomEdge, "ubuntu.components.BottomEdge", QtMsgType::QtWarningMsg)
3738
3739
3740=== modified file 'src/UbuntuToolkit/ucbottomedge_p.h'
3741--- src/UbuntuToolkit/ucbottomedge_p.h 2016-07-07 07:21:48 +0000
3742+++ src/UbuntuToolkit/ucbottomedge_p.h 2016-09-09 22:15:37 +0000
3743@@ -16,13 +16,14 @@
3744 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3745 */
3746
3747-#ifndef UCBOTTOMEDGE_H
3748-#define UCBOTTOMEDGE_H
3749+#ifndef UCBOTTOMEDGE_P_H
3750+#define UCBOTTOMEDGE_P_H
3751
3752-#include "ucstyleditembase_p.h"
3753+#include <QtCore/QLoggingCategory>
3754 #include <QtCore/QPointer>
3755 #include <QtQuick/private/qquickitemchangelistener_p.h>
3756-#include <QtCore/QLoggingCategory>
3757+
3758+#include <UbuntuToolkit/private/ucstyleditembase_p.h>
3759
3760 class QQuickAbstractAnimation;
3761
3762@@ -129,4 +130,4 @@
3763
3764 #define LOG qCDebug(ucBottomEdge) << "[BottomEdge]"
3765
3766-#endif // UCBOTTOMEDGE_H
3767+#endif // UCBOTTOMEDGE_P_H
3768
3769=== modified file 'src/UbuntuToolkit/ucbottomedge_p_p.h'
3770--- src/UbuntuToolkit/ucbottomedge_p_p.h 2016-07-07 07:21:48 +0000
3771+++ src/UbuntuToolkit/ucbottomedge_p_p.h 2016-09-09 22:15:37 +0000
3772@@ -16,12 +16,13 @@
3773 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3774 */
3775
3776-#ifndef UCBOTTOMEDGE_P_H
3777-#define UCBOTTOMEDGE_P_H
3778-
3779-#include "ucbottomedge_p.h"
3780-#include "ucstyleditembase_p_p.h"
3781-#include "ucaction_p.h"
3782+#ifndef UCBOTTOMEDGE_P_P_H
3783+#define UCBOTTOMEDGE_P_P_H
3784+
3785+#include <UbuntuToolkit/private/ucbottomedge_p.h>
3786+
3787+#include <UbuntuToolkit/private/ucstyleditembase_p_p.h>
3788+#include <UbuntuToolkit/private/ucaction_p.h>
3789
3790 UT_NAMESPACE_BEGIN
3791
3792@@ -116,4 +117,4 @@
3793
3794 UT_NAMESPACE_END
3795
3796-#endif // UCBOTTOMEDGE_P_H
3797+#endif // UCBOTTOMEDGE_P_P_H
3798
3799=== modified file 'src/UbuntuToolkit/ucbottomedgehint.cpp'
3800--- src/UbuntuToolkit/ucbottomedgehint.cpp 2016-07-07 07:21:48 +0000
3801+++ src/UbuntuToolkit/ucbottomedgehint.cpp 2016-09-09 22:15:37 +0000
3802@@ -17,14 +17,16 @@
3803 */
3804
3805 #include "ucbottomedgehint_p_p.h"
3806+
3807+#include <QtQml/private/qqmlproperty_p.h>
3808+#include <QtQuick/private/qquickflickable_p.h>
3809+#include <UbuntuGestures/private/ucswipearea_p_p.h>
3810+
3811+#include "propertychange_p.h"
3812+#include "quickutils_p.h"
3813+#include "ucaction_p.h"
3814 #include "ucstyleditembase_p_p.h"
3815-#include "quickutils_p.h"
3816 #include "ucunits_p.h"
3817-#include "ucaction_p.h"
3818-#include "private/ucswipearea_p_p.h"
3819-#include <propertychange_p.h>
3820-#include <QtQml/private/qqmlproperty_p.h>
3821-#include <QtQuick/private/qquickflickable_p.h>
3822
3823 #define SWIPE_AREA_HEIGHT_GU 3
3824
3825
3826=== modified file 'src/UbuntuToolkit/ucbottomedgehint_p.h'
3827--- src/UbuntuToolkit/ucbottomedgehint_p.h 2016-07-07 07:21:48 +0000
3828+++ src/UbuntuToolkit/ucbottomedgehint_p.h 2016-09-09 22:15:37 +0000
3829@@ -16,11 +16,12 @@
3830 * Authors: Zsombor Egri <zsombor.egri@canonical.com>
3831 */
3832
3833-#ifndef UCBOTTOMEDGEHINT_H
3834-#define UCBOTTOMEDGEHINT_H
3835-
3836-#include "ucactionitem_p.h"
3837-#include <ubuntugesturesglobal.h>
3838+#ifndef UCBOTTOMEDGEHINT_P_H
3839+#define UCBOTTOMEDGEHINT_P_H
3840+
3841+#include <UbuntuGestures/ubuntugesturesglobal.h>
3842+
3843+#include <UbuntuToolkit/private/ucactionitem_p.h>
3844
3845 class QQuickFlickable;
3846 UG_FORWARD_DECLARE_CLASS(UCSwipeArea)
3847@@ -102,4 +103,4 @@
3848
3849 UT_NAMESPACE_END
3850
3851-#endif // UCBOTTOMEDGEHINT_H
3852+#endif // UCBOTTOMEDGEHINT_P_H
3853
3854=== modified file 'src/UbuntuToolkit/ucbottomedgehint_p_p.h'
3855--- src/UbuntuToolkit/ucbottomedgehint_p_p.h 2016-07-07 07:21:48 +0000
3856+++ src/UbuntuToolkit/ucbottomedgehint_p_p.h 2016-09-09 22:15:37 +0000
3857@@ -16,12 +16,12 @@
3858 * Authors: Zsombor Egri <zsombor.egri@canonical.com>
3859 */
3860
3861-#ifndef UCBOTTOMEDGEHINT_P
3862-#define UCBOTTOMEDGEHINT_P
3863-
3864-#include "ucbottomedgehint_p.h"
3865-#include "ucactionitem_p_p.h"
3866-#include <ubuntugesturesglobal.h>
3867+#ifndef UCBOTTOMEDGEHINT_P_P_H
3868+#define UCBOTTOMEDGEHINT_P_P_H
3869+
3870+#include <UbuntuToolkit/private/ucbottomedgehint_p.h>
3871+
3872+#include <UbuntuToolkit/private/ucactionitem_p_p.h>
3873
3874 UG_FORWARD_DECLARE_CLASS(UCSwipeArea)
3875
3876@@ -50,4 +50,4 @@
3877
3878 UT_NAMESPACE_END
3879
3880-#endif // UCBOTTOMEDGEHINT_P
3881+#endif // UCBOTTOMEDGEHINT_P_P_H
3882
3883=== modified file 'src/UbuntuToolkit/ucbottomedgeregion.cpp'
3884--- src/UbuntuToolkit/ucbottomedgeregion.cpp 2016-07-19 18:12:33 +0000
3885+++ src/UbuntuToolkit/ucbottomedgeregion.cpp 2016-09-09 22:15:37 +0000
3886@@ -16,11 +16,12 @@
3887 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3888 */
3889
3890-#include "ucbottomedge_p_p.h"
3891 #include "ucbottomedgeregion_p_p.h"
3892-#include <propertychange_p.h>
3893+
3894 #include <QtQml/private/qqmlproperty_p.h>
3895
3896+#include "propertychange_p.h"
3897+#include "ucbottomedge_p_p.h"
3898
3899 UT_NAMESPACE_BEGIN
3900
3901
3902=== modified file 'src/UbuntuToolkit/ucbottomedgeregion_p.h'
3903--- src/UbuntuToolkit/ucbottomedgeregion_p.h 2016-07-07 07:21:48 +0000
3904+++ src/UbuntuToolkit/ucbottomedgeregion_p.h 2016-09-09 22:15:37 +0000
3905@@ -16,15 +16,16 @@
3906 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3907 */
3908
3909-#ifndef UCBOTTOMEDGEREGION_H
3910-#define UCBOTTOMEDGEREGION_H
3911+#ifndef UCBOTTOMEDGEREGION_P_H
3912+#define UCBOTTOMEDGEREGION_P_H
3913
3914 #include <QtCore/QObject>
3915-#include <QtQml/QQmlParserStatus>
3916+#include <QtCore/QPointer>
3917 #include <QtCore/QUrl>
3918-#include <QtCore/QPointer>
3919 #include <QtQml/QQmlIncubator>
3920-#include <ubuntutoolkitglobal.h>
3921+#include <QtQml/QQmlParserStatus>
3922+
3923+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3924
3925 class QQmlComponent;
3926
3927@@ -85,4 +86,4 @@
3928
3929 UT_NAMESPACE_END
3930
3931-#endif // UCBOTTOMEDGEREGION_H
3932+#endif // UCBOTTOMEDGEREGION_P_H
3933
3934=== modified file 'src/UbuntuToolkit/ucbottomedgeregion_p_p.h'
3935--- src/UbuntuToolkit/ucbottomedgeregion_p_p.h 2016-07-07 15:33:34 +0000
3936+++ src/UbuntuToolkit/ucbottomedgeregion_p_p.h 2016-09-09 22:15:37 +0000
3937@@ -16,12 +16,14 @@
3938 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3939 */
3940
3941-#ifndef UCBOTTOMEDGEREGION_P
3942-#define UCBOTTOMEDGEREGION_P
3943-
3944-#include "ucbottomedgeregion_p.h"
3945+#ifndef UCBOTTOMEDGEREGION_P_P_H
3946+#define UCBOTTOMEDGEREGION_P_P_H
3947+
3948+#include <UbuntuToolkit/private/ucbottomedgeregion_p.h>
3949+
3950+#include <QtCore/private/qobject_p.h>
3951+
3952 #include <UbuntuToolkit/private/asyncloader_p_p.h>
3953-#include <QtCore/private/qobject_p.h>
3954
3955 UT_NAMESPACE_BEGIN
3956
3957@@ -82,4 +84,4 @@
3958
3959 UT_NAMESPACE_END
3960
3961-#endif // UCBOTTOMEDGEREGION_P
3962+#endif // UCBOTTOMEDGEREGION_P_P_H
3963
3964=== modified file 'src/UbuntuToolkit/ucbottomedgestyle.cpp'
3965--- src/UbuntuToolkit/ucbottomedgestyle.cpp 2016-07-07 07:21:48 +0000
3966+++ src/UbuntuToolkit/ucbottomedgestyle.cpp 2016-09-09 22:15:37 +0000
3967@@ -17,6 +17,7 @@
3968 */
3969
3970 #include "ucbottomedgestyle_p.h"
3971+
3972 #include "ucbottomedge_p_p.h"
3973
3974 UT_NAMESPACE_BEGIN
3975
3976=== modified file 'src/UbuntuToolkit/ucbottomedgestyle_p.h'
3977--- src/UbuntuToolkit/ucbottomedgestyle_p.h 2016-07-07 07:21:48 +0000
3978+++ src/UbuntuToolkit/ucbottomedgestyle_p.h 2016-09-09 22:15:37 +0000
3979@@ -16,11 +16,12 @@
3980 * Author: Zsombor Egri <zsombor.egri@canonical.com>
3981 */
3982
3983-#ifndef UCBOTTOMEDGESTYLE_H
3984-#define UCBOTTOMEDGESTYLE_H
3985+#ifndef UCBOTTOMEDGESTYLE_P_H
3986+#define UCBOTTOMEDGESTYLE_P_H
3987
3988 #include <QtQuick/QQuickItem>
3989-#include "ubuntutoolkitglobal.h"
3990+
3991+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
3992
3993 class QQuickItem;
3994 class QQuickAbstractAnimation;
3995@@ -63,4 +64,4 @@
3996
3997 UT_NAMESPACE_END
3998
3999-#endif // UCBOTTOMEDGESTYLE_H
4000+#endif // UCBOTTOMEDGESTYLE_P_H
4001
4002=== modified file 'src/UbuntuToolkit/ucdefaulttheme.cpp'
4003--- src/UbuntuToolkit/ucdefaulttheme.cpp 2016-07-07 07:21:48 +0000
4004+++ src/UbuntuToolkit/ucdefaulttheme.cpp 2016-09-09 22:15:37 +0000
4005@@ -18,13 +18,14 @@
4006 */
4007
4008 #include "ucdefaulttheme_p.h"
4009-#include "uctheme_p.h"
4010
4011-#include <QDebug>
4012+#include <QtCore/QDebug>
4013 #include <QtCore/QDir>
4014 #include <QtCore/QFile>
4015 #include <QtCore/QStandardPaths>
4016
4017+#include "uctheme_p.h"
4018+
4019 UT_NAMESPACE_BEGIN
4020
4021 /*
4022
4023=== modified file 'src/UbuntuToolkit/ucdefaulttheme_p.h'
4024--- src/UbuntuToolkit/ucdefaulttheme_p.h 2016-07-07 07:21:48 +0000
4025+++ src/UbuntuToolkit/ucdefaulttheme_p.h 2016-09-09 22:15:37 +0000
4026@@ -17,13 +17,14 @@
4027 * Florian Boucault <florian.boucault@canonical.com>
4028 */
4029
4030-#ifndef UCDEFAULTTHEME_H
4031-#define UCDEFAULTTHEME_H
4032+#ifndef UCDEFAULTTHEME_P_H
4033+#define UCDEFAULTTHEME_P_H
4034
4035 #include <QtCore/QFileSystemWatcher>
4036+#include <QtCore/QObject>
4037 #include <QtCore/QSettings>
4038-#include <QtCore/QObject>
4039-#include <ubuntutoolkitglobal.h>
4040+
4041+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4042
4043 UT_NAMESPACE_BEGIN
4044
4045@@ -52,4 +53,4 @@
4046
4047 UT_NAMESPACE_END
4048
4049-#endif // UCDEFAULTTHEME_H
4050+#endif // UCDEFAULTTHEME_P_H
4051
4052=== modified file 'src/UbuntuToolkit/ucdeprecatedtheme.cpp'
4053--- src/UbuntuToolkit/ucdeprecatedtheme.cpp 2016-07-07 07:21:48 +0000
4054+++ src/UbuntuToolkit/ucdeprecatedtheme.cpp 2016-09-09 22:15:37 +0000
4055@@ -17,13 +17,15 @@
4056 */
4057
4058 #include "ucdeprecatedtheme_p.h"
4059-#include "uctheme_p.h"
4060-#include "quickutils_p.h"
4061-#include "listener_p.h"
4062+
4063 #include <QtQml/QQmlComponent>
4064 #include <QtQml/QQmlContext>
4065+#include <QtQml/QQmlEngine>
4066 #include <QtQml/QQmlInfo>
4067-#include <QtQml/QQmlEngine>
4068+
4069+#include "listener_p.h"
4070+#include "quickutils_p.h"
4071+#include "uctheme_p.h"
4072
4073 UT_NAMESPACE_BEGIN
4074
4075
4076=== modified file 'src/UbuntuToolkit/ucdeprecatedtheme_p.h'
4077--- src/UbuntuToolkit/ucdeprecatedtheme_p.h 2016-07-07 07:21:48 +0000
4078+++ src/UbuntuToolkit/ucdeprecatedtheme_p.h 2016-09-09 22:15:37 +0000
4079@@ -16,12 +16,13 @@
4080 * Authors: Zsombor Egri <zsombor.egri@canonical.com>
4081 */
4082
4083-#ifndef UCDEPRECATEDTHEME_H
4084-#define UCDEPRECATEDTHEME_H
4085+#ifndef UCDEPRECATEDTHEME_P_H
4086+#define UCDEPRECATEDTHEME_P_H
4087
4088+#include <QtCore/QHash>
4089 #include <QtCore/QObject>
4090-#include <QtCore/QHash>
4091-#include <ubuntutoolkitglobal.h>
4092+
4093+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4094
4095 class QQmlComponent;
4096 class QQmlContext;
4097@@ -59,4 +60,4 @@
4098
4099 UT_NAMESPACE_END
4100
4101-#endif // UCDEPRECATEDTHEME_H
4102+#endif // UCDEPRECATEDTHEME_P_H
4103
4104=== modified file 'src/UbuntuToolkit/ucfontutils.cpp'
4105--- src/UbuntuToolkit/ucfontutils.cpp 2016-07-07 07:21:48 +0000
4106+++ src/UbuntuToolkit/ucfontutils.cpp 2016-09-09 22:15:37 +0000
4107@@ -12,10 +12,10 @@
4108 *
4109 * You should have received a copy of the GNU Lesser General Public License
4110 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4111- *
4112 */
4113
4114 #include "ucfontutils_p.h"
4115+
4116 #include "ucunits_p.h"
4117
4118 UT_NAMESPACE_BEGIN
4119
4120=== modified file 'src/UbuntuToolkit/ucfontutils_p.h'
4121--- src/UbuntuToolkit/ucfontutils_p.h 2016-07-07 07:21:48 +0000
4122+++ src/UbuntuToolkit/ucfontutils_p.h 2016-09-09 22:15:37 +0000
4123@@ -12,14 +12,14 @@
4124 *
4125 * You should have received a copy of the GNU Lesser General Public License
4126 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4127- *
4128 */
4129
4130-#ifndef UCFONTUTILS_H
4131-#define UCFONTUTILS_H
4132+#ifndef UCFONTUTILS_P_H
4133+#define UCFONTUTILS_P_H
4134
4135 #include <QtCore/QObject>
4136-#include <ubuntutoolkitglobal.h>
4137+
4138+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4139
4140 UT_NAMESPACE_BEGIN
4141
4142@@ -68,4 +68,4 @@
4143 #define SCALE_XSMALL 0x6d732d78 // "x-sm"
4144 #define SCALE_XXSMALL 0x732d7878 // "xx-s"
4145
4146-#endif // UCFONTUTILS_H
4147+#endif // UCFONTUTILS_P_H
4148
4149=== modified file 'src/UbuntuToolkit/uchaptics.cpp'
4150--- src/UbuntuToolkit/uchaptics.cpp 2016-07-07 07:21:48 +0000
4151+++ src/UbuntuToolkit/uchaptics.cpp 2016-09-09 22:15:37 +0000
4152@@ -15,9 +15,11 @@
4153 */
4154
4155 #include "uchaptics_p.h"
4156+
4157+#include <QtCore/QUrl>
4158+#include <QtCore/QDebug>
4159 #include <QtQml/QQmlComponent>
4160-#include <QtCore/QUrl>
4161-#include <QDebug>
4162+
4163 #include "ubuntutoolkitmodule.h"
4164
4165 UT_NAMESPACE_BEGIN
4166
4167=== modified file 'src/UbuntuToolkit/uchaptics_p.h'
4168--- src/UbuntuToolkit/uchaptics_p.h 2016-07-07 07:21:48 +0000
4169+++ src/UbuntuToolkit/uchaptics_p.h 2016-09-09 22:15:37 +0000
4170@@ -14,13 +14,14 @@
4171 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4172 */
4173
4174-#ifndef UCHAPTICS_H
4175-#define UCHAPTICS_H
4176+#ifndef UCHAPTICS_P_H
4177+#define UCHAPTICS_P_H
4178
4179 #include <QtCore/QObject>
4180 #include <QtCore/QVariant>
4181 #include <QtQml/QQmlEngine>
4182-#include <ubuntutoolkitglobal.h>
4183+
4184+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4185
4186 class QQmlEngine;
4187 UT_NAMESPACE_BEGIN
4188
4189=== modified file 'src/UbuntuToolkit/ucheader.cpp'
4190--- src/UbuntuToolkit/ucheader.cpp 2016-07-07 07:21:48 +0000
4191+++ src/UbuntuToolkit/ucheader.cpp 2016-09-09 22:15:37 +0000
4192@@ -15,10 +15,12 @@
4193 */
4194
4195 #include "ucheader_p.h"
4196-#include <QDebug>
4197-#include <QtQuick/private/qquickflickable_p.h>
4198+
4199+#include <QtCore/QDebug>
4200 #include <QtQuick/private/qquickanchors_p.h>
4201 #include <QtQuick/private/qquickanimation_p.h>
4202+#include <QtQuick/private/qquickflickable_p.h>
4203+
4204 #include "ucubuntuanimation_p.h"
4205 #include "ucunits_p.h"
4206
4207
4208=== modified file 'src/UbuntuToolkit/ucheader_p.h'
4209--- src/UbuntuToolkit/ucheader_p.h 2016-07-07 07:21:48 +0000
4210+++ src/UbuntuToolkit/ucheader_p.h 2016-09-09 22:15:37 +0000
4211@@ -14,12 +14,13 @@
4212 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4213 */
4214
4215-#ifndef UCHEADER_H
4216-#define UCHEADER_H
4217+#ifndef UCHEADER_P_H
4218+#define UCHEADER_P_H
4219
4220-#include "ucstyleditembase_p.h"
4221 #include <QtCore/QPointer>
4222
4223+#include <UbuntuToolkit/private/ucstyleditembase_p.h>
4224+
4225 class QQuickFlickable;
4226 class QQuickNumberAnimation;
4227
4228@@ -80,4 +81,4 @@
4229
4230 UT_NAMESPACE_END
4231
4232-#endif // UCHEADER_H
4233+#endif // UCHEADER_P_H
4234
4235=== modified file 'src/UbuntuToolkit/ucimportversionchecker_p.cpp'
4236--- src/UbuntuToolkit/ucimportversionchecker_p.cpp 2016-06-17 11:26:12 +0000
4237+++ src/UbuntuToolkit/ucimportversionchecker_p.cpp 2016-09-09 22:15:37 +0000
4238@@ -18,11 +18,11 @@
4239
4240 #include "ucimportversionchecker_p.h"
4241
4242-#include <QtQuick>
4243+#include <QtQml/private/qqmlcontext_p.h>
4244 #include <QtQml/private/qqmldata_p.h>
4245-#include <QtQml/private/qqmlcontext_p.h>
4246+#include <QtQml/private/qqmlmetatype_p.h>
4247 #include <QtQml/private/qqmlpropertycache_p.h>
4248-#include <QtQml/private/qqmlmetatype_p.h>
4249+#include <QtQuick/QtQuick>
4250
4251 UT_NAMESPACE_BEGIN
4252
4253
4254=== modified file 'src/UbuntuToolkit/ucimportversionchecker_p.h'
4255--- src/UbuntuToolkit/ucimportversionchecker_p.h 2016-07-06 09:51:06 +0000
4256+++ src/UbuntuToolkit/ucimportversionchecker_p.h 2016-09-09 22:15:37 +0000
4257@@ -19,8 +19,9 @@
4258 #ifndef UCIMPORTVERSIONCHECKER_P_H
4259 #define UCIMPORTVERSIONCHECKER_P_H
4260
4261-#include <QtCore>
4262-#include <ubuntutoolkitglobal.h>
4263+#include <QtCore/QtCore>
4264+
4265+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4266
4267 UT_NAMESPACE_BEGIN
4268
4269
4270=== modified file 'src/UbuntuToolkit/ucinversemouse_p.h'
4271--- src/UbuntuToolkit/ucinversemouse_p.h 2016-07-07 07:21:48 +0000
4272+++ src/UbuntuToolkit/ucinversemouse_p.h 2016-09-09 22:15:37 +0000
4273@@ -12,15 +12,15 @@
4274 *
4275 * You should have received a copy of the GNU Lesser General Public License
4276 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4277- *
4278 */
4279
4280-#ifndef UCINVERSEMOUSE_H
4281-#define UCINVERSEMOUSE_H
4282-
4283-#include "ucmouse_p.h"
4284-#include <QtQml>
4285-#include <ubuntutoolkitglobal.h>
4286+#ifndef UCINVERSEMOUSE_P_H
4287+#define UCINVERSEMOUSE_P_H
4288+
4289+#include <QtQml/QtQml>
4290+
4291+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4292+#include <UbuntuToolkit/private/ucmouse_p.h>
4293
4294 UT_NAMESPACE_BEGIN
4295
4296@@ -52,4 +52,4 @@
4297 QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCInverseMouse))
4298 QML_DECLARE_TYPEINFO(UT_PREPEND_NAMESPACE(UCInverseMouse), QML_HAS_ATTACHED_PROPERTIES)
4299
4300-#endif // UCINVERSEMOUSE_H
4301+#endif // UCINVERSEMOUSE_P_H
4302
4303=== modified file 'src/UbuntuToolkit/uclabel.cpp'
4304--- src/UbuntuToolkit/uclabel.cpp 2016-07-07 08:42:42 +0000
4305+++ src/UbuntuToolkit/uclabel.cpp 2016-09-09 22:15:37 +0000
4306@@ -15,10 +15,11 @@
4307 */
4308
4309 #include "label_p.h"
4310+
4311+#include "quickutils_p.h"
4312 #include "ucfontutils_p.h"
4313+#include "uctheme_p.h"
4314 #include "ucunits_p.h"
4315-#include "uctheme_p.h"
4316-#include <quickutils_p.h>
4317
4318 UT_NAMESPACE_BEGIN
4319
4320
4321=== modified file 'src/UbuntuToolkit/uclabel_p.h'
4322--- src/UbuntuToolkit/uclabel_p.h 2016-07-07 07:21:48 +0000
4323+++ src/UbuntuToolkit/uclabel_p.h 2016-09-09 22:15:37 +0000
4324@@ -14,14 +14,15 @@
4325 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4326 */
4327
4328-#ifndef UCLABEL_H
4329-#define UCLABEL_H
4330+#ifndef UCLABEL_P_H
4331+#define UCLABEL_P_H
4332+
4333+#include <functional> // std::function
4334
4335 #include <QtQuick/private/qquicktext_p.h>
4336-#include "ucthemingextension_p.h"
4337-// C++ std lib for std::function declaration
4338-#include <functional>
4339-#include <ubuntutoolkitglobal.h>
4340+
4341+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4342+#include <UbuntuToolkit/private/ucthemingextension_p.h>
4343
4344 UT_NAMESPACE_BEGIN
4345
4346@@ -101,4 +102,4 @@
4347
4348 QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCLabel))
4349
4350-#endif // UCLABEL_H
4351+#endif // UCLABEL_P_H
4352
4353=== modified file 'src/UbuntuToolkit/uclistitem.cpp'
4354--- src/UbuntuToolkit/uclistitem.cpp 2016-08-22 13:37:46 +0000
4355+++ src/UbuntuToolkit/uclistitem.cpp 2016-09-09 22:15:37 +0000
4356@@ -14,31 +14,33 @@
4357 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4358 */
4359
4360-#include "ucunits_p.h"
4361-#include "uctheme_p.h"
4362 #include "uclistitem_p_p.h"
4363-#include "uclistitemactions_p_p.h"
4364-#include "privates/listitemselection_p.h"
4365-#include "ucubuntuanimation_p.h"
4366-#include <propertychange_p.h>
4367-#include "i18n_p.h"
4368-#include "quickutils_p.h"
4369-#include "ucaction_p.h"
4370-#include "privates/listviewextensions_p.h"
4371-#include <QtQml/QQmlInfo>
4372-#include <QtQuick/private/qquickitem_p.h>
4373-#include <QtQuick/private/qquickflickable_p.h>
4374-#include <QtQuick/private/qquickpositioners_p.h>
4375+
4376+#include <QtCore/QFileInfo>
4377+#include <QtCore/QLibraryInfo>
4378 #include <QtGui/QGuiApplication>
4379 #include <QtGui/QStyleHints>
4380+#include <QtQml/QQmlEngine>
4381+#include <QtQml/QQmlInfo>
4382 #include <QtQuick/private/qquickanimation_p.h>
4383+#include <QtQuick/private/qquickbehavior_p.h>
4384+#include <QtQuick/private/qquickflickable_p.h>
4385+#include <QtQuick/private/qquickitem_p.h>
4386 #include <QtQuick/private/qquickmousearea_p.h>
4387+#include <QtQuick/private/qquickpositioners_p.h>
4388+
4389+#include "i18n_p.h"
4390+#include "privates/listitemselection_p.h"
4391+#include "privates/listviewextensions_p.h"
4392+#include "propertychange_p.h"
4393+#include "quickutils_p.h"
4394+#include "ubuntutoolkitmodule.h"
4395+#include "ucaction_p.h"
4396+#include "uclistitemactions_p_p.h"
4397 #include "uclistitemstyle_p.h"
4398-#include <QtQuick/private/qquickbehavior_p.h>
4399-#include <QtQml/QQmlEngine>
4400-#include <QFileInfo>
4401-#include <QLibraryInfo>
4402-#include <ubuntutoolkitmodule.h>
4403+#include "uctheme_p.h"
4404+#include "ucubuntuanimation_p.h"
4405+#include "ucunits_p.h"
4406
4407 UT_NAMESPACE_BEGIN
4408
4409
4410=== modified file 'src/UbuntuToolkit/uclistitem_p.h'
4411--- src/UbuntuToolkit/uclistitem_p.h 2016-07-07 07:21:48 +0000
4412+++ src/UbuntuToolkit/uclistitem_p.h 2016-09-09 22:15:37 +0000
4413@@ -14,11 +14,12 @@
4414 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4415 */
4416
4417-#ifndef UCLISTITEM_H
4418-#define UCLISTITEM_H
4419+#ifndef UCLISTITEM_P_H
4420+#define UCLISTITEM_P_H
4421
4422 #include <QtQuick/QQuickItem>
4423-#include "ucstyleditembase_p.h"
4424+
4425+#include <UbuntuToolkit/private/ucstyleditembase_p.h>
4426
4427 UT_NAMESPACE_BEGIN
4428
4429@@ -320,4 +321,4 @@
4430
4431 UT_NAMESPACE_END
4432
4433-#endif // UCLISTITEM_H
4434+#endif // UCLISTITEM_P_H
4435
4436=== modified file 'src/UbuntuToolkit/uclistitem_p_p.h'
4437--- src/UbuntuToolkit/uclistitem_p_p.h 2016-07-07 07:21:48 +0000
4438+++ src/UbuntuToolkit/uclistitem_p_p.h 2016-09-09 22:15:37 +0000
4439@@ -14,16 +14,18 @@
4440 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4441 */
4442
4443-#ifndef UCVIEWITEM_P_H
4444-#define UCVIEWITEM_P_H
4445-
4446-#include "uclistitem_p.h"
4447-#include "ucstyleditembase_p_p.h"
4448-#include "uclistitemstyle_p.h"
4449+#ifndef UCLISTITEM_P_P_H
4450+#define UCLISTITEM_P_P_H
4451+
4452+#include <UbuntuToolkit/private/uclistitem_p.h>
4453+
4454 #include <QtCore/QPointer>
4455 #include <QtCore/QBasicTimer>
4456 #include <QtQuick/private/qquickrectangle_p.h>
4457
4458+#include <UbuntuToolkit/private/uclistitemstyle_p.h>
4459+#include <UbuntuToolkit/private/ucstyleditembase_p_p.h>
4460+
4461 #define IMPLICIT_LISTITEM_WIDTH_GU 40
4462 #define IMPLICIT_LISTITEM_HEIGHT_GU 7
4463 #define DIVIDER_THICKNESS_DP 1
4464@@ -179,4 +181,4 @@
4465
4466 UT_NAMESPACE_END
4467
4468-#endif // UCVIEWITEM_P_H
4469+#endif // UCLISTITEM_P_P_H
4470
4471=== modified file 'src/UbuntuToolkit/uclistitemactions.cpp'
4472--- src/UbuntuToolkit/uclistitemactions.cpp 2016-07-07 07:21:48 +0000
4473+++ src/UbuntuToolkit/uclistitemactions.cpp 2016-09-09 22:15:37 +0000
4474@@ -15,13 +15,15 @@
4475 */
4476
4477 #include "uclistitemactions_p_p.h"
4478-#include "uclistitem_p_p.h"
4479+
4480+#include <QtQml/QQmlInfo>
4481+
4482+#include "i18n_p.h"
4483 #include "quickutils_p.h"
4484-#include "i18n_p.h"
4485-#include <QtQml/QQmlInfo>
4486 #include "ucaction_p.h"
4487+#include "uclistitem_p_p.h"
4488+#include "uclistitemstyle_p.h"
4489 #include "ucunits_p.h"
4490-#include "uclistitemstyle_p.h"
4491
4492 UT_NAMESPACE_BEGIN
4493
4494
4495=== modified file 'src/UbuntuToolkit/uclistitemactions_p.h'
4496--- src/UbuntuToolkit/uclistitemactions_p.h 2016-07-07 07:21:48 +0000
4497+++ src/UbuntuToolkit/uclistitemactions_p.h 2016-09-09 22:15:37 +0000
4498@@ -14,11 +14,12 @@
4499 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4500 */
4501
4502-#ifndef UCLISTITEMACTIONS_H
4503-#define UCLISTITEMACTIONS_H
4504+#ifndef UCLISTITEMACTIONS_P_H
4505+#define UCLISTITEMACTIONS_P_H
4506
4507 #include <QtCore/QObject>
4508-#include "uclistitem_p_p.h"
4509+
4510+#include <UbuntuToolkit/private/uclistitem_p_p.h>
4511
4512 class QQmlComponent;
4513
4514@@ -51,4 +52,4 @@
4515
4516 UT_NAMESPACE_END
4517
4518-#endif // UCLISTITEMACTIONS_H
4519+#endif // UCLISTITEMACTIONS_P_H
4520
4521=== modified file 'src/UbuntuToolkit/uclistitemactions_p_p.h'
4522--- src/UbuntuToolkit/uclistitemactions_p_p.h 2016-07-07 07:21:48 +0000
4523+++ src/UbuntuToolkit/uclistitemactions_p_p.h 2016-09-09 22:15:37 +0000
4524@@ -14,11 +14,12 @@
4525 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4526 */
4527
4528-#ifndef UCLISTITEMACTIONS_P_H
4529-#define UCLISTITEMACTIONS_P_H
4530-
4531-#include "uclistitemactions_p.h"
4532-#include "QtCore/private/qobject_p.h"
4533+#ifndef UCLISTITEMACTIONS_P_P_H
4534+#define UCLISTITEMACTIONS_P_P_H
4535+
4536+#include <UbuntuToolkit/private/uclistitemactions_p.h>
4537+
4538+#include <QtCore/private/qobject_p.h>
4539 #include <QtQml/QQmlListProperty>
4540
4541 UT_NAMESPACE_BEGIN
4542@@ -46,4 +47,4 @@
4543
4544 UT_NAMESPACE_END
4545
4546-#endif // UCLISTITEMACTIONS_P_H
4547+#endif // UCLISTITEMACTIONS_P_P_H
4548
4549=== modified file 'src/UbuntuToolkit/uclistitemlayout.cpp'
4550--- src/UbuntuToolkit/uclistitemlayout.cpp 2016-07-22 18:14:52 +0000
4551+++ src/UbuntuToolkit/uclistitemlayout.cpp 2016-09-09 22:15:37 +0000
4552@@ -16,11 +16,12 @@
4553 * Author: Andrea Bernabei <andrea.bernabei@canonical.com>
4554 */
4555
4556-#include "private/qqmldata_p.h"
4557+#include "uclistitemlayout_p.h"
4558+
4559 #include <QtQml/QQmlEngine>
4560+#include <QtQml/private/qqmldata_p.h>
4561
4562 #include "privates/threelabelsslot_p.h"
4563-#include "uclistitemlayout_p.h"
4564 #include "uclabel_p.h"
4565
4566 UT_NAMESPACE_BEGIN
4567
4568=== modified file 'src/UbuntuToolkit/uclistitemlayout_p.h'
4569--- src/UbuntuToolkit/uclistitemlayout_p.h 2016-07-07 07:21:48 +0000
4570+++ src/UbuntuToolkit/uclistitemlayout_p.h 2016-09-09 22:15:37 +0000
4571@@ -14,11 +14,11 @@
4572 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4573 */
4574
4575-#ifndef UCLISTITEMLAYOUT_H
4576-#define UCLISTITEMLAYOUT_H
4577+#ifndef UCLISTITEMLAYOUT_P_H
4578+#define UCLISTITEMLAYOUT_P_H
4579
4580-#include "ucslotslayout_p.h"
4581-#include <ubuntutoolkitglobal.h>
4582+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4583+#include <UbuntuToolkit/private/ucslotslayout_p.h>
4584
4585 UT_NAMESPACE_BEGIN
4586
4587@@ -51,4 +51,4 @@
4588
4589 UT_NAMESPACE_END
4590
4591-#endif // UCLISTITEMLAYOUT_H
4592+#endif // UCLISTITEMLAYOUT_P_H
4593
4594=== modified file 'src/UbuntuToolkit/uclistitemstyle.cpp'
4595--- src/UbuntuToolkit/uclistitemstyle.cpp 2016-07-07 07:21:48 +0000
4596+++ src/UbuntuToolkit/uclistitemstyle.cpp 2016-09-09 22:15:37 +0000
4597@@ -15,14 +15,16 @@
4598 */
4599
4600 #include "uclistitemstyle_p.h"
4601-#include "i18n_p.h"
4602-#include "uclistitem_p_p.h"
4603+
4604+#include <QtQml/QQmlContext>
4605 #include <QtQml/QQmlEngine>
4606-#include <QtQml/QQmlContext>
4607 #include <QtQml/QQmlInfo>
4608 #include <QtQuick/private/qquickanimation_p.h>
4609 #include <QtQuick/private/qquickflickable_p.h>
4610
4611+#include "uclistitem_p_p.h"
4612+#include "i18n_p.h"
4613+
4614 UT_NAMESPACE_BEGIN
4615
4616 /*!
4617
4618=== modified file 'src/UbuntuToolkit/uclistitemstyle_p.h'
4619--- src/UbuntuToolkit/uclistitemstyle_p.h 2016-07-07 07:21:48 +0000
4620+++ src/UbuntuToolkit/uclistitemstyle_p.h 2016-09-09 22:15:37 +0000
4621@@ -13,11 +13,13 @@
4622 * You should have received a copy of the GNU Lesser General Public License
4623 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4624 */
4625-#ifndef UCLISTITEMSTYLE_H
4626-#define UCLISTITEMSTYLE_H
4627+
4628+#ifndef UCLISTITEMSTYLE_P_H
4629+#define UCLISTITEMSTYLE_P_H
4630
4631 #include <QtQuick/QQuickItem>
4632-#include <ubuntutoolkitglobal.h>
4633+
4634+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4635
4636 class QQmlComponent;
4637 class QQuickAbstractAnimation;
4638@@ -122,4 +124,4 @@
4639
4640 UT_NAMESPACE_END
4641
4642-#endif // UCLISTITEMSTYLE_H
4643+#endif // UCLISTITEMSTYLE_P_H
4644
4645=== modified file 'src/UbuntuToolkit/ucmainviewbase.cpp'
4646--- src/UbuntuToolkit/ucmainviewbase.cpp 2016-09-06 16:49:08 +0000
4647+++ src/UbuntuToolkit/ucmainviewbase.cpp 2016-09-09 22:15:37 +0000
4648@@ -16,16 +16,15 @@
4649
4650 #include "ucmainviewbase_p_p.h"
4651
4652+#include <QtCore/QCoreApplication>
4653+
4654+#include "colorutils_p.h"
4655+#include "i18n_p.h"
4656+#include "quickutils_p.h"
4657+#include "ucactioncontext_p.h"
4658 #include "ucactionmanager_p.h"
4659-#include "ucactioncontext_p.h"
4660 #include "ucapplication_p.h"
4661 #include "uctheme_p.h"
4662-#include "i18n_p.h"
4663-#include "quickutils_p.h"
4664-
4665-#include <colorutils_p.h>
4666-
4667-#include <QCoreApplication>
4668
4669 UT_NAMESPACE_BEGIN
4670
4671
4672=== modified file 'src/UbuntuToolkit/ucmainviewbase_p.h'
4673--- src/UbuntuToolkit/ucmainviewbase_p.h 2016-07-07 07:21:48 +0000
4674+++ src/UbuntuToolkit/ucmainviewbase_p.h 2016-09-09 22:15:37 +0000
4675@@ -14,10 +14,10 @@
4676 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4677 */
4678
4679-#ifndef UCMAINVIEWBASE_H
4680-#define UCMAINVIEWBASE_H
4681+#ifndef UCMAINVIEWBASE_P_H
4682+#define UCMAINVIEWBASE_P_H
4683
4684-#include "ucpagetreenode_p.h"
4685+#include <UbuntuToolkit/private/ucpagetreenode_p.h>
4686
4687 UT_NAMESPACE_BEGIN
4688
4689@@ -97,4 +97,4 @@
4690
4691 UT_NAMESPACE_END
4692
4693-#endif // UCMAINVIEWBASE_H
4694+#endif // UCMAINVIEWBASE_P_H
4695
4696=== modified file 'src/UbuntuToolkit/ucmainviewbase_p_p.h'
4697--- src/UbuntuToolkit/ucmainviewbase_p_p.h 2016-07-07 07:21:48 +0000
4698+++ src/UbuntuToolkit/ucmainviewbase_p_p.h 2016-09-09 22:15:37 +0000
4699@@ -14,12 +14,14 @@
4700 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4701 */
4702
4703-#ifndef UCMAINVIEWBASE_P_H
4704-#define UCMAINVIEWBASE_P_H
4705-
4706-#include "ucpagetreenode_p_p.h"
4707-#include "ucmainviewbase_p.h"
4708-#include <QQmlProperty>
4709+#ifndef UCMAINVIEWBASE_P_P_H
4710+#define UCMAINVIEWBASE_P_P_H
4711+
4712+#include <UbuntuToolkit/private/ucmainviewbase_p.h>
4713+
4714+#include <QtQml/QQmlProperty>
4715+
4716+#include <UbuntuToolkit/private/ucpagetreenode_p_p.h>
4717
4718 UT_NAMESPACE_BEGIN
4719
4720@@ -59,4 +61,4 @@
4721
4722 UT_NAMESPACE_END
4723
4724-#endif // UCMAINVIEWBASE_P_H
4725+#endif // UCMAINVIEWBASE_P_P_H
4726
4727=== modified file 'src/UbuntuToolkit/ucmargins_p.h'
4728--- src/UbuntuToolkit/ucmargins_p.h 2016-07-07 07:21:48 +0000
4729+++ src/UbuntuToolkit/ucmargins_p.h 2016-09-09 22:15:37 +0000
4730@@ -14,12 +14,13 @@
4731 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4732 */
4733
4734-#ifndef UCMARGINS_H
4735-#define UCMARGINS_H
4736+#ifndef UCMARGINS_P_H
4737+#define UCMARGINS_P_H
4738
4739 #include <QtCore/QObject>
4740 #include <QtQuick/QQuickItem>
4741-#include <ubuntutoolkitglobal.h>
4742+
4743+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4744
4745 UT_NAMESPACE_BEGIN
4746
4747@@ -78,4 +79,4 @@
4748
4749 UT_NAMESPACE_END
4750
4751-#endif // UCMARGINS_H
4752+#endif // UCMARGINS_P_H
4753
4754=== modified file 'src/UbuntuToolkit/ucmathutils.cpp'
4755--- src/UbuntuToolkit/ucmathutils.cpp 2016-07-07 07:21:48 +0000
4756+++ src/UbuntuToolkit/ucmathutils.cpp 2016-09-09 22:15:37 +0000
4757@@ -12,11 +12,11 @@
4758 *
4759 * You should have received a copy of the GNU Lesser General Public License
4760 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4761- *
4762 */
4763
4764 #include "ucmathutils_p.h"
4765-#include <QDebug>
4766+
4767+#include <QtCore/QDebug>
4768
4769 UT_NAMESPACE_BEGIN
4770
4771
4772=== modified file 'src/UbuntuToolkit/ucmathutils_p.h'
4773--- src/UbuntuToolkit/ucmathutils_p.h 2016-08-11 14:07:52 +0000
4774+++ src/UbuntuToolkit/ucmathutils_p.h 2016-09-09 22:15:37 +0000
4775@@ -12,14 +12,14 @@
4776 *
4777 * You should have received a copy of the GNU Lesser General Public License
4778 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4779- *
4780 */
4781
4782-#ifndef UCMATHUTILS_H
4783-#define UCMATHUTILS_H
4784-
4785-#include <QObject>
4786-#include <ubuntutoolkitglobal.h>
4787+#ifndef UCMATHUTILS_P_H
4788+#define UCMATHUTILS_P_H
4789+
4790+#include <QtCore/QObject>
4791+
4792+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4793
4794 QT_FORWARD_DECLARE_CLASS(QQmlEngine)
4795 QT_FORWARD_DECLARE_CLASS(QJSEngine)
4796@@ -40,4 +40,4 @@
4797
4798 UT_NAMESPACE_END
4799
4800-#endif // UCMATHUTILS_H
4801+#endif // UCMATHUTILS_P_H
4802
4803=== modified file 'src/UbuntuToolkit/ucmouse_p.h'
4804--- src/UbuntuToolkit/ucmouse_p.h 2016-07-07 07:21:48 +0000
4805+++ src/UbuntuToolkit/ucmouse_p.h 2016-09-09 22:15:37 +0000
4806@@ -12,18 +12,18 @@
4807 *
4808 * You should have received a copy of the GNU Lesser General Public License
4809 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4810- *
4811 */
4812
4813-#ifndef UCMOUSE_H
4814-#define UCMOUSE_H
4815+#ifndef UCMOUSE_P_H
4816+#define UCMOUSE_P_H
4817
4818+#include <QtCore/QBasicTimer>
4819 #include <QtCore/QObject>
4820-#include <QtQml>
4821+#include <QtQml/QtQml>
4822 #include <QtQuick/QQuickItem>
4823-#include <private/qquickevents_p_p.h>
4824-#include <QtCore/qbasictimer.h>
4825-#include <ubuntutoolkitglobal.h>
4826+#include <QtQuick/private/qquickevents_p_p.h>
4827+
4828+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4829
4830 UT_NAMESPACE_BEGIN
4831
4832@@ -169,4 +169,4 @@
4833
4834 QML_DECLARE_TYPEINFO(UT_PREPEND_NAMESPACE(UCMouse), QML_HAS_ATTACHED_PROPERTIES)
4835
4836-#endif // UCMOUSE_H
4837+#endif // UCMOUSE_P_H
4838
4839=== modified file 'src/UbuntuToolkit/ucmousefilters.cpp'
4840--- src/UbuntuToolkit/ucmousefilters.cpp 2016-07-07 07:21:48 +0000
4841+++ src/UbuntuToolkit/ucmousefilters.cpp 2016-09-09 22:15:37 +0000
4842@@ -12,19 +12,19 @@
4843 *
4844 * You should have received a copy of the GNU Lesser General Public License
4845 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4846- *
4847 */
4848
4849 #include "ucmouse_p.h"
4850-#include "ucinversemouse_p.h"
4851+
4852+#include <QtGui/QGuiApplication>
4853 #include <QtQml/QQmlInfo>
4854-#include <QtGui/QGuiApplication>
4855-#include <private/qqmlglobal_p.h>
4856+#include <QtQml/private/qqmlglobal_p.h>
4857 #include <QtQuick/private/qquickmousearea_p.h>
4858+
4859+#include "i18n_p.h"
4860 #include "inversemouseareatype_p.h"
4861-#include "i18n_p.h"
4862-
4863 #include "quickutils_p.h"
4864+#include "ucinversemouse_p.h"
4865 #include "ucunits_p.h"
4866
4867 UT_NAMESPACE_BEGIN
4868
4869=== modified file 'src/UbuntuToolkit/ucpagetreenode.cpp'
4870--- src/UbuntuToolkit/ucpagetreenode.cpp 2016-07-07 08:42:42 +0000
4871+++ src/UbuntuToolkit/ucpagetreenode.cpp 2016-09-09 22:15:37 +0000
4872@@ -16,7 +16,7 @@
4873
4874 #include "ucpagetreenode_p_p.h"
4875
4876-#include <QQmlEngine>
4877+#include <QtQml/QQmlEngine>
4878
4879 Q_LOGGING_CATEGORY(ucPageTreeNode, "ubuntu.components.PageTreeNode", QtMsgType::QtWarningMsg)
4880
4881
4882=== modified file 'src/UbuntuToolkit/ucpagetreenode_p.h'
4883--- src/UbuntuToolkit/ucpagetreenode_p.h 2016-07-07 07:21:48 +0000
4884+++ src/UbuntuToolkit/ucpagetreenode_p.h 2016-09-09 22:15:37 +0000
4885@@ -13,10 +13,11 @@
4886 * You should have received a copy of the GNU Lesser General Public License
4887 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4888 */
4889-#ifndef UCPAGETREENODE_H
4890-#define UCPAGETREENODE_H
4891-
4892-#include "ucstyleditembase_p.h"
4893+
4894+#ifndef UCPAGETREENODE_P_H
4895+#define UCPAGETREENODE_P_H
4896+
4897+#include <UbuntuToolkit/private/ucstyleditembase_p.h>
4898
4899 UT_NAMESPACE_BEGIN
4900
4901@@ -99,4 +100,4 @@
4902
4903 UT_NAMESPACE_END
4904
4905-#endif // UCPAGETREENODE_H
4906+#endif // UCPAGETREENODE_P_H
4907
4908=== modified file 'src/UbuntuToolkit/ucpagetreenode_p_p.h'
4909--- src/UbuntuToolkit/ucpagetreenode_p_p.h 2016-07-07 07:21:48 +0000
4910+++ src/UbuntuToolkit/ucpagetreenode_p_p.h 2016-09-09 22:15:37 +0000
4911@@ -13,11 +13,13 @@
4912 * You should have received a copy of the GNU Lesser General Public License
4913 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4914 */
4915-#ifndef UCPAGETREENODE_P_H
4916-#define UCPAGETREENODE_P_H
4917-
4918-#include "ucstyleditembase_p_p.h"
4919-#include "ucpagetreenode_p.h"
4920+
4921+#ifndef UCPAGETREENODE_P_P_H
4922+#define UCPAGETREENODE_P_P_H
4923+
4924+#include <UbuntuToolkit/private/ucpagetreenode_p.h>
4925+
4926+#include <UbuntuToolkit/private/ucstyleditembase_p_p.h>
4927
4928 UT_NAMESPACE_BEGIN
4929
4930@@ -70,4 +72,4 @@
4931
4932 UT_NAMESPACE_END
4933
4934-#endif // UCPAGETREENODE_P_H
4935+#endif // UCPAGETREENODE_P_P_H
4936
4937=== modified file 'src/UbuntuToolkit/ucperformancemonitor.cpp'
4938--- src/UbuntuToolkit/ucperformancemonitor.cpp 2016-07-07 07:21:48 +0000
4939+++ src/UbuntuToolkit/ucperformancemonitor.cpp 2016-09-09 22:15:37 +0000
4940@@ -17,6 +17,7 @@
4941 */
4942
4943 #include "ucperformancemonitor_p.h"
4944+
4945 #include <QtGui/QGuiApplication>
4946
4947 Q_LOGGING_CATEGORY(ucPerformance, "[PERFORMANCE]")
4948
4949=== modified file 'src/UbuntuToolkit/ucperformancemonitor_p.h'
4950--- src/UbuntuToolkit/ucperformancemonitor_p.h 2016-07-07 07:21:48 +0000
4951+++ src/UbuntuToolkit/ucperformancemonitor_p.h 2016-09-09 22:15:37 +0000
4952@@ -16,15 +16,16 @@
4953 * Author: Florian Boucault <florian.boucault@canonical.com>
4954 */
4955
4956-#ifndef UCPERFORMANCE_MONITOR_H
4957-#define UCPERFORMANCE_MONITOR_H
4958+#ifndef UCPERFORMANCEMONITOR_P_H
4959+#define UCPERFORMANCEMONITOR_P_H
4960
4961+#include <QtCore/QElapsedTimer>
4962+#include <QtCore/QLoggingCategory>
4963 #include <QtCore/QObject>
4964 #include <QtCore/QSharedPointer>
4965-#include <QtCore/QElapsedTimer>
4966-#include <QtCore/QLoggingCategory>
4967 #include <QtQuick/QQuickWindow>
4968-#include <ubuntutoolkitglobal.h>
4969+
4970+#include <UbuntuToolkit/ubuntutoolkitglobal.h>
4971
4972 UT_NAMESPACE_BEGIN
4973
4974@@ -57,4 +58,4 @@
4975
4976 Q_DECLARE_LOGGING_CATEGORY(ucPerformance)
4977
4978-#endif // UCPERFORMANCE_MONITOR_H
4979+#endif // UCPERFORMANCEMONITOR_P_H
4980
4981=== modified file 'src/UbuntuToolkit/ucproportionalshape_p.h'
4982--- src/UbuntuToolkit/ucproportionalshape_p.h 2016-07-07 07:21:48 +0000
4983+++ src/UbuntuToolkit/ucproportionalshape_p.h 2016-09-09 22:15:37 +0000
4984@@ -16,10 +16,10 @@
4985 * Author: Loïc Molinari <loic.molinari@canonical.com>
4986 */
4987
4988-#ifndef UCPROPORTIONALSHAPE_H
4989-#define UCPROPORTIONALSHAPE_H
4990+#ifndef UCPROPORTIONALSHAPE_P_H
4991+#define UCPROPORTIONALSHAPE_P_H
4992
4993-#include "ucubuntushape_p.h"
4994+#include <UbuntuToolkit/private/ucubuntushape_p.h>
4995
4996 UT_NAMESPACE_BEGIN
4997
4998@@ -44,4 +44,4 @@
4999
5000 QML_DECLARE_TYPE(UT_PREPEND_NAMESPACE(UCProportionalShape))
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches