~ubuntu-branches/ubuntu/saucy/plasma-mobile/saucy

« back to all changes in this revision

Viewing changes to dataengines/recommendations/RecommendationItem.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-09-17 14:08:58 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20130917140858-wv7n3z6t95iy1fs9
Tags: 1:0.5-0ubuntu1
* New upstream release LP: #1227602
* Use epoch to sync with upstream version number
* Build-dep on libxcursor-dev
* Add kubuntu_no_contourd.diff to disable contourd from building,
  does not compile with 4.11 and not used by default
* Depend on renamed package ksplash-theme-active
* Add kubuntu_no_dirmodel.diff to prevert compile of dirmodel,
  included in kde-runtime 4.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   Copyright (C) 2011 Marco Martin <mart@kde.org>
 
3
 *   Copyright (C) 2011 Ivan Cukic <ivan.cukic(at)kde.org>
 
4
 *
 
5
 *   This program is free software; you can redistribute it and/or modify
 
6
 *   it under the terms of the GNU General Public License version 2,
 
7
 *   or (at your option) any later version, as published by the Free
 
8
 *   Software Foundation
 
9
 *
 
10
 *   This program is distributed in the hope that it will be useful,
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *   GNU General Public License for more details
 
14
 *
 
15
 *   You should have received a copy of the GNU General Public
 
16
 *   License along with this program; if not, write to the
 
17
 *   Free Software Foundation, Inc.,
 
18
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
19
 */
 
20
 
 
21
#ifndef RECOMMENDATION_ITEM_H_
 
22
#define RECOMMENDATION_ITEM_H_
 
23
 
 
24
#include <QObject>
 
25
#include <QString>
 
26
#include <QtDBus/QDBusArgument>
 
27
 
 
28
namespace Contour {
 
29
 
 
30
class RecommendationItem: public QObject {
 
31
public:
 
32
    RecommendationItem();
 
33
    RecommendationItem(const RecommendationItem & source);
 
34
    RecommendationItem & operator = (const RecommendationItem & source);
 
35
 
 
36
    double score;
 
37
    QString title;
 
38
    QString description;
 
39
    QString icon;
 
40
 
 
41
    QString engine;
 
42
    QString id;
 
43
 
 
44
};
 
45
 
 
46
} // namespace Contour
 
47
 
 
48
Q_DECLARE_METATYPE(Contour::RecommendationItem)
 
49
Q_DECLARE_METATYPE(QList<Contour::RecommendationItem>)
 
50
 
 
51
QDBusArgument & operator << (QDBusArgument & arg, const Contour::RecommendationItem);
 
52
const QDBusArgument & operator >> (const QDBusArgument & arg, Contour::RecommendationItem & rec);
 
53
 
 
54
#endif // RECOMMENDATION_ITEM_H_