From d1fb20943d556db63c43d9bca9ebe2c9df6c11a3 Mon Sep 17 00:00:00 2001 From: sh kim Date: Thu, 15 Mar 2012 11:11:51 +0900 Subject: [PATCH] Add IDENTITYPROXYMODEL feature Change-Id: Ic92165b2ab06e5b5f733bfaf2f7fe908861c0efa Reviewed-by: Oswald Buddenhagen --- src/corelib/global/qfeatures.h | 5 +++++ src/corelib/global/qfeatures.txt | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h index db7ff04bb2..15d5a9db66 100644 --- a/src/corelib/global/qfeatures.h +++ b/src/corelib/global/qfeatures.h @@ -602,6 +602,11 @@ #define QT_NO_DATAWIDGETMAPPER #endif +// QIdentityProxyModel +#if !defined(QT_NO_IDENTITYPROXYMODEL) && (defined(QT_NO_PROXYMODEL)) +#define QT_NO_IDENTITYPROXYMODEL +#endif + // QListWidget #if !defined(QT_NO_LISTWIDGET) && (defined(QT_NO_LISTVIEW)) #define QT_NO_LISTWIDGET diff --git a/src/corelib/global/qfeatures.txt b/src/corelib/global/qfeatures.txt index 444a23b0e3..cc0594b62a 100644 --- a/src/corelib/global/qfeatures.txt +++ b/src/corelib/global/qfeatures.txt @@ -704,6 +704,13 @@ Requires: PROXYMODEL Name: QSortFilterProxyModel SeeAlso: ??? +Feature: IDENTITYPROXYMODEL +Description: Supports proxying a source model unmodified. +Section: ItemViews +Requires: PROXYMODEL +Name: QIdentityProxyModel +SeeAlso: ??? + Feature: STRINGLISTMODEL Description: Supports a model that supplies strings to views. Section: ItemViews