[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:05:37 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=b285828

The following commit has been merged in the master branch:
commit b285828064632ba7e4830f33d1d0fcac37bd9402
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Thu Mar 17 21:43:03 2011 +0100

    Remove old files
---
 group-model-item.cpp | 63 ----------------------------------------------------
 group-model-item.h   | 47 ---------------------------------------
 2 files changed, 110 deletions(-)

diff --git a/group-model-item.cpp b/group-model-item.cpp
deleted file mode 100644
index 9a0d6bc..0000000
--- a/group-model-item.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Group model item, represents a group in the contactlist tree
- *
- * Copyright (C) 2011 Martin Klapetek <martin dot klapetek at gmail dot com>
- *
- * 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) any later version.
- *
- * 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#include "group-model-item.h"
-#include "accounts-model.h"
-
-struct GroupModelItem::Private
-{
-    Private(const QString &groupName)
-    : mGroupName(groupName)
-    {
-    }
-
-    QString mGroupName;
-};
-
-GroupModelItem::GroupModelItem(const QString &groupName)
-    : mPriv(new Private(groupName))
-{
-}
-
-GroupModelItem::~GroupModelItem()
-{
-
-}
-
-QVariant GroupModelItem::data(int role) const
-{
-    switch(role) {
-    case AccountsModel::GroupNameRole:
-        return mPriv->mGroupName;
-    default:
-        return QVariant();
-    }
-}
-
-bool GroupModelItem::setData(int role, const QVariant& value)
-{
-    switch(role) {
-    case AccountsModel::GroupNameRole:
-        //mPriv->mGroupName = value.toString();
-        return true;
-    default:
-        return false;
-    }
-}
\ No newline at end of file
diff --git a/group-model-item.h b/group-model-item.h
deleted file mode 100644
index 01e9b53..0000000
--- a/group-model-item.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Group model item, represents a group in the contactlist tree
- *
- * Copyright (C) 2011 Martin Klapetek <martin dot klapetek at gmail dot com>
- *
- * 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) any later version.
- *
- * 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#ifndef GROUP_MODEL_ITEM_H
-#define GROUP_MODEL_ITEM_H
-
-#include <TelepathyQt4/Types>
-
-#include <tree-node.h>
-
-
-class GroupModelItem : public TreeNode
-{
-    Q_OBJECT
-    Q_DISABLE_COPY(GroupModelItem)
-
-public:
-    GroupModelItem(const QString &groupName);
-    virtual ~GroupModelItem();
-
-    Q_INVOKABLE virtual QVariant data(int role) const;
-    Q_INVOKABLE virtual bool setData(int role, const QVariant &value);
-
-private:
-    struct Private;
-    friend struct Private;
-    Private *mPriv;
-};
-
-#endif // GROUP_MODEL_ITEM_H

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list