]> Some of my projects - localmylist.git/commitdiff
Oops, why didn't this get commited
authorAPTX <marek321@gmail.com>
Tue, 24 Jul 2012 14:27:51 +0000 (16:27 +0200)
committerAPTX <marek321@gmail.com>
Tue, 24 Jul 2012 14:27:51 +0000 (16:27 +0200)
localmylist/mylistnode.h

index 32483f403086916fd8fa7a3b6ed247dd4de2882b..f7442cadec13c6791c5759c39b7b9975ae94d179 100644 (file)
@@ -28,10 +28,10 @@ public:
        MyListNode *parent();
 
        int totalRowCount() const;
-       int nextFetchSize() const;
 
        bool canFetchMore() const;
        virtual int fetchMore();
+       void addFetched();
        bool hasChildren() const;
 
        NodeType type() const;
@@ -47,6 +47,7 @@ protected:
        int fetchedRowCount;
 
        QList<MyListNode *> childItems;
+       QList<MyListNode *> newItems;
        QList<QVariant> itemData;
        MyListNode *parentItem;