[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kactivitymanagerd] src/common/dbus: Sync the dbus ActivityInfo structure with the framework
From:       Ivan Čukić <ivan.cukic () kde ! org>
Date:       2016-10-09 18:03:25
Message-ID: E1btIRZ-0003wd-MM () code ! kde ! org
[Download RAW message or body]

Git commit d51d86a83d122d7b4b926eb8c1fa70bdc0864c4f by Ivan Čukić.
Committed on 29/09/2016 at 06:10.
Pushed by ivan into branch 'master'.

Sync the dbus ActivityInfo structure with the framework

M  +14   -23   src/common/dbus/org.kde.ActivityManager.Activities.h

http://commits.kde.org/kactivitymanagerd/d51d86a83d122d7b4b926eb8c1fa70bdc0864c4f

diff --git a/src/common/dbus/org.kde.ActivityManager.Activities.h \
b/src/common/dbus/org.kde.ActivityManager.Activities.h index 614abc8..94f0fbe 100644
--- a/src/common/dbus/org.kde.ActivityManager.Activities.h
+++ b/src/common/dbus/org.kde.ActivityManager.Activities.h
@@ -1,21 +1,22 @@
 /*
- *   Copyright (C) 2010 - 2016 by Ivan Cukic <ivan.cukic@kde.org>
+ *   Copyright (C) 2010 - 2016 by Ivan Cukic <ivan.cukic(at)kde.org>
  *
- *   This program is free software; you can redistribute it and/or
- *   modify it under the terms of the GNU General Public License as
- *   published by the Free Software Foundation; either version 2 of
- *   the License or (at your option) version 3 or any later version
- *   accepted by the membership of KDE e.V. (or its successor approved
- *   by the membership of KDE e.V.), which shall act as a proxy
- *   defined in Section 14 of version 3 of the license.
+ *   This library is free software; you can redistribute it and/or
+ *   modify it under the terms of the GNU Lesser General Public
+ *   License as published by the Free Software Foundation; either
+ *   version 2.1 of the License, or (at your option) version 3, or any
+ *   later version accepted by the membership of KDE e.V. (or its
+ *   successor approved by the membership of KDE e.V.), which shall
+ *   act as a proxy defined in Section 6 of version 3 of the license.
  *
- *   This program is distributed in the hope that it will be useful,
+ *   This library is distributed in the hope that it will be useful,
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *   Lesser General Public License for more details.
  *
- *   You should have received a copy of the GNU General Public License
- *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *   You should have received a copy of the GNU Lesser General Public
+ *   License along with this library.
+ *   If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef KAMD_ACTIVITIES_DBUS_H
@@ -45,16 +46,6 @@ struct ActivityInfo {
         , state(state)
     {
     }
-
-    bool operator<(const ActivityInfo &other) const
-    {
-        return id < other.id;
-    }
-
-    bool operator==(const ActivityInfo &other) const
-    {
-        return id == other.id;
-    }
 };
 
 typedef QList<ActivityInfo> ActivityInfoList;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic