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

List:       kde-commits
Subject:    playground/network/telepathy-accounts-kcm/src
From:       George Goldberg <grundleborg () googlemail ! com>
Date:       2009-02-14 17:09:36
Message-ID: 1234631376.160813.12514.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 926102 by gberg:

Reimplement pure virtual methods in AccountsListModel.

 M  +12 -0     accounts-list-model.cpp  
 M  +2 -0      accounts-list-model.h  


--- trunk/playground/network/telepathy-accounts-kcm/src/accounts-list-model.cpp #926101:926102
@@ -31,6 +31,18 @@
     // 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"
 
--- trunk/playground/network/telepathy-accounts-kcm/src/accounts-list-model.h #926101:926102
@@ -31,6 +31,8 @@
 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;
 
 };
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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