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

List:       kde-commits
Subject:    koffice/libs/koreport/common
From:       Adam Pigg <adam () piggz ! co ! uk>
Date:       2010-05-21 23:45:58
Message-ID: 20100521234558.4EFFDAC8BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1129328 by piggz:

Allow a data source to add an expression to a result set to limit the results

 M  +5 -0      KoReportData.h  


--- trunk/koffice/libs/koreport/common/KoReportData.h #1129327:1129328
@@ -87,6 +87,11 @@
     //!Default impl does nothing
     virtual void setSorting(const QList<SortedField>& sorting) { Q_UNUSED(sorting); }
 
+    /**
+    @brief Adds an expression to the data source
+    */
+    virtual void addExpression(const QString &field, const QVariant &value, int relation = '='){}
+
     //!Utility Functions
     //!TODO These are probably eligable to be moved into a new class
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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