[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:05:40 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=e402c25

The following commit has been merged in the master branch:
commit e402c25ebe179ced2ab7c01c0edcb76080b8c043
Author: George Goldberg <grundleborg at googlemail.com>
Date:   Sat Feb 14 17:09:35 2009 +0000

    Reimplement pure virtual methods in AccountsListModel.
    
    svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=926102
---
 KTp/Models/accounts-list-model.cpp | 12 ++++++++++++
 KTp/Models/accounts-list-model.h   |  2 ++
 2 files changed, 14 insertions(+)

diff --git a/KTp/Models/accounts-list-model.cpp b/KTp/Models/accounts-list-model.cpp
index 34b214f..26ce8ca 100644
--- a/KTp/Models/accounts-list-model.cpp
+++ b/KTp/Models/accounts-list-model.cpp
@@ -31,6 +31,18 @@ AccountsListModel::~AccountsListModel()
     // TODO: Implement me!
 }
 
+int AccountsListModel::rowCount(const QModelIndex &index) const
+{
+    // TODO: Implement me!
+    return 0;
+}
+
+QVariant AccountsListModel::data(const QModelIndex &index, int role) const
+{
+    // TODO: Implement me!
+    return QVariant();
+}
+
 
 #include "accounts-list-model.moc"
 
diff --git a/KTp/Models/accounts-list-model.h b/KTp/Models/accounts-list-model.h
index 9f45412..fdd15b7 100644
--- a/KTp/Models/accounts-list-model.h
+++ b/KTp/Models/accounts-list-model.h
@@ -31,6 +31,8 @@ class AccountsListModel : public QAbstractListModel
 public:
     explicit AccountsListModel(QObject *parent = 0);
     virtual ~AccountsListModel();
+    virtual int rowCount(const QModelIndex &index) const;
+    virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
 
 };
 

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list