You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
726 B
32 lines
726 B
/* |
|
SPDX-FileCopyrightText: 2011 Ivan Cukic <ivan.cukic(at)kde.org> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <QDBusArgument> |
|
#include <QDebug> |
|
#include <QObject> |
|
#include <QString> |
|
|
|
class ActivityData |
|
{ |
|
public: |
|
ActivityData(); |
|
ActivityData(const ActivityData &source); |
|
ActivityData &operator=(const ActivityData &source); |
|
|
|
double score; |
|
QString id; |
|
}; |
|
|
|
typedef QList<ActivityData> ActivityDataList; |
|
Q_DECLARE_METATYPE(ActivityData) |
|
Q_DECLARE_METATYPE(ActivityDataList) |
|
|
|
QDBusArgument &operator<<(QDBusArgument &arg, const ActivityData); |
|
const QDBusArgument &operator>>(const QDBusArgument &arg, ActivityData &rec); |
|
|
|
QDebug operator<<(QDebug dbg, const ActivityData &r);
|
|
|