~ubuntu-branches/ubuntu/vivid/muon/vivid-proposed

« back to all changes in this revision

Viewing changes to libmuon/resources/AbstractBackendUpdater.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-03-24 23:06:35 UTC
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: package-import@ubuntu.com-20150324230635-nvt7aq7kqvaxq36e
Tags: upstream-5.2.2-1
ImportĀ upstreamĀ versionĀ 5.2.2-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define ABSTRACTBACKENDUPDATER_H
23
23
 
24
24
#include <QObject>
25
 
#include "libMuonCommon_export.h"
 
25
#include "libmuonprivate_export.h"
26
26
 
27
27
class QAction;
28
28
class QDateTime;
51
51
 * @see start
52
52
 * @see prepare
53
53
 */
54
 
class MUONCOMMON_EXPORT AbstractBackendUpdater : public QObject
 
54
class MUONPRIVATE_EXPORT AbstractBackendUpdater : public QObject
55
55
{
56
56
    Q_OBJECT
57
57
    Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged)
136
136
         */
137
137
        virtual quint64 downloadSpeed() const = 0;
138
138
 
 
139
        /** 
 
140
         *  This method is used to integrate advanced functions into the Muon GUI.
 
141
         *  In muon-updater, actions with HighPriority will be shown in a KMessageWidget,
 
142
         *  normal priority will go right on top of the more menu, low priority will go
 
143
         *  to the advanced menu.
 
144
         */
 
145
        virtual QList<QAction*> messageActions() const = 0;
 
146
 
139
147
        /**
140
148
         * @returns whether @p res is marked for update
141
149
         */